GLOBAL KNOWLEDGE ARK

Mathematics · Article

Completeness, incompleteness and independence

Prove what first-order completeness guarantees, why effective arithmetic leaves some sentences undecided, and how model constructions establish independence.

Back to Mathematics

After reading, you can

  • Distinguish soundness of a calculus, completeness of first-order consequence, and completeness of a theory.
  • Construct the consistency-preserving witness extension and explain its term model.
  • Represent proof checking in arithmetic and prove the fixed-point lemma using numeral substitution.
  • Prove the first incompleteness arguments and standard-truth conclusions under their respective hypotheses.
  • Derive the second incompleteness theorem and Löb's theorem from the stated derivability conditions.
  • Use exact relative-consistency implications and model witnesses to identify independent sentences.
01

What an axiom system can decide

A valid inference preserves truth in every model. A theory can still leave a sentence unsettled when its models disagree about the sentence. First-order completeness describes the relation between these two facts.

To study arithmetic itself, turn a finite proof into a number with a checkable certificate. Diagonalization then constructs sentences whose truth depends on the existence of particular certified proofs.

Follow the Gödel, Rosser and Löb arguments in their exact settings. Compare them with full second-order induction, decidable equality theories and the conditional model results for Choice and the continuum hypothesis.

02

Separate a proof from truth in a structure

For a sentence φ in a specified language, M⊨φ says that M assigns its symbols interpretations for which the recursive satisfaction rules give truth. Quantifier ranges are the actual domain of M.

For a set Γ of sentences, Γ⊨φ means that every structure satisfying Γ also satisfies φ. To refute that relation it suffices to produce a structure satisfying Γ and failing φ.

The judgment Γ⊢φ concerns a fixed proof calculus. It asserts the existence of a finite derivation whose active assumptions come from Γ and whose last formula is φ. Its relation to truth needs a correctness theorem about the rules.

