Use the numeralwise enumeration in arithmetic convention in the first-order theory: membership supplies a standard stage with a provable enumerating instance, while nonmembership makes every standard-stage instance refutable. Put . By the definition of , the diagonal instance is exactly .
If , then . Numeralwise enumeration in arithmetic supplies a natural number such that . But universal instantiation of gives . This contradicts first-order consistency. Therefore
This uses the formal proof obligations in numeralwise enumeration in arithmetic in , rather than merely the external assertion that a logical formula has a particular complexity.
Omega-consistency forbids a logical formula of any complexity for which and for every standard . The difference from one-consistency is that the matrix is unrestricted. It implies first-order consistency.
For a complete first-order consistent classical first-order theory, theorem membership obeys the ordinary Boolean truth tables. For example, it proves a conjunction exactly when it proves both conjuncts; completeness and first-order consistency also make theoremhood of a negation the complement of theoremhood of the first-order sentence. Omega-consistency additionally gives the witness property
The reverse implication is existential introduction. For the forward implication, if no standard instance were provable, completeness would give a formal proof of each negated instance, violating omega-consistency. This works also after replacing additional free variables by numerals.
Now induct on logical formulas with their remaining free variables replaced by standard numerals. At the atomic level, the equivalence between theoremhood and standard truth follows from bounded completeness of an arithmetic theory and bounded soundness of an arithmetic theory from (b). The Boolean steps use the truth-table facts just proved. The existential step uses the witness property and the induction hypothesis on its matrix; universal quantification follows by negation. Hence
for every first-order sentence . Completeness ensures it decides each first-order sentence, and this equivalence ensures every decision is correct.
A logical formula separates from in if it is provable at the standard numeral tuple of every member of and refutable at that of every member of :
There is no obligation on tuples outside the two sets. In a first-order consistent first-order theory these two obligations make and disjoint.
Let be the Gödel number of and take the literal diagonal first-order sentence . If , then belongs to the second source set, so separation gives , a contradiction. If , then belongs to the first source set, so separation gives , again a contradiction. Hence
The direction of separation matters: here is provable on refutable diagonal codes and refutable on provable diagonal codes.
Write for the proposed stage-comparison logical formula and fix a standard tuple . If , numeralwise enumeration in arithmetic supplies a standard with . Disjointness gives , so for every standard , in particular . The source's finite initial-segment axiom combines this finite list into
Use as the existential witness to obtain .
If instead , choose with . Disjointness gives refutations of for all , so the finitely many give
For an arbitrary , the source's comparison axiom gives or . In the first case the first conjunct of the proposed witness condition is false. In the second case witnesses failure of its bounded universal conjunct, since is provable. Generalization over therefore gives .
Thus the logical formula separates from . The formal proof uses the enumerators' numeralwise positive and negative formal proof properties and the two explicit order principles supplied in the source; it does not assume the first-order theory can decide arbitrary unbounded existential logical formulas.
A logical formula weakly defines a total numerical function in if, for every standard input tuple and ,
Strong definability of a numerical function additionally requires the internal uniqueness statement
Together with the positive instance, this is equivalent to proving for each standard input. The universal quantifier is the extra strength: it covers nonstandard potential outputs in first-order models of . These are the weak and strong function conventions used here. [ref]
Suppose the graph of the total function is Sigma-1. Its complement is also Sigma-1, since
Replace the graph assertion on the right by its Sigma-1 definition; existential quantifiers can be collected into one block. Bounded completeness of an arithmetic theory supplies numeralwise stage enumerators for each of these two disjoint complementary sets. Apply (b) to them. Its separating logical formula is provable exactly at the required graph tuples in the positive direction and refutable at all the other standard tuples, proving weak definability of a numerical function.
Using the graph logical formula alone would only supply positive instances from true existential witnesses; the separation construction is what supplies the negative-instance formal proofs without assuming Sigma-1 soundness or completeness for false Sigma-1 statements.
Let be the Gödel number of the diagonal first-order sentence obtained by substituting into the one-free-variable logical formula with code , with an arbitrary default value on noncodes. By the assumptions and (c), this total function has a strong defining logical formula .
For the specified , form the one-variable logical formula
Let be the Gödel number of and put . Then . Strong definability of a numerical function at this particular standard input gives
Substitution into the existential definition yields
The permitted equivalence between the source's two substitution notations identifies this with its requested fixed point. Bound variables are renamed when necessary before forming , so the substitution is capture-free. This constructs one particular first-order sentence from the code of the logical formula which applies to its own diagonal output.
Write for . A standard arithmetical provability predicate obeys the Hilbert-Bernays-Löb derivability conditions:
The first condition is a rule about theorems; the latter two are statements proved within the first-order theory. When the terminology also includes external adequacy, require that be true in the standard natural numbers exactly when the logical formula with code has an -proof.
For Peano arithmetic, code finite strings, logical formulas and formal proof sequences by natural numbers. Formal proof checking is effective and has an arithmetized bounded checking relation with its computation data. Existentially assert the existence of a correct formal proof code and any required checking data. The resulting predicate symbol is Sigma-1, and its standard truth means exactly that an actual finite PA formal proof exists. Effective operations on formal proof codes combine an implication formal proof with an antecedent formal proof, and turn a formal proof into a formal proof that its code is a formal proof; PA verifies those constructions. They give distribution and positive introspection, while an actual theorem's finite formal proof gives its internal provability assertion. This is the requested rough construction, with the three internal formal proof properties distinguished from external agreement.
Use the supplied uniqueness theorem for the modalized logical formula . Its occurrence of is boxed, and the source assumes does not occur in . Choose another first-order sentence letter absent from and from . Besides the uniqueness theorem and propositional reasoning, use that GL is closed under uniform substitution in modal logic.
Let . Uniformly substitute for the fresh letter in the uniqueness theorem. Since occurs nowhere in , this gives
Part (c) proves the second conjunct outright. Propositional reasoning removes that already-proved conjunct and yields
The freshness conditions make the substitution legal and ensure it changes only the placeholder intended for the second fixed point.
A prime model of a complete theory is a first-order model admitting an elementary embedding of first-order structures into every first-order model of . Let be canonical and . For each closed term , define
Every element of has a name, so this defines the desired map on all of . If two first-order terms agree in , their logical equality first-order sentence holds in one first-order model of the complete theory and therefore in every first-order model of it; they agree in . This proves well-definedness. If they are distinct in , their inequality holds throughout the complete theory as well, proving injectivity.
For every logical formula and named tuple , the substituted first-order sentence has the same truth value in the two first-order models by completeness of . Consequently
Thus is elementary. Since was arbitrary, every such canonical first-order structure is prime. This formal proof also handles closed-term generation when function symbols are present; under the constant-name convention one simply uses constants as the first-order terms.
A sufficient condition is that be first-order consistent, complete, and full in its own first-order language. Work in the allowed function-free setting. Since proves the logically valid first-order sentence , fullness guarantees at least one constant and a nonempty collection of names.
Form the carrier from equivalence classes of constant symbols under
Logical equality logic makes this an equivalence relation. Interpret a constant by its class and interpret each relation symbol by
Substitution of equals makes this independent of representatives. This defines a canonical first-order structure because every carrier element is named by a constant.
The truth lemma, proved by induction on logical formulas with constants substituted for their free variables, says
Atomic formulas hold by construction; completeness and first-order consistency give the Boolean steps. For the existential step, a witness in the first-order structure is a named class, so its truth gives a proved instance and hence a proved existential sentence. Conversely a proved existential sentence has a constant witness by fullness, and the induction hypothesis realizes that instance in the first-order structure. The universal case follows by negation. Thus , proving
The witness condition is needed in the original first-order language; adding new constants produces a canonical first-order structure in an expanded first-order language, which is a different assertion.
Every automorphism preserves all logical formulas by induction on their construction, so an automorphism taking to necessarily gives equal partial types.
For the converse, first note that a finite first-order structure is atomic by (ii). Thus in both cases every realized finite-tuple partial type has an isolating logical formula. Suppose two finite tuples have the same complete type, and choose a new element to extend the first tuple. Let isolate the realized partial type of . Since
logical equality of partial types gives . Choose a witness . Isolation ensures and have the same complete type. In particular, if is distinct from the entries already used, their inequality logical formulas ensure is distinct from its corresponding entries. The resulting finite map is injective and partial elementary.
Start from , which is well-defined even for repeated coordinates because their logical equality patterns agree. Enumerate the carrier and extend alternately to include the next missing element in the domain and the next missing element in the range. For a range step apply the same extension argument to the inverse finite map. The union is an elementary bijection from onto itself: every finite tuple and every logical formula involving it is handled at some stage. It is therefore an automorphism taking to . In the finite case the construction terminates once all elements have been included.
Hence
Countability makes the back-and-forth numeralwise enumeration in arithmetic exhaust the entire first-order structure; it cannot simply be dropped.
Let , with finite, and put . There are only finitely many competing tuples . For each whose complete type differs from that of , choose a logical formula true at and false at . Such a logical formula exists by the inequality of their complete types, negating a distinguishing logical formula if necessary.
Let be the conjunction of this finite list, or logical truth if the list is empty. It is true at , and every tuple satisfying it has the same partial type as . For each , the first-order sentence
is therefore true in and belongs to . The logical formula is first-order consistent with because it is realized at . It is consequently a principal formula of a type of the partial type, proving every partial type realized in a finite first-order structure is principal. Finiteness of the first-order structure, rather than finiteness of the first-order language, is what makes the conjunction finite.
An -type over a first-order theory is a set of logical formulas in the displayed free variables first-order consistent with . A complete type chooses exactly one of and for each such logical formula. Equivalently it is a maximal consistent such set. For parameter-free partial types the logical formulas use the original first-order language; partial types over parameters use additional names for those parameters.
A partial type is principal if some logical formula first-order consistent with implies every member of modulo :
Such a is a principal formula of a type of the partial type. For a complete type it isolates that partial type, so principal complete types are exactly isolated types.
For a tuple in a first-order structure , its parameter-free partial type is
It is a complete type over because the first-order structure decides the truth of every logical formula at that tuple.
An arithmetic logical formula is , or bounded, if all its quantifiers are bounded by arithmetical first-order terms. A logical formula has an initial block of existential quantifiers followed by a bounded matrix, up to the usual logical transformations. Soundness of an arithmetic theory at a given level means that every first-order sentence of that level proved by the first-order theory is true in the standard natural numbers. Here -completeness means that every true bounded arithmetic sentence is provable.
A first-order theory is one-consistent if there is no bounded arithmetic formula for which it proves while proving for every standard natural number . This is a restricted form of omega-consistency. In particular one-consistency implies first-order consistency, since an inconsistent first-order theory proves every first-order sentence and its negation.
Suppose a -complete first-order theory is first-order consistent. If it proved a false bounded arithmetic sentence , the true bounded arithmetic sentence would also be provable by completeness, contradicting first-order consistency. Thus is -sound. Conversely -soundness excludes inconsistency because an inconsistent first-order theory proves the false bounded arithmetic sentence . Therefore
If is one-consistent but proved a false existential sentence with bounded matrix, every standard instance would be true and hence provable. This violates one-consistency. Thus it is -sound. Conversely, -soundness implies first-order consistency by the previous argument, since bounded arithmetic sentences are included at the existential level. If proved , soundness of an arithmetic theory would give a standard witness with true. Bounded completeness of an arithmetic theory would then give , so first-order consistency prevents simultaneous formal proofs of all the negated instances. Hence
Multiple existential logical variables can be treated as a finite tuple of witnesses; the same reasoning applies.
The definition of makes the diagonal instance exactly . The representing logical formula therefore has the standard interpretation
If , choose an actual witness to the left-hand existential statement. The bounded arithmetic sentence is true and hence provable by -completeness. But also gives , a contradiction. Thus
Now assume one-consistency. It implies first-order consistency, so no formal proof of exists and is false for each standard . Each bounded arithmetic sentence is consequently true and provable. A formal proof of would give a formal proof of while every standard witness instance is refuted, contrary to one-consistency. Hence
The two hypotheses play different roles: ordinary first-order consistency excludes the positive Gödel sentence, while the stronger hypothesis also excludes its negation.
By the standard interpretation of the representing logical formula,
If is first-order consistent, part (b) supplies the right-hand side, so is true. If is inconsistent, explosion gives , so the representing existential statement is true and is false. Therefore
This is an external truth assertion about the standard natural numbers. Formalizing that assertion inside a first-order theory requires the additional facts explicitly supplied in part (d).
If PA is inconsistent, every desired conclusion is already a theorem, so it suffices to analyze the first-order consistent case. Use for the bounded arithmetical proof relation and for the code of the negation of the logical formula coded by .
Suppose and let be the code of an actual formal proof. By first-order consistency there is no formal proof of , in particular none with code at most . Thus
is a true bounded arithmetic sentence. Bounded completeness of an arithmetic theory proves it in PA, and existential introduction gives .
Conversely suppose and choose an actual formal proof code of that negation. First-order consistency excludes every formal proof of , so each of the finitely many statements for is true and provable. The supplied finite-case theorem permits PA to combine them into the assertion that no formal proof code below proves .
PA also proves . For any candidate formal proof code , this one code already refutes the universal no-earlier-negation condition in the Rosser predicate symbol. For , the finite verification refutes its positive formal proof condition. The supplied order dichotomy and finite-case expansion cover all . Therefore
The argument uses bounded verification of a finite initial segment and one fixed counter-witness beyond it; it does not infer that PA proves the absence of all ordinary formal proofs merely from first-order consistency.
An -structure has a nonempty underlying set . It assigns to each constant symbol an element , to each -ary function symbol a function , and to each -ary predicate symbol a relation contained in . Logical equality, when included as logical equality, is interpreted as actual identity.
The arities belong to the specification of the first-order language. An assignment of logical variables to elements of then evaluates first-order terms recursively and determines satisfaction of logical formulas through the logical connectives and quantifiers. A first-order sentence has no free variables, so its truth in the first-order structure is independent of the assignment.
The Downward Lowenheim-Skolem theorem says that for an -structure and a subset , there is an elementary substructure containing with
If an infinite cardinal satisfies , one can in particular obtain size exactly by starting with a subset of that size.
Choose a default element . For every logical formula choose a Skolem function which returns a witness in when one exists, and returns otherwise. Begin with , the interpretations of the first-order language's constants, and . Successively adjoin the values of all the original functions and these Skolem functions on finite tuples already chosen. Let be the union of the resulting countable sequence of closure stages.
There are at most logical formulas, and each function has finite arity. With , each closure stage has size at most , and so does their countable union. Closure under the original functions makes an -substructure. Whenever for parameters in , its chosen Skolem witness belongs to , since the finitely many parameters lie in some common stage. The Tarski–Vaught test therefore gives .
For the exact-cardinality version, choose an initial set of elements, enlarged to contain any prescribed subset of size at most . The construction gives an upper bound while containment gives the matching lower bound.
If , interpret each new constant in as the same element . Atomic logical formulas and their negations then have exactly their truth values in , so the expansion satisfies the diagram of a structure. If the inclusion is elementary, every logical formula with those named parameters has the same truth value, so the expansion satisfies the elementary diagram.
Conversely, from any expansion satisfying the diagram of a structure define
The diagram of a structure contains whenever , so is injective. It contains every true function-value equation, so commutes with all operations and constants. Positive and negative relation instances ensure both preservation and reflection of the relations. Thus is an embedding of first-order structures. If the expansion satisfies the elementary diagram, for every logical formula and tuple it also gives
so is an elementary embedding of first-order structures.
The precise conclusion for an arbitrary expansion is an embedding of first-order structures, rather than a literal inclusion of the original carriers. The source's inclusion notation is correct when one uses the customary identification of with its embedded copy, or requires the expansion to interpret as the actual element of a carrier already containing . With that naming convention, is the inclusion and the requested two equivalences follow exactly.
Without the convention the literal wording fails, even in the first-order language of logical equality: singleton first-order structures with carriers and have a diagram-satisfying expansion by sending the first first-order structure's named point to , but the first carrier is not a subset of the second. The embedding of first-order structures formulation proved above states the invariant result and makes the intended inclusion formulation precise.