Assumption discharge 2026-10-25
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.
One presentation of classical propositional logic uses the schemes , , and , together with modus ponens rule and the case rule from and to . Its deduction theorem for propositional logic follows by induction on logical derivations: conditional modus ponens handles a modus ponens rule line, and the second scheme handles a case-rule line.
Derived inference rule 2026-10-25
A derived inference rule abbreviates a logical derivation from the primitive inference rules. Its use retains the assumptions and side conditions required by that logical derivation; proving the abbreviation once allows subsequent proofs to use the rule without expanding every intermediate line.
Implication creation rule 2026-10-25
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.
Inference rule Created 2026-10-24 Updated 2026-10-31
An inference rule licenses a conclusion from specified premises, possibly with side conditions. A derived inference rule is justified by a logical derivation using the primitive inference rules; using it subsequently abbreviates that logical derivation.
Logical derivation 2026-10-24
A logical derivation is a finite application of explicitly specified inference rules to premises or temporary assumptions. In natural deduction, which assumptions remain open is part of the logical derivation: a conclusion reached inside a temporary subproof cannot simply be used outside it.
An instance of L3 is
Using the first assumed logical derivation and modus ponens rule gives . The L2 instance for these same three propositional formulas is
Use the other assumed logical derivation and then the newly obtained logical derivation in two applications of modus ponens rule. Therefore
This conditional modus ponens construction is the step needed to discharge assumptions from a modus ponens rule line in part (iv).
Choose an auxiliary propositional formula . The two instances of L1 are
The instance of L2 with is
Apply modus ponens rule first with the first L1 instance and then with the second. This is an assumption-free logical derivation, so
In particular no semantic completeness theorem or deduction theorem for propositional logic has been assumed to obtain this identity theorem.
A logical derivation from is a finite sequence of propositional formulas, each either a member of , an instance of one of the three axioms, or obtained from earlier lines by one of the two displayed inference rules. The notation means that some such logical derivation ends in . Writing means derivability with no assumptions.
Propositional consistency means that there is no propositional formula for which both and . Equivalently not every propositional formula is derivable. To check the equivalence directly for this calculus, use the identity theorem proved in (ii): from and L3 obtain ; two uses of modus ponens rule give arbitrary . Thus a contradictory theory proves everything. Conversely a theory proving everything proves a propositional formula and its negation.
For this calculus the deduction theorem for propositional logic is
For the reverse logical implication, retain the logical derivation from , add the assumption , and use modus ponens rule.
For the forward logical implication, induct on a logical derivation from . For each line we construct a logical derivation of from . If , use (ii). If is an axiom instance or belongs to , it is already derivable from ; L1 gives , and modus ponens rule finishes that case.
If comes from and by modus ponens rule, the induction hypothesis supplies
Part (iii) supplies .
If comes by the elimination rule E from and , the induction hypothesis supplies
The L2 instance with combines these by two applications of modus ponens rule. Thus the rule E also survives the discharge construction. These are all possible lines, proving the theorem for the final line .
The compactness theorem says that a set of first-order sentences has a first-order model if and only if every finite subset of has a first-order model. One direction follows by using the same first-order model for each subset.
For the nontrivial direction suppose every finite subset has a first-order model, but has none. Semantically , so completeness gives a formal logical derivation . A formal logical derivation is finite and uses only finitely many assumptions, say . Thus . Soundness would make unsatisfiable, contradicting the hypothesis. Here can be any fixed contradictory first-order sentence, such as , if it is not a primitive logical symbol. Therefore finite satisfiability implies satisfiability.
There is a three-line Hilbert formal proof. Use A1 with , ; then use A3 with , :
This is a direct logical derivation in the displayed Hilbert proof system. Neither the deduction theorem for propositional logic nor a completeness theorem for propositional logic is needed: the desired logical implication is just the contrapositive, supplied by A3, of the particular A1 instance on line 1.
A theorem is derivable with no assumptions: abbreviates . Its logical derivation consists entirely of axiom instances and applications of the modus ponens rule to earlier lines.
A logical derivation of from is a finite sequence in which each line belongs to , is an instance of one of the three specified axiom schemes, or follows from two earlier lines and by the modus ponens rule. means that such a finite derivation exists. In particular, a derivation uses only finitely many assumptions even if is infinite.
The following is a logical derivation using only A1, A2 and the modus ponens rule. The first two lines are assumptions:
Thus .
A logical derivation is a finite proof in the specified calculus, with conclusion . Assumptions from and instances of A1–A7 are available; the rules are the modus ponens rule, universal generalization rule, and weakening.
In judgement form the universal generalization rule takes to only if is not free in any undischarged assumption in . Weakening permits to become . All instances of A4 and A5 must meet their stated substitution and free variable conditions. Derivability means existence of such a finite proof with assumptions contained in . Equivalently one tracks the finite assumption set used by each proof line.
A variable is fresh for the surrounding context when it does not occur free in any undischarged assumption in . Choose it also distinct from bound variables that would cause variable capture in the intended substitution. The universal quantifier introduction rule is
Its justification is that the logical derivation of used no special information about , so it establishes the property of an arbitrary object. Semantically, changing the assignment of preserves the truth of ; therefore holds for every possible assigned object. Without the eigenvariable condition, the assumption could incorrectly be generalized to in an interpretation where only one of two objects satisfies .
Apply the complete logical derivation of the law of excluded middle in (a) to , obtaining . Then use the disjunction elimination rule, constructing each logical implication by an explicit hypothetical subproof:
1  Q ∨ ¬Q                              result of (a), φ := Q
2  | Q                                 first case
3  | | P                               assume
4  | | Q                               available from 2
5  | P → Q                             →-intro, discharge 3–4
6  | (P → Q) ∨ (P → ¬Q)                ∨-intro-L, 5
7  | ¬Q                                second case
8  | | P                               assume
9  | | ¬Q                              available from 7
10 | P → ¬Q                            →-intro, discharge 8–9
11 | (P → Q) ∨ (P → ¬Q)                ∨-intro-R, 10
12 (P → Q) ∨ (P → ¬Q)                  ∨-elim, 1, cases 2–6 and 7–11
Both case assumptions and both hypothetical assumptions have been discharged. Thus the conclusion is a theorem, not a logical implication that depends on assuming .
For implication creation rule, keep available and discharge an otherwise unused antecedent:
1  ψ                         given
2  | φ                       assume
3  | ψ                       available from 1
4  φ → ψ                     →-intro, discharge 2–3
For implication distribution rule, write . The logical derivation below keeps available and discharges exactly the two temporary assumptions:
1  φ → (ψ → ρ)                          given
2  | φ → ψ                              assume
3  | | φ                                assume
4  | | ψ                                →-elim, 3 and 2
5  | | ψ → ρ                            →-elim, 3 and 1
6  | | ρ                                →-elim, 4 and 5
7  | φ → ρ                              →-intro, discharge 3–6
8  (φ → ψ) → (φ → ρ)                    →-intro, discharge 2–7
These justify both derived inference rules using Figure 2 primitives. Their rule forms retain any other surrounding assumptions; they are not unconditionally asserted conclusions after the displayed numerator is forgotten.
Use the two derived inference rules whose complete proofs were supplied in (d). The following logical derivation has no nested hypothetical subproofs:
1  P → Q                           premise
2  Q → R                           premise
3  P → (Q → R)                     → creation from 2
4  (P → Q) → (P → R)               → distribution from 3
5  P → R                           →-elim, 1 and 4
The creation instance takes and . The distribution instance takes . The metarules are justified in (d); this requested flat use does not secretly invoke implication introduction rule in one of its own lines.