Classical first-order logic has the quantifier and logical equality rules of natural deduction together with unrestricted double-negation elimination, or equivalently the law of excluded middle. It is interpreted in ordinary two-valued first-order structures.
Intuitionistic first-order logic has the usual introduction and elimination rules for logical connectives, quantifiers and logical equality, but no unrestricted double-negation elimination or law of excluded middle. Its proofs retain the witness and logical disjunction information that can be lost in classical first-order logic.
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.
Work in ZF with the law of excluded middle, without the axiom of choice. The paper's terminology is an infinite Dedekind-finite set. The useful common principle is countable union of explicitly ordered finite lists without choice: given an actual sequence of finite lists, enumerate their entries by list number and position using a Cantor pairing function. If the union of entries is infinite, repeatedly take the entry with the least code not already selected. This produces an injection from without choosing any enumerations of unordered sets.
Consequently, if a family of objects has an explicitly ordered finite list of labels for each object, and only finitely many objects can be made from any given finite pool of labels, then a countably infinite list of distinct objects forces a countably infinite subset of the label set. For a Dedekind-finite label set this is impossible. If the label set embeds into the object family as well, infinitude is preserved. Thus
The distinction between ordered lists supplied by the data and arbitrary finite subsets is essential: a blanket countable-union theorem for unordered finite sets would introduce a choice principle.
A proper filter on a set contains , excludes , is upward closed, and is closed under finite intersections. Order its proper extensions by inclusion. The union of a nonempty chain is again a proper filter: finitely many members lie together in one chain member. Zorn lemma, and hence the axiom of choice, gives a maximal extension . If neither nor belongs to , maximality of says adjoining either one produces the improper filter. There are therefore with and , contradicting . Thus is an ultrafilter.
For Łoś theorem, interpret the ultraproduct using when , with functions and relations interpreted coordinatewise. These interpretations are well defined because changing finitely many argument representatives changes them only outside the intersection of their agreement sets, which belongs to . For any first-order formula and sequences of parameters,
Prove this by structural induction. Atomic formulas follow from the interpretation of terms. Conjunction uses finite intersections; negation uses the ultrafilter dichotomy between a set and its complement. If holds in the ultraproduct, a witness sequence gives a subset of in . Conversely, choose a witness for in every factor where one exists, and an arbitrary element in every other factor. This is the second explicit use of the axiom of choice; all factors have nonempty carriers. The inductive hypothesis applied to supplies the ultraproduct witness. The other connectives and universal quantification follow from these cases.
For the possible worlds, use free filters, equivalently proper filters extending the cofinite filter . Here “nonprincipal” must have this free-filter meaning: merely saying that a filter has no single generating subset need not make an accessible least world. The designated world is , and all worlds have carrier . Atoms, including equality, are forced by
Equality may identify distinct sequences at a world; it is a persistent congruence, and at an ultrafilter world its quotient is the ordinary ultraproduct.
The required equivalence with all ultraproducts uses dense-extension filter semantics. Its recursive clauses are
Every extension in these clauses is a free proper filter. The dense clause for disjunction is essential; for propositional formulas, local disjunction would instead give a Kripke model for intuitionistic propositional logic and would invalidate the claimed equivalence.
The useful separation fact is membership in a free filter is detected by its ultrafilter extensions:
Indeed, if , every has infinite intersection with : a finite intersection would imply after intersecting with a suitable cofinite set. Hence adjoining generates a free proper filter, which extends to a nonprincipal ultrafilter by the ultrafilter lemma.
Induction on formulas now gives . Negation and implication follow by adjoining the positive set on which their classical truth conditions fail. For disjunction, membership of lets every extension be refined to an ultrafilter containing one of the two sets. If that union is absent from , an ultrafilter extending contains its complement and has no further proper extension, contradicting the dense clause. For existence, choose coordinate witnesses on as in Łoś theorem. For universality, if , choose a counterexample in every factor outside it and arbitrary elements elsewhere. The resulting sequence has , so cannot force that instance. The converse follows from upward closure and persistence.
At the designated world, therefore,
This semantics validates classical first-order logic, including law of excluded middle. For example, every free filter has an ultrafilter refinement deciding an atomic formula, so its excluded middle is forced even when neither disjunct is forced at the original world. To see concretely why local disjunction fails, take and an atom true exactly at even indices: neither its truth set nor its complement is cofinite, although every ultraproduct satisfies its excluded middle.