In the strict order language, ∃x∀y(x=y∨x<y) is true in (ℕ,<) and false in (ℤ,<). The first order has least element 0, while each integer has a smaller one. Thus one sentence can have different truth in distinct models of the same linear-order axioms. Related reading: [Assignments and formula truth](https://builds.openlogicproject.org/open-logic-complete.pdf#page=236), [Soundness and concrete inference rules](https://builds.openlogicproject.org/open-logic-complete.pdf#page=142). Evaluate truth in a specified structure and proof in a specified calculus.

03

Prove the soundness direction in a concrete fragment

For modus ponens, assume a structure and assignment satisfy both A→B and A. By the classical truth rule for implication, B must then be true at that assignment. Thus the rule preserves truth under every interpretation satisfying its premises.

For universal elimination, suppose ∀x A is true at assignment s and t is admissible for substitution for x. The universal rule makes A true after replacing the assigned value of x by the value of t under s.

The semantic substitution identity gives that very truth to A[t/x] under the original assignment. Its admissibility condition is needed because a captured variable could otherwise alter the value of the substituted expression under an intervening binder.

Check the chosen rule in the context of the open assumptions, with the prescribed conditions for discharged assumptions where relevant. Induction on the derivation then propagates truth of the active premises to the conclusion. The two displayed cases are concrete inductive steps for the mentioned rules. Related reading: [Assignments and formula truth](https://builds.openlogicproject.org/open-logic-complete.pdf#page=236), [Soundness and concrete inference rules](https://builds.openlogicproject.org/open-logic-complete.pdf#page=142). Truth preservation for each proof line includes all open premises, assignment changes and freshness side conditions.

04

Relate first-order completeness to the model existence theorem

Fix a sound classical first-order calculus and its completeness theorem, which states that Γ⊨φ implies Γ⊢φ. Together the two directions identify semantic consequence with formal derivability in that calculus.

If a theory Γ has no model, Γ⊨⊥ because its model class is empty. Completeness gives Γ⊢⊥. Conversely, by soundness a proof of contradiction rules out all models. Thus satisfiability and consistency correspond.

One may equivalently begin with model existence for every consistent Γ. If Γ does not prove φ, the deduction theorem and classical logic imply that Γ∪{¬φ} is consistent. Its model satisfies Γ and falsifies φ, so Γ cannot semantically entail φ.

This completeness property concerns every pair of premises and proposed conclusion. A complete theory has a different property: for each sentence of its language it proves the sentence or its negation while remaining consistent. A sound and complete calculus may therefore govern a theory that leaves many sentences independent. Related reading: [Consistency and model existence](https://courses.fit.cvut.cz/BI-ALO/henkin-completeness.pdf), [Witness completion and term models](https://builds.openlogicproject.org/open-logic-complete.pdf#page=364). Model existence from syntactic consistency uses a classical first-order calculus and adequate fresh constants.

05

Show how the witness step preserves syntactic consistency

Let c be fresh for T and the sentence ∃x φ(x), and write H for ∃x φ(x)→φ(c). If T∪{H} were inconsistent, the deduction theorem would give T⊢¬H. Classical propositional reasoning would then give both T⊢∃x φ(x) and T⊢¬φ(c).

In a finite proof of the latter sentence replace c by an entirely fresh variable y, renaming any bound or rule-local symbols to avoid conflicts. No formula of T contains c. The replacement is therefore still a derivation from T and ends in ¬φ(y). Universal generalization is permitted because y is free in none of its undischarged assumptions.

Thus T would prove ∀x¬φ(x) in addition to ∃x φ(x), contradicting consistency. This proves that adding the fresh witness implication preserves consistency. In a staged expansion each new implication uses its own fresh constant and a matrix from an earlier vocabulary.

Finitary proofs preserve consistency at unions of stages. Choose one consistency-preserving sign of each sentence of the enlarged language. Choose a language with a closed term, for example by applying witness introduction to ∃x(x=x). In the complete consistent theory, deductive closure gives equality congruence and Boolean membership directly from logical rules. The witness implication and ∃-introduction give both quantifier directions. Thus the term-model truth induction applies using syntactic closure, and reduct to the old vocabulary gives a model of T. Related reading: [Consistency and model existence](https://courses.fit.cvut.cz/BI-ALO/henkin-completeness.pdf), [Witness completion and term models](https://builds.openlogicproject.org/open-logic-complete.pdf#page=364). The proof discharges the temporary witness assumption before generalization over a name absent from the old language.

06

Define consistency, soundness and completeness of a theory

Consistency forbids a derivation of contradiction. Soundness relative to an intended structure or assignment means that every provable sentence is true there. A contradiction is always false there, so intended-model soundness implies consistency.

A theory is complete here when it is consistent and for every sentence proves one of its two signs. These definitions already make completeness imply consistency. If a theory is both sound in M and complete, every sentence true in M must be provable, because soundness excludes a proof of the false opposite sign.

With propositional letters P,Q and intended values P=Q=true, the theory generated by P is sound. It is incomplete because assignments P=true,Q=true and P=true,Q=false both satisfy it and disagree on Q. Soundness forbids either corresponding proof.

The theory generated by ¬P and Q has a unique truth assignment for these letters. Every formula has a determined truth value there, so propositional completeness gives a proof of one sign. Its intended-model soundness fails at ¬P. Ordinary consistency alone is also weaker than both soundness and completeness, as the smaller premise set {¬P} illustrates. Related reading: [Soundness and concrete inference rules](https://builds.openlogicproject.org/open-logic-complete.pdf#page=142). Keep the three predicates separate. Soundness of T as standard arithmetic assumes the truth of T's axioms in the intended model.

07

Read independence from two model witnesses

Call φ independent of a consistent classical T when neither φ nor ¬φ is provable from T. If T∪{φ} were inconsistent, the deduction theorem would give T⊢¬φ. Inconsistency of T∪{¬φ} would analogously give T⊢φ.

Thus independence makes both signed extensions consistent. Conversely if T proves one sign, adding the other yields contradiction. By completeness, the two consistent extensions have models, so the independence can equivalently be witnessed by two T-models disagreeing on φ.

In the group language take φ to be ∀x∀y(xy=yx). The additive group of residues modulo 3 satisfies it. The symmetric group of permutations of {0,1,2} satisfies the group axioms and contains noncommuting elements.

Test the axiom before counting either witnessTwo models disagree on ∃x P(x); T is ∀x(P(x)→Q(x)), and φ is ∃x P(x). Only structures satisfying T can supply witnesses about consequence from T.Test the axiom before counting either witnessStructure 1 · satisfies TElementPQ0TrueTrue1FalseTrueφ = TrueStructure 2 · satisfies TElementPQ0FalseFalse1FalseTrueφ = FalseThese two models establish independence.
T is ∀x(P(x)→Q(x)), and φ is ∃x P(x). Only structures satisfying T can supply witnesses about consequence from T.

To refute each possible consequence, a witness must satisfy every axiom of T. The two opposite witnesses, when both present, establish semantic independence and therefore prevent either proof by soundness.

Exact model and independence checks
QuantityExact result
Models of T1, 2
Models of T+φ1
Models of T+¬φ2
What the evidence establishesThese two models establish independence.
Exact inputs and supporting calculations
Declared inputs
ParameterValue
models[{"N":2,"P":[0],"Q":[0,1]},{"N":2,"P":[],"Q":[1]}]
All element values
StructureElementPQP→Q
10TrueTrueTrue
11FalseTrueTrue
20FalseFalseTrue
21FalseTrueTrue

With right-first composition, (01)(12) sends 0 to 1 and (12)(01) sends 0 to 2. The products therefore differ. The two finite group models establish both nonderivability claims for the group axioms. Related reading: [The exact relative-consistency implications](https://www.math.uni-bonn.de/ag/logik/teaching/2017SS/Models%20Of%20Set%20Theory%201/Aktuelles_Skript_Models.pdf), [Elementary equivalence and isomorphism](https://builds.openlogicproject.org/open-logic-complete.pdf#page=386), [Witness completion and term models](https://builds.openlogicproject.org/open-logic-complete.pdf#page=364). Each sign uses a model of the same theory in the same vocabulary.

08

Extend a consistent theory to a complete one

Let T be consistent and enumerate the sentences of its set-sized language by a well-order. In a countable language one may use a sequence when convenient. At each step consider the next sentence φ and the current accumulated theory.

If both extensions by opposite signs were inconsistent, the deduction theorem would give proofs of both ¬φ and φ in the current theory. This is impossible under its consistency, so at least one sign can be added. Choose φ when it is consistent with the current theory, and choose ¬φ otherwise.

At a limit take the union of the earlier sets of sentences. Any contradiction proof would use finitely many premises and therefore already occur at one earlier stage. Hence each union is consistent and the final theory decides every sentence.

The construction describes what happens once consistency of the current finite addition is known. It gives no effective test for that consistency in an arbitrary recursively enumerable theory. Well-ordering an enumeration and selecting a compatible sign are distinct requirements. Related reading: [Consistency and model existence](https://courses.fit.cvut.cz/BI-ALO/henkin-completeness.pdf), [Soundness and concrete inference rules](https://builds.openlogicproject.org/open-logic-complete.pdf#page=142), [Witness completion and term models](https://builds.openlogicproject.org/open-logic-complete.pdf#page=364). Classical sign choice preserves finite syntactic consistency. The countable construction gives no effective decision method.

09

Encode finite syntax by natural numbers

For a finite list of natural tokens a₁,…,a_k put C=∏_{i=1}^k p_i^(a_i+1), where p_i is the ith prime. With k=0 the empty product is 1. For k>0 the prime divisors are exactly the initial block p₁,…,p_k.

By unique prime factorization the largest prime appearing identifies k and each exponent identifies its token by subtracting one. A gap in the initial block rejects a positive integer as an encoding, and 0 is outside this code scheme.

A finite formula or proof can be represented by a finite list of symbols from an effectively indexed stock, using fixed bracket and separator tokens. Applying the decoding and checking the declared formation rules determines whether such a list represents an expression of the intended kind.

Base-five encoding with digits 1 through 4Encode 0,3,1 and decode 47; The top row encodes the declared tokens. The lower check uses the separately supplied code. Remainders are read backward.Base-five encoding with digits 1 through 4142Encoding from the most significant position5·0 + 1 = 15·1 + 4 = 95·9 + 2 = 47Decode supplied check code 47 by dividing by 5DividendQuotientRemainder4792914101
The top row encodes the declared tokens. The lower check uses the separately supplied code. Remainders are read backward.

Token 0 becomes digit 1, so leading original zero tokens survive. Decimal zero is reserved for the empty sequence and follows its own decoding case.

Exact encoding and decoding
QuantityExact result
Original tokens0, 3, 1
Encoded base-five digits1, 4, 2
Decimal code of original tokens47
Explicit check code47
Base-five check digits142
Decoded check0, 3, 1
Exact inputs and supporting calculations
Declared inputs
ParameterValue
tokens[0,3,1]
checkCode47
All divisions of the check code
DividendQuotientRemainder
4792
914
101

This gives an exact natural-number representation of finite syntax. A test of token form or rule application is a check of the code. Whether a formula is true in a specified infinite domain, or valid in every model, is a separate mathematical question. Related reading: [Representing effective syntax in arithmetic](https://builds.openlogicproject.org/open-logic-complete.pdf), [The arithmetic fixed-point lemma](https://builds.openlogicproject.org/open-logic-complete.pdf). Use a fixed effective encoding and define the operations on malformed input as well as well-formed strings.

10

Enumerate checked deductions from effective axioms

Consider a computably enumerable set of nonlogical axioms and an effectively recognizable calculus. A proof certificate lists the finite formulas, rule justifications, and for each axiom occurrence a finite stage or checked enumeration history confirming that axiom.

Checking a concrete certificate terminates by checking each finite rule instance and finite history. Every actual derivation from the enumerable axioms has such evidence for its finitely many uses, and every accepted certificate is an actual derivation.

Enumerate all finite candidate codes and output the conclusions of the accepted certificates. This enumerates theorems. For a particular sentence φ, one may run the search and halt when φ appears. If it never appears the search by itself supplies no finite negative answer.

If T is both complete and consistent, search simultaneously for a proof of φ and of ¬φ, alternating finite stages. At least one proof exists by completeness and the two cannot both exist by consistency. The first discovered sign decides theoremhood. Related reading: [Representing effective syntax in arithmetic](https://builds.openlogicproject.org/open-logic-complete.pdf). A c.e. axiom presentation has decidable certificates listing finite enumeration evidence. Direct membership need not be decidable.

11

Verify closed numeral calculations in Robinson arithmetic

Use Q's addition axioms x+0=x and x+S(y)=S(x+y). For concrete numerals m̄ and n̄, instantiate the successor equation n times and then the zero equation. The resulting expression is S^n(m̄), the numeral for m+n.

Use the multiplication axioms x·0=0 and x·S(y)=x·y+x. Expanding n times turns m̄·n̄ into a finite sum of copies of m̄. The already justified finite addition computations reduce it to the numeral for mn.

Two unequal numerals can be compared by stripping every common outer successor with the injectivity axiom S(x)=S(y)→x=y. An equality between the original different numerals would then imply 0=S(t) for some numeral t, contrary to the no-successor-zero axiom.

These are families of separate finite Q-proofs, organized by induction in the ordinary metatheory on the external numbers of steps. Their existence does not assume an induction axiom schema inside Q. Related reading: [Robinson arithmetic and numeral comparison](https://builds.openlogicproject.org/open-logic-complete.pdf). Closed numeral calculations use a finite derivation for each external input pair.

12

Prove the fixed numeral bounds needed in Rosser's argument

Write y≤n̄ as ∃z(z+y=n̄). For each fixed n claim Q proves that any such y equals one of 0̄,…,n̄. For n=0, if y is nonzero the predecessor axiom gives y=S(w), and then z+y=S(z+w) cannot equal 0.

For n+1, either y=0 or y=S(w). In the latter case the addition axiom and successor injectivity give z+w=n̄. The finite proof already built for n yields one of the n+1 possibilities w=0̄,…,n̄, hence y is one of 1̄,…,(n+1)̄.

For the other comparison, repeat the predecessor axiom n times on the arbitrary y. This yields that y is one of the first n numerals or y=S^n(z) for some z. In the latter case Q proves z+n̄=S^n(z). In the former cases the fixed numeral computations and unequal-numeral facts give y<n̄.

Consequently, if Q proves a formula condition separately at 0̄,…,n̄, equality substitution and the finite disjunction yield its universally quantified version for y≤n̄. The comparison with n̄ covers all candidates without claiming that every element of every Q-model is a standard numeral. Related reading: [Robinson arithmetic and numeral comparison](https://builds.openlogicproject.org/open-logic-complete.pdf), [Rosser's proof comparison](https://builds.openlogicproject.org/open-logic-complete.pdf). The fixed numeral split in Q concerns a fixed external bound. Its checks require neither an induction axiom nor identification of every element as a numeral.

13

Connect effective syntax to a representable operation

The prime-power code can be processed by bounded searches on a supplied integer. Check divisibility and exponents by loops bounded by that integer. The sequence of primes can be generated by primitive recursion, since after prime p a further prime occurs at or below p!+1.

Recognize free occurrences of a selected variable by traversing the finite formula with its binder stack. Negation adds a fixed constructor. Substituting a closed numeral copies the formula while replacing each marked free occurrence by a string of successor tokens applied to zero.

Term generation uses primitive recursion on the integer being named. Traversal, copying and re-encoding can be arranged by recursion over the token length with primitive recursive stack and list operations, including a fixed default output for invalid input codes. Thus negation and the relevant substitution-code function can be taken primitive recursive.

The standard representability theorem for Q supplies a formula D(u,v) for the graph of this substitution-code function d. For each actual input e it gives Q⊢∀v(D(ē,v)↔v=d(e)̄). This fixed-input equality test is the precise arithmetic property needed below. It does not claim that Q proves all general totality properties of the code operation. Related reading: [Representing effective syntax in arithmetic](https://builds.openlogicproject.org/open-logic-complete.pdf), [The arithmetic fixed-point lemma](https://builds.openlogicproject.org/open-logic-complete.pdf). Represent each needed standard calculation or decision correctly at its numeral inputs, with graph functionality in the diagonal instantiation.

14

Prove the diagonal lemma

Let ψ(x) be the formula by which the new sentence is to refer to its own code. Define d(e) to be the code obtained by substituting ē in the distinguished free-variable position of the formula with code e, with a default for unsuitable codes.

Use its representing graph D and choose fresh variables. Form θ(u)=∃v(D(u,v)∧ψ(v)), where the only free variable intended for substitution is u. Let e=⌜θ⌝ in the metatheory and set G to be the sentence θ(ē).

By the code definition, d(e)=⌜G⌝. The fixed-input representation makes D(ē,v) equivalent in Q to v=⌜G⌝̄. Substituting into θ(ē) therefore yields Q⊢ G↔ψ(⌜G⌝̄).

Any T extending Q also proves this equivalence. The construction uses an actual finite formula and its ordinary numeral. It turns a condition on a code into a fixed point by substituting the code of the intermediary formula, whose evaluated substitution code is the code of the finished sentence. Related reading: [The arithmetic fixed-point lemma](https://builds.openlogicproject.org/open-logic-complete.pdf), [Undefinability of full arithmetic truth](https://builds.openlogicproject.org/open-logic-complete.pdf). Obtain the equivalence by instantiating the represented graph at a fixed code and using uniqueness in Q.

15

Construct the exact proof and consistency predicates

Choose a concrete proof coding for T using finite rule and axiom-enumeration certificates. Its checking relation on an alleged proof code p and conclusion code a is primitive recursive, by bounded checking of the encoded computation histories and the finite derivation.

Represent that relation by Prf_T(p,a) in arithmetic, using a standard Σ₁ representation with correct positive and negative fixed numeral instances in Q. In the standard model, Prf_T(m̄,n̄) holds exactly when m really is an accepted proof certificate of the coded sentence n.

Define Prov_T(a)=∃p Prf_T(p,a). Consequently, for each actual sentence A, ℕ satisfies Prov_T(⌜A⌝̄) exactly when there is an actual finite T-proof of A. Define Con(T)=¬Prov_T(⌜0=1⌝̄), which is true in ℕ precisely when T has no actual contradiction proof.

Check each proof line, then the exact targetForward proof reaches R; Display lines start at 1. The indices of the supplied implication axioms start at 0.Check each proof line, then the exact targetImplication axioms: 0: P→Q · 1: Q→RLineAtomRuleCertificateResult1PGiven fact—Pass2QModus ponensline 1; axiom 0Pass3RModus ponensline 2; axiom 1PassGoal R · Last expression R · Certificate acceptedEvery cited antecedent appears earlier.
Display lines start at 1. The indices of the supplied implication axioms start at 0.

Modus ponens uses an earlier proof of the antecedent and the supplied implication to obtain the consequent. Checking a finite certificate differs from deciding theoremhood.

Exact certificate verdict
QuantityExact result
First rejected lineNone
Last displayed expressionR
Requested goalR
Certifies the goalTrue
Exact inputs and supporting calculations
Declared inputs
ParameterValue
facts["P"]
axioms[["P","Q"],["Q","R"]]
rows[["P",[]],["Q",[1,0]],["R",[2,1]]]
goalR
Complete verification trace
LineAtomRuleCitesResultAxiom
1PGiven fact—Pass
2QModus ponensline 1; axiom 0PassP → Q
3RModus ponensline 2; axiom 1PassQ → R

A witness inside another model belongs to its own domain. If that witness is the value of an ordinary numeral, the corresponding Q-check is correct there. Other domain elements are not automatically codes of externally finite derivations. Thus the internal existential statement must be interpreted in its model. Related reading: [Representing effective syntax in arithmetic](https://builds.openlogicproject.org/open-logic-complete.pdf), [Gödel's first incompleteness proof](https://upload.wikimedia.org/wikipedia/commons/9/99/Kurt_G%C3%B6del.pdf), [Formal provability and the second theorem](https://builds.openlogicproject.org/open-logic-complete.pdf). Use proof data for the exact effective presentation, a fixed absurdity and its designated arithmetic provability predicate.

16

Prove that the Gödel sentence has no proof under consistency

Apply the diagonal lemma to the formula ¬Prov_T(x). Write g=⌜G⌝ for the resulting code, so Q proves G↔¬Prov_T(ḡ). The represented proof relation is the same one used to define the operation of T.

Suppose there is an actual T-proof of G with code p. By the positive fixed numeral property, Q proves Prf_T(p̄,ḡ). By existential introduction Q therefore proves Prov_T(ḡ), and this is also a T-theorem.

The assumed proof gives T⊢G. Applying the fixed-point implication inside T gives T⊢¬Prov_T(ḡ). Thus T proves two opposite signs of the same sentence.

A consistent T cannot have both proofs. Therefore no actual proof of G exists when T is consistent. This conclusion uses ordinary consistency and the exact positive numeral check, without requiring all T-theorems to be true in the standard model. Related reading: [Representing effective syntax in arithmetic](https://builds.openlogicproject.org/open-logic-complete.pdf), [The arithmetic fixed-point lemma](https://builds.openlogicproject.org/open-logic-complete.pdf), [Gödel's first incompleteness proof](https://upload.wikimedia.org/wikipedia/commons/9/99/Kurt_G%C3%B6del.pdf). A genuine proof of G would give a standard proof witness with a positive numeral certificate while G proves absence of any.

17

Determine the standard-model truth of the Gödel sentence

Under consistency the previous argument excludes every actual proof of G. Therefore the standard-model statement ∃p Prf_T(p,ḡ) is false, because all its standard candidate codes fail the actual verification relation.

The fixed-point equivalence was obtained already in Q from the code identity. The usual natural-number structure satisfies Q, so that equivalence holds in ℕ even if further T-axioms fail there.

Hence ℕ satisfies ¬Prov_T(ḡ) and therefore satisfies G. Truth of the specific sentence follows from its exact coding and from the absence of an actual proof.

To infer that ℕ is a model of the whole theory T would require its axioms to be true there. The G argument itself only uses standard correctness of the base and the code relation, together with ordinary consistency of T. Related reading: [The arithmetic fixed-point lemma](https://builds.openlogicproject.org/open-logic-complete.pdf), [Gödel's first incompleteness proof](https://upload.wikimedia.org/wikipedia/commons/9/99/Kurt_G%C3%B6del.pdf). Evaluate the fixed point in the standard model, where the exact proof predicate has its intended interpretation.

18

Prove the ordinary Gödel sentence cannot be refuted under the stronger hypotheses

Suppose T proves ¬G. Since T proves G↔¬Prov_T(ḡ), classical double negation gives a proof of Prov_T(ḡ), a Σ₁ sentence asserting that some proof code of G exists.

Ordinary consistency has already excluded every actual proof of G. Thus this positive existential is false in ℕ. A theory that proves only true Σ₁ sentences cannot prove it, so Σ₁-soundness prevents a refutation of G.

For the ω-consistency argument, for each ordinary p the negative numeral verification gives T⊢¬Prf_T(p̄,ḡ). If T also proves ∃p Prf_T(p,ḡ), it has the prohibited combination of proving existence while refuting every standard numeral instance.

Thus ω-consistency likewise excludes a proof of ¬G. Ordinary consistency alone has a different role in the preceding unprovability proof. It does not exclude an existential theorem whose only possible witnesses in a model are nonstandard. Related reading: [Gödel's first incompleteness proof](https://upload.wikimedia.org/wikipedia/commons/9/99/Kurt_G%C3%B6del.pdf). A refutation produces an existential proof assertion while every standard example is provably excluded. The stronger ω-consistency or stated standard soundness premise excludes this.

19

Define the Rosser comparison and rule out its proof

Let Neg be the represented code operation for negating a sentence. Use it with the diagonal lemma to obtain R such that Q proves R equivalent to ∀p(Prf_T(p,r̄)→∃q(q≤p∧Prf_T(q,n̄))), where r=⌜R⌝ and n=⌜¬R⌝. The representing graph for Neg justifies these two fixed codes after diagonalization.

Suppose a concrete p is a T-proof code of R. Consistency rules out every actual refutation, hence in particular all candidate q≤p. The positive and negative numeral checks give a Q-proof that p̄ proves R and that each of 0̄,…,p̄ fails to prove ¬R.

The fixed numeral bound lemma turns these failures into Q⊢∀q(q≤p̄→¬Prf_T(q,n̄)). Therefore at p̄ the proof premise of R's comparison holds while the required existential conclusion fails.

Compare only the codes supplied in this finite catalogEvery G code has an earlier opposite; Each dashed edge goes from a G code p to its least declared opposite certificate q≤p. The full catalog can differ from the actual proof predicate.Compare only the codes supplied in this finite catalog59312Declared proof codes for GDeclared proof codes for ¬GBounded comparison: True
Each dashed edge goes from a G code p to its least declared opposite certificate q≤p. The full catalog can differ from the actual proof predicate.

A universal check over an empty finite G catalog is vacuous. None of these cases determines provability of the actual arithmetized Rosser sentence.

Exact bounded comparison
QuantityExact result
G proof codes5, 9
Opposite codes3, 12
Least q≤p for each p5 → 3, 9 → 3
Bounded conditionTrue
Exact inputs and supporting calculations
Declared inputs
ParameterValue
G[5,9]
neg[3,12]

By the fixed-point equivalence, T then proves ¬R, contradicting the alleged proof of R in a consistent theory. This comparison only requires a finite prefix of opposite proof codes in its refutation of the given proof. Related reading: [Representing effective syntax in arithmetic](https://builds.openlogicproject.org/open-logic-complete.pdf), [Rosser's proof comparison](https://builds.openlogicproject.org/open-logic-complete.pdf). Fix one ordinary standard proof code and exclude every opposite code at or below it.

20

Use the least-code comparison to rule out a Rosser refutation

Now suppose some concrete q is a T-proof code of ¬R. Ordinary consistency excludes every actual proof of R. In particular for each p smaller than q, arithmetic verifies the negative instance ¬Prf_T(p̄,r̄).

The comparison lemma in Q puts every candidate p either among the finitely many numerals below q̄ or in the region q̄≤p. In the first region the verified finite list proves that the antecedent Prf_T(p,r̄) is false.

In the second region the actual proof of ¬R gives the arithmetic fact Prf_T(q̄,n̄), and q̄≤p makes q̄ a witness to the required comparison. For q=0 there are no earlier numerals, and this second region covers all p.

Together the two regions prove the universal comparison in T. The fixed point now yields T⊢R, contradicting the assumed refutation. With the proof direction already ruled out, the Rosser sentence is independent under ordinary consistency. Related reading: [Representing effective syntax in arithmetic](https://builds.openlogicproject.org/open-logic-complete.pdf), [Rosser's proof comparison](https://builds.openlogicproject.org/open-logic-complete.pdf). For a known refutation code, cover smaller candidates by finitely many certified negative instances and all remaining candidates using the same refutation witness.

21

Derive the obstruction to complete effective arithmetic

Let T be a consistent computably enumerable theory extending Q. Its proof relation has the standard finite certificate representation, so the Rosser construction gives a sentence of its language with neither sign provable.

Completeness of T would require one provable sign for that sentence. Therefore such a consistent effective theory cannot be complete. The conclusion concerns the stated arithmetic strength and effective presentation.

True arithmetic is the set Th(ℕ) of all first-order arithmetic sentences satisfied by the standard natural numbers. It includes Q and is consistent by soundness. For each sentence exactly one sign is true in ℕ and belongs to the theory.

If Th(ℕ) had a computably enumerable axiomatization then this consistent complete arithmetic theory would contradict the Rosser conclusion. Thus full standard truth is complete, but no effective axiom enumeration of the stated kind generates it. Related reading: [Rosser's proof comparison](https://builds.openlogicproject.org/open-logic-complete.pdf). The Rosser contradiction uses consistency, effective axiomatization and extension of Q in the fixed language.

22

Prove undefinability of full standard arithmetic truth

Assume there is an arithmetic formula True(x) such that for every arithmetic sentence A, the sentence True(⌜A⌝̄) holds in ℕ exactly when A holds in ℕ. The claim here concerns all sentences in the same arithmetic language.

Apply the diagonal lemma in Q to ¬True(x), yielding a sentence L with Q⊢ L↔¬True(⌜L⌝̄). The natural-number structure satisfies Q and hence satisfies this equivalence.

By the proposed truth test for the very sentence L, ℕ satisfies True(⌜L⌝̄) exactly when it satisfies L. The fixed-point equivalence then makes L true exactly when it is false, a contradiction.

The conclusion rules out a single formula in arithmetic with this correct interpretation for every arithmetic sentence. A restricted procedure for evaluating a specified finite family of sentences or a weaker formula class does not supply that universal truth test. Related reading: [The arithmetic fixed-point lemma](https://builds.openlogicproject.org/open-logic-complete.pdf), [Undefinability of full arithmetic truth](https://builds.openlogicproject.org/open-logic-complete.pdf). The fixed-point contradiction rules out an arithmetic formula defining truth for every sentence of standard arithmetic.

23

Check the first two derivability conditions

Write □A for Prov_T applied to the numeral coding A. If T⊢A, an actual proof certificate p exists. Q verifies the particular certificate at its standard numeral and can existentially quantify over that witness. Thus T⊢□A, which is the first derivability condition.

For the second condition, think of two proof codes p and q for A→B and A. A primitive recursive combination appends their finite verified sequences with adjusted indices, then adds the final modus ponens line. Axiom verification histories are carried along with their occurrences.

Require that the chosen arithmetic base proves the internal correctness of this certificate-combination operation. Formally, for each fixed A,B it verifies that proofs of the two named premises yield a coded proof of B, with the graph of the code operation used when it is not a primitive language symbol.

Existentially quantify over p and q inside arithmetic. The correctness of the combination gives T⊢□(A→B)→(□A→□B). This proof makes the arithmetic verification of code manipulation an actual hypothesis of the chosen standard predicate. Related reading: [Representing effective syntax in arithmetic](https://builds.openlogicproject.org/open-logic-complete.pdf), [Formal provability and the second theorem](https://builds.openlogicproject.org/open-logic-complete.pdf), [Löb's theorem](https://math.umd.edu/~laskow/Pubs/713/Lob.pdf). D1 is external provability transfer. D2 is an internal, uniform encoded implication with the selected proof coding.

24

Connect the third derivability condition to positive introspection

For the standard predicates used here, impose the formalized Σ₁-completeness property in adequate arithmetic. For every fixed Σ₁ sentence σ, the base proves σ→Prov_T(⌜σ⌝̄). This is the internal form of verification and is a property of the regular proof representation.

A Σ₁ sentence asserts that some numeral-checkable finite data satisfy the represented condition. The formalization gives a uniform encoding of the proof that verifies the represented witness. Merely having a separate external proof for each standard witness would not itself prove the universal internal implication.

For a fixed sentence A, □A is itself Σ₁ because its proof predicate is represented in that form and an existential over the certificate preserves the form. Apply the property with σ=□A. It yields T⊢□A→□□A, the third derivability condition.

This implication states that the existence of a proof yields provability of that existence claim. The different reflection formula □A→A would itself certify a truth-producing step inside T. Its availability is not supplied by the third condition. Related reading: [Formal provability and the second theorem](https://builds.openlogicproject.org/open-logic-complete.pdf), [Löb's theorem](https://math.umd.edu/~laskow/Pubs/713/Lob.pdf). An internal certificate transformation supplies the stipulated D3. Abstract enumeration alone gives no such internal theorem.

25

Derive the internal connection between Gödel's sentence and consistency

Use the fixed point G↔¬□G in T. The first two derivability conditions applied to G→¬□G give T⊢□G→□(¬□G). The third gives T⊢□G→□□G.

For any sentence χ, classical logic proves χ→(¬χ→⊥). Applying the first two derivability conditions to it gives that □χ and □¬χ together imply □⊥. Instantiate this with χ=□G. The two consequences of □G therefore yield T⊢□G→□⊥.

Taking the contrapositive inside T gives ¬□⊥→¬□G. The right-to-left direction of the fixed point then gives T⊢Con(T)→G.

Conversely T proves ⊥→G because ⊥ is its designated contradiction. The first two conditions give □⊥→□G. The fixed point gives G→¬□G, which now implies G→¬□⊥. These are both directions of the internal equivalence for the same specified predicate. Related reading: [The arithmetic fixed-point lemma](https://builds.openlogicproject.org/open-logic-complete.pdf), [Formal provability and the second theorem](https://builds.openlogicproject.org/open-logic-complete.pdf), [Gödel's original second theorem statement](https://upload.wikimedia.org/wikipedia/commons/9/99/Kurt_G%C3%B6del.pdf). Apply D2 and D3 to the two provability consequences of □G, then contrapose inside T.

26

Prove the second incompleteness consequence

Let T be consistent, computably enumerable, and strong enough for the stated fixed point and derivability conditions with its selected proof predicate. The first incompleteness argument under ordinary consistency shows T does not prove G.

If T proved Con(T), the internal implication Con(T)→G would give a proof of G by modus ponens. Thus no such consistency proof exists in T.

The consistency sentence in this argument refers to proofs in exactly T under the represented proof relation. Its metatheoretic meaning is fixed by the standard interpretation, while its logical manipulation inside T uses the stated derivability conditions.

Check the hypotheses of the second incompleteness theoremAll stated hypotheses supplied; The stated implication is conditional on the supplied theory and provability assumptions. It refers to the given standard internal consistency formula.Check the hypotheses of the second incompleteness theoremConsistencySuppliedEffective axiom setSuppliedArithmetic andSuppliedStandard Con(T)SuppliedPermitted conclusion: T ⊬ Con(T)provability
The stated implication is conditional on the supplied theory and provability assumptions. It refers to the given standard internal consistency formula.

The theorem concerns what T proves about its own standard consistency formula. When an arithmetic or provability hypothesis or that formula is missing, this argument gives no conclusion in the declared setting. The designated standard sentence is Con(T)=¬Prov_T(⌜0=1⌝), using the given arithmetized proof predicate for T.

Exact theorem applicability
QuantityExact result
ConsistencySupplied
Effective axiom setSupplied
Arithmetic and provability conditionsSupplied
Standard Con(T)Supplied
Permitted conclusionT ⊬ Con(T)
Exact inputs and supporting calculations
Declared inputs
ParameterValue
consistenttrue
effectivetrue
derivabilitytrue
standardConsistencytrue

A different internal predicate requires its own verification of those conditions. A stronger theory may prove statements about the original theory's proof relation, without those becoming its own consistency proof. The theorem applies to the exact theory and predicate that satisfy its hypotheses. Related reading: [Formal provability and the second theorem](https://builds.openlogicproject.org/open-logic-complete.pdf), [Gödel's original second theorem statement](https://upload.wikimedia.org/wikipedia/commons/9/99/Kurt_G%C3%B6del.pdf). Use T-consistency and the unprovability of G with the exact standard formalization satisfying the derivability conditions.

27

Prove Löb's theorem from a fixed point

Suppose T proves □A→A for a particular sentence A. Use the diagonal lemma to construct B with T⊢B↔(□B→A). The first two derivability conditions applied to B→(□B→A) give □B→□(□B→A).

The third condition gives □B→□□B. The second condition for the implication □B→A gives □(□B→A)→(□□B→□A). Combining these results inside T proves □B→□A.

The assumed implication □A→A then yields T⊢□B→A. The reverse direction of the fixed point yields T⊢B from this very implication.

The first derivability condition gives T⊢□B. Applying the already derived □B→□A gives T⊢□A. A final use of the stipulated reflection implication yields T⊢A. Each instance of reflection in this argument is for the original A. Related reading: [The arithmetic fixed-point lemma](https://builds.openlogicproject.org/open-logic-complete.pdf), [Löb's theorem](https://math.umd.edu/~laskow/Pubs/713/Lob.pdf). For each fixed sentence A use a fixed point for Prov_T(x)→A. The reflection premise and transfer refer to the same T.

28

Separate adding true consistency from adding an internal denial

Assume T is consistent and satisfies the second theorem's hypotheses. If T∪{¬Con(T)} were inconsistent, the deduction theorem would give T⊢¬¬Con(T), hence T⊢Con(T). The second theorem rules that out. The denial can therefore be added consistently.

For the other sign, assume in addition that T is Σ₁-sound. A contradiction from T∪{Con(T)} would yield T⊢¬Con(T), and hence a proof of the false Σ₁ sentence □⊥. This contradicts the added soundness premise.

To see the need for care, take a consistent adequate base U and form S=U∪{¬Con(U)}. The first argument gives consistency of S. For the regular proof codings, an actual coded U-proof can be translated into an S-proof by inclusion of the old axiom certificates, which adequate arithmetic can verify internally.

Inside S the added axiom gives □_U ⊥. The formalized inclusion gives □_S ⊥ from it, so S proves ¬Con(S). Consequently adding Con(S) to this consistent S yields contradiction. Consistency alone does not guarantee a compatible extension by the positive consistency sentence. Related reading: [Formal provability and the second theorem](https://builds.openlogicproject.org/open-logic-complete.pdf), [Gödel's original second theorem statement](https://upload.wikimedia.org/wikipedia/commons/9/99/Kurt_G%C3%B6del.pdf), [Witness completion and term models](https://builds.openlogicproject.org/open-logic-complete.pdf#page=364). Adding true consistency can use the standard model when it satisfies T. Adding the contrary can use completeness after the second theorem under the stated hypotheses.

29

Identify the status of a nonstandard proof witness

Suppose M models T and ¬Con(T), with T consistent in the metatheory and Q contained in T. By the definition of Con(T), M has some domain element b satisfying Prf_T(b,⌜⊥⌝̄).

For each ordinary natural n, consistency means its actual certificate fails to be a proof of contradiction. The negative fixed numeral property gives Q⊢¬Prf_T(n̄,⌜⊥⌝̄). Since M satisfies Q, the value of n̄ cannot be b.

Thus b is outside the standard numeral copy in M. Its internal arithmetic properties suffice for the model's existential sentence, even though no ordinary natural code can have those certificate properties in ℕ.

An actual proof is a finite verified sequence in the external code relation. The model assertion about a nonstandard element has a different quantifier domain. The two statements agree at concrete standard numerals by representability, which is exactly why none of those numerals can be the witness. Related reading: [Gödel's first incompleteness proof](https://upload.wikimedia.org/wikipedia/commons/9/99/Kurt_G%C3%B6del.pdf), [Witness completion and term models](https://builds.openlogicproject.org/open-logic-complete.pdf#page=364). The exact arithmetic certificate predicate agrees on every standard numeral and a model of the added denial has a nonstandard witness.

30

Compare independence and arbitrary extension

Let φ be independent of a consistent T. The deduction theorem gives consistency of both T∪{φ} and T∪{¬φ}. Taking their deductive closures yields proper extensions of the old consequence theory because neither new sign was previously provable.

Old derivations remain available after adding premises. In each signed extension the chosen sentence becomes provable, and consistency excludes its opposite. This argument is about one sentence and its two branches.

For a pair of sentences, take propositional T with axiom P↔Q. The assignments P=Q=true and P=Q=false both satisfy T. They disagree on P and on Q, so each sentence is independently undecided in T.

Adding P and ¬Q together is inconsistent, because the old equivalence and P imply Q. Thus separate independence over the same starting axioms need not allow each joint combination of decisions. Related reading: [Consistency and model existence](https://courses.fit.cvut.cz/BI-ALO/henkin-completeness.pdf), [Rosser's proof comparison](https://builds.openlogicproject.org/open-logic-complete.pdf), [Soundness and concrete inference rules](https://builds.openlogicproject.org/open-logic-complete.pdf#page=142), [Witness completion and term models](https://builds.openlogicproject.org/open-logic-complete.pdf#page=364). Each undecided sign can be added consistently in a suitable extension. Effective complete consistency remains constrained by Rosser's theorem.

31

Separate completeness from categoricity

A satisfiable theory with all models isomorphic forces every sentence to have the same truth value across its models, since isomorphisms preserve formulas. For each sentence either it or its negation is then a semantic consequence.

By classical first-order completeness, that matching truth value is the provable sign. Hence a theory with only one isomorphism type among all its models is complete, provided it has a model.

For the converse, the theory of dense linear orders without endpoints has quantifier elimination as proved in the preceding lesson. The empty tuple then determines sentence truth, so the theory is complete in the fixed order language.

Separate sentence agreement from isomorphism at a sizePure dense orders: countable uniqueness; Completeness concerns sentence truth. Categoricity concerns the isomorphism classes under the specified size convention.Separate sentence agreement from isomorphism at a sizeQuestionVerdictCertificateCompletenessYesBack-and-forth on finite tuplesCountable categoricityYesAll countable models isomorphicAll models isomorphicNoℚ countable; ℝ uncountableDLO: pure order language (<), no added symbols.
Completeness concerns sentence truth. Categoricity concerns the isomorphism classes under the specified size convention.

In pure order, finite partial isomorphisms extend by density and the absence of endpoints; the countable back-and-forth gives categoricity at ℵ₀. DLO has models in different infinite cardinalities, so it is not categorical over all models.

Exact logical classification
QuantityExact result
CompletenessYes · Back-and-forth on finite tuples
Countable categoricityYes · All countable models isomorphic
All models isomorphicNo. (ℚ,<) is countable and (ℝ,<) is uncountable, in the same pure order language.
Exact inputs and supporting calculations
Declared inputs
ParameterValue
kindDLO
classcountable

Both (ℚ,<) and (ℝ,<) satisfy the theory. The first domain is countable and the second uncountable, so no order isomorphism exists. Thus agreement on all sentences is compatible with more than one model size or isomorphism type. Related reading: [Full second-order arithmetic](https://ocw.mit.edu/courses/24-242-logic-ii-spring-2004/peano_arithmetic.pdf), [Quantifier elimination for infinite equality](https://people.clas.ufl.edu/zapletal/files/notesset3.pdf), [Elementary equivalence and isomorphism](https://builds.openlogicproject.org/open-logic-complete.pdf#page=386), [Dense orders and sentence agreement](https://www.math.uni-hamburg.de/home/geschke/teaching/ModelTheory.pdf). Agreement on sentences is distinct from isomorphism. First-order DLO illustrates coexistence of completeness and models of different sizes.

32

Separate first-order and full second-order induction

Take a full second-order arithmetic structure with the Peano successor axioms, the recursive equations for arithmetic, and induction over all subsets of its domain. Let X be the external set of values reached by applying the interpreted successor to zero an ordinary finite number of times.

The set X contains zero by construction. If x is the value of S^n(0), its successor is the value of S^(n+1)(0), so X is closed under successor. Under full semantics X is among the sets quantified over by the second-order induction axiom.

Therefore the domain equals X. Successor injectivity and the absence of a successor equal to zero show the numerical values are all distinct. Mapping each ordinary n to its interpreted numeral is thus a bijection. The recursion equations make it preserve addition and multiplication by finite induction on the ordinary second input.

This gives the standard arithmetic structure up to isomorphism. First-order induction instead applies to sets defined by formulas with parameters. The earlier nonstandard models of true arithmetic show that the external numeral orbit need not be one of those definable sets. Related reading: [Full second-order arithmetic](https://ocw.mit.edu/courses/24-242-logic-ii-spring-2004/peano_arithmetic.pdf), [Elementary equivalence and isomorphism](https://builds.openlogicproject.org/open-logic-complete.pdf#page=386). The numeral orbit is an available predicate under full second-order semantics. A proper first-order nonstandard model has no definable numeral orbit by induction.

33

Read a theory-relative consistency theorem correctly

Take the conditional metatheorem Con(T)⇒Con(T∪{φ}) with consistency referring to absence of a finite contradiction proof in the designated calculus. Start its application by assuming Con(T) in the metatheory.

The conditional then gives consistency of the positive extension. If T proved ¬φ, the extension would inherit that proof and also have φ as a new premise. This would give a contradiction in the extension.

Thus under Con(T) the conditional rules out a T-proof of ¬φ. It may hold when T already proves φ, since adding a theorem leaves the consequence set unchanged. To obtain independence one needs the corresponding consistency of the negative extension as well.

The conditional alone does not establish its own antecedent. First-order completeness can connect a consistent set of sentences with a model, but it supplies no particular external structural property such as transitivity of a set-theoretic model. Those are stronger separate claims. Related reading: [Constructibility, choice and GCH](https://www.math.uni-bonn.de/people/koepke/Preprints/Simplified_constructibility_theory_minicourse_Helsinki.pdf), [Cohen's independence examples](https://pmc.ncbi.nlm.nih.gov/articles/PMC221287/), [The exact relative-consistency implications](https://www.math.uni-bonn.de/ag/logik/teaching/2017SS/Models%20Of%20Set%20Theory%201/Aktuelles_Skript_Models.pdf), [Witness completion and term models](https://builds.openlogicproject.org/open-logic-complete.pdf#page=364). Relative consistency is a metatheoretic implication about a formal contradiction; transitivity of a model is a separate condition.

34

Apply the continuum hypothesis relative-consistency theorems

Let CH be the continuum hypothesis in the fixed set-theoretic language. The positive relative-consistency input is Gödel's constructibility result: consistency of ZF suffices for consistency of ZF with choice and the generalized continuum hypothesis. In particular Con(ZFC) implies Con(ZFC+CH).

The negative input is Cohen's relative-consistency result for a failure of CH with choice retained: Con(ZFC) implies Con(ZFC+¬CH). The positive construction uses the constructible universe, while the negative result uses forcing.

Assume Con(ZFC). If ZFC proved ¬CH, its positive CH extension would prove a contradiction, against the first input. If ZFC proved CH, its negative extension would prove a contradiction, against the second input.

Therefore neither sign is derivable in consistent ZFC. This uses the two relative-consistency results as premises. The argument about finite proofs does not posit that arbitrary models of ZFC are transitive or identify a truth value of CH from ZFC alone. Related reading: [Constructibility, choice and GCH](https://www.math.uni-bonn.de/people/koepke/Preprints/Simplified_constructibility_theory_minicourse_Helsinki.pdf), [Cohen's independence examples](https://pmc.ncbi.nlm.nih.gov/articles/PMC221287/), [The exact relative-consistency implications](https://www.math.uni-bonn.de/ag/logik/teaching/2017SS/Models%20Of%20Set%20Theory%201/Aktuelles_Skript_Models.pdf), [Formulations of the continuum hypothesis](https://home.mathematik.uni-freiburg.de/maxwell/coursenotes-settheoryandindependenceproofs.pdf). Constructibility gives the positive consistency implication. Cohen gives the negative one while retaining Choice.

35

Apply the analogous relative independence of choice

Write AC for the axiom of choice. ZFC is ZF with AC added. Use the constructibility relative-consistency theorem, which implies Con(ZF)⇒Con(ZF+AC), and the relative-consistency theorem for a model of ZF without AC.

For the negative implication, assume the published result Con(ZF)⇒Con(ZF+¬AC), obtained through a symmetric-model construction. This is the specified extension in which choice can fail. Its role differs from a construction in which all ZFC axioms are retained.

If ZF proved ¬AC and ZF were consistent, the positive relative-consistency result would give a consistent extension containing a contradiction. If ZF proved AC, the negative result would give that contradiction instead.

Both proofs are therefore unavailable in consistent ZF. The statement is about set-theoretic axioms and the models allowed by their two relative extensions. The Gödel and Rosser arguments gave particular arithmetic sentences by reasoning about encoded proofs. Related reading: [Constructibility, choice and GCH](https://www.math.uni-bonn.de/people/koepke/Preprints/Simplified_constructibility_theory_minicourse_Helsinki.pdf), [Cohen's independence examples](https://pmc.ncbi.nlm.nih.gov/articles/PMC221287/), [The exact relative-consistency implications](https://www.math.uni-bonn.de/ag/logik/teaching/2017SS/Models%20Of%20Set%20Theory%201/Aktuelles_Skript_Models.pdf), [Formulations of the continuum hypothesis](https://home.mathematik.uni-freiburg.de/maxwell/coursenotes-settheoryandindependenceproofs.pdf). The base for Choice independence is ZF. Its two extensions are obtained under the stated ZF consistency assumption.

36

Show how nonlogical axioms determine their model class

Take T to be the axioms for nonempty strict linear orders, and φ to assert a greatest element. The two-point order {0,1} with 0<1 satisfies both T and φ. The natural-number order is a model of T where each point has a successor, so it satisfies ¬φ.

Thus T allows both truth values of the greatest-point sentence. Each signed extension keeps exactly the old models with its chosen truth value, because the extension adds one further condition on the same language.

Both model classes still satisfy transitivity, which is an old axiom. More generally any semantic consequence of T remains true on each smaller class. The added sentence itself is now a semantic consequence of its own signed branch.

The interpreted domains and relations need not change inside a chosen model. Specifying more premises restricts the collection of possible models, which is what translates into the new consequence. Related reading: [Soundness and concrete inference rules](https://builds.openlogicproject.org/open-logic-complete.pdf#page=142), [Elementary equivalence and isomorphism](https://builds.openlogicproject.org/open-logic-complete.pdf#page=386), [Dense orders and sentence agreement](https://www.math.uni-hamburg.de/home/geschke/teaching/ModelTheory.pdf). The two explicit orders verify an old strict-order consequence and opposite signs of the extra sentence.

37

Locate the standard model in a noncomplete arithmetic theory

Assume T is a consistent effective extension of Q and all its axioms are true in the standard natural numbers. Then ℕ is a model of T. Ordinary consistency and the standard fixed-point equivalence give ℕ⊨G.

Soundness in the intended model rules out a T-proof of ¬G, since that sentence fails in ℕ. The original argument also rules out a proof of G. Thus both signs are unprovable under these assumptions.

In particular T∪{¬G} is consistent by the deduction theorem. First-order completeness gives a model M of that extension. The fixed-point equivalence in M implies M⊨Prov_T(⌜G⌝̄).

Since no standard code is an actual proof of G, Q proves each negative numeral instance. Therefore a witness for that existential in M is nonstandard. Membership of ℕ in the original model class followed from the explicit standard-truth premise for the axioms. Related reading: [Robinson arithmetic and numeral comparison](https://builds.openlogicproject.org/open-logic-complete.pdf), [Gödel's first incompleteness proof](https://upload.wikimedia.org/wikipedia/commons/9/99/Kurt_G%C3%B6del.pdf), [Undefinability of full arithmetic truth](https://builds.openlogicproject.org/open-logic-complete.pdf), [Assignments and formula truth](https://builds.openlogicproject.org/open-logic-complete.pdf#page=236), [Witness completion and term models](https://builds.openlogicproject.org/open-logic-complete.pdf#page=364). Use standard truth of T's axioms to obtain the intended standard model and deductive consistency of the other extension to obtain a model of ¬G.

38

Exhibit an effectively decidable complete theory in a weaker language

Take the language with equality alone. For a formula on a finite variable tuple, an equality pattern is a partition of the variable positions according to equal assigned values. There are finitely many such partitions and all are realized in an infinite domain.

Atomic equality is decided by this partition. For Boolean operations use their truth functions. When adding a single quantified variable, its possible pattern extensions either join an existing part or form a new distinct part. An infinite domain supplies all these finite choices.

Thus structural recursion evaluates every formula on each finite pattern and gives the same result in any infinite equality-only domain. For a sentence use the empty pattern and compute its definite truth value. This recursion is effective on the input's finite syntax.

The theory of infinite equality structures is complete and its theoremhood is decidable by this test and logical completeness. It has none of the specified arithmetical operators and proof-coding assumptions used for the extension-of-Q incompleteness theorem. Related reading: [Quantifier elimination for infinite equality](https://people.clas.ufl.edu/zapletal/files/notesset3.pdf). Both identification and a fresh value are possible for an existential variable over an infinite set. This gives a finite pattern calculation in pure equality.

39

Derive essential undecidability from Rosser's theorem

Suppose T is a consistent computably enumerable extension of Q and theoremhood in T is decidable. For a finite set Δ of sentences, the extension T∪Δ is inconsistent exactly when T proves ¬∧Δ, with the empty conjunction interpreted as truth.

This equivalence follows by moving the finite premises into a single conjunct through the deduction theorem, and by using that proof to derive contradiction in the extension. The assumed decision procedure therefore decides consistency of each finite extension considered.

Enumerate all sentences. Starting with an empty finite list Δ, test whether adding the next sentence preserves consistency by the preceding decision. If it does, add it. Otherwise add its negation, which must preserve consistency by the two-sign argument.

The union of all the chosen additions with T is consistent because any contradiction proof uses only finitely many added sentences and would already occur at one tested stage. It is complete and computably enumerable, and still contains Q. This contradicts Rosser's theorem. Thus theoremhood in the original consistent effective T is undecidable. Related reading: [Rosser's proof comparison](https://builds.openlogicproject.org/open-logic-complete.pdf), [Soundness and concrete inference rules](https://builds.openlogicproject.org/open-logic-complete.pdf#page=142). Decidable theoremhood would decide consistency after each finite sign choice by deduction, contradicting essential incompleteness of the effective complete extension.

Compare finite independence witnesses, encodings and proof certificates, then distinguish these bounded checks from general completeness and consistency claims.

Two models can establish independence of one statement

Two models disagree on ∃x P(x)

Test the axiom before counting either witnessTwo models disagree on ∃x P(x); T is ∀x(P(x)→Q(x)), and φ is ∃x P(x). Only structures satisfying T can supply witnesses about consequence from T.Test the axiom before counting either witnessStructure 1 · satisfies TElementPQ0TrueTrue1FalseTrueφ = TrueStructure 2 · satisfies TElementPQ0FalseFalse1FalseTrueφ = FalseThese two models establish independence.
T is ∀x(P(x)→Q(x)), and φ is ∃x P(x). Only structures satisfying T can supply witnesses about consequence from T.

To refute each possible consequence, a witness must satisfy every axiom of T. The two opposite witnesses, when both present, establish semantic independence and therefore prevent either proof by soundness.

Exact model and independence checks
QuantityExact result
Models of T1, 2
Models of T+φ1
Models of T+¬φ2
What the evidence establishesThese two models establish independence.
Exact inputs and supporting calculations
Declared inputs
ParameterValue
models[{"N":2,"P":[0],"Q":[0,1]},{"N":2,"P":[],"Q":[1]}]
All element values
StructureElementPQP→Q
10TrueTrueTrue
11FalseTrueTrue
20FalseFalseTrue
21FalseTrueTrue

An explicit finite encoding must decode uniquely

Encode 0,3,1 and decode 47

Base-five encoding with digits 1 through 4Encode 0,3,1 and decode 47; The top row encodes the declared tokens. The lower check uses the separately supplied code. Remainders are read backward.Base-five encoding with digits 1 through 4142Encoding from the most significant position5·0 + 1 = 15·1 + 4 = 95·9 + 2 = 47Decode supplied check code 47 by dividing by 5DividendQuotientRemainder4792914101
The top row encodes the declared tokens. The lower check uses the separately supplied code. Remainders are read backward.

Token 0 becomes digit 1, so leading original zero tokens survive. Decimal zero is reserved for the empty sequence and follows its own decoding case.

Exact encoding and decoding
QuantityExact result
Original tokens0, 3, 1
Encoded base-five digits1, 4, 2
Decimal code of original tokens47
Explicit check code47
Base-five check digits142
Decoded check0, 3, 1
Exact inputs and supporting calculations
Declared inputs
ParameterValue
tokens[0,3,1]
checkCode47
All divisions of the check code
DividendQuotientRemainder
4792
914
101

A bounded proof witness is a check of data and rule use

Forward proof reaches R

Check each proof line, then the exact targetForward proof reaches R; Display lines start at 1. The indices of the supplied implication axioms start at 0.Check each proof line, then the exact targetImplication axioms: 0: P→Q · 1: Q→RLineAtomRuleCertificateResult1PGiven fact—Pass2QModus ponensline 1; axiom 0Pass3RModus ponensline 2; axiom 1PassGoal R · Last expression R · Certificate acceptedEvery cited antecedent appears earlier.
Display lines start at 1. The indices of the supplied implication axioms start at 0.

Modus ponens uses an earlier proof of the antecedent and the supplied implication to obtain the consequent. Checking a finite certificate differs from deciding theoremhood.

Exact certificate verdict
QuantityExact result
First rejected lineNone
Last displayed expressionR
Requested goalR
Certifies the goalTrue
Exact inputs and supporting calculations
Declared inputs
ParameterValue
facts["P"]
axioms[["P","Q"],["Q","R"]]
rows[["P",[]],["Q",[1,0]],["R",[2,1]]]
goalR
Complete verification trace
LineAtomRuleCitesResultAxiom
1PGiven fact—Pass
2QModus ponensline 1; axiom 0PassP → Q
3RModus ponensline 2; axiom 1PassQ → R

A finite code comparison illustrates the role of earlier opposite proofs

Every G code has an earlier opposite

Compare only the codes supplied in this finite catalogEvery G code has an earlier opposite; Each dashed edge goes from a G code p to its least declared opposite certificate q≤p. The full catalog can differ from the actual proof predicate.Compare only the codes supplied in this finite catalog59312Declared proof codes for GDeclared proof codes for ¬GBounded comparison: True
Each dashed edge goes from a G code p to its least declared opposite certificate q≤p. The full catalog can differ from the actual proof predicate.

A universal check over an empty finite G catalog is vacuous. None of these cases determines provability of the actual arithmetized Rosser sentence.

Exact bounded comparison
QuantityExact result
G proof codes5, 9
Opposite codes3, 12
Least q≤p for each p5 → 3, 9 → 3
Bounded conditionTrue
Exact inputs and supporting calculations
Declared inputs
ParameterValue
G[5,9]
neg[3,12]

Internal consistency obstructions require their formal hypotheses

All stated hypotheses supplied

Check the hypotheses of the second incompleteness theoremAll stated hypotheses supplied; The stated implication is conditional on the supplied theory and provability assumptions. It refers to the given standard internal consistency formula.Check the hypotheses of the second incompleteness theoremConsistencySuppliedEffective axiom setSuppliedArithmetic andSuppliedStandard Con(T)SuppliedPermitted conclusion: T ⊬ Con(T)provability
The stated implication is conditional on the supplied theory and provability assumptions. It refers to the given standard internal consistency formula.

The theorem concerns what T proves about its own standard consistency formula. When an arithmetic or provability hypothesis or that formula is missing, this argument gives no conclusion in the declared setting. The designated standard sentence is Con(T)=¬Prov_T(⌜0=1⌝), using the given arithmetized proof predicate for T.

Exact theorem applicability
QuantityExact result
ConsistencySupplied
Effective axiom setSupplied
Arithmetic and provability conditionsSupplied
Standard Con(T)Supplied
Permitted conclusionT ⊬ Con(T)
Exact inputs and supporting calculations
Declared inputs
ParameterValue
consistenttrue
effectivetrue
derivabilitytrue
standardConsistencytrue

Agreement on every sentence does not determine one model at every size

Pure dense orders: countable uniqueness

Separate sentence agreement from isomorphism at a sizePure dense orders: countable uniqueness; Completeness concerns sentence truth. Categoricity concerns the isomorphism classes under the specified size convention.Separate sentence agreement from isomorphism at a sizeQuestionVerdictCertificateCompletenessYesBack-and-forth on finite tuplesCountable categoricityYesAll countable models isomorphicAll models isomorphicNoℚ countable; ℝ uncountableDLO: pure order language (<), no added symbols.
Completeness concerns sentence truth. Categoricity concerns the isomorphism classes under the specified size convention.

In pure order, finite partial isomorphisms extend by density and the absence of endpoints; the countable back-and-forth gives categoricity at ℵ₀. DLO has models in different infinite cardinalities, so it is not categorical over all models.

Exact logical classification
QuantityExact result
CompletenessYes · Back-and-forth on finite tuples
Countable categoricityYes · All countable models isomorphic
All models isomorphicNo. (ℚ,<) is countable and (ℝ,<) is uncountable, in the same pure order language.
Exact inputs and supporting calculations
Declared inputs
ParameterValue
kindDLO
classcountable

Worked examples

Classify three levels of a concrete assertion

In the pure strict order language compare φ=∃x∀y(x=y∨x<y) in ℕ and ℤ. Determine whether φ follows from the linear order axioms and what each model shows about possible derivability.

  1. The sentence says that some x is equal to or strictly below every y. In the usual natural order choose x=0, which meets that condition.
  2. In the integer order each proposed x is greater than x−1. Taking y=x−1 falsifies the universal condition for that x. Hence the existential sentence fails there.
  3. Both structures satisfy the strict linear-order axioms. The integer model falsifies φ, so the axioms do not semantically entail φ. The natural model falsifies ¬φ, so the axioms do not semantically entail ¬φ either.
  4. A proof from the axioms would preserve truth in every model of those axioms. Therefore each countermodel rules out the corresponding proof. The intended truth in one order does not change this consequence calculation.

The sentence is true in the natural order and false in the integer order. The linear-order axioms prove neither sign in a sound calculus.

Compare the two signs in a finite group example

In additive ℤ/3ℤ and the permutation group S₃, test the universally quantified commutativity sentence. Using composition from right to left, compute (01)(12) and (12)(01) on {0,1,2}.

  1. In the additive residue group, [a]+[b]=[a+b]=[b+a]=[b]+[a] for every pair. This satisfies the universal commutativity sentence.
  2. Let p swap 0 and 1 and let q swap 1 and 2. For p∘q, the images of 0,1,2 are 1,2,0, respectively. For example 1 goes first to 2 under q and stays 2 under p.
  3. For q∘p the images of 0,1,2 are 2,0,1. In particular the image of 0 differs from that under p∘q. Thus the two products are unequal and the permutation group falsifies commutativity.
  4. Each structure satisfies the group axioms. Their disagreement gives two possible signs for the extra sentence and supplies the countermodels needed to establish its independence from those axioms.

Commutativity holds in ℤ/3ℤ. The two products in S₃ are the different cycles (0 1 2) and (0 2 1).

Encode and decode a short token sequence

Use the code ∏p_i^(a_i+1) for a finite sequence (a₁,…,a_k) of natural tokens, starting with p₁=2. Encode (0,2,0), decode 540, and decide whether 10 is a valid code.

  1. The first three primes are 2,3,5. For (0,2,0), the three exponents are 1,3,1. Therefore the code is 2·3³·5=270.
  2. Factoring 540 gives 2²·3³·5. All of the initial three primes appear, so the decoded length is 3.
  3. Subtract one from the positive exponents 2,3,1. The resulting token sequence is (1,2,0). Re-encoding gives exactly 540, including the zero value of the final token.
  4. The number 10 factors as 2·5. A length-three code would also require a positive power of 3, while a length-two code uses only 2 and 3. Hence no valid length produces 10.

The first code is 270. The code 540 decodes to (1,2,0), and 10 is invalid because it skips the prime 3.

Verify a small Robinson calculation

Starting with 2̄+3̄, apply the addition axioms to reduce the second input one successor at a time. Compute 2̄·3̄ and explain why the result is a theorem of Q.

  1. Write 3̄=S(S(S(0))). Repeatedly applying x+S(y)=S(x+y) yields 2̄+3̄=S(S(S(2̄+0))).
  2. Use 2̄+0=2̄. Applying three successors to 2̄ gives 5̄ by the numeral definition, verifying the first equation.
  3. The product recursion yields 2̄·3̄=((2̄·0+2̄)+2̄)+2̄. The zero-product axiom makes the initial product 0, and each remaining sum is a finite addition calculation.
  4. Reducing these additions gives the numerals 2̄, then 4̄, then 6̄. These are concrete substitutions into Q's axioms and uses of equality. No formal induction schema is needed for this single finite proof.

Q proves 2̄+3̄=5̄ and 2̄·3̄=6̄ by the finite addition and multiplication recursions.

Use a bounded proof-code check

Assume the independent verifier confirms no code p∈{0,1,2,3} is a proof of a fixed sentence A, and Q proves the corresponding numeral failures. Show exactly what universal assertion about p≤3̄ follows inside Q.

  1. The numeral-bound argument in Q gives p≤3̄→(p=0̄∨p=1̄∨p=2̄∨p=3̄). This is a theorem about any internally assigned p.
  2. The assumed negative numeral checks give the failure of Prf_T for each of those four displayed values. In a case p=k̄, substitution of equals makes the same failure hold for p.
  3. Propositional case elimination across the finite disjunction gives ¬Prf_T(p,⌜A⌝̄) under the single assumption p≤3̄. Discharge that assumption and universally generalize p.
  4. The resulting theorem only excludes codes at most the fixed numeral 3̄. It does not by itself exclude larger candidates or prove the negation of the unbounded provability assertion.

Q proves ∀p(p≤3̄→¬Prf_T(p,⌜A⌝̄)). The four stated checks cover all candidates under the fixed bound.

Unwind the fixed-point notation without a numeric code

If θ(v) is the intermediary in the diagonal lemma and e=⌜θ⌝, let G=θ(ē). Trace the value of the substitution code, the quantified arithmetic variable for it and the formal equivalence with ψ(⌜G⌝).

  1. Keep e=⌜θ⌝ as an ordinary number outside arithmetic. The numeral ē is the syntactic string inserted into the free argument place of θ.
  2. The resulting sentence is G=θ(ē). The designated substitution-code function computes g=⌜G⌝ from e. Its graph formula therefore has the fixed-input equivalence D(ē,v)↔v=ḡ in Q.
  3. By the construction of θ, the sentence G is ∃v(D(ē,v)∧ψ(v)). Inserting the proved equivalence replaces its graph condition by the equality v=ḡ.
  4. Existence of v equal to that numeral and equality substitution yield G↔ψ(ḡ). The code g and the internal numeral ḡ have separate roles, even though the latter is chosen to name the former.

The substitution operation sends e to the code g of θ(ē), and the representing graph makes G equivalent to ψ(ḡ).

Locate the contradiction from a hypothetical Gödel proof

Assume a concrete standard p is a proof of the Gödel sentence G in consistent T. State which sentence Q proves using p and which opposite sentence T proves using its alleged G proof.

  1. If p really certifies a T-proof of G, the positive numerical representation gives Q⊢Prf_T(p̄,⌜G⌝̄). This uses the exact standard code p.
  2. Existential introduction gives Q⊢Prov_T(⌜G⌝̄) using p̄ as witness. Since T extends Q, T inherits that proof.
  3. Independently, using the assumed derivation T⊢G and the fixed-point equivalence Q⊢G↔¬Prov_T(⌜G⌝̄), derive T⊢¬Prov_T(⌜G⌝̄).
  4. Thus T would prove both a statement and its negation. This contradicts ordinary consistency, so the initial hypothetical code cannot actually be a proof.

The code supplies a proof of Prov_T(⌜G⌝̄) in Q, while the alleged T-proof and the fixed point give its negation in T.

Compare the two Rosser code regions

Suppose a standard code q=4 is an actual proof of ¬R. Under consistency, show how p=0,1,2,3 and p≥4 are handled in the argument that every proof code of R would have an earlier or equal refutation.

  1. Assume the actual standard code 4 certifies a T-proof of ¬R. If T is consistent, none of the four smaller standard codes is a proof of R. Q can formally verify all four negative numeral instances.
  2. The exact Q comparison with 4̄ puts each candidate p either among those four numerals or at least 4̄. In the small cases the implication's antecedent Prf_T(p,⌜R⌝̄) is false.
  3. If 4̄≤p, choose q=4̄ in the comparison's existential. Its code checks as a proof of ¬R and the bound q≤p is already the region assumption.
  4. Combining the two regions proves the Rosser comparison inside T, hence proves R by the fixed point. This contradicts the alleged refutation in a consistent T. The example is a conditional computation of the two branches.

The codes from 0 through 3 cannot prove R. For every code at least 4̄ use the known certificate 4̄ for the negation.

Check finite consistency on a decidable toy theory

Let T be the tautological consequences of no propositional premises on P,Q. Determine whether T+{P,P→Q} and T+{P,P→Q,¬Q} are consistent using the single deduction test.

  1. The deduction test asks whether T proves the negation of the conjunction of the new premises. Here T is the set of tautological consequences, so its theorems are exactly the tautologies.
  2. The first added conjunction is P∧(P→Q). The assignment P=Q=true makes it true, showing that its negation is not a tautology. Thus the extension passes the consistency test.
  3. The second conjunction is P∧(P→Q)∧¬Q. If P is false it fails already. If P is true, the implication forces Q while the last conjunct denies Q. Thus the conjunction is always false.
  4. Its negation is therefore a tautology and hence a T-theorem. The deduction test declares that extension inconsistent. This use of a two-letter truth table supplies the actual decision input for the test.

The first extension is consistent. The second is inconsistent because its added conjunction is false at every assignment.

Analyze an independent branch with order models

For T the strict linear-order axioms, extend with existence of a least element or its negation. Give exact structures satisfying each and identify a sentence that remains true in every extension model.

  1. Let L be the sentence asserting a least element in the strict order. The usual natural order is nonempty, linearly ordered, and has least element 0. It is a model of T∪{L}.
  2. The usual integer order is nonempty and linearly ordered. Every integer has a smaller predecessor, so it models T∪{¬L}. Thus each of the two signed extensions is consistent by soundness.
  3. Both theories still include the axiom ∀a∀b∀c(((a<b)∧(b<c))→a<c). The extra sentence changes which old models are allowed and leaves this consequence satisfied in every remaining model.
  4. The chosen model in each branch also falsifies the opposite sign. Hence the extensions genuinely settle a previously independent sentence without discarding an old order law.

The natural order models the least-element branch, and the integer order models the other branch. Both still satisfy transitivity.

Apply the second theorem to a named consistency sentence

Assume a consistent PA with its usual provability predicate. Determine the status of PA⊢Con(PA) and consistency of PA+¬Con(PA). Explain why an internal model of the denial cannot contain a standard contradiction proof.

  1. PA with the usual proof predicate satisfies the adequacy assumptions for the second theorem. Under the assumed external consistency, that theorem rules out PA⊢Con(PA).
  2. If adding ¬Con(PA) made the extension inconsistent, the deduction theorem and classical double negation would imply PA⊢Con(PA). The theorem forbids this, so the extension is consistent.
  3. By first-order completeness it has a model. That model satisfies the existential assertion that an internal code verifies a proof of 0=1 in PA.
  4. For every standard number n, actual consistency and fixed numeral verification make Q prove that n̄ is no such certificate. The model satisfies Q, so none of those values can be its witness.

A consistent PA does not prove Con(PA) for its usual predicate. Its extension by ¬Con(PA) is consistent, and every internal contradiction witness is nonstandard.

Use the conditional set-theoretic results

Assume Con(ZFC), Con(ZFC)⇒Con(ZFC+CH) and Con(ZFC)⇒Con(ZFC+¬CH). For each alleged proof in ZFC of one of the signs, show which relative extension supplies the contradiction.

  1. Start with the assumed consistency of ZFC. The positive conditional gives consistency of ZFC+CH, and the negative conditional gives consistency of ZFC+¬CH.
  2. If ZFC already proved CH, the negative extension would inherit that proof and also have ¬CH as an axiom. This gives a contradiction and conflicts with the negative conditional.
  3. If ZFC proved ¬CH, the positive extension inherits that proof and adds CH. The same contradiction now conflicts with the positive conditional.
  4. Thus both proofs are ruled out given the stated metatheorems and the consistency of ZFC. The proof does not establish that consistency premise and uses neither a new forcing construction nor an assumed transitive model.

A proof of CH conflicts with the consistent negative extension. A proof of ¬CH conflicts with the consistent positive extension.

Try it yourself

  1. Given a sentence α true in one model of Γ and false in another, derive the status of Γ⊨α, Γ⊨¬α and both proof claims in a sound system. Explain why neither witness alone settles the pair.

    Show the answer and reasoning

    Γ entails neither sign of α, so no sound proof system derives either sign from Γ.

    The model of Γ where α is false is a countermodel to Γ⊨α. This single countermodel suffices to refute the universal claim that every Γ-model satisfies α. The model of Γ where α is true falsifies ¬α. It is therefore a countermodel to Γ⊨¬α. In a sound calculus any Γ-proof would make its conclusion true in every model of Γ. Applying that implication to each of the two countermodels excludes proofs of both signs. One witness that refutes one consequence might still be compatible with the other consequence holding in every model. The two opposing models check the two universal claims separately.

  2. In the language of a strict order, explain why replacing x by y in ∃y(x<y) without a fresh renaming gives the wrong instance. In ℕ evaluate the intended renamed formula and the captured formula under a given natural y.

    Show the answer and reasoning

    The intended substitution gives ∃z(y<z) with y free. The captured expression ∃y(y<y) has a different, false meaning in the natural order.

    In the original ∃y(x<y), x is free and y is bound. Replacing x by y as a raw string would place the new occurrence inside the existing binder for the same name. First rename the bound variable to a fresh z, producing ∃z(x<z). Now replacing x by y gives ∃z(y<z), where the value of y comes from the outside assignment. For instance at y=2 in ℕ, the renamed formula has the witness z=3. The same reasoning works for each assigned natural by choosing its successor. The captured expression is instead ∃y(y<y). It is false by irreflexivity, and has no free occurrence that could receive the assigned value 2. The failed substitution changed both the binding structure and the truth.

  3. Use propositional letters P,Q and intended assignment P=Q=true. Give a sound, incomplete theory and a complete consistent theory false at the intended assignment, specifying their models.

    Show the answer and reasoning

    The theory generated by P is sound and incomplete for the intended assignment. The theory generated by ¬P and Q is complete and consistent but fails that intended assignment.

    The intended assignment makes P and Q both true. In the theory generated by P, every theorem is true at that assignment because it satisfies the premise and the calculus is sound. The assignment with P=true,Q=false also satisfies P. The two models disagree on Q, so neither Q nor ¬Q is derivable. The theory is therefore incomplete. The premises ¬P and Q have exactly the assignment P=false,Q=true as a model. Every formula in the two-letter language has one truth value there, and the matching sign follows from the premises by propositional completeness. This second theory is consistent because it has a model. It proves ¬P, which is false at the intended assignment. Thus being complete and consistent does not make this selected theory sound in a different designated model.

  4. For the theory containing just P→Q, give two satisfying assignments that disagree on P and two that disagree on Q, or state what pair can serve both purposes. Derive independence where justified.

    Show the answer and reasoning

    The assignments (P,Q)=(false,false) and (true,true) both satisfy the axiom and witness independence of each letter separately.

    If both values are false, the implication P→Q is true because its antecedent is false. If both values are true, it is true because its consequent is true. On these two models P has opposite truth values. The model where P fails refutes consequence of P, while the one where P holds refutes consequence of ¬P. The same two models give opposite values of Q. Thus they also refute both consequence claims for Q and ¬Q. Soundness converts the countermodels into nonderivability of each of the four signed sentences from the given axiom. This individual independence does not make every joint assignment compatible with P→Q.

  5. For the prime-power scheme, compute the code of the empty sequence, (0), and (0,0). Use unique prime factorization to distinguish their lengths.

    Show the answer and reasoning

    The three codes are 1, 2 and 6. Their lengths are zero, one and two, respectively.

    The empty sequence gives an empty product and hence code 1. It has no prime divisor, matching the empty block of token positions. The sequence (0) uses only the first prime, with exponent 0+1=1. Its code is 2. The sequence (0,0) uses both 2 and 3, each with exponent 1. Its code is therefore 2·3=6. The largest prime occurring is absent for the empty code, 2 for the one-token code and 3 for the two-token code. Unique prime factorization makes the corresponding exponents and lengths unambiguous.

  6. Using successor injectivity and that no successor equals zero, derive 4̄≠2̄. State where each actual axiom is applied.

    Show the answer and reasoning

    Two successor cancellations would imply S(S(0))=0, contradicting the no-successor-zero axiom.

    Write 4̄=S(S(S(S(0)))) and 2̄=S(S(0)). Suppose they are equal. Both have an outer successor constructor. Successor injectivity gives S(S(S(0)))=S(0) by stripping one outer S from each side. Apply successor injectivity again. It now gives S(S(0))=0. Its left side is a successor, namely the successor of S(0). The axiom S(x)≠0 refutes that equality at x=S(0). Discharging the original equality assumption gives 4̄≠2̄ in Q.

  7. Given a Σ₁ presentation of a correct primitive recursive certificate relation, show why Prov_T(⌜A⌝) is Σ₁. Express its negation as a universal exclusion of candidate certificates, and state its truth condition in the standard model.

    Show the answer and reasoning

    Prov_T(⌜A⌝̄) is Σ₁, and its negation excludes every candidate certificate. In standard arithmetic that negative statement holds exactly when no actual proof exists.

    Write the assumed Σ₁ proof predicate as ∃w B(p,a,w), with B bounded. The variable w represents any auxiliary verification history needed for the chosen arithmetic presentation. Then Prov_T(⌜A⌝̄) has the form ∃p∃w B(p,⌜A⌝̄,w). The consecutive existentials leave it in the same Σ₁ class. Negating this existential is equivalent to ∀p¬Prf_T(p,⌜A⌝̄), and in the displayed presentation to ∀p∀w¬B(p,⌜A⌝̄,w). This is the corresponding universal exclusion of candidates. In ℕ the chosen proof predicate agrees with the actual finite certificate relation. The universal exclusion is therefore true exactly when every ordinary code fails, which is the standard statement that A has no proof in T.

  8. Use the predecessor and addition axioms with x≤y defined as ∃z(z+x=y) to prove that any q≤2̄ is 0̄,1̄ or 2̄. Explain the bound on possible named codes.

    Show the answer and reasoning

    Any q≤2̄ equals 0̄, 1̄ or 2̄ by successive uses of the predecessor and successor equations.

    Let z satisfy z+q=2̄. By the predecessor axiom either q=0 or q=S(w) for some w. The first alternative is already one of the required values. In the second case, the addition rule makes z+q=S(z+w). Equality to 2̄=S(1̄) and successor injectivity give z+w=1̄. If w=0 then q=1̄. Otherwise write w=S(v), so z+v=0 follows from another successor step and injectivity. If v were a successor this last equation would make a successor equal to zero. Hence v=0 and q=2̄. Thus every element satisfying the fixed encoded bound is one of the three numeral values, even when considered inside a nonstandard model. A finite formula check at those values can be combined by cases.

  9. Under consistency of an effective extension T of Q, use the fixed-point equivalence established in the base to show G holds in ℕ. State the extra hypothesis needed to use ℕ as a model of all of T.

    Show the answer and reasoning

    Consistency implies that the standard model satisfies G. Taking ℕ as a model of T also requires all its nonlogical axioms to be true there.

    The unprovability part of the fixed-point argument shows that a consistent T has no actual proof of G. Standard correctness of the proof predicate then gives ℕ⊨¬Prov_T(⌜G⌝̄). The equivalence G↔¬Prov_T(⌜G⌝̄) was obtained in Q. It is true in ℕ because all Q-axioms hold there. Applying the equivalence gives ℕ⊨G. This is an assertion about a particular sentence and the standard truth of its defining proof condition. To conclude ℕ⊨T, each additional axiom of T must hold in ℕ. Ordinary syntactic consistency supplies no such guarantee about this designated model.

  10. Show how proofs of each ¬Prf_T(n̄,⌜G⌝) can coexist with ordinary consistency and why a simultaneous proof of ∃p Prf_T(p,⌜G⌝) fails ω-consistency.

    Show the answer and reasoning

    The finite numeral failures conflict with the existence proof in the sense of ω-consistency. A model can still satisfy both kinds of assertions by having a nonstandard witness.

    If T is consistent, no actual code n proves its Gödel sentence. Hence Q, and then T, prove ¬Prf_T(n̄,ḡ) for each ordinary n, by the chosen certificate relation. These give separate statements about every standard numeral. They do not by themselves give the single universal sentence ∀p¬Prf_T(p,ḡ), because a first-order quantifier in a model can include values outside the standard numerals. If T also proves ∃p Prf_T(p,ḡ), it asserts a witness while denying each standard numeral as a witness. This is exactly the forbidden pattern in the definition of ω-consistency. Ordinary consistency does not rule out that pattern. For instance the consistent theory S obtained by adding the denial of its weaker adequate base's consistency can, with the regular inclusion proof, deny its own consistency. Its internal G equivalence then yields the existential while the standard checks still fail.

  11. If p=2 is an alleged actual proof of R, specify the necessary status of refutation codes 0,1,2. Derive the instance of the Rosser sentence that leads to a contradiction.

    Show the answer and reasoning

    The opposite proof codes 0, 1 and 2 all fail. The assumed proof at 2̄ therefore falsifies the Rosser comparison at that input.

    If standard code 2 were a T-proof of R in consistent T, there would be no actual T-proof of ¬R. In particular none of the ordinary codes 0,1,2 can certify such a refutation. The respective negative numeral instances are theorems of Q. The fixed-bound lemma packages those checks into ∀q(q≤2̄→¬Prf_T(q,⌜¬R⌝̄)). The actual proof hypothesis also gives Q⊢Prf_T(2̄,⌜R⌝̄). At p=2̄, the antecedent in the comparison is true, while its required earlier-or-equal proof of ¬R fails. Therefore T proves the negation of the universal comparison and hence ¬R, using the fixed-point equivalence. This contradicts the alleged proof of R in consistent T.

  12. Suppose True(x) defines all true arithmetic sentence codes in the standard model. Write the sentence supplied by diagonalization and derive its two-way contradiction from the exact meaning of True.

    Show the answer and reasoning

    Diagonalize the formula ¬True(x). Its fixed-point sentence is equivalent in ℕ to the negation of its own truth as recognized by True.

    The diagonal lemma yields L with Q⊢L↔¬True(⌜L⌝̄). Since the standard arithmetic structure satisfies Q, the equivalence holds there. The definition of True applied to L asserts that ℕ⊨True(⌜L⌝̄) if and only if ℕ⊨L. The formula L is a sentence in the stipulated language, so it lies within the asserted scope. If L is true, the fixed point says that True(⌜L⌝̄) is false, contradicting the definition. If L is false, the definition gives falsity of True(⌜L⌝̄) and the fixed point would make L true. Both truth values lead to contradiction. Hence no arithmetic formula gives the stipulated full standard truth test. The argument depends on the test including the very fixed-point sentence it constructs.

  13. In the proof with B↔(Box B→A), identify the inference from Box A to A and the later use of the same premise after a proof of B. Explain why derivability alone does not supply that premise.

    Show the answer and reasoning

    The assumed implication □A→A is used once to get □B→A from □B→□A and again to turn the final □A into A.

    The fixed point and derivability conditions give T⊢□B→□A. This conditional is a conclusion about proof assertions, with a proof assertion on each side. Combine it with the given T-proof of □A→A to obtain T⊢□B→A. The backward fixed-point implication then gives a proof of B. The first derivability condition gives a proof of □B from that actual proof of B. Modus ponens with □B→□A gives □A. The stipulated reflection implication is applied again to obtain A. None of the three derivability conditions has the form □A→A. The proof uses that statement as an extra premise about T's derivability for the named A.

  14. For a consistent classical T with T neither proving φ nor ¬φ, use the deduction theorem to check consistency of both signed extensions. Explain how completeness then supplies the two models.

    Show the answer and reasoning

    Both extensions are consistent. Classical completeness then gives a model of each, with opposite truth values of φ.

    If T∪{φ} proved contradiction, the deduction theorem would give T⊢φ→⊥, hence T⊢¬φ. The hypothesis excludes this proof. If T∪{¬φ} proved contradiction, deduction would give T⊢¬φ→⊥, hence T⊢¬¬φ. Classical reasoning then yields T⊢φ, also excluded. Therefore neither added sign leads to inconsistency. First-order completeness supplies one model of T∪{φ} and one of T∪{¬φ}. Each is a model of the old T. The first satisfies φ and the second falsifies it. This recovers the two-model independence witness from the syntactic premise that neither proof exists.

  15. Suppose a model of T satisfies ¬Con(T) for a consistent Q-extending theory with the selected proof predicate. Explain why an element named by a standard numeral cannot be the witness.

    Show the answer and reasoning

    Every standard numeral fails the actual contradiction-check relation, so the witness to the model's existential must be nonstandard.

    In a model of ¬Con(T), the internal sentence Prov_T(⌜⊥⌝̄) holds. It provides a domain element intended to satisfy Prf_T for the contradiction code. External consistency says that no ordinary code n is an actual verified proof of contradiction. For the selected predicate, Q proves the negative instance at each such n̄. The model satisfies Q, so it satisfies all those separate numeral instances. Therefore the internal witness cannot coincide with the value of any one of them. The quantified element can still be supplied by the larger model domain. Its existence there does not create a concrete standard finite proof certificate.

  16. Let X be the external set of values of all standard numerals in a second-order arithmetic structure. Prove X is successor-closed and explain which semantics allows substituting it into the induction axiom.

    Show the answer and reasoning

    The set contains zero and every next numeral value. Full second-order semantics makes the entire external set available as an induction instance.

    Take X to be the set of interpretations of S^n(0) for ordinary natural n. With n=0 its value is the interpreted zero, so X has the initial element required by induction. If a∈X, choose an ordinary n coding its numeral value. Its interpreted successor equals the value of S^(n+1)(0), which also belongs to X. Thus X is successor-closed. The full semantics of the unary second-order variable ranges over every subset of the given domain. In particular it ranges over this X whether or not X has a first-order definition. Instantiating induction yields that X contains every domain element. A semantics in which set variables range over only a specified collection would require separate evidence that this X belongs to the collection.

  17. If a known metatheorem is Con(T)⇒Con(T+φ), decide what it rules out under Con(T) and what further result suffices to obtain independence. Give an example where this one conditional alone holds but φ is already a theorem.

    Show the answer and reasoning

    Under Con(T), the given metatheorem rules out T⊢¬φ. A corresponding relative-consistency result for adding ¬φ supplies the other nonderivability claim.

    Assume Con(T). The given implication gives consistency of T∪{φ}. If ¬φ already had a proof in T, that proof together with the extra φ would contradict consistency of the extension. To exclude T⊢φ, one can additionally know Con(T)⇒Con(T∪{¬φ}). The same proof using reversed signs then rules out the positive derivability claim. With both implications independence follows. The first conditional alone can hold for an already provable φ. For example take φ=∀x(x=x) in a first-order language with equality. Every such classical T proves this sentence. Adding it does not change theoremhood, so it preserves consistency. This example gives the one conditional but lacks independence.

  18. For finite additional sentences Δ and a background classical T with decidable theoremhood, derive the test using ¬∧Δ. Show why finding neither sign at one stage of a proof search would not itself implement that decision.

    Show the answer and reasoning

    Decide if T proves ¬∧Δ. A positive answer means inconsistency of the finite extension, and a negative answer means consistency.

    If a finite extension T∪Δ proves contradiction, the deduction theorem moves all the extra premises into a conjunction, giving T⊢(∧Δ)→⊥. This is the asserted proof of ¬∧Δ. Conversely, that proof in T carries into T∪Δ, which also proves ∧Δ from its new assumptions. Applying both gives a contradiction. Thus the two conditions are equivalent. A decision procedure for theoremhood in T halts with either answer on the one formula ¬∧Δ, so it also decides consistency of T∪Δ. An empty Δ gives the truth conjunction. An open-ended proof search can find a proof when one exists, but the absence of a proof at one finite stage says only that the proof has not yet appeared. It cannot implement the needed negative answer without an additional decision method.

What to carry forward

  • A sound and complete first-order calculus proves the consequences shared by all models of the premises.
  • A particular consistent theory can leave a sentence undecided because models of its two extensions disagree.
  • Certified proof checking can be decidable even when the set of all provable sentences is undecidable.
  • Represented diagonalization produces a theorem about a sentence and its own code.
  • The ordinary Gödel sentence and the Rosser sentence require different arguments to exclude a refutation.
  • Internal consistency refers to a particular provability predicate and its arithmetic contradiction code.
  • Full second-order induction reaches the external numeral orbit because its predicates include all subsets.
  • The set-theoretic independence statements use explicit conditional consistency transfers from their own base theories.

References

Sources for the concepts and teaching approaches in this article.

  1. Consistency and model existenceLeon HenkinPrimary · PDFcourses.fit.cvut.czRead source
  2. Robinson arithmetic and numeral comparisonOpen Logic Project authorsPrimary · PDFbuilds.openlogicproject.orgRead source
  3. Gödel's first incompleteness proofKurt GödelPrimary · PDFupload.wikimedia.orgRead source
  4. Löb's theoremMartin Hugo LöbPrimary · PDFmath.umd.eduRead source
  5. Full second-order arithmeticMIT OpenCourseWare, Logic IIPrimary · PDFocw.mit.eduRead source
  6. Peter Koepke2 sources
    1. Constructibility, choice and GCHPeter KoepkePrimary · PDFmath.uni-bonn.deRead source
    2. The exact relative-consistency implicationsPeter KoepkePrimary · PDFmath.uni-bonn.deRead source
  7. Cohen's independence examplesPaul J. CohenPrimarypmc.ncbi.nlm.nih.govRead source
  8. Quantifier elimination for infinite equalityJindřich ZapletalPrimary · PDFpeople.clas.ufl.eduRead source
  9. Open Logic Project4 sources
    1. Assignments and formula truthOpen Logic ProjectPrimary · PDFbuilds.openlogicproject.orgRead source
    2. Soundness and concrete inference rulesOpen Logic ProjectPrimary · PDFbuilds.openlogicproject.orgRead source
    3. Elementary equivalence and isomorphismOpen Logic ProjectPrimary · PDFbuilds.openlogicproject.orgRead source
    4. Witness completion and term modelsOpen Logic ProjectPrimary · PDFbuilds.openlogicproject.orgRead source
  10. Dense orders and sentence agreementStefan GeschkePrimary · PDFmath.uni-hamburg.deRead source
  11. Formulations of the continuum hypothesisMaxwell LevinePrimary · PDFhome.mathematik.uni-freiburg.deRead source