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.
Let expand by a constant for each , and let be the canonical expansion interpreting as . Its diagram of a structure is the set of all atomic and negated atomic -sentences true in . Its elementary diagram is the set of all -sentences true there:
A substructure inclusion means that , constants have the same interpretations, the operations of restrict to those of , and each relation restricts to the corresponding relation on .
An elementary substructure additionally preserves the truth of every logical formula with parameters from :
Here the right-hand condition includes the substructure requirements by applying it to atomic logical formulas and their negations.
Expand the ring first-order language by a new constant and consider
Every finite subset is satisfiable in the integer ring itself. Only finitely many divisibility conditions occur; interpret as a nonzero common multiple of their positive integer indices, using if none occur. All first-order sentences from are automatically true there.
Compactness theorem therefore gives a first-order model. Its reduct to the original ring first-order language satisfies the complete theory of , so . Its element is nonzero and divisible by every positive standard integer. Thus
Such an element cannot be an ordinary nonzero integer, since an integer of absolute value less than cannot be a nonzero multiple of . The statement concerns each standard integer index separately; it does not assert divisibility by every internally nonzero element of .
For the nontrivial direction suppose every finite subset of is satisfiable. If were inconsistent, a finite formal derivation of a contradiction would use only finitely many premises . Soundness of an arithmetic theory would then exclude a first-order model of , contradicting finite satisfiability. Therefore is first-order consistent. The completeness theorem, proved by adjoining witnesses and constructing a Henkin term model, supplies a first-order model of .
The reverse direction is immediate by restriction of the list of required first-order sentences. The key reason compactness theorem follows from syntactic completeness is that every formal proof uses only finitely many premises, even when the whole first-order theory is infinite.
The set is satisfiable if there is one -structure satisfying every first-order sentence in simultaneously. It is finitely satisfiable if each finite subset has a first-order model; that first-order model is allowed to depend on the chosen finite subset.
Thus the two statements have different quantifier orders:
Satisfiability immediately implies finite satisfiability by using the same first-order structure for every finite subset. The converse is the substantive content of compactness theorem.
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.
Under the arithmetical interpretation , the Löb axiom says that a formal proof of the local reflection implication for already entails a formal proof of :
It is a formalized constraint on self-verification of a formal proof system. Externally, Löb's theorem says that if the system itself proves its own local reflection implication for , it proves . Distribution reflects closure of formal proofs under implication, necessitation reflects that a theorem has an arithmetically recognizable formal proof, and positive introspection reflects formal proof verification inside arithmetic.
Taking to be a refutable first-order sentence, especially a contradiction, recovers the obstruction behind the second incompleteness theorem: a first-order consistent sufficiently strong system cannot prove the corresponding claim that no formal proof of that first-order sentence exists. This does not identify provability with truth, nor grant the unrestricted factivity principle as a theorem of the system. The Löb axiom is the characteristic additional scheme of Gödel–Löb provability logic.
Set . The Löb axiom at is . Therefore and together imply , proving
For the converse, the tautology gives by necessitation and distribution. Consequently together with gives , so
whose consequent is . Combining both directions gives an unboxed equivalence as a theorem of GL. Necessitation then yields exactly
Let . The normal distribution axiom and necessitation of give . Combining this with propositional reasoning yields the theorem
Indeed, together with supplies both conjuncts of . Necessitate this theorem and apply distribution to obtain
The new Löb axiom at now gives . Finally, necessitation and distribution applied to the tautology give . Composition proves
No positive-introspection instance was used in deriving it. The argument shows why that scheme can be dropped when the Löb scheme is added.
The source's system called already contains positive introspection, so its displayed axioms are those usually called . Put
We first show that its axioms prove , the implication suggested in the hint. From , positive introspection gives . Distribution applied to and gives . Distribution applied to and this last result gives . Thus the theorem-level implications combine by propositional reasoning into
which is .
Since contains these axioms, it proves that implication. Its assumed Löb inference rule, applied to the first-order sentence , yields . Unpacking proves
This uses necessitation only as part of the ordinary modal theorem rules; no inference of a boxed temporary assumption has been made.
Let with . Positive introspection supplies the theorem for every , since itself has the form .
Induction on consequently gives
At this is the identity implication. To pass from to , compose the induction hypothesis with the positive-introspection implication at , which is at least one. Composing the result with the assumed gives
i.e. . Löb's rule now yields
The index restriction on positive introspection has been respected even when : the chain begins at , which already is a provability assertion.
Take a first-order sentence refutable in and suppose, toward contradiction, that a first-order consistent proved . Propositional logic would then give
Löb's inference, applied with , would give , contradicting the existing formal proof of . Hence first-order consistency excludes the proposed formal proof of non-provability.
Thus the familiar unprovability of the first-order consistency statement associated with a refutable first-order sentence is a special consequence of the general rule
The general rule applies to every first-order sentence, not just a chosen false or refutable one.
Put and assume . In , contraposition against its extra axiom gives .
Classical logic proves . By the derivability conditions,
Compose this with the supplied formalized deduction implication from to its left-hand side. Then proves
and therefore
The other supplied assumption says this is impossible if is first-order consistent. Thus is inconsistent. By the deduction theorem, inconsistency after adjoining yields , hence
This establishes Löb's inference rule using precisely the strengthened unprovability assumption and the formalized deduction property supplied in the question.
Use the Hilbert-Bernays-Löb derivability conditions for an arithmetical provability predicate. Abbreviate by . The conditions needed below are
These are the usual theoremhood, distribution and positive-introspection conditions intended by a standard arithmetical provability predicate; arbitrary predicate symbols merely agreeing with provability externally need not satisfy them.
Since , it proves . The first two conditions give . For the converse, the fixed-point equivalence gives . Applying theoremhood and distribution gives
Positive introspection also gives , and distribution combines these to yield . Thus . Combining with proves
If proved , it would prove . The theoremhood condition would then give , while the fixed-point equivalence gives . Therefore first-order consistency implies
If PA is first-order consistent and already proves , it cannot also prove . By the correctness of the ordinary arithmetized arithmetical proof relation, .
If PA is inconsistent, it proves by explosion, so an actual formal proof code witnesses in the standard natural numbers. Thus
The hypothesis that is refutable is essential to this first-order consistency characterization for an arbitrary fixed first-order sentence.
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.
Write . The supplied fixed-point equivalence gives .
If PA proved , the first assumed property would give , while the equivalence would give . This contradicts first-order consistency. If PA proved , the second assumed property would give , and the reverse implication of the equivalence would give , again a contradiction. Hence
This is the Rosser improvement: its comparison of formal proof codes permits ordinary first-order consistency to exclude both alternatives, without assuming one-consistency.

