Decidability theorem for propositional logic Created 2026-09-29 Updated 2026-10-14
There is an algorithm deciding whether any finite propositional formula is a theorem. A formula contains only finitely many atoms, so a finite truth table decides whether it is valid; the completeness theorem for propositional logic identifies validity with provability.
Lindenbaum algebra 2026-10-14
Identify classical propositional formulae when their equivalence is provable from a fixed theory. Their equivalence classes form the Lindenbaum algebra: meet and join are induced by conjunction and disjunction, complementation by negation, and the order by provable implication. Provable equivalence is preserved by each connective, so these operations are well-defined; the familiar classical propositional identities make this a Boolean algebra. A homomorphism of lattices to preserving zero and one also preserves complements and therefore specifies a truth valuation of the atomic propositions. All axioms of the fixed theory represent one. Separating the class of an unprovable formula from one consequently gives a countervaluation, proving the completeness theorem for propositional logic.
Past exam of the mathematics course of the University of Cambridge 2006 ii Paper 1 16H Solution Created 2026-09-24 Updated 2026-10-14
A chain-complete partially ordered set has a supremum for each chain (and a least element if the empty chain is included). The weaker condition needed for Zorn lemma is that every chain have an upper bound; some terminology also calls this chain-complete. Zorn's lemma says that a nonempty partially ordered set with this upper-bound property has a maximal element. We verify that exact hypothesis below.
Consider the lattice ideals containing but not , ordered by inclusion. The principal ideal belongs to this family because . The union of a nonempty chain of such ideals is an ideal: two of its elements lie together in one member of the chain, which contains their join and everything below it. The union still avoids . The empty chain has the initial principal ideal as an upper bound. Zorn supplies a maximal such ideal .
We prove that is a prime lattice ideal. If , maximality says that the ideals generated by adjoining and by adjoining both contain . Thus and for some : the first generated ideal consists of elements below , and similarly for . If , distributivity givesa contradiction. Consequently implies or .
Define on and one elsewhere. An ideal contains exactly when it contains both and , and its primeness says that it contains exactly when it contains at least one of them. Thus preserves both joins and meets, and as required.
For completeness, take the Lindenbaum algebra of classical propositional formulae modulo provable equivalence, including any given premises as axioms. It is a Boolean, hence distributive, lattice; provable implication is its order. If a formula is not provable from the premises, then . The separation just proved, with , gives a homomorphism of lattices sending to zero and one to one. It also sends zero to zero, since , and preserves complements because their meet is zero and join is one. Its values on atomic propositions form a Boolean valuation satisfying all premises and falsifying . Thus semantic consequence implies provability, the completeness theorem for propositional logic.
Past exam of the mathematics course of the University of Cambridge 2007 ii Paper 2 16G Solution Created 2026-09-24 Updated 2026-10-14
A deduction from premises in propositional logic is a finite sequence of formulas, each an allowed logical axiom instance, a member of , or obtained from earlier formulas by an inference rule, such as modus ponens. For example a Hilbert system can use the schemas , , and , with modus ponens as its rule. Its last formula is the conclusion. A finite deduction uses only finitely many premises. The completeness theorem for propositional logic says implies ; together with soundness, syntactic consistency is equivalent to existence of a satisfying valuation.
For compactness, if had no model, completeness would give a deduction of a contradiction. That deduction uses a finite subset of , which therefore also has no model. Contrapositively, if every finite subset has a model, so does .
Fix the given valuation on and let be its collection of true literals. Suppose were inconsistent. A finite subset of its literals, with conjunction , would satisfy by the deduction theorem and classical logic. But whereas the given valuation makes true, contradicting that it satisfies all of . Hence is consistent.
If had a model, restrict that valuation to and apply the preceding consistency result. Completeness supplies an extension to making true and preserving those values. Combine its values with the original model's values. Disjointness of makes this a well-defined valuation satisfying and , contradicting soundness of . Thus is inconsistent.
Compactness now supplies with . Put . ThenThis proves propositional interpolation. The empty conjunction is the truth constant; if the language omits truth and falsehood symbols, use an equivalent tautology when is nonempty, or adjoin those constants for the empty-common-language case.
Past exam of the mathematics course of the University of Cambridge 2010 ii Paper 4 16G Solution Created 2026-09-24 Updated 2026-10-14
The completeness theorem for propositional logic states that implies : every semantic consequence is formally derivable. Equivalently, every syntactically consistent set of formulas has a truth assignment satisfying it.
First prove the equivalent formulation. With countably many primitive propositions there are countably many formulas; enumerate them as . Starting from a consistent , construct increasing consistent sets by adjoining if this remains consistent, and otherwise adjoining . The second choice is consistent: if adjoining either choice were inconsistent, the deduction theorem for propositional logic would give both and as consequences of , contradicting consistency.
The union is consistent, since a finite proof of a contradiction would already use premises in one stage. It decides every formula. It is also deductively closed: if and , then , violating consistency.
Give an atomic proposition the truth value true exactly when . Induction proves the truth lemma. For negation, exactly one of lies in . For implication, if and , modus ponens gives . Conversely, if , then entails by a classical propositional tautology; if , it too entails . Hence membership of an implication agrees with its truth table. Other connectives follow from their definitions or the corresponding tautologies. Thus the assignment satisfies , and therefore .
Now if , the set is consistent, by the deduction theorem for propositional logic and classical double-negation elimination. Its satisfying assignment is a model of in which is false. Contraposition provesThe reverse implication is soundness theorem for propositional logic, proved by checking axioms and inference rules preserve truth.
For uncountably many primitive propositions, replace the enumeration by a maximal-consistent extension using Zorn lemma. The union of a chain of consistent extensions is consistent for the same finite-proof reason. Maximality then decides each formula: if adjoining creates inconsistency, the deduction argument gives already in the extension. The same truth lemma applies with no change. Alternatively, well-order the formulas and run the same recursion with unions at limit stages. This modification uses a choice principle, unlike the countable enumeration argument.
Past exam of the mathematics course of the University of Cambridge 2013 iii Paper 20 2 ii Solution Created 2026-10-03 Updated 2026-10-07
A propositional type is a set of propositional formulas; a Boolean valuation realizes it if every member is true, and omits it if at least one member is false. A consistent propositional theory locally omits if every formula which implies all members of modulo is refutable modulo . Equivalently, whenever is consistent, there is a for which is consistent. For a consistent propositional type, this says that it is a nonprincipal propositional type.
The extended omitting types theorem for propositional logic says that if a consistent locally omits each of a countable family , there is one Boolean valuation satisfying and omitting them all. It also works inside any prescribed finite condition consistent with .
To prove it, start with such a condition , taking when none is prescribed. At stage , choose such thatSuch a choice exists by local omission. More explicitly, failure would imply for every , hence , contradicting the stage invariant. Every finite subset of lies inside a consistent stage. By the propositional compactness theorem and the completeness theorem for propositional logic, it has a Boolean valuation. That Boolean valuation satisfies and makes the selected member of every type false. All types are therefore omitted simultaneously. No effective test for consistency is assumed, and the argument does not require the ambient propositional language to be countable. Only the family of omission requirements is countable.
Past exam of the mathematics course of the University of Cambridge 2015 ii Paper 1 13I Solution Created 2026-09-24 Updated 2026-10-06
The completeness theorem for propositional logic states that if and only if . Soundness follows by checking that axioms are tautologies and inference rules preserve truth. For completeness it suffices to prove that every syntactically consistent set has a model.
The deduction theorem for propositional logic used here is: if and only if , in classical propositional logic. A proof is finite, so the union of a chain of consistent sets remains consistent: a contradiction would already occur in one member. By Zorn's lemma, extend a consistent to a maximal consistent set . If , adding yields a contradiction; the deduction theorem gives , and maximal consistency puts in . Conversely and cannot both belong to . Maximal consistency also makes deductively closed.
Assign each primitive proposition the truth value true precisely when it belongs to . The maximal consistent set truth lemma follows by induction on formulas. For negation use the preceding dichotomy. For implication, if or , the classical implication axioms put in ; if and , modus ponens prevents that implication from belonging to . This is exactly its truth table. Other connectives are defined from these or handled by the same induction. The resulting valuation satisfies all of , hence all of .
If , the deduction theorem and classical contradiction rules show is consistent. Its model falsifies , so . This proves completeness.
The propositional compactness theorem says is satisfiable if every finite subset is satisfiable. Otherwise completeness would make inconsistent, and a finite proof of contradiction would involve only finitely many assumptions, contradicting their satisfiability. Equivalently, every semantic consequence of is a consequence of a finite subset. The decidability theorem for propositional logic says there is an algorithm deciding whether a formula is provable with no assumptions: enumerate all truth assignments to its finitely many primitive propositions, check whether it is a tautology, and use soundness and completeness to identify tautologies with theorems. This does not claim an algorithm for arbitrary infinitely presented theories.
Past exam of the mathematics course of the University of Cambridge 2017 ii Paper 1 15H Solution Created 2026-09-24 Updated 2026-10-05
The completeness theorem for propositional logic, together with soundness, states if and only if . In particular, an inconsistent set of formulae has a finite formal proof of contradiction. Such a proof uses only finitely many assumptions, yielding the propositional compactness theorem: if every finite subset of is satisfiable, then is satisfiable.
The decidability theorem for propositional logic concerns theoremhood of a formula, or entailment from a finite list of premises. Formulae involve finitely many variables, so their valuations can be tested by a finite truth table; completeness identifies semantic validity with provability. Equivalently, dovetail effective proof enumeration with the finite search for a countervaluation: completeness ensures that one succeeds. This is not a decidability claim for consequences of an arbitrary noncomputable infinite theory.
An infinite collection of distinct tautologies is a finitary set of formulae, since its deductive closure equals that of the empty set. By contrast, the set of independent variables is not finitary. If a finite set had the same closure, it would mention only finitely many variables. It is satisfiable because it is a consequence of the all-true model of the ; changing an unmentioned to false preserves and contradicts .
Under the final hypothesis, has no model. The propositional compactness theorem gives finite , with inconsistent. Any valuation satisfying cannot satisfy , because it would then satisfy ; by the exactly-one hypothesis it must satisfy . The reverse implication holds by inclusion. Thus and have identical models, and similarly and . Completeness gives identical deductive closures, proving
Past exam of the mathematics course of the University of Cambridge 2019 ii Paper 1 16I Solution Created 2026-09-24 Updated 2026-09-29
The completeness theorem for propositional logic states that for every set of formulae and formula ,With the soundness theorem for propositional logic, this is an equivalence. It is also equivalent to saying that every consistent set of formulae has a model.
The usual countable proof lists all formulae and extends a consistent theory one formula at a time. For an uncountable set of primitive propositions, use the uncountable-language proof of propositional completeness: order the consistent extensions of by inclusion. The union of every chain is consistent, since a proof of a contradiction would use only finitely many assumptions and hence would already lie in one member of the chain. Zorn lemma gives a maximal consistent set in propositional logic . Define a Boolean valuation by exactly when . The usual structural induction on formulae proves the truth lemmaso is a model of .
The propositional compactness theorem says that a set is satisfiable if and only if every finite subset of is satisfiable. Only the forward implication is immediate. For the converse, if had no model, then , so completeness would give . Every formal proof uses finitely many assumptions, so some finite would prove and, by soundness, would have no model, a contradiction.
The decidability theorem for propositional logic says that there is an algorithm deciding whether a propositional formula is a theorem. A formula contains only finitely many primitive propositions, even when the full language is uncountable. Its finite truth table decides whether it is valid, and completeness says that validity is equivalent to theoremhood.
Now let be the given partially ordered set. For every distinct , introduce propositions and . Form a propositional theory containing the following clauses:
- and for distinct ;
- and for pairwise distinct ;
- and whenever in the original order;
- and whenever and are incomparable in the original order.
The first two families say that and encode strict total orders. The third makes both orders extend , while the fourth makes them disagree on every incomparable pair.
Every finite subset mentions only a finite subset . By hypothesis, the induced order on is a two-dimensional poset, so choose two total orders realizing it and assign the finitely many and variables accordingly. This satisfies . Thus every finite subset of is satisfiable, and propositional compactness gives a model of all of .
Define when is true and when is true. The clauses make and total orders on . They both contain the original order, and their intersection contains no incomparable pair. Hencewhich proves the finite-local characterization of two-dimensional partially ordered sets.
Propositional theory Created 2026-10-07 Updated 2026-10-14
A propositional theory is a set of propositional formulas, sometimes identified with its deductive closure. It is a consistent set of formulae when contradiction is not derivable from it. The completeness theorem for propositional logic identifies consistency with existence of a satisfying Boolean valuation.