Natural deduction presents logic through introduction and elimination rules for each logical connective.
Reading an inference rule backwards to replace a desired conclusion by sufficient subgoals. A conjunction goal can be replaced by its two conjuncts using the conjunction introduction rule; an available disjunction can instead lead to two case subgoals using the disjunction elimination rule. Different choices change the organization and sharing of subproofs. Scope and assumption discharge conditions remain obligations even when a rule is applied backwards during proof search.
Adding unused assumptions to the context of a logical derivation. The original derivation still proves the same conclusion because it need not use every available assumption. When eigenvariables are used, rename them first if necessary to preserve the eigenvariable condition for any newly added assumptions. This explains how disjunction elimination with different branch contexts can be written using a common context containing all their assumptions.
Thinning enlarges the assumptions without changing a conclusion. In a predicate-calculus presentation with context-sensitive generalization, a generalization valid before adding an unused assumption may not be replayable with that assumption open. An explicit weakening step nevertheless imports the already proved conclusion. In propositional calculus with only axiom schemes and modus ponens, weakening is admissible by replaying the proof. The need for a separately stated rule depends on how proof dependencies are represented.
The reflexivity rule for first-order equality: any well-formed term satisfies without additional premises. Together with the equality elimination rule, it derives symmetry: from and , substitute in the first designated argument position of to obtain . Transitivity follows from and by substitution in the second designated argument position of .
Derive each side of a logical biconditional under a temporary assumption of the other, then discharge both assumptions. The surrounding assumptions remain. This is equivalent to deriving the two implications and combining them as the two directions of equivalence.
Introduce exclusive or from either or . To eliminate , derive the same conclusion in two subproofs, one under and the other under , then discharge both pairs of case assumptions. These rules express exactly the two disjuncts of the displayed disjunctive normal form. Conjunction introduction and disjunction introduction derive that formula in each elimination branch; conversely disjunction elimination and conjunction elimination supply the two introduction cases. This proves equivalence without adding an unproved truth-table inference to a formal derivation.
From , temporarily assume . Negation elimination rule gives logical falsity; discharge that temporary assumption by negation introduction to obtain . This is valid in Intuitionistic propositional logic, unlike unrestricted double-negation elimination.
A local derivation made under additional temporary assumptions. Its conclusions can be used within their scopes, but exporting a result requires a rule that accounts for those assumptions. Indentation, boxes or explicit assumption labels record that dependency information.
A temporary assumption is introduced for a hypothetical subproof and retained only within that scope. A suitable inference rule can discharge it while forming a conclusion valid under the surrounding assumptions. Its scope must be recorded even when the assumption is unused inside the subproof.
From infer . Assume , then assume . Implication elimination rule gives and , hence . Discharge and then by the implication introduction rule. The original premise and any surrounding assumptions remain available.
From a logical derivation of , infer under the same surrounding assumptions. To derive the rule, temporarily assume , retain the available , and discharge by the implication introduction rule. Its being unused is allowed.
From , reason under a temporary assumption for a fresh witness . If this yields a conclusion not containing free, close the witness subproof and infer . The eigenvariable condition also requires that not be free in other undischarged assumptions. The rule does not authorize selecting one fixed named object as a witness or allowing the witness to escape its scope.
An eigenvariable condition ensures that a variable chosen as arbitrary or as an existential witness cannot smuggle extra information into a quantifier inference. For the universal quantifier introduction rule, the generalized variable must not occur free in any undischarged assumption. For the existential quantifier elimination rule, the fresh witness must not occur free in the resulting conclusion or in the other undischarged assumptions. Temporary assumptions may contain it if they are discharged before the final inference.
A variable used as an arbitrary parameter in a natural deduction subproof, subject to an eigenvariable condition. For universal introduction, it must be free in no undischarged assumption. For existential elimination, a temporary witness must also be free in no conclusion exported from its subproof. These restrictions distinguish an arbitrary object from one constrained by a special hypothesis.
An invalid quantifier inference that exports a formula still referring freely to a temporary existential witness. From one cannot infer for an independently named object . A two-element interpretation with exactly one -object refutes that inference. Introducing another quantifier after the invalid step does not repair it; the introduction must take place before the witness scope is closed.
Assumption discharge closes a designated temporary assumption together with its dependent subproof. Implication introduction rule turns a logical derivation of under into outside that temporary scope. Negation introduction rule turns a logical derivation of logical falsity under into . Disjunction elimination rule discharges its separate case assumptions while retaining any surrounding premises.
From logical falsity infer any proposition. This rule permits a contradictory case inside a disjunction elimination rule proof to reach the common required conclusion.
From and , infer by capture-free substitution. Rewriting in the opposite direction first uses symmetry of equality.
If is proved and is not free in any undischarged assumption, infer , with capture-free replacement. The freshness condition prevents generalizing from a special object.
From and two subproofs deriving the same conclusion , one under an additional assumption and the other under an additional assumption , infer and discharge those two case assumptions. Any other assumptions remain in force.
If each of , and separately yields the same conclusion , then yields , with the three case assumptions discharged. For , first eliminate the outer logical disjunction, using a nested applications of the disjunction elimination rule on the branch. For , nest the second elimination in the other branch. Common surrounding assumptions remain open.
The disjunction introduction rule in natural deduction permits either inferenceHere and are propositions, and denotes logical disjunction. Establishing either disjunct is sufficient to establish the compound proposition.
The truth table explains soundness in classical propositional logic: every assignment making the premise true makes the conclusion true. For example, a proof of also proves , without requiring a proof of .
The conjunction elimination rule in natural deduction permits both inferencesThe symbol denotes logical conjunction. A proof of the conjunction supplies each of its component propositions, so either component can be used in a later argument.
For example, from one can infer when establishing positivity, and separately infer when establishing an upper bound. The truth table makes the rule sound: every assignment satisfying the conjunction satisfies both components.
From derivations of and under the current assumptions, infer .
From a propositional formula and its negation, infer logical falsity. This identifies a contradiction inside a natural deduction derivation; a later negation introduction rule may discharge the assumption that led to it.
If a natural deduction subproof derives logical falsity from a temporary assumption , discharge that assumption to conclude . Other undischarged assumptions remain available. This gives a constructive proof of a negation and does not require double-negation elimination.
The rule with premises and conclusion retains the first derivation while allowing an unused second assumption. Under the Curry-Howard correspondence, the output term is the first premise term, with the enlarged context. This allows a lambda abstraction whose bound variable does not occur in its body.
From and , implication elimination derives . Under the Curry-Howard correspondence, this is application: from lambda terms and form .
The implication introduction rule discharges a temporary assumption from a derivation of , producing . Under the Curry-Howard correspondence, a body under gives the lambda abstraction . Unused assumptions may also be discharged.
Articles by others on the same topic
Natural deduction is a formal system in logic used to derive conclusions from premises using a set of inference rules. It was developed in the mid-20th century and is widely used in mathematical logic, philosophy, and computer science. The main idea behind natural deduction is to model how humans typically reason about propositions and their relationships. In natural deduction, a proof is structured as a sequence of statements, where each statement is either an assumption (premise) or a conclusion derived from previous statements using inference rules.