Pinned article: Introduction to the OurBigBook Project

Welcome to the OurBigBook Project! Our goal is to create the perfect publishing platform for STEM subjects, and get university-level students to write the best free STEM tutorials ever.
Everyone is welcome to create an account and play with the site: ourbigbook.com/go/register. We belive that students themselves can write amazing tutorials, but teachers are welcome too. You can write about anything you want, it doesn't have to be STEM or even educational. Silly test content is very welcome and you won't be penalized in any way. Just keep it legal!
We have two killer features:
  1. topics: topics group articles by different users with the same title, e.g. here is the topic for the "Fundamental Theorem of Calculus" ourbigbook.com/go/topic/fundamental-theorem-of-calculus
    Articles of different users are sorted by upvote within each article page. This feature is a bit like:
    • a Wikipedia where each user can have their own version of each article
    • a Q&A website like Stack Overflow, where multiple people can give their views on a given topic, and the best ones are sorted by upvote. Except you don't need to wait for someone to ask first, and any topic goes, no matter how narrow or broad
    This feature makes it possible for readers to find better explanations of any topic created by other writers. And it allows writers to create an explanation in a place that readers might actually find it.
    Figure 1.
    Screenshot of the "Derivative" topic page
    . View it live at: ourbigbook.com/go/topic/derivative
  2. local editing: you can store all your personal knowledge base content locally in a plaintext markup format that can be edited locally and published either:
    This way you can be sure that even if OurBigBook.com were to go down one day (which we have no plans to do as it is quite cheap to host!), your content will still be perfectly readable as a static site.
    Figure 5. . You can also edit articles on the Web editor without installing anything locally.
    Video 3.
    Edit locally and publish demo
    . Source. This shows editing OurBigBook Markup and publishing it using the Visual Studio Code extension.
  3. https://raw.githubusercontent.com/ourbigbook/ourbigbook-media/master/feature/x/hilbert-space-arrow.png
  4. Infinitely deep tables of contents:
    Figure 6.
    Dynamic article tree with infinitely deep table of contents
    .
    Descendant pages can also show up as toplevel e.g.: ourbigbook.com/cirosantilli/chordate-subclade
All our software is open source and hosted at: github.com/ourbigbook/ourbigbook
Further documentation can be found at: docs.ourbigbook.com
Feel free to reach our to us for any help or suggestions: docs.ourbigbook.com/#contact