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.
Complement of a set Created 2026-10-05 Updated 2026-10-14
The complement of a subset within a specified universal set contains exactly the set elements of excluded from :
Here depends on the chosen universal set. Within , taking a complement performs logical negation (NOT) on membership. Writing keeps the ambient set visible when there could be ambiguity.
For , , and :
If the universal set grows to , the same sets have different complements: and . In a database illustration, “records that fail this condition” therefore requires deciding which records are eligible to begin with; those eligible records form .
For subsets , De Morgan's laws exchange union and intersection when taking complements:
For the same example, failing both conditions leaves . Failing at least one condition leaves . This is useful for rewriting exclusion rules into separate membership tests. The symmetry is also pleasing: exchanging union with intersection turns one rule into its partner.
Figure 1.
De Morgan's laws: excluding a union means failing both tests, while excluding an intersection means failing at least one
. Details.
A brief membership proof works in classical propositional logic. For any , let mean and mean . The truth table below checks all four possibilities, with meaning true and false:
Each paired column agrees. Translating logical disjunction (OR), logical conjunction (AND), and logical negation (NOT) back into membership proves the two set equalities. For the general method of reducing set equalities to equivalences in propositional logic, see Lehman, Leighton and Meyer, Mathematics for Computer Science (2015), §4.1.5 and Problem 4.5.
A historical perspective appears in Augustus De Morgan's [ref]: he describes treating each name together with its contradictory name. In the membership viewpoint here, a set and its complement likewise pair a condition with its logical negation.
Contrapositive Created 2026-10-03 Updated 2026-10-25
The contrapositive of a logical implication reverses the direction and applies logical negation to both sides: . In classical propositional logic they are equivalent, so either can be proved in place of the other. The contrapositive of “divisibility by four implies being an even number” says that a number that is not an even number cannot be divisible by four.
In Intuitionistic propositional logic, still implies its contrapositive: assumptions and would yield and hence a contradiction. The reverse direction is not generally valid. From and , one obtains only ; obtaining additionally requires double-negation elimination.
Logical connective Created 2026-09-28 Updated 2026-10-14
A logical connective forms a compound proposition from component propositions; logical truth and logical falsity are the zero-input cases. Logical negation has one input, while logical conjunction, logical disjunction, and logical implication each have two. In classical propositional logic, these logical connectives are truth-functional: their output value is determined by their input values, as listed in a truth table. This does not characterize every kind of logical connective in every logic. See forall x: Calgary, section 10.1.
Logical equivalence Created 2026-10-14 Updated 2026-10-25
Two propositional formulas are logically equivalent in classical propositional logic when they have the same truth value under every Boolean valuation. Identical output columns in a truth table prove logical equivalence; one differing row refutes it. De Morgan's laws give useful examples.
Logical falsity Created 2026-09-28 Updated 2026-11-05
Logical falsity, written , is a zero-input logical connective interpreted as false under every Boolean valuation. In standard Intuitionistic propositional logic and classical propositional logic, it has no introduction rule that produces it without premises. The logical falsity elimination rule permits deriving any logical formula from it.
A formal proof can derive from contradictory assumptions: together with gives it by the negation elimination rule. A first-order theory is first-order consistent when it has no assumption-free proof of from its own axioms. Thus having no proof is a consistency property of a specified formal proof system, rather than an unconditional definition of logical falsity.
Logical implication Created 2026-09-28 Updated 2026-10-25
Logical implication forms the proposition , read “if , then ”. In classical propositional logic, it is false exactly when is true and is false. Equivalently, it has the same truth table as , using logical negation and logical disjunction. A false hypothesis makes the logical implication true regardless of its conclusion; thus it asserts neither the hypothesis nor a causal connection.
For example, for every natural number , divisibility by four implies that is an even number: . At , both statements are true. At , the hypothesis is false and the conclusion true; at , both are false. The only forbidden case is a multiple of four that is not an even number.
In Intuitionistic propositional logic, a proof of consists of a construction transforming any proof of into a proof of . The implication introduction rule proves under a temporary assumption ; the modus ponens rule applies the result when is available. The classical identification with is not generally intuitionistically valid.
Logical validity 2026-10-14
An argument has logical validity in classical propositional logic when no Boolean valuation makes all premises true and the conclusion false: . With no premises, says that is a tautology. See forall x: Calgary, sections 12.4–12.6.
Mathematical logic Created 2026-09-24 Updated 2026-10-18
Mathematical logic studies formal languages, formal proofs, model theory, computability theory, and the foundations of mathematics. It makes the rules of reasoning explicit enough that reasoning itself becomes an object of mathematics. Proof theory studies deductions; model theory studies interpretations in which statements hold.
Three questions organize the subject: is an expression a well-formed first-order formula, is it true in a specified first-order structure, and does it have a formal proof from specified axioms? These questions are distinct. For example, is a first-order sentence in an appropriate first-order language; it is false in the natural numbers but true in the rational numbers, with .
The beauty of mathematical logic is that the same logical connectives and rules of universal quantification and existential quantification organize arguments across mathematics. Classical propositional logic uses two truth values; Intuitionistic propositional logic interprets logical implication through constructions on proofs, without unrestricted law of excluded middle. This proof-based framework is developed in Frank Pfenning, Natural Deduction, sections 1–3.
The Gödel second incompleteness theorem says that a consistent, effectively axiomatized first-order theory with enough arithmetic and its standard derivability and diagonalization properties cannot prove its formal consistency statement .
If a consistent proved , it would prove by classical propositional logic. Apply Löb's theorem to . This would give , contradicting consistency. Therefore
For an inconsistent first-order theory the conclusion need not hold, since it proves every first-order sentence.
Use just the assumed local reflection instance with :
By the deduction theorem for propositional logic, . Classical propositional logic makes this imply the unconditional reflection statement : if is false the consequent is already true, and if is true the displayed implication supplies it. Löb's theorem applied to now gives
Thus full local reflection in a one-sentence extension is inconsistent; in this argument even the single instance concerning suffices.
One Hilbert axiomatization of classical propositional logic uses the schemas , and , with modus ponens as its inference rule. Other connectives can be defined from implication and negation. Syntactic entailment means that a finite formal proof derives from the schemas and members of . Consistency means that no formula and its negation are both derivable, equivalently no contradiction is derivable.
Use the standard deduction theorem, closure of derivability under modus ponens, and the maximal-consistency properties: a maximal consistent set contains exactly one of , is closed under derivability, and satisfies exactly when or . These follow from the deduction theorem and the classical schemas; in particular adjoining a missing formula to a maximal set must yield a contradiction. Define iff . Induction on formula construction now proves
For negation use the exactly-one property, and for implication use its displayed membership rule, which is precisely the Boolean truth table. Thus every member of is true under , providing the required valuation.
If , theoremhood gives , while the fixed-point equivalence also gives . Therefore first-order consistency implies .
If were inconsistent, the deduction theorem and classical propositional logic would give , hence . This is impossible by the preceding argument. Therefore
This is a syntactic first-order consistency result. It does not claim that the extra axiom is true in the standard natural numbers or that the extended first-order theory is sound.
The Hilbert-Bernays-Löb derivability conditions are: if then ; ; and . The first is an external rule about provability; the latter two are internal theorems. Standard numerical correctness and the stipulated form accompany the predicate in this question. These conditions do not include reflection .
Choose a fixed refutable sentence and identify with . Different fixed refutable choices have provably equivalent consistency sentences, because proves their equivalence to a contradiction. From , necessitation and distribution give . Since , this yields .
For the converse, necessitate and distribute to get . Positive introspection also gives . The two boxed contradictories imply by formalized propositional reasoning. Thus , and contraposition gives . Consequently
Finally the deduction theorem says that is inconsistent exactly when . The internal equivalence identifies and in their deductive consequences. Hence exactly when is consistent. Consistency of alone need not ensure this stronger consistency condition.
Suppose proves every specified reflection instance. Use only the instance with . The deduction theorem gives
Classical propositional reasoning turns this into : if already holds the implication is true, while otherwise holds and the displayed theorem supplies it. Löb's theorem now yields , making inconsistent. Therefore no sentence consistent with can supply all the local reflection instances in a one-sentence extension. The proof uses just one well-chosen instance, and never applies necessitation to a derivation with the extra assumption still open.
GL has all classical propositional tautologies, the normal distribution axiom and the Löb axiom , closed under uniform substitution, modus ponens and necessitation of theorems. We use its derived positive-introspection theorem , normal boxed reasoning, and the boxed replacement principle supplied in the question.
For completeness, positive introspection follows from these axioms. Put . Distribution gives , so propositional logic proves . Necessitate and distribute to get ; Löb's axiom gives , and boxing finishes .
For a GL fixed point by truth substitution, set , and . From the tautology , boxed reasoning gives . The supplied replacement principle and distribution then give
Since is itself boxed, positive introspection gives , and hence .
For the reverse direction, the displayed implication entails the theorem . Necessitate it and distribute to obtain . Since is boxed, holds. The Löb axiom therefore yields , and the same displayed implication then yields . Consequently
All occurrences of the unknown letter have been removed from by substitution of truth; any other parameter letters remain available. The proof does not assume the invalid reflection principle as an unconditional axiom.
In proof by contradiction, assume the negation of the desired conclusion and derive logical falsity; discharge that assumption and infer the desired conclusion. Its sequent rule is
This is a rule of classical propositional logic. It follows from the paper's negation introduction rule, which first yields , and double-negation elimination, which yields . This is stronger than merely deriving by showing that leads to logical falsity.
Write . We derive the two disjunction introduction rules and the disjunction elimination rule without using any disjunction rule inside the derivations.
For left introduction, start with and temporarily assume . The conjunction elimination rule gives , and the negation elimination rule gives . Discharge the temporary conjunction by the negation introduction rule, concluding . For right introduction, start with and use the right conjunction elimination rule to obtain instead. Thus either input derives the required encoded disjunction.
For elimination, suppose is available, together with a derivation of from an additional assumption and a derivation of from an additional assumption . Keep their common external context fixed. Temporarily assume under label . Temporarily assume under label and insert the supplied first branch derivation to obtain . Negation elimination rule gives , so negation introduction rule discharges and gives . Repeat with a temporary assumption under label and the supplied second branch derivation, discharging to obtain .
Conjunction introduction rule now gives . Its negation gives by negation elimination rule. The supplied reductio ad absurdum rule discharges and yields . This discharges the two branch assumptions as required and proves the encoded elimination rule. Its last step uses classical propositional logic; the same encoded elimination principle is not generally available in Intuitionistic propositional logic.
Propositional logic Created 2026-09-24 Updated 2026-11-05
Propositional logic studies reasoning with whole propositions represented by letters such as and , and propositional formulas built from them using logical connectives. The classical two-valued, truth-functional presentation below assigns each primitive proposition either true or false: each compound value depends only on its component values. This is classical propositional logic; other systems, including Intuitionistic propositional logic, have different semantics and rules.
Starting with and , one can build by logical negation, by logical conjunction, by logical disjunction, and by logical implication, then combine these into larger propositional formulas. Parentheses specify the construction: has logical conjunction as its outermost logical connective. Primitive propositions have no internal structure in this language; a first-order formula can additionally describe objects and quantify over them. The formation rules are given in forall x: Calgary, chapter 6.
The following truth table shows the four basic logical connectives. Logical disjunction is inclusive: is true when either or both inputs are true. Classical logical implication has exactly the same values as ; its only false row has true and false. These truth conditions are specified in forall x: Calgary, chapter 9.
Figure 1.
Classical logical connectives on all four Boolean valuations, with matching columns for and
. Details.
Evaluate from the inside out: first the logical implication, then the outer logical conjunction. The final column also tests the logical implication expressing the modus ponens rule:
At , the logical implication is false, so the logical conjunction is false. The abstract syntax tree below separates the construction of the propositional formula from the values propagated through it. Both occurrences of receive the same value from the Boolean valuation. With the opposite assignment , the logical implication is true but the logical conjunction is still false because its second input is false. Recursive evaluation and exhaustive truth tables are explained in forall x: Calgary, chapter 11.
Figure 2.
An abstract syntax tree evaluating to false at the Boolean valuation
. Details.
The last column is always true: is a tautology. This expresses the logical validity of the modus ponens rule: whenever both premises and are true, is true. It does not say the premises are true under every Boolean valuation; their logical conjunction is true only on the first row. For a short natural deduction proof outline, assume , extract both conjuncts, apply the implication elimination rule to obtain , then discharge the assumption by the implication introduction rule. See forall x: Calgary, sections 17.3–17.5.
Three tests answer different questions: Boolean satisfiability requires at least one true row, a tautology requires every row true, and a contradiction has every row false. Thus is a tautology, is a contradiction, and is satisfiable but not a tautology: it is true only at . See forall x: Calgary, sections 12.1–12.4.
Propositional logic is useful because an inference pattern can be checked once and reused for many choices of propositions. Its beauty is that a finite truth table completely settles classical truth-functional questions about a fixed propositional formula. But logical validity does not verify real atomic claims. If means “the switch is closed” and means “the lamp is lit”, a valid use of the modus ponens rule still requires establishing its premises about the apparatus; the truth table supplies neither an observation nor a causal explanation. See forall x: Calgary, chapter 2 and chapter 10.
Refutation 2026-11-05
A refutation of a collection of logical assumptions is a derivation of a contradiction from them. To prove a logical formula by refutation in classical propositional logic, add its negation to the assumptions and derive falsity. The correctness of this inference follows from the rules of the chosen proof system.
For example, the clauses , and have a resolution refutation: the first two resolve to , and with yields the empty clause. No truth assignment satisfies the three original clauses. This distinguishes the semantic claim of unsatisfiability from a syntactic certificate establishing it. In automated proving, producing a refutation is useful because another program can check the individual inference steps without repeating the search.