Manuscript Offprint
arXiv:2610.34548Inductive Grounded Arithmetic: Goodstein, the Hydra, and
Inductive Grounded Arithmetic: Goodstein, the Hydra, and
Bryan Ford
EPFL
Abstract
What does a recursive definition mean when the logic is grounded, so that a sentence is true only if a terminating process makes it so? Kripke's answer for the special case of truth was the least fixed point. This paper takes that answer as a rule. Reflective Grounded Arithmetic (RGA) already writes any recursive definition as one self-referential term, paradoxes included. Inductive Grounded Arithmetic (IGA) adds the elimination rule for every positive one, so that accessibility, the winning positions of a game, and grounded truth itself each come with their own induction principle. The rule is sound for the omega model and the system is consistent, both machine-checked in Isabelle/HOL. With the rule, IGA proves Goodstein's theorem outright, in a logic without implication at an undecided hypothesis, and the Kirby–Paris hydra game for primitive recursive strategies, both with every step of the arithmetic a grounded derivation. It proves the Cantor normal forms well-founded, from which the well-foundedness of the standard notation system in HOL follows, and it certifies the Veblen notation as an ordinal below every . It defines Kripke truth for RGA's own language as one fixed point that agrees with the omega model exactly. Two equivalences locate what the classical world has and the grounded one does not. IGA proves the whole Veblen notation well-founded exactly when it admits bivalence of accessibility for that order, and bivalence of accessibility for an order is sound exactly when the order is well-founded; so lies at most one instance of excluded middle away, at the accessibility predicate of the notation, and that instance, the well-foundedness sentence and one membership claim in a primitive-recursive form of Kleene's are interderivable over IGA. Conditional proof at arbitrary hypotheses, on the other hand, is inconsistent, by Curry's paradox. In the semantic sense of the characterization theorem the one rule makes every positive definition an inductive definition, and it shows precisely where implication at a hypothesis that is not provably decided is what has to be paid for.
Nobody mistakes this for a paradox. It is the kind of recursive definition that working mathematicians and programmers write every day: a predicate defined in terms of itself, meant to pick out the positions that are winning because the game below them is. A proof assistant accepts it as an inductive definition, checks that W occurs positively, and hands back an induction principle. Classical first-order arithmetic cannot even state it as a single sentence; it needs a schema, a second-order quantifier, or a truth predicate.
This paper is about what such definitions mean, and what they buy, in a grounded arithmetic: one in which a sentence is true only when a terminating computation makes it so, and in which a sentence that no computation settles is not false but has no value. The starting point is Reflective Grounded Arithmetic (RGA) [19], a paracomplete arithmetic, one in which a sentence may be neither true nor false, descended from Kripke's theory of truth [37] and grounded deduction [3, 18], in which every term is a computation and self-reference is native: a fixed-point former turns any body into a term that unfolds to itself. RGA can write the definition of W as one term. It can also write the Liar as one term, and prove that the Liar has no value. What RGA cannot do is use the fact that W is the least such predicate. It can unfold W, but it has no principle that says a property closed under the game's rules holds at every winning position.
Inductive Grounded Arithmetic (IGA) adds that principle, and nothing else. The rule, called ground induction here, is the elimination rule for a positive self-referential term: from the fixed point at a point x, and a derivation that a motive is closed under one unfolding, conclude the motive at x. Semantically it says that the grounded meaning of a positive recursive definition is its least fixed point, which is Kripke's construction read as a rule. Classically it is Park's fixed-point induction [43], the induction schema of Feferman's theories of inductive definitions [4, 13], and Cantini's minimality principle for Kripke–Feferman truth [7]. The thesis of the paper is that the objects were always there: RGA already writes accessibility, winning positions, and its own truth predicate as single terms. What the rule adds is the ability to reason about them, and the paper measures what that ability buys and where it stops, with every result checked in Isabelle/HOL.
Contributions
• The rule and its semantics (§3, §4). A syntactic grammar of positive bodies with parameters, the rule, soundness for the omega model (the infinitary reading in which a universal is true when all its instances are), consistency, and the characterization theorem: the truth set of a positive fixed point is the least fixed point of its operator. A positive self-referential term is an inductive definition, in the sense a proof assistant’s inductive package gives the words.
• Well-foundedness as a sentence (§5). Accessibility along a relation is one self-referential term, and “R is well-founded” is one closed sentence, never refutable and sound into HOL. RGA alone proves it for and every finite tower; IGA proves it for , as a closed order on Cantor-normal-form codes, and for every of the Veblen notation, and certifies the notations as ordinals on canonical codes. HOL’s well-foundedness of the standard notation system follows from the internal theorem through soundness.
• Goodstein and the hydra (§6). IGA proves Goodstein’s theorem outright, every step of the arithmetic a grounded derivation, in a logic that has no implication at an undecided hypothesis; and the Kirby–Paris hydra game, for every primitive recursive strategy, outright as well, by the same method.
• Truth as a fixed point (§7). Kripke truth for RGA’s own language is one positive fixed point that agrees with the omega model exactly, with its induction principle, its clause laws and their inversions, and the internal refutation of truth at 0 = 1.
• The price of the classical world (§8). IGA proves the whole Veblen notation well-founded if and only if it admits bivalence of accessibility for that order, and bivalence of accessibility for an order is sound if and only if the order is well-founded. Whether IGA proves the Veblen notation well-founded is open; the commitment itself is sound for that order, so lies at most one instance of excluded middle away, at the accessibility predicate of the notation: added to IGA as a rule it gives a sound and consistent system that proves it, and over IGA the rule, the sentence and one membership claim in a primitive-recursive form of Kleene's , defined inside IGA as a positive fixed point, are interderivable. Conditional proof at arbitrary hypotheses is inconsistent, by Curry, so RGA's deduction theorem at decided hypotheses is forced; the bivalence schema explodes on the Liar; and the internal soundness argument for RGA's consistency, in the form the companion paper on Gödel's theorems in RGA [21] analyses, is not available to any omega-sound extension of RGA, IGA included.
Scope. The paper gives no upper bound on IGA’s strength; the lower bound is , below the ordinals of the classical theories it is compared with. Order-type claims are on canonical codes: the internal orders do not identify two codes of one notation. Determinacy of the truth term’s values inside IGA is reduced to one closure obligation that is not discharged. The identification of the fixed-point truth sets with the sets is by citation. Whether IGA has a certificate-grounded semantics of its own is open. Appendix H lists every theorem with its Isabelle name and its viewpoint.
Reading the metatheory. Two kinds of claim appear below, and the paper labels them. A grounded claim is a derivation in RGA or IGA: something the system itself has. A classical claim is a HOL theorem about the system, about its derivability relation or about the omega model: something true of the system from outside, by classical reasoning. An equivalence between two derivability statements is a classical claim, even though each side is grounded. Soundness connects the two kinds in one direction only. The distinction matters most in §8, where the paper’s point is exactly which claims are of which kind.
AI disclosure. The machine-checked proofs and the first drafts of this paper’s text were produced with substantial assistance from Claude models from Anthropic, working under the direction and review of the author (the artifact paragraph of §10). The definitions that a reader must trust are the rows marked “def.” in Appendix H, which lists every result with its Isabelle name; the author reviewed these definitions and theorems.
Road map. §2 recalls RGA. §3 defines positive self-reference and §4 the rule, with a worked example. §5–§7 are the applications: ordinals, Goodstein and the hydra, truth. §8 states the limits. §9 places the system among its neighbours and §10 lists what remains open. Theorem headers carry the Isabelle names of their main statements. Appendices A to G give the seven headline proofs step by step, for a reader who wants to follow or re-mechanize them, and Appendix H lists every theorem with its name.
2 Background: Reflective Grounded Arithmetic
This section recalls the parts of RGA that the rest of the paper rests on. The full system and its semantics are in the RGA paper [19], and its metatheory of self-reference in the companion paper on Gödel's theorems in RGA [21], called the Gödel paper below; nothing here is new. Throughout, is the numeral for the number , and is the numeral that codes the term .
Terms as computations. RGA has one syntactic category: terms. A term is built from numerals, variables (de Bruijn indices, so that a bound variable is named by its distance from its binder), successor, a precursor, a single binder , application under call-by-name (an argument is passed unevaluated and computed only when used), equality, negation, disjunction, and one more constant, the universal combinator . There are no separate formulas. A term computes by head reduction; a closed term may reach a numeral, in which case that numeral is its value, or it may run forever. The logical constants are read on values: 0 and 1 serve as the truth values, so an equality has value 1 when both sides reach the same numeral and 0 when both reach different ones, and no value when either side diverges. Negation flips the value; disjunction has value 1 when either disjunct does and 0 when both have value 0. A universal has value 1 when every instance has value 1 and value 0 when some instance has value 0. A term with no value is neither true nor false: it has no value at all. This is the paracomplete reading. The Liar, the term that unfolds to its own negation, is the standard example of a term with no value.
Judgments and rules. A judgment is a sequent with a finite set of hypothesis terms on the left. A term is well-formed when its binders and applications are built correctly from the constructors with de Bruijn indices in range; the mechanization carries well-formedness as a side condition, and every term in this paper is well-formed. Three judgment forms recur below. says is true; says is a number, which is to say it reaches a numeral; and says is decided, which is to say it reaches 0 or 1. The proof system has forty-two rules, all of them familiar except for two features. First, universal introduction is schematic: to prove one proves for a fresh variable under the hypothesis that is a number. A universal is thus earned by one argument that covers every instance, never by checking the instances. Second, conversion is a rule in both directions: if head-reduces to then and are interderivable. Primitive recursive functions enter through a verified compiler. An index tree is a syntax tree naming a primitive recursive function by its constructors (zero, successor, projection, composition, primitive recursion), so that every such function has an explicit, finite description. For every index tree there is a closed term cmp that computes the function, and RGA proves the compiled term total.
Self-reference. The fixed-point former is a term, not a rule: fix is , and it head-reduces to in one step. The Liar is fix . RGA proves the Liar neither true nor false, and more: a well-formed sentence with no value is independent, neither provable nor refutable [19]. The same former will build every recursive definition in this paper.
Two semantics. RGA has two semantics, and the difference between them is the hinge of the rule's soundness in §4. The certificate-grounded semantics is the one in which a universal is true only when every instance is true and RGA has a schematic proof of the open instance. Under it, RGA is sound and complete: a sentence is provable exactly when it is grounded-true, which is the sense in which what RGA proves is exactly what is true in its own world. The omega model drops the proof: a universal is true when every instance is true, and nothing else changes. Formally the omega model is a pair of mutually inductive relations, “the term t reaches the head form w” (an abstraction, the precursor with some of its arguments, or the universal combinator) and “the term t has the value r”, with twenty-one rules, among them the infinitary rules for the universal; a term has at most one value. RGA is sound for the omega model [19]. Soundness for the omega model is a plain rule induction with no reference to proofs, and it is the semantics against which this paper proves its new rule sound. The two semantics differ in character as well. The certificate-grounded one is finitary: every truth has a finite witness, a computation or a proof. The omega model is not: a universal is true when all its instances are, and the sets it makes true include sets far beyond the computable ones (§4). When this paper says that every IGA term is a computation and every IGA proof a finite object, that is a fact about the system; the omega model is the classical yardstick against which the system is measured.
What RGA lacks, exactly. Two absences shape everything below. RGA has no deduction theorem at an undecided hypothesis: from one may conclude only when is decided. The Gödel paper proves this exact [21]: the deduction theorem holds at a hypothesis for every conclusion if and only if is provably decided, and the two-line proof transfers to every extension of RGA considered here. §8.5, on conditional proof, shows why the restriction cannot be lifted. And RGA has no induction principle for a self-referential term beyond unfolding it. It can prove that the game’s winning predicate unfolds to its definition; it cannot conclude anything about all winning positions from that. Supplying that principle is the whole of IGA.
Notation. A term with one free index is written as the body of a binder; binds it. A sibling extension of RGA, Omega Grounded Arithmetic (OGA) [20], adds a rule that makes a universal over a decided matrix decided; it appears in the ordinal results of §5 and in the related work of §9. Isabelle names appear as name.
3 Positive Self-Reference
A recursive definition has a body with a hole for the thing being defined. Ground induction applies only when the hole occurs positively. The reason is not monotonicity. The operator that the rule of §4 attaches to a body reads a recursive atom as true at a member of the set and as having no value otherwise, so it only ever moves an atom from “no value” to “true”, and it is monotone whatever the body: for the Liar body it is constantly empty, and its least fixed point, the empty set, happens to be the term’s truth set. The reason is that only for a positive body does the operator describe the term: the truth of the body with the fixed point plugged in then depends on the fixed point’s instances only through their truth, never through their falsity or their having no value, whereas plugging the term into the Liar body lets an atom be false. That dependence is the hinge of the soundness proof. This section fixes the grammar.
Bodies. A body is a term with two distinguished free indices: index 1 is the recursive variable, written a below, and index 0 is the point, written x. The fixed point of a body is the closed term
and its unfolding at a point is three head steps: reduces to with fix substituted for a and x for the point. By the conversion rule, the fixed point at x and its one-step unfolding are interderivable. A body may have further free indices, its parameters: a definition indexed by a parameter may carry it in the point, as a code, or leave it free in the body, where the rule of §4 treats it as a term of the context. The one restriction on parameters is in the grammar below.
The grammar. Positivity is a mutual inductive predicate on bodies, pos and neg, indexed by the recursive variable:
• a term in which the recursive variable does not occur is both positive and negative;
- is positive when is a numeral expression in the bound variables: the point, a variable bound by a quantifier inside the body, zero, or the successor of a numeral expression; a parameter may not appear in ;
• is positive when is negative, and negative when is positive;
• is positive when both disjuncts are, and negative when both are;
• is positive when is, with the indices shifted under the binder, and likewise for negative.
Conjunction is defined in RGA as , so the clauses for it follow. The grammar is checked by simplification on any concrete body. At a closed body the restriction on parameters is empty and the grammar is the plain one, with “a variable other than ” in the atom clause; the development keeps both, and the parametric grammar is the rule’s side condition. Since the recursive atom may sit under two negations, this is positivity in the sense of Isabelle’s inductive package, not the strict positivity of Rocq or Agda, which forbids the recursive variable under any negation or to the left of any implication. Strict positivity is not needed here because there is no implication to be on the left of; a double negation only wraps a disjunction, and the reading of the body defined below sees through it. Three examples fix the idea. The accessibility body of §5, , is positive. The winning-position body of the introduction, with the existential written as a negated universal, puts under an even number of negations and is positive. The Liar’s body is not positive, and neither is the unary Liar’s : the rule of §4 never applies to it, which is as it should be.
What the grammar forces. Two consequences of the grammar run through every later section.
The first consequence is the restriction to numeral expressions in the argument of a recursive atom. One would like to write for a computed code , as a universe of codes or a truth predicate on codes must. The grammar does not admit it, for one reason that is an obstruction and one that is a feature of the present soundness proof. The obstruction: an arbitrary argument need not have a value, and the fixed point applied to a divergent term can be true while the closure premise of the rule speaks only of numerals, so a rule admitting it would be unsound as it stands. The feature: even when the argument reaches a numeral, the soundness proof's induction runs on the omega model's evaluation, and the step that replaces the argument by its value builds a fresh evaluation rather than a sub-evaluation, out of the induction hypothesis's reach. Whether a different proof removes the second reason is open. The grammar therefore admits a computed argument only by routing it through a quantifier with a decided equality guard, in either of two forms,
a universal and an existential. When f is a compiled primitive recursive function and u a number, the guard is decided, so the disjunction has a value, and a is applied to the bound variable m. Every computed argument in this paper is routed this way; the truth predicate of §7 uses the existential form. A parameter is excluded from the argument of a recursive atom for the first of the two reasons: the rule may be used at any term in place of the parameter, so after substitution the argument is an arbitrary term, possibly without a value, and an atom at it is not something the oracle reading can read. Routed through the guard, a parameter is as usable as a computed argument. The cost is binders: the truth predicate of §7 needs up to nine of them in a single clause.
The second consequence is what positivity buys. Read the body with the recursive atoms interpreted as membership in a set S, an atom being true when its argument lies in S and having no value otherwise: this is the oracle reading, used throughout §4. For a positive body, truth under the oracle reading at the fixed point's truth set coincides with truth of the body with the fixed point plugged in, because truth of a positive body never consults the falsity of a recursive atom, and falsity of a negative body never consults its truth. An atom under an even number of negations is true exactly when the recursive term's instance is true. This is the only place positivity enters the semantics.
Substituting into a body. Two substitutions recur. Writing a closed term Q for the recursive variable, , yields a body in the point alone; writing both Q for a and a term z for the point, , yields a closed term when Q and z are closed. Positivity is stable under substituting numeral expressions for the other indices and under lifting, but not under substituting arbitrary terms for them, which is the same restriction seen from the other side. The parametric grammar is stable under substituting any term for a parameter, which is what lets the rule be used at open parameters.
4 Ground Induction
IGA is RGA with one more rule. This section states the rule, works one example, proves the rule sound and the system consistent, and then proves the theorem that gives the rule its meaning: a positive fixed point is an inductive definition, and its truth set is the least fixed point of its operator.
4.1 The rule
Let be a well-formed positive body, possibly with free parameters beyond and ; a well-formed motive (a term with the point as its free index); a term, the point at which the rule is used; and a variable fresh for the hypotheses, for the motive, and for the parameters of the body. (The mechanization uses de Bruijn indices; “fresh” means that the index does not occur free.) Writing for the motive with in place of the point, the rule reads:
In words: if lies in the fixed point, and the motive holds at a fresh point whenever the motive holds throughout one unfolding of the body at that point, then the motive holds at . The second premise is the closure condition, stated as a hypothetical derivation with an eigenvariable, a fresh variable standing for an arbitrary point: the body with the motive-as-predicate in place of the recursive variable, as a hypothesis. Where the body applies to a term, the hypothesis applies to it, one head step from the motive at that term.
Three features of the rule matter for a reader who knows inductive definitions from a proof assistant. First, no implication appears inside any term. The closure condition is a sequent, a hypothetical derivation, and the hypothesis it carries may have no value, which the logic tolerates in a hypothesis and would not tolerate in a formula. A premise may be a sequent; a motive must be a term. That asymmetry is the whole of §8, the price of the classical world. Second, the rule is the weak form of fixed-point induction, Park's form: the closure hypothesis offers the motive at the unfolded points, not the motive together with membership in the fixed point. The strong form, with the fixed point conjoined to the motive, is derived from the weak one by replacing the motive under the positive body, at the cost of one more premise, that the context is well formed (Appendix H); the development uses the weak form throughout. Third, the rule is for a unary predicate on numbers. A definition indexed by a parameter may carry it in the point, as a code, or leave it as a free variable of the body; the only restriction is the grammar's, that a parameter never sits inside the argument of a recursive atom. The closed form of the rule, with . . closed, is an instance of the present one, and the applications in this paper have closed bodies, except the induction along an open order of §5.
The side condition that is a number is not decorative. Without it the rule would be unsound: take the body , whose fixed point is true at every argument, a divergent term as the point, and the motive ; the first two premises are derivable and the conclusion has no value. (This is checked: any entailment relation that extends IGA's and is closed under the rule without its number premise derives , and so is not sound for the omega model; Appendix H.) Decidedness of anything else is not assumed.
The derived form that the applications use is the induction schema: from and , and a closure argument given uniformly over every context extending and every point (from and derive ), conclude .
4.2 A worked example: the subtraction game
Return to the game of the introduction, with the simplest rules: from x a player may move to y exactly when , and the opponent replies by the same rule. The winning-position body is
the existential written as a negated universal, and it is positive. Its fixed point W unfolds, by conversion, to the definition. Note the asymmetry the grammar imposes: a move must be true, since it sits under conjunction, while a reply need only be not refuted, since it sits as the negated disjunct of a universal. For the decided relations here the two coincide.
Two things are provable, of different kinds. That the odd positions are winning is a grounded claim: a number induction with unfolding at each step, and it needs nothing from IGA. Ground induction enters with the first property of all winning positions: every provably winning position is provably nonzero. The motive is . Its closure under one unfolding: at a point with the unfolded body as hypothesis, the equation is decided, so split on it; in the case the hypothesis, a negated universal, is refuted by unfolding it at 0, where no has ; the other case is the motive. The rule then gives, from and , that . RGA can unfold at any point, but it has no way to reach a conclusion about from for an open . Finally, that IGA proves for no even is a classical claim: it follows from soundness and the denotation of in the omega model, so that IGA proves exactly when is odd. The three statements are typical of the paper: a grounded derivation, a grounded induction, and a classical theorem about what the system proves.
4.3 Soundness and consistency
IGA’s proof system restates RGA’s forty-two rules verbatim and adds the one above. Every RGA theorem is an IGA theorem.
Soundness is for the omega model, the semantics of §2 in which a universal is true when every instance is. For the present proof the choice is forced. Under the certificate-grounded semantics, a universal's truth carries a proof of the extended system, so adding a rule changes what the certificates are and soundness becomes a fixed-point argument about the system's own proofs. The omega model has no certificates, and RGA's soundness for it is a rule induction whose forty-two cases replay unchanged. The one new case is the content of the rule.
Lemma 4.1 (gfix_omv_ind_set, gfix_omv_ind). Let be positive and fix closed. (Set form.) Let be a set of numbers closed under the body: whenever at the point is true with its recursive atoms read as membership in , . Then every with true in the omega model lies in . (Term form.) Let be any term such that, for every , if is true in the omega model then so is . Then for every , if is true in the omega model, so is .
The set form is a single rule induction on the omega model's evaluation relation, with a five-part motive, over the oracle reading of the body (§3); the term form is the set form at the truth set of P, with one further lemma that turns the oracle reading at that set into the term reading. Appendix A gives the induction case by case. For a body with parameters both forms are proved again with no closedness hypothesis at all: the closed proof used closedness at exactly one step, the environment of the unfolding, and the grammar's restriction on parameters is what that step needs instead. The oracle reading is also what makes the characterization theorem below possible.
Theorem 4.2 (omega_sound, gi_consistent). Every IGA derivation from a well-formed context with omega-true hypotheses has an omega-true conclusion. In particular IGA does not prove 0 = 1.
4.4 A positive fixed point is an inductive definition
For a positive body define the operator on sets of naturals
.
As §3 said, the operator is monotone for every body; positivity is what makes the oracle reading agree with the term reading.
Theorem 4.3 (gfix_omv_eq_lfp). For every positive body with fix closed,
The left-to-right inclusion is the set form of Theorem 4.1 with S the least fixed point. The right-to-left inclusion is least-fixed-point induction with the truth set, which needs the transport in the other direction: from the oracle reading at the truth set to the term reading, one head step after substituting the fixed point for the oracle; that direction needs neither positivity nor closedness, and holds for every body. So a positive self-referential term in IGA denotes the least fixed point of its operator, which is what an inductive definition denotes, and ground induction is its induction principle. This is a classical claim: it identifies a truth set of the omega model with a least fixed point in HOL.
Two instances anchor the theorem. The accessibility term of §5 denotes HOL's accessible part of the relation it is built from, and the winning-position term of the example above denotes the inductively defined set of winning positions, so that for games the term is complete as well as sound.
The class of truth sets. It is natural to ask which sets the positive fixed points define. The answer has a sting. The truth sets of positive fixed points are the least fixed points of the operators above, and the same class is the class of truth sets of arbitrary closed terms, because any closed term is the fixed point of the body , which never mentions the recursive variable. Positivity adds nothing to the class of definable sets. What it adds is the induction principle. The class is closed under union, intersection, preimage along a definable function, and bounded and unbounded existential and universal quantification over a decided relation; it contains every recursively enumerable set and, through accessibility, the accessible part of every decided relation, which classically includes a -complete set. Classically, Kripke's least fixed point over arithmetic is -complete [5], and the least fixed points of positive arithmetic operators are exactly the sets, the sets definable by a universal quantifier over all sets of numbers in front of an arithmetic formula, by the Kleene–Spector theorem [33,48]. Since the omega model is itself the least fixed point of a positive arithmetical operator, the class above is exactly the sets by a classical argument from the cited theorems; the development does not formalize that argument, and the open questions of §10 name what a mechanization would take.
5 Well-Foundedness as a Sentence
The first application is the one that makes ordinals available. Classically, “the relation is well-founded” is a statement, one that quantifies over all sets of numbers (every non-empty set has an -minimal element): no first-order sentence of arithmetic says it. In RGA it is one closed sentence, because the accessible part of a relation is a positive recursive definition and self-reference is native.
The ordinals that appear below are the standard landmarks, named here once. is the order type of the naturals; is reached by the finite towers of lexicographic products; is the limit of \omega, \omega^\omega, \omega^\omega^\omega, \ldots, and every ordinal below it has a unique Cantor normal form with descending exponents, themselves normal forms, which is what makes a notation system; the Veblen functions extend it, and enumerating the fixed points of , up to , the first with ; and Kleene's is the set of codes of computable ordinals, in which a code is zero, a successor of a code, or the limit of a computable sequence of codes.
5.1 Accessibility and the certificate
Let R be a closed term computing a binary relation on numbers. The accessibility term is the fixed point of the body
so that unfolds to “every -predecessor of is accessible”. Well-foundedness of on a domain is the sentence
and the full certificate that behaves as an ordinal, , conjoins decidedness of and of on , irreflexivity, transitivity, trichotomy on , and . These are terms of RGA; nothing from IGA is needed to write them. Throughout this section and are closed and well-formed, which every theorem assumes.
Three facts about the accessibility sentence are classical claims, theorems of HOL about the omega model rather than derivations in the system, and they set the terms of everything later.
Theorem 5.1 (acc_omv_iff, acc_omv_never_false). For every , is true in the omega model exactly when lies in HOL's accessible part of the relation is not false}; and is never false in the omega model, for any term .
The relation that appears is the not-refuted one, not the true one. Where has no value, the disjunct has none either, and the universal can be true only if is; so an undecided pair counts as a predecessor. For a decided the two relations coincide. Never-false is the fact with consequences. Falsity of accessibility at would need a refuted predecessor, and there is no base case for falsity. Hence is never refutable, in RGA and so in IGA: asserting it is unfalsifiable, and sound to adopt exactly when it is true. This is the property that will make bivalence of accessibility a commitment rather than an axiom in §8, on the price of the classical world.
Theorem 5.2 (gi_wf_sound, gi_wf_sound_true). If IGA proves WF(D, R), then the not-refuted relation of R, restricted to the points where D is true, is well-founded in HOL, and so is the true relation.
The converse fails, as it must: a true well-foundedness sentence need not be provable. The gap between the two is the subject of §8, the price of the classical world.
5.2 What RGA alone can prove
Proving WF(D, R) needs induction along R, and RGA has only induction on the natural numbers. The order < on the naturals goes through: the motive “every is accessible” is proved by number induction, unfolding accessibility at and splitting the decided guard . The full certificate follows, with irreflexivity, transitivity, and trichotomy each by number induction, and the order term denotes HOL’s <. As a sanity check on the soundness bridge, HOL’s well-foundedness of < follows from the RGA theorem.
Lexicographic products go through by nesting, and so does every finite tower , the k-fold lexicographic product of the naturals. The mechanism is a HOL-level schema, relative transfinite induction: “RGA proves induction along R for every motive.” It is closed under lexicographic products, and it gives well-foundedness for each tower. It stops at , and the obstruction is precise: the induction step at the limit must use the hypothesis “the tower at height h is well-founded”, for an open h, as an induction principle, and RGA can only unfold accessibility one step. The schema holds for each closed height; what is missing is the ability to use it inside the system. That ability is ground induction.
5.3 What IGA proves
With the rule, relative transfinite induction becomes a theorem of the system rather than a schema about it: from a proved WF(D, R), induction along R on D for any motive. Since the rule takes parameters, the order may itself be a variable of the context: from the hypothesis that an open order term is well-founded, induction along it for any motive. This is what lets a statement about all well-orders be one hypothetical derivation at eigenvariables rather than a schema; in the union of IGA with OGA, for instance, the comparability of two well-orderings is one such sentence. The orders below are built over pairs of numbers, and the theorems are parametric in two closed, well-formed, provably total terms hi and lo projecting a pair to its components; the development instantiates them with the compiled Cantor projections. Then:
Theorem 5.3 (gi_WF_omega_omega, gi_WF_cnf). IGA proves WF for the order on pairs level, code that stopped RGA: a pair is below another when its level is smaller, or when the levels are equal and its code is below in the tower order of that level, the family of tower orders itself one self-referential term. And it proves WF for a closed self-referential order on Cantor-normal-form codes. Between the two it proves the transfer recipe: from the hypothesis WF(R) on a domain, the sentence WF( ) for the order on finite descending sequences over R, as a hypothetical derivation.
The first order is the union of the towers, of type when the projections are a bijection; that type is not machine-checked, and the theorem is stated on the order as a term. The second order is the one whose type is established in §5.4 below, where the notation is certified. The transfer recipe deserves a word. Classically “R well-founded implies well-founded” is an implication between two statements. Here it is a derivation from a hypothesis, which is the only form available in a paracomplete logic, and it is also the natural one: a recipe that turns one certificate into another. The shape recurs wherever a motive would need implication at an antecedent that is not provably decided: the relative object replaces the implication, and the term of §8.3 uses the same device. The Cantor-normal-form result is a nest of four inductions: a strong induction on rank outermost, then ground induction on the accessibility of the head exponent, a second strong induction on rank, and a ground induction on the accessibility of the tail for the jump (Appendix C). Every case split is on a decided matrix, and both the jump and the limit are eliminations in sequent form. The cost one might expect a paracomplete logic to charge at the limit, where RGA stopped for lack of an induction principle, is not charged here.
5.4 The notation certified, and HOL's as a corollary
The order of Theorem 5.3 is a term over codes. To say what it is the order of, the development defines the standard notation system in HOL, the datatype of Cantor normal forms with its validity predicate and strict order, a decoding of codes into it, and the canonical code of each normal form. The internal order is sound on all codes and exact on canonical codes, and every valid normal form has a canonical code; a code carries its rank explicitly, and the rank is the measure every induction of this section runs on. The internal order does not identify two codes of one normal form: they are incomparable, so trichotomy fails on codes, and the order on all codes is a well-founded strict partial order whose restriction to canonical codes is . Every order-type claim in this paper is of this kind: on canonical codes. With that stated, the corollary that the paper is after:
Theorem 5.4 (epsilon0_wf). The strict order of the standard notation system, on valid normal forms, is well-founded in HOL.
This is a classical claim, and the route to it is the point. The theorem is not proved by a direct HOL argument about normal forms. It is pulled back from the internal theorem through Theorem 5.2 and the canonical coding. The bridge is omega-soundness (Theorem 4.2), which is itself a HOL argument of strength well beyond , so the corollary is not a reduction in proof-theoretic strength. What it shows is that the grounded system proves its ordinal sentence outright, and that the sentence means what it should.
The same programme runs for the Veblen notation below . The Veblen functions enumerate, for each , the common fixed points of all with , starting from ; so , and is the first fixed point of . Every ordinal below , the first ordinal with , is a finite sum of principal values in a normal form due to Schütte. The development codes this as a closed order with two sorts of code, principal values and sums.
Theorem 5.5 (gi_acc_phi_fin, vOrd_canon_ordinal). For every finite n, IGA proves accessible, and on canonical codes below the notation satisfies the full certificate Ord: decidedness, irreflexivity, transitivity, trichotomy, and well-foundedness. HOL's well-foundedness of the segment below follows.
Trichotomy on arbitrary codes fails for the Veblen notation as it did for ; the certificate is stated on the canonical codes, which a closed recursive test recognizes. Transitivity is three nested rank inductions, and irreflexivity follows from it. So the lower bound on what IGA certifies as an ordinal is , the supremum of the . No upper bound is claimed. What happens at the next step, the price of the classical world, is the subject of §8.
6 Goodstein’s Theorem and the Hydra Game
Goodstein’s theorem [25] and the Kirby–Paris hydra game [32] are the standard examples of natural arithmetic statements that are true but unprovable in Peano Arithmetic. Both are proved by assigning ordinals below and showing each step decreases the ordinal, and both are therefore within reach of any system that proves well-founded: Peano
Arithmetic with transfinite induction to added proves them, and so does its intuitionistic counterpart, since the theorems are . What this section shows is that IGA proves Goodstein's theorem outright, from one native rule rather than an added schema, in a logic that has not even intuitionistic implication at an undecided hypothesis, with every step of the arithmetic a grounded derivation; and the hydra game for every primitive recursive strategy, by the same method.
6.1 Goodstein's theorem
The Goodstein sequence from m writes m in hereditary base 2, replaces every 2 by 3, subtracts one, writes the result in hereditary base 3, and so on. The theorem is that every such sequence reaches zero. The proof reads each term as an ordinal below by replacing the base by ; the base change leaves the ordinal fixed and the subtraction lowers it.
The formalization takes a state to be a pair of the step index and the current value, and builds, as explicit primitive recursive index trees, the hereditary base representation, the base-bump-and-decrement step, the run, and the ordinal map to canonical Cantor-normal-form codes, with a small course-of-values combinator for the tree recursion, which stores the whole history of smaller values and reads the two it needs, the leading exponent and the tail. Termination of the run from a state is the sentence “some step reaches zero”, a sentence over a decided matrix. Goodstein’s theorem is the universal closure over starting values.
The proof in IGA is ground induction along the order of Theorem 5.3, with a motive indexed by the run: “for every starting state and step , if the state reached after steps from has ordinal , the run from terminates”; the antecedent is a decided equation, so the motive is the disjunction with decided, which the logic allows. The closure of the motive needs one arithmetic fact, the decrease lemma: at any state with a nonzero value, the step strictly lowers the ordinal. With the universal closure of the decrease lemma as a hypothesis the theorem is a hypothetical derivation; and the lemma is itself derived:
Theorem 6.1 (gDec_derivable, iga_goodstein). RGA proves the decrease lemma schematically, at an open state. Hence IGA proves Goodstein's theorem: the closed sentence “every Goodstein sequence reaches zero” is derivable from no hypotheses.
Both halves are grounded claims.
The schematic decrease lemma is where the work is. Its proof is an internal theory of hereditary base representations over the compiled trees: laws for powers and for the leading exponent, the course-of-values tree unfolded at open arguments, a law for the digits of a representation, and on them four strong inductions with a base parameter, that the base bump is strictly increasing in the value, that the base change preserves the ordinal, and that the representation is valid and monotone, together with an upper bound on the bump that needs no induction; the decrease lemma also asserts that both ordinal codes are valid. Appendix E gives the proof step by step. Every step of the classical argument has an internal counterpart. The HOL statement, that every Goodstein sequence reaches zero, follows from the IGA theorem through soundness, a classical claim.
6.2 The hydra game
A hydra is a finite rooted tree. Hercules chops off a head, a leaf; if the head's parent is not the root, the hydra regrows copies of the subtree at the head's parent, as many as the current stage number, attached at the grandparent. The theorem is that every battle ends with the bare root, whatever heads Hercules chooses. The ordinal of a hydra is its reading as a Cantor normal form, to the power of each child's ordinal, summed in descending order, and every chop lowers it.
The grounded statement differs from the classical one in one place, and the difference is deliberate. Classically “whatever heads Hercules chooses” quantifies over all strategies, functions from positions to heads. A grounded system quantifies over numbers, so the strategies it speaks of are given by codes: here, any index tree of a primitive recursive function choosing a head from the current hydra and the stage, out-of-range choices reading as the last head. “Hercules wins against every primitive recursive strategy” is the recipe form of the theorem, and the form a computable logic states; extending it to all computable strategies would need a universal over partial computations with a totality guard, which the present coding does not attempt. The classical form, for every function, is stated in HOL alongside it.
The formalization codes a hydra as a Cantor-normal-form term read as a tree, with a bijective code, and builds the chop-and-regrow step, the ordinal map by insertion into the descending list of exponents (the natural sum), and the run as explicit index trees over the same course-of-values combinator. The Goodstein argument is restated as a generic termination engine over any step tree and ordinal tree, and the hydra theorem is its instance.
Theorem 6.2 (hyd_hDec_derivable, iga_hydra). For every primitive recursive strategy s, RGA proves the decrease lemma for s schematically, at an open state: at every state with a nonzero hydra, the chop chosen by s lowers the ordinal. Hence IGA proves outright that every battle under s terminates.
Both halves are grounded claims, as for Goodstein. The decrease lemma’s derivation is the same kind of work as Goodstein’s: an internal theory of the hydra’s trees over the compiled projections, in seven layers. Projection bounds at open arguments for the pairing trees come from a bridge to the development’s list coder; the six unfolding laws of the hydra trees follow as case laws; the internal order theory of the comparison tree against the Cantor-normal-form order on canonical codes reuses the ordinal kit of the O development; the insertion lemmas and the validity of the ordinal map are nine strong inductions; and the main induction mirrors the HOL decrease lemma with the position universally quantified. The three HOL readings, through soundness, directly from , and for every strategy as a function, are theorems as well.
7 Truth as a Fixed Point
Kripke’s theory of truth [37] defines the truth predicate for a language containing it as the least fixed point of a jump operator. Feferman’s Kripke–Feferman axioms [15] turn that construction into a classical theory, and Cantini’s minimality principle [7] adds the statement that the fixed point is the least one. In IGA the construction needs no separate axioms. Truth for RGA’s own language is one positive fixed point, and ground induction is its minimality principle.
7.1 The omega model internalized
What the fixed point internalizes is not a true/false predicate but the omega model itself. A point of the truth term is a triple, a tag, the code of a term, and a result: with tag 0 the point says “the coded term has this value”, with tag 1 “the coded term has this head form”. Truth and falsity are the value-1 and value-0 points, and negation swaps them. The body is the omega model’s twenty-one evaluation rules transcribed onto codes as twenty-two clauses, the equality rule split in two; Appendix F lists them. The body consults no decider and restricts itself to no class of codes; the equality clause is the omega model’s own, split into an equal-values case and a decided disequality case. The body is positive by the grammar of §3 and here the grammar’s cost is paid in full: every recursive atom sits at a bound variable fed by a decided equality guard under an existential, up to nine binders in a clause.
Theorem 7.1 (tr_omv_iff, tr_omv_iff_hd). For every term t and result r, with no hypothesis on t, the truth term at the point , written below, is true in the omega model exactly when t has value r in the omega model; and at the tag-1 point exactly when t has the given head form.
This is a classical claim. Soundness is the set form of Theorem 4.1 with the set of points matching the omega model, over twenty-two per-clause decodings and the determinacy of values in the omega model; completeness is an induction on the omega model's evaluation, with the oracle-to-term transport (Appendix F). By Theorem 4.3 the truth term's extension is the least fixed point of its operator, which is the formal content of “Kripke’s fixed point”. The truth term is type-free: its points are codes of arbitrary terms, its own applications included, and no hierarchy of languages appears. At the false atom 0 = 1 the truth term is not true. Two classical consequences for IGA: whatever IGA proves true of a code is true of the term, and IGA does not prove 0 = 1 true.
7.2 Clause laws, inversions, and the refutation
The twenty-two clauses are derived rules of RGA at open codes, and of IGA under the same names: for instance, from the truth of p at value 1, the truth of at value 1, and from the truth of every instance, for an eigenvariable, the truth of a universal in head form. Ground induction specialized to the truth term is its induction principle, and it is the one place in this section where IGA adds to RGA: the clause laws, the inversions and the refutation below are RGA theorems, embedded.
The inversions, the elimination direction of each clause, need injectivity and distinctness of the code builders at open arguments, which the development’s internal theory of Cantor pairing supplies, and an existential elimination with a fresh eigenvariable, a variable standing for an arbitrary witness. All twenty-two inversions are derived rules, packaged as a twenty-two-way case split. With them:
Theorem 7.2 (tr_bot_refuted, gi_tr_bot_refuted). RGA, and hence IGA, proves : the truth term is refuted at the false atom.
This is a grounded claim, and the one the section is after: the system itself says that 0 = 1 is not true, and ground induction is not needed for it.
The proof is not by the case split. RGA and IGA have no negation introduction from a hypothetical derivation, so the refutation unfolds the fixed point negatively, through the negative-unfolding rule of the truth term, and refutes every clause instance at the false atom; only the equality clause can match, and its two value premises fall to two small facts, that the code of 0 has no nonzero value and that the code of 1 never has value 0. Determinacy of values inside IGA, that the truth term gives a code at most one value, is proved only from a named closure obligation, the closure premise of ground induction at the determinacy motive, and that obligation is open; Theorem 7.2 does not depend on it.
7.3 What the truth term does and does not give
The truth term gives IGA the ability to reason about the semantics of its own base language, uniformly, by induction over grounding. It does not give IGA a proof of RGA’s consistency by the obvious route, and the no-go result of §8.5 says why. The classical comparison is exact in its shape: the Kripke–Feferman axioms plus Cantini’s minimality are the classical twin of “the omega model as a positive fixed point plus ground induction”. The strength comparison is not, and §8.4, on where the lower bound sits, sets it out: the paracomplete sibling of Kripke–Feferman is known to be weaker than Kripke–Feferman itself, and the cost has been traced to induction being unusable on indeterminate formulas [28, 29]. The same cost is visible here in the form of §8: the induction principle is available, and what is unavailable is the implication at an undecided antecedent that the strongest uses of it require.
8 The Price of the Classical World
The applications stop at . This section says what the next step would cost, and then what the classical world has that IGA does not: in every case an implication whose antecedent is not provably decided, bought in one of three forms, bivalence of accessibility, conditional proof, and the motive of an internal soundness proof. Each theorem below is a classical claim, a HOL theorem about what IGA derives, unless it says otherwise.
8.1 Well-foundedness of the Veblen notation, exactly
The Veblen notation below is where predicativity ends. A predicative definition builds a new object only from objects already accepted, and a predicative proof of well-foundedness may use induction only along orders already proved well-founded; the autonomous progressions of Feferman and Schütte, which iterate that step as far as it will go, stop exactly at [12, 35, 47]. The classical reason is well known: to prove the whole notation well-founded one must prove, for each first argument , that carries accessible arguments to accessible values, and the induction on that does this has a motive with accessibility in the antecedent of an implication. The theories of inductive definitions allow that motive, and they allow it with an intuitionistic implication: intuitionistic , even restricted to accessibility predicates, reaches the Bachmann–Howard ordinal, far beyond [4]. So the price of is not classical logic. It is an implication whose antecedent may be undecided, which IGA has for no hypothesis that is not provably decided ( ), and accessibility is not decided. What is new here is that the purchase can be stated as an equivalence. The equivalence locates the grounded boundary, bivalence of an inductive predicate, and not the boundary of predicativity: the same one instance, at the accessibility predicate of the notation, buys each notation its well-foundedness, Buchholz's notation for the Bachmann–Howard ordinal included (§8.3), and it is sound exactly when the notation is well-founded. is the worked case because it is where the unconditional development stops, every proved and the whole notation open (§8.4). And the content of the equivalence lies in the descent from bivalence, which is the classical proof with excluded middle used at one predicate only, and in the exactness of the soundness theorem; the step from the rule to the sentence is the exact deduction theorem.
Call bivalence of accessibility for an order the following rule, for every well-formed context , every with , and every well-formed :
It is the deduction theorem at the hypothesis . Say that IGA admits the rule for when every instance of it holds of IGA’s own derivability: whenever the premise is derivable in IGA, so is the conclusion. Admissibility is a statement about the system, not a rule added to it.
Theorem 8.1 (gi_WF_gamma0_iff_bivalence). IGA proves WF for the Veblen order on all codes if and only if IGA admits bivalence of accessibility for that order.
Whether IGA proves the Veblen notation well-founded is open, and no upper bound on IGA is claimed; what the theorem fixes is that admitting the rule is the same unknown. The rule itself has a classical warrant. The Veblen notation is well-founded in HOL, by an accessible-part induction on the notation’s clauses, so the not-refuted relation of the Veblen order is well-founded, and by Theorem 8.2 below every instance of bivalence of accessibility for that order is sound for the omega model. The paper calls this HOL fact the order’s classical warrant. The commitment is sound to take; what is open is whether IGA has already taken it. The left-to-right direction is short: from WF for the whole order, every accessibility claim at a number is derivable outright, and the disjunction follows by weakening and cut. The right-to-left direction carries the content. It is the inductive-definitions proof of well-foundedness below carried out in IGA with the admitted rule supplying, at each first argument, the implication from accessibility of the argument to accessibility of the value (Appendix D). Without the rule, the induction hypothesis for a smaller first argument has to be applied at a second argument whose accessibility is established only inside the derivation, and no term expresses that conditional accessibility: a premise may be a sequent, but a motive must be a term (§4). By the exactness of the deduction theorem (§2), admitting the rule is the same as deriving, at every number in every context, the instance of excluded middle, so the theorem can also be read at the level of sentences: IGA proves the Veblen notation well-founded exactly when it proves excluded middle for its accessibility predicate.
8.2 What bivalence costs
The equivalence would be idle if the bivalence rule were a harmless addition. It is not, and its cost can be stated.
Theorem 8.2 (accbiv_omega_sound_iff_wf). For a closed, well-formed order R, every instance of the bivalence rule for is sound for the omega model if and only if the not-refuted relation of R is well-founded in HOL.
For the forward direction, argue by contraposition with the smallest possible instance. Take an inaccessible point n, the empty context, and X the accessibility claim itself. The premise is then a hypothesis, and the conclusion is excluded middle for accessibility at n. Theorem 5.1 refutes it: accessibility is never false, and at n it is not true. The backward direction is immediate: when every point is accessible, every accessibility claim is true and the right disjunct carries the conclusion.
Read together, the two theorems say: IGA proves the Veblen notation well-founded exactly when it admits bivalence of accessibility for it, and taking bivalence of accessibility as a rule is sound exactly when the order is well-founded. IGA never refutes the commitment (Theorem 5.1); it is sound exactly when it is true; and the same shape is inconsistent at the Liar (Theorem 8.6 below). The classical logician has the commitment built into the logic, as excluded middle for every sentence. The grounded logician can take it, order by order, with the price written on it.
8.3 One rule, or one claim
Two further forms of the purchase turn the admissibility statement into theorems about systems.
The first adds the rule. Let be IGA with bivalence of accessibility for the Veblen order as a primitive rule.
Theorem 8.3 (giv_WF_gamma0_price). proves the Veblen notation well-founded; it is sound for the omega model; and it is consistent.
So lies at most one rule away, and the rule is sound to add by the classical warrant above. The theorem is proved in an abstract calculus that takes the rule as an assumption and carries the ground-induction development of §5 to any system in which the rule is present (Appendix D); the combined systems built that way are the subject of forthcoming work.
The second replaces the rule by a claim. The development defines a form of Kleene’s , the constructive ordinal notations, as one positive fixed point of IGA on tagged codes (zero, successor, and limit of a primitive recursive sequence, where Kleene’s own notations allow any computable one), so that induction along is an instance of ground induction; that development, too, belongs to forthcoming work, and only one of its theorems is needed here. Let be the code in of the limit of the chain , , where runs through the iterates 0, 1, , , of ; the supremum of the is only , so the iterates, not the , are the right sequence.
Theorem 8.4 (o_wf_of_gamma0, gamma0_triangle). From the hypothesis that is a notation, IGA derives WF for the Veblen order. Consequently IGA proves the Veblen order well-founded if and only if it admits bivalence of accessibility for that order, if and only if it proves a notation.
The first sentence is a grounded claim, a hypothetical derivation. Its inductions are induction along O at the claimed code and ground induction on the numbers, and nothing else; a build-time check over the transitive dependencies of the theorem, by names and statement shapes, gives evidence that no induction along the Veblen order, and no well-foundedness, transfinite induction or bivalence fact about it, is used, and a reading of the proofs confirms it (Appendix D). The other direction of the second equivalence derives the claim from WF by transfinite induction along the order. The second sentence is classical. As extensions of IGA, adopting the sentence WF for the Veblen order and adopting the claim are interderivable, and the adoption of the claim is sound for the omega model and consistent, the classical warrant entering at exactly one place, the omega-truth of the well-foundedness sentence. So the commitment can be made in three forms, a sentence, a rule, or a claim, and the three are interderivable, with the same classical warrant behind each.
The same three-way equivalence holds one landmark higher, for Buchholz’s notation for the Bachmann–Howard ordinal, with its own classical warrant. The triangle is why the opening of this section separates the boundary found here from the boundary of predicativity; the triangle and the combined systems are the subject of forthcoming work, and this paper’s own claims stop at .
8.4 Where the lower bound sits
Below the equivalence, the development’s route reaches for every finite and no further (Theorem 5.5). The limit at in the first argument is the first place where the closure of is needed uniformly over infinitely many smaller first arguments, and it meets the obligation above. So the lower bound is likely sharp for this route, though no upper bound on IGA is claimed. The classical landmarks put the bound in perspective. Kripke–Feferman truth has the ordinal of ramified analysis below ; its paracomplete sibling PKF has the ordinal of ramified analysis below [28, 29]; and Kripke–Feferman with Cantini’s minimality principle, of which ground induction is the grounded form, reaches the strength of one inductive definition [6, 7]. The lower bound proved here lies below all three, PKF included. Whether IGA interprets PKF, and where IGA’s ordinal lies, are questions for ordinal analysis; the open questions of §10 return to them.
8.5 Conditional proof is inconsistent
The deduction theorem of RGA holds exactly at decided hypotheses ( ). One might hope to extend RGA by a new conditional with conditional proof at every hypothesis. Curry’s paradox [10] says no, and the fixed-point former makes the argument five lines.
Theorem 8.5 (curry_explosion, ext_curry_explosion). Let be any term former over RGA's terms that preserves well-formedness, respects substitution, and satisfies modus ponens and conditional proof at arbitrary well-formed hypotheses, as derived or admissible rules of RGA. Then , and since RGA is consistent, no such former exists. More generally, any proof system over RGA's terms with hypothesis, head-step conversion in both directions, modus ponens, and conditional proof for such a former derives , whatever else it validates.
The Curry term unfolds to . From the hypothesis , conversion gives and modus ponens gives , using the hypothesis twice; contraction is free because hypotheses form a set. Conditional proof discharges it: ; conversion backwards gives ; modus ponens gives . So the restriction of the deduction theorem to decided hypotheses is forced by the presence of the fixed-point former, and the exactness theorem of the Gödel paper tells how far it reaches. A different argument, through the Liar with disjunction elimination and double-negation elimination, shows the same for the definable implication .
The bivalence rule above is the deduction theorem at one particular undecided hypothesis, and the Liar shows why it cannot be general:
Theorem 8.6 (accbiv_shape_explodes_on_liar). RGA does not admit the bivalence rule with the Liar in place of accessibility: if RGA’s derivability were closed under it, RGA would derive 0 = 1.
Accessibility survives where the Liar does not because accessibility is never refutable (Theorem 5.1), so the rule’s conclusion is never a contradiction waiting to happen. The rule is also harmless at any provably decided hypothesis, where it is RGA’s own deduction theorem. The theorem covers the Liar; it says nothing about every other undecided term.
8.6 No internal soundness proof of RGA
Could IGA prove RGA’s consistency? The obvious route is an internal soundness proof: assign to each node of a proof the motive “if the hypotheses are true then the conclusion is true”, with the truth term of §7 supplying truth, and prove it by induction on the proof. At a node whose hypothesis has no value, a hypothesis such as a divergent term introduced by disjunction elimination, that motive has no value, and no omega-sound system proves it. The development accompanying the Gödel paper [21] has made this a theorem, in an abstract calculus of omega-sound extensions of RGA: inside it, the motive of the internal soundness argument is not derivable at the hypothesis node of an explicit five-node proof, and neither is any of the weaker motives that the argument’s cases could accept; the content of the theorem is semantic, that the motive is not omega-true there. Theorem 4.2 is exactly the calculus’ assumption for IGA, so its theorems apply to IGA, and the instantiation is mechanized in a session joining the two developments: the motive and the weaker motives are underivable in IGA from omega-true hypotheses (iga_not_motive, iga_not_fold_residual). The theorems cover one argument and the weakenings of its shape, not every conceivable internal argument.
Theorem 8.5 sharpens the reason. The motive needs conditional proof at an ungrounded hypothesis, and conditional proof at ungrounded hypotheses is inconsistent, not merely unsound. Conditionals that validate “A implies A” for a valueless A do exist. Field’s conditional [16] keeps structural contraction and gives up conditional proof, which is the restriction RGA already has. The Łukasiewicz conditional keeps conditional proof and gives up contraction, the rule that lets a hypothesis be used twice; arithmetic with the unrestricted truth schema over Łukasiewicz logic is consistent but -inconsistent, proving every instance of some universal together with the universal’s negation [26,46]. But an induction over proof codes reuses its hypothesis at every node, which is contraction; so, heuristically, a conditional that survives Curry by dropping contraction cannot carry the induction either. The conjecture that follows, that no consistent grounded extension of RGA proves RGA’s consistency by an internal soundness argument, is stated among the open questions of §10. What remains open is the other classical route, Gentzen’s [23]: transform proofs into a fragment where every motive is decided, with an ordinal assignment, and let IGA supply the descent principle. That is where transfinite induction along a notation is the right tool, and the ordinal assignment for RGA’s proofs is the open part.
9 Related Work
Theories of truth. Kripke’s fixed-point construction [37] is the semantics; Feferman’s Kripke–Feferman axioms [15] are its classical axiomatization, and Cantini’s minimality principle [7, 8] is the induction schema for the truth predicate that ground induction generalizes to every positive body, and Burgess’s analysis of its strength [6] the classical calibration. Halbach and Horsten’s paracomplete axiomatization [28] and Halbach and Nicolai’s analysis of its cost [29, 42] are the closest relatives of IGA’s truth term and the source of the comparison in §7. Field’s theory [16] and the Łukasiewicz-based theories [26, 46] are the conditionals that the inconsistency result of §8.5 rules out for the present purpose; Burgess’s -completeness of Kripke’s least fixed point [5] is the classical measure of the class of inductive definitions of §4. Halbach’s survey [27] covers the landscape.
Inductive definitions and fixed-point induction. Park’s fixed-point induction [43] is the rule in its original program-logic form, and Kozen’s -calculus [34] its modal form; the least-fixed-point reading of recursive predicates is the standard semantics of logic programs with negation, in Fitting’s Kripke–Kleene semantics [17] and the well-founded semantics [22], both of which are three-valued fixed points of the present kind. Feferman’s theories of iterated inductive definitions [13] and the Buchholz–Feferman–Pohlers–Sieg volume [4] are the proof-theoretic setting; the Kleene–Spector theorem [33, 48] identifies the least fixed points of positive arithmetic operators with the sets. Proof assistants’ inductive definitions, with their positivity requirement and generated induction principles, are the everyday form of the same idea, and the closest analogy for a reader coming from that side. Moschovakis’s monograph on positive inductive definitions over abstract structures [41] is the natural home of the oracle-reading operator and of the class question, and Aczel’s Frege structures [1] and the applicative theories of Feferman and Jäger [14] are the closest classical settings in which self-application, fixed points and inductive generation coexist. Goodstein’s theorem, the hydra game, and ordinal notations have been mechanized before: Castéran’s hydra battles in Rocq [9] and the ordinal libraries of Isabelle’s Archive of Formal Proofs [44]. Those developments prove the theorems in the assistant’s own classical or constructive logic; here the assistant checks that a weaker object system proves them.
Ordinals and predicativity. The autonomous progressions of Feferman and Schütte [11, 12, 47], which admit induction along an order only after proving it well-founded, and Kreisel's analysis of ordinal logics [35, 49] place as the limit of predicativity; Feferman's reflective closure of Peano Arithmetic has the same ordinal [15]. §8, on the price of the classical world, states the grounded form of the step past it as an equivalence. Reverse mathematics supplies the yardsticks for the well-foundedness transfers of §5: “X well-ordered implies well-ordered” is equivalent to arithmetic comprehension [24, 31], the step to its -jump strengthening, and the step to arithmetic transfinite recursion [38, 45]; which of these a grounded system can state and prove is a natural next measurement. Kreisel's warning that ordinal measures are meaningful only for natural notations [35], and Harrison's pseudo-well-orderings [30], bear on what a grounded system can and cannot certify about a notation (§5); Kreisel and Lévy's equivalence of uniform reflection with transfinite induction to [36] is the classical comparison for the reflection rule that a sibling system of IGA adds. Gentzen's consistency proof [23] is the route the no-go result of §8.5 leaves open.
The grounded family. RGA [19] is the base; the companion paper on Gödel's theorems in RGA [21] supplies the exact deduction theorem, the internal-soundness no-go theorems cited in §8.5, and the omega-model soundness machinery that the soundness proof of §4 reuses; Omega Grounded Arithmetic (OGA) [20] is the sibling system: it adds a rule certifying that a universal over a decided matrix is itself decided, which iterated up the quantifier hierarchy decides every arithmetic sentence, so that OGA contains Peano Arithmetic under the identity translation modulo the number hypotheses on its variables, a theorem of the OGA development whose home is the OGA paper. Ground induction buys inductive definitions and ordinals, decidedness buys classical arithmetic; whether either extension contains the other is open. Grounded deduction's philosophy [3, 18] is the stance behind the viewpoint labels. Martin-Löf type theory [39, 40] and Aczel's constructive set theory [2] are the constructive systems with which a strength comparison would be most informative; the open questions of §10 list it.
10 Conclusion and Open Questions
One rule, and nothing else, separates IGA from RGA: the elimination rule for a positive self-referential term, which says that the grounded meaning of a recursive definition is its least fixed point. The rule is sound for the omega model and the system is consistent. With it, accessibility, well-foundedness, winning positions, and grounded truth itself are single sentences with induction principles; IGA proves Goodstein's theorem and the hydra game outright; certifies the Cantor and Veblen notations as ordinals, on canonical codes, up to and every ; and HOL's well-foundedness of the standard notation follows from the internal theorem. The limits are as exact as the results. IGA proves the whole Veblen notation well-founded exactly when it admits bivalence of accessibility for that order, and bivalence of accessibility is sound exactly when the order is well-founded, so that lies at most one instance of excluded middle away, sound to add as a rule, with the rule, the sentence and one membership claim in a primitive-recursive form of Kleene's interderivable; conditional proof at arbitrary hypotheses is inconsistent; and the internal soundness argument for RGA's consistency, in the form the Gödel paper analyses, is unavailable to every omega-sound extension of RGA. Each limit names the same thing the classical logician has: implication at a hypothesis that is not provably decided.
The open questions fall into three groups.
Strength. Is sharp for IGA, and what is IGA's proof-theoretic ordinal? The lower bound lies below the paracomplete Kripke–Feferman theory PKF, so the first question is whether PKF interprets into IGA. The classical twins suggest the shape of the answer above that: ground induction is Cantini's minimality in grounded form, and Kripke–Feferman with minimality has the strength of one inductive definition. A related question is the grounded form of Kreisel and Lévy's theorem: does the reflection rule of the grounded family match the induction rule on the ordinal measure?
Generality. Ground induction here is for unary bodies with numeral-expression atoms; parameters are allowed, except inside the arguments of recursive atoms. Binary and mutual recursive variables, parameters inside atom arguments, and bodies whose atoms take computed arguments without the equality-guard routing, are natural extensions, each with its own soundness case; for the last two, whether the routing is an elaboration step that a different soundness proof makes unnecessary is open. Determinacy of the truth term's values inside IGA is open: it is proved from one closure obligation, the closure premise of ground induction at the determinacy motive, which is not discharged. The syntactic class, and Kleene's normal form in HOL, would make the Kleene–Spector identification a theorem of the development rather than an analogy.
Consistency. The internal-soundness route to RGA’s consistency is closed in the form analysed. Two things would settle the rest, a theorem and a construction. The theorem is the conjecture of §8.5, which sharpens the no-go from omega-sound to all consistent systems: that no consistent grounded extension of RGA proves RGA’s consistency by an internal soundness argument. Theorem 8.5 settles the case of a conditional with conditional proof at every hypothesis and contraction; what remains are conditionals that keep conditional proof and drop contraction, for which the argument above is a heuristic, so that the obstacle would be Curry’s paradox rather than omega-soundness. The construction is Gentzen’s route: an ordinal assignment to RGA’s proofs under which a cut-free fragment carries the argument, with IGA supplying the descent. The conjecture is a theorem to prove; Gentzen’s route is a construction to find.
Artifact. Every theorem in this paper is checked in Isabelle/HOL, in sessions that reject unproved assumptions at build time, with no axioms beyond HOL's. The two remarks of §4 on the rule, that dropping its number premise makes it unsound and that its strong form is derivable, are checked as well. The development, the sessions IGA, Combined and IGA_NoGo over the sessions of RGA, of OGA and of the companion paper [21], is released at the tag iga-2026-10-25 of the project repository. The development was produced by the author directing Claude models from Anthropic, which mechanized the rule and its soundness proof, the ordinal certifications, the truth term and the equivalences of §8, with the author reviewing the definitions and the theorem statements. The theorem names and theory files that this paper gives are those of the development at that tag, and the build command is isabelle build -d hol IGA Combined IGA_NoGo. Appendix H lists the theorems with their names.
References
[1] Peter Aczel. Frege structures and the notions of proposition, truth and set. In Jon Barwise, H. Jerome Keisler, and Kenneth Kunen, editors, The Kleene Symposium, volume 101, pages 31–59. Elsevier, 1980.
[2] Peter Aczel and Michael Rathjen. Notes on constructive set theory. Technical Report 40, Institut Mittag-Leffler, 2001.
[3] Dimitrios Alexopoulos, Elliot Bobrow, Yusuf Demir, Bryan Ford, Stefan Milenković, Omar Muhammad, and Ananthajit Srikanth. Have a thing? Reasoning around recursion with dynamic typing in grounded arithmetic, October 2025. arXiv preprint 2510.25369. https://bford.info/pub/lang/ga/. URL: https://arxiv.org/abs/2510.25369.
[4] Wilfried Buchholz, Solomon Feferman, Wolfram Pohlers, and Wilfried Sieg. Iterated Inductive Definitions and Subsystems of Analysis: Recent Proof-Theoretical Studies, volume 897 of Lecture Notes in Mathematics. Springer, 1981.
[5] John P. Burgess. The truth is never simple. Journal of Symbolic Logic, 51(3):663–681, September 1986.
[6] John P. Burgess. Friedman and the axiomatization of Kripke's theory of truth. Foundational Adventures: Essays in Honor of Harvey M. Friedman, pages 125–148, 2014.
[7] Andrea Cantini. Notes on formal theories of truth. Zeitschrift für mathematische Logik und Grundlagen der Mathematik, 35(2):97–130, 1989.
[8] Andrea Cantini. Logical Frameworks for Truth and Abstraction: An Axiomatic Study, volume 135 of Studies in Logic and the Foundations of Mathematics. Elsevier, 1996.
[9] Pierre Castéran. Hydras & Co. https://github.com/coq-community/hydra-battles, 2022.
[10] H. B. Curry. The inconsistency of certain formal logics. Journal of Symbolic Logic, 7(3):115–117, September 1942.
[11] Solomon Feferman. Transfinite recursive progressions of axiomatic theories. Journal of Symbolic Logic, 27(3):259–316, September 1962.
[12] Solomon Feferman. Systems of predicative analysis. Journal of Symbolic Logic, 29(1):1–30, 1964.
[13] Solomon Feferman. Formal theories for transfinite iterations of generalized inductive definitions and some subsystems of analysis. Intuitionism and Proof Theory (Proceedings of the Summer Conference at Buffalo, 1968), pages 303–326, 1970.
[14] Solomon Feferman. A language and axioms for explicit mathematics. In John N. Crossley, editor, Algebra and Logic, volume 450 of Lecture Notes in Mathematics, pages 87–139. Springer, 1975.
[15] Solomon Feferman. Reflecting on incompleteness. Journal of Symbolic Logic, 56(1):1–49, March 1991.
[16] Hartry Field. Saving Truth From Paradox. Oxford University Press, May 2008.
[17] Melvin Fitting. A Kripke-Kleene semantics for logic programs. Journal of Logic Programming, 2(4):295–312, 1985.
[18] Bryan Ford. Reasoning around paradox with grounded deduction, September 2024. arXiv preprint 2409.08243. https://bford.info/pub/lang/gd/. URL: https://arxiv.org/abs/2409.08243.
[19] Bryan Ford. Computable quantification in reflective grounded arithmetic, 2026. arXiv preprint 2607.25533. https://bford.info/pub/lang/rga/. URL: https://arxiv.org/abs/2607.25533, arXiv:2607.25533.
[20] Bryan Ford. Idealizing useful fictions in omega grounded arithmetic, 2026. arXiv preprint 2608.17862. https://bford.info/pub/lang/oga/. URL: https://arxiv.org/abs/2608.17862, arXiv:2608.17862.
[21] Bryan Ford. Internal reasoning and consistency in reflective grounded arithmetic, 2026. arXiv preprint 2608.16140. https://bford.info/pub/lang/irga/. URL: https://arxiv.org/abs/2608.16140, arXiv:2608.16140.
[22] Allen Van Gelder, Kenneth A. Ross, and John S. Schlipf. The well-founded semantics for general logic programs. Journal of the ACM, 38(3):619–649, 1991.
[23] Gerhard Gentzen. Die Widerpruchsfreiheit der reinen Zahlentheorie. Mathematische Annalen, 112:493–565, 1936.
[24] Jean-Yves Girard. Proof Theory and Logical Complexity. Bibliopolis, 1987.
[25] Reuben L. Goodstein. On the restricted ordinal theorem. Journal of Symbolic Logic, 9(2):33–41, 1944.
[26] Petr Hájek, Jeff Paris, and John Shepherdson. The liar paradox and fuzzy logic. Journal of Symbolic Logic, 65(1):339–346, 2000.
[27] Volker Halbach. Axiomatic Theories of Truth. Cambridge University Press, 2011.
[28] Volker Halbach and Leon Horsten. Axiomatizing Kripke's theory of truth. Journal of Symbolic Logic, 71(2):677–712, June 2006.
[29] Volker Halbach and Carlo Nicolai. On the costs of nonclassical logic. Journal of Philosophical Logic, 47(2):227–257, April 2018.
[30] Joseph Harrison. Recursive pseudo-well-orderings. Transactions of the American Mathematical Society, 131:526–543, 1968.
[31] Jeffry L. Hirst. Reverse mathematics and ordinal exponentiation. Annals of Pure and Applied Logic, 66(1):1–18, 1994.
[32] Laurie Kirby and Jeff Paris. Accessible independence results for Peano arithmetic. Bulletin of the London Mathematical Society, 14(4):285–293, 1982.
[33] Stephen C. Kleene. On the forms of the predicates in the theory of constructive ordinals (second paper). American Journal of Mathematics, 77(3):405–428, 1955.
[34] Dexter Kozen. Results on the propositional -calculus. Theoretical Computer Science, 27(3):333–354, 1983.
[35] Georg Kreisel. Ordinal logics and the characterization of informal concepts of proof. In Proceedings of the International Congress of Mathematicians (Edinburgh, 1958), pages 289–299. Cambridge University Press, 1960.
[36] Georg Kreisel and Azriel Lévy. Reflection principles and their use for establishing the complexity of axiomatic systems. Mathematical Logic Quarterly, 14(7–12):97–142, 1968.
[37] Saul Kripke. Outline of a theory of truth. The Journal of Philosophy, 72(19):690–716, November 1975. doi:10.2307/2024634.
[38] Alberto Marcone and Antonio Montalbán. The Veblen functions for computability theorists. Journal of Symbolic Logic, 76(2):575–602, 2011.
[39] Per Martin-Löf. An intuitionistic theory of types. Technical report, University of Stockholm, 1972.
[40] Per Martin-Löf. Intuitionistic Type Theory. Bibliopolis, Naples, 1984. Notes by Giovanni Sambin of a series of lectures given in Padua, June 1980. URL: https://archive-pml.github.io/martin-lof/pdfs/Bibliopolis-Book-retypeset-1984.pdf.
[41] Yiannis N. Moschovakis. Elementary Induction on Abstract Structures, volume 77 of Studies in Logic and the Foundations of Mathematics. North-Holland, 1974.
[42] Carlo Nicolai. Provably true sentences across axiomatizations of Kripke's theory of truth. Studia Logica, 106(1):101–130, February 2018.
[43] David Park. Fixpoint induction and proofs of program properties. In Bernard Meltzer and Donald Michie, editors, Machine Intelligence 5, pages 59–78. Edinburgh University Press, 1969.
[44] Lawrence C. Paulson. Ordinal partitions. Archive of Formal Proofs, 2020. https://isa-afp.org/entries/Ordinal_Partitions.html.
[45] Michael Rathjen and Andreas Weiermann. Proof-theoretic investigations on Kruskal's theorem. Annals of Pure and Applied Logic, 60(1):49–88, 1993.
[46] Greg Restall. Arithmetic and truth in Łukasiewicz’s infinitely valued logic. Logique et Analyse, 35(139–140):303–312, 1992.
[47] Kurt Schütte. Eine Grenze für die Beweisbarkeit der transfiniten Induktion in der verzweigten Typenlogik. Archiv für mathematische Logik und Grundlagenforschung, 7:45–60, 1965.
[48] Clifford Spector. Inductively defined sets of natural numbers. Infinitistic Methods: Proceedings of the Symposium on Foundations of Mathematics (Warsaw, 1959), pages 97–102, 1961.
[49] Alan M. Turing. Systems of logic based on ordinals. Proceedings of the London Mathematical Society, s2-45(1):161–228, 1939.
Appendices: the headline proofs in detail
The seven appendices below give, for each headline theorem, the statement as it stands in the Isabelle sources with every hypothesis, the definitions it rests on, the proof as numbered steps that follow the mechanized proof, with the inductions and their motives written out, and a list of the lemmas a reader re-mechanizing the proof in another assistant would need. They are written for a competent Masters or early PhD student without logic expertise. Isabelle names appear throughout, in sans serif, so that each step can be found in the sources.
Common vocabulary. Variables are de Bruijn indices in the sources; the appendices write named variables and say which index is meant where it matters. A term is well-formed (wft) when it is built correctly from the constructors; closed (closed) when no index occurs free; and index k is free in t (free) when it occurs unbound. Lifting (lift) shifts the free indices of a term to move it under a binder. in these appendices is the main text's fix . substitutes u for the binder's variable of a body b (the result of a beta step; bsub). applies a substitution to every free variable of t at once (subf); is pushed under one binder, leaving index 0 alone and lifting the images of the others; sends index 0 to and index to . An open term c is omega-true under when has value 1; soundness is stated for every substitution of well-formed terms at once (oomjt), because a derivation's hypotheses and conclusion may be open, and the induction has to apply its hypothesis at a substitution that instantiates an eigenvariable. Two terms are value-congruent (ovcr) when they are equal except that, at some subterm positions, they hold well-formed terms with the same omega value; value congruence preserves omega values, which is what lets a substituted argument be replaced by its numeral. A head step is one step of head reduction (hstep). The omega model is a pair of mutually inductive relations: t reaches the head form w, written hd(t, w) (omh), where w is an abstraction with a body, the precursor awaiting three, two or one arguments, or the universal combinator; and t has the value r, written val(t, r) (omv), with 1 for true and 0 for false. There are twenty-one rules, eight for head forms and thirteen for values (Appendix F lists them), and a term has at most one value (omv_unique). A sequent is derivable in RGA or, inside the locale gi, in IGA; is well-formed (wfc) when its members are; cN says c is a number and cB that it is decided. Conversion in both directions is ir_conv and ir_convE.
A The soundness case of ground induction
Files: IGA_Positive.thy (the transport lemma and the headline lemma), IGA_Proof.thy (the rule), IGA_Sound.thy (the soundness case and omega_sound).
Definitions. A body has the recursive variable at index 1 and the point at index 0; (trmGfix). substitutes for the recursive variable under the point binder (asub), and substitutes both (gsub). unfolds in three head steps to (gfix_step1 to gfix_step3), and in the omega model reaches the head form “abstraction with body ” (omh_trmGfix). A numeral expression (nexp) is a variable other than , zero, or a successor of one; the parametric grammar (pnexp) requires the variable to be bound inside the body. Positivity (pos, neg; parametric posP, negP) is as in §3; posP_subf2 says that substituting anything for the parameters preserves it.
The oracle reading (osem) is an inductive relation : the term , with recursive index and environment , reads as the truth value when its recursive atoms are read as membership in the set . Its clauses: a subterm in which does not occur reads as the omega value of (os_nf); an atom reads true when is literally a numeral with (os_app; the argument may not mention the recursive variable), and no clause makes an atom read false; disjunction and negation have their usual clauses; a universal reads true when every numeral instance of its body does and false when some instance reads false (os_allT, os_allF). An environment is admissible for at (gfenv) when and every other free variable of is sent to a numeral; the parametric form (gfenvP) asks for numerals only at the bound variables, the indices below .
The induction’s motive has five parts (gflnv), stated for a value judgment val(t, r) with the set S and the term fixed:
-
(gfA) if and is true, then ;
-
(gfP) for every positive , admissible and with true, reads true;
-
(gfN) the same for negative , r false, reads false;
-
(gfRP) for every positive quantifier body and admissible for , if is the instance redex and is true, then reads true at the environment extended by ;
-
(gfRN) the same for a negative d and r false.
The parametric motive (gflnvP) replaces pos, neg and gfenv by their parametric forms.
Statements. Transport (gfix_transport). Let with positive and closed, and let satisfy the closure condition: for every , if reads true at the point with recursive variable and atoms in , then . Then every head judgment satisfies the trivial motive and every value judgment satisfies the five-part motive. Set form (gfix_omv_ind_set): under the same hypotheses, if is true in the omega model then . Term form (gfix_omv_ind, Theorem 4.1): for an arbitrary term , neither closed nor well-formed, if for every the truth of implies the truth of , then the truth of implies the truth of . The parametric forms (gfix_transport_par, gfix_omv_ind_set_par, gfix_omv_ind_par) are the same three statements with the parametric grammar and no closedness hypothesis at all.
The rule (pr_gfix). From parametrically positive, , the closure premise , , , and , with and well-formed and not free in , in , or in , conclude . Soundness (omega_sound): if in IGA, is well-formed, and every member of is omega-true, then is omega-true. Consistency (gi_consistent): is not derivable.
Proof of the transport lemma. A simultaneous rule induction on the two omega relations (omh_omv.inducts). The head motive is trivial, so the eight head cases are immediate. In each of the thirteen value cases, prove the five parts separately. Two devices recur. First, shape analysis (pos_substE, neg_substE): if is positive and , then at least one of the following holds: is not free in ; is an atom with a numeral expression, and ; is a disjunction; is a negation of a negative body; is a universal with positive one index up, and . For a negative body the atom case is absent. Second, the non-occurrence case is always immediate: if is not free in , the value judgment on is exactly the premise of os_nf.
-
Zero, successor, equality. t is not an application, so part 1 is vacuous; in parts 2 and 3 only the non-occurrence shape matches; t is not a beta redex, so parts 4 and 5 are vacuous.
-
Negation true (from val(b, 0), conclude val(¬b, 1)). Part 2: either non-occurrence, or with negative; admissibility passes to (gfenv_mono), the induction hypothesis' part 3 at gives that reads false, and os_notT finishes. The other parts are vacuous by the value or the shape.
-
Negation false: symmetric, with part 2 of the hypothesis and os_notF.
-
Disjunction: for part 2, and the hypothesis' part 2 on the true disjunct, then os_orT1 or os_orT2; for part 3, both hypotheses' part 3 and os_orF.
-
Beta (from and , conclude ). This is the central case.
(a) Part 1. Suppose and is true. Then ; determinacy of head forms (omh_det) with omh_trmGfix gives , so for the environment sending the point to , the recursive variable to , and index to the variable (bsub_asub). This is admissible: , and every free variable of other than 1 is 0, by closedness of (closed_body_free), and is a numeral. This is the only use of closedness. The hypothesis' part 2 at gives that reads true, and the closure condition gives .
(b) Part 2. Non-occurrence: immediate. The negation and disjunction shapes are impossible, since is an application. Atom by admissibility and is a numeral (gfenv_atom, through nexp_subf_num); so , part (a) gives , and os_app finishes. Universal: would be , which contradicts (omh_A_inv).
(c) Part 3: non-occurrence, or the universal shape, which is excluded as in (b).
(d) Parts 4 and 5. Suppose and . Then (omh_lam_inv), so (bsub_subf_lift0); the extended environment is admissible one index up (gfenv_bind), and the hypothesis' part 2 or 3 at gives the result.
-
Recursor at zero and at successor. The head has the head form of the precursor awaiting one argument, so it is not T, not A and not an abstraction; parts 1, 4 and 5 are vacuous, the atom and universal shapes are impossible, and only non-occurrence remains.
-
Universal true (from and every true). Parts 1, 4 and 5 are vacuous as in the previous case. For part 2: non-occurrence is immediate; the atom shape is impossible since ; in the universal shape and , and for each the hypothesis at , which is a true value judgment, includes part 4, which says reads true at the environment extended by ; then .
-
Universal false: symmetric, with part 5 at the refuted instance and os_allF.
Proof of the set form and the term form
-
The set form: apply the transport lemma to the value judgment and read off part 1 at .
-
The term form: take is true} and apply the set form. Its closure obligation, that an oracle-true reading at the point puts in , is discharged in three moves: osem_term, an induction on the oracle reading, converts a reading at the truth set of into the term reading, the omega-truth of with substituted for the recursive variable; that term is ; and the hypothesis gives true.
The parametric forms
-
Steps 1 to 8 repeat verbatim with the parametric grammar, the parametric admissibility and the parametric motive. The one step that changes is 5(a): parametric admissibility asks for a numeral only at the bound variables, here the point alone, so no closedness is needed. In 5(b) the atom’s argument is a parametric numeral expression, whose free variables are all bound (pnexp_free_lt), so admissibility still makes it a numeral (gfenvP_atom). This is why a parameter may not appear in an atom’s argument.
-
The set form and the term form follow as in steps 9 and 10.
The soundness case. Soundness is proved as: for every derivable with well-formed and every substitution of well-formed terms, if every member of is omega-true then is omega-true (oomjt). The proof is an induction on the proof with a case analysis of the last rule (gi_step_oomjt): the forty-two RGA cases replay from the RGA development, and the case of ground induction is new. Fix and write for the body with its parameters instantiated (the substitution lifted under two binders), for the motive likewise under one binder, and .
-
From the premise , has a value (omtrue_NE); the premise's validity also gives that is well-formed (valid_wff_exp), which value congruence needs below.
-
From the premise , and since (subf_trmGfix), is true.
-
Value congruence replaces by the numeral : two well-formed terms with the same value are congruent (ovcr_swap), congruence is closed under application (ovcr_appl, ovcr_refl), and it preserves values (omv_vcr_ex); so is true.
-
is parametrically positive (posP_subf2).
-
Closure for . For each , suppose is true, and let be with sent to . Then is a substitution of well-formed terms; leaves and unchanged, since is not free in or in ; and makes every hypothesis of the closure premise's context true: N because has value , the body hypothesis because (bsub_asub, subf_gsub_par), and the members of because is not free in them. The induction hypothesis for the closure premise gives that , which is , is true (bsub_subf_commute); one beta step gives true.
-
The parametric term form with steps 15 to 17 gives true; one beta step gives true (om_hstep_rev_omv with hs_beta).
-
Value congruence back (ovcr_bsub) gives true, which is .
-
omega_sound is the case of the identity substitution; gi_consistent follows because 0 = 1 is never omega_true.
Lemmas a re-mechanizer needs. The omega model as a simultaneous inductive definition, with determinacy of head forms and the two shape inversions; the substitution algebra (bsub_asub, bsub_subf_lift0, subf_trmGfix, subf_gsub_par, bsub_subf_commute, closed_body_free); the grammar facts (shape analysis, nexp_subf_num, pnexp_free_lt, posP_subf2); the admissibility facts; osem_term; value congruence (ovcr_swap, ovcr_appl, ovcr_refl, ovcr_bsub, omv_vcr_ex); head-step invariance of values in the direction from reduct to redex (om_hstep_rev_omv); omtrue_NE and the validity of premises; and the forty-two RGA cases of omega soundness.
B The characterization theorem
File: IGA_Lfp.thy. The proof uses the oracle reading, the lemma osem_term, and the set form of the induction lemma from Appendix A.
Definitions. The operator (gfixOp) sends a set to the set of at which the body reads true, in the oracle reading, at the point with the recursive variable sent to and atoms read in . The value placed at the recursive variable is never consulted, because the oracle reading reads that index only through the atom clause, which tests membership. lfp is HOL's least fixed point of a monotone set operator, the intersection of all pre-fixed points.
Statement. For positive with closed, the set of at which is omega-true equals lfp (gfix_omv_eq_lfp).
Proof
-
Monotonicity, for every body (osem_mono, gfixOp_mono). If and reads at , then it reads at : an induction on the oracle reading, in which only the atom clause consults , and it consults membership, which transfers. No clause consults non-membership. Hence is monotone and (Knaster-Tarski, lfp_fixpoint).
-
Oracle-to-term transport at the truth set (osem_gfix_omv). Let Tr be the truth set of . If reads true at the point with atoms in Tr, then is true. osem_term with gives the omega-truth of ; writing it as (bsub_asub), the beta rule of the omega model with the head form of (omh_trmGfix) folds it back to . This direction uses neither positivity nor closedness.
-
The truth set is a pre-fixed point (gfix_omv_pre): , which is step 2 restated.
-
lfp (lfp_gfix_omv), by lfp_lowerbound on step 3. This inclusion holds for every body.
-
-
Antisymmetry of inclusion. As a corollary, (gfix_omv_fixpoint).
The anchors. For closed , the truth set of is lfp of the operator of the accessibility body (acc_omv_eq_lfp), and that least fixed point is HOL's accessible part of the not-refuted relation (acc_lfp_eq): one inclusion is the soundness of accessibility from Appendix A's lemma, the other an accessible-part induction that splits on whether is omega-false. The winning-position term is handled the same way: its truth set is the least fixed point (win_omv_eq_lfp), and that least fixed point is HOL's inductively defined set of winning positions, by an induction on that inductive definition (win_lfp_eq).
Lemmas a re-mechanizer needs. osem_mono and Knaster-Tarski; osem_term, omh_trmGfix, the beta rule of the omega model, bsub_asub; and the set form of the induction lemma.
C Well-foundedness of the Cantor-normal-form order
File: IGA_Ordinal.thy, section “G4 in GI: epsilon-0”; the theorem is gi_WF_cnf and its helpers are cnf_zero_acc, cnf_inv_acc, cnf_Q and cnf_acc_ranks. IGA_Epsilon.thy instantiates it at the compiled projections (gi_WF_epsilon0) and derives HOL’s epsilon0_wf.
Definitions. , and the domain . , true at every number, are as in §5; reads “y is below ”. The order on the naturals (ltOp) is a closed precursor term computing <; RGA proves it well-founded by number induction (rga_WF_omega). Two closed, well-formed, provably total terms hi and lo read a code: its rank is hi x, its head (the code of the leading exponent) is hi(lo x), and its tail is lo(lo x); a code of rank 0 denotes 0 and otherwise . The comparison is a fixed point that unfolds to (ir_cnfL_unfold): y has rank 0 and x has not; or both satisfy the rank guard G (head and tail have smaller rank than the code) and either , or the heads are equal and . Validity V (cnfV) is a fixed point that unfolds to (ir_cnfV_unfold): the rank is 0; or G holds, head and tail are valid, and the tail has rank 0, or the tail’s head is below the head, or the two heads are equal (the exponents weakly descend along the spine). The order is . , with unfolding and folding laws (ir_cnfC_unfold, ir_cnfC_fold). Relative transfinite induction along a term is a HOL predicate on : for every well-formed context and motive, if in every extension and at every number z the motive at z follows from the motive at every -predecessor of z, then the universal closure of the motive is derivable; its instance at ltOp (gi_relTI_ltOp) is strong induction on the naturals inside IGA. Ground induction at a proved accessibility (gi_TI): from , a number, and the same progressiveness premise, the motive holds at ; it is one application of the rule at the accessibility body.
Statement. In a context fixing hi and lo closed and well-formed, with the hypotheses that RGA proves and numbers whenever it proves a number: in IGA.
Auxiliary facts
(D1) Decidedness, in RGA. and are decided at numbers (cnfL_B, cnfV_B), each by RGA's strong induction on the rank of , with universally quantified in the motive “for every code of rank the matrix is decided”: one unfolding, the decidedness of ltOp, and the hypothesis at the smaller ranks the guard guarantees; a conjunction whose first conjunct is refuted is decided. is decided as the conjunction of the three (cnfOp_B).
(D2) Case split on a decided term (g_caseB); an equality of numbers is decided (g_eqTI).
(D3) Accessibility introduction (g_acc_intro): if in every extension, for every number , is derivable, then is accessible; universal introduction followed by folding. Every use below first splits on the decided (D1, D2) to obtain the disjunction.
(D4) Rank-0 codes are accessible (cnf_zero_acc): by D3, any unfolds to , whose first disjunct needs x of nonzero rank and whose second needs something below rank 0, which ir_ltOp_zero refutes.
(D5) Invalid codes are accessible (cnf_inv_acc), since asserts .
(D6) Logical glue: transport of an equation under a function (g_app_transport), disjunctive syllogism, universal elimination, ex falso, conjunction projections.
The nest. Four inductions: (I) strong induction on the rank; (II) inside it, ground induction on the accessibility of the head; (III) inside that, strong induction on the rank again; (IV) inside that, ground induction on the accessibility of the tail.
-
The theorem from the rank lemma. Universal introduction at ; instantiate the rank lemma (step 2) at and at ; the disjunct is refuted by reflexivity, leaving Acc ; weaken to the matrix of WF.
-
The rank lemma (cnf_acc_ranks, induction I): . Relative transfinite induction along ltOp with the motive and hypothesis for all . Fix and split: on (the unequal case is immediate); on (the invalid case is D5); on (the zero case is D4). In the main case, is valid, nonzero, of rank : unfolding gives the guard, so the head has smaller rank, and the hypothesis at that rank gives ; apply step 3 at and instantiate the result at and ; the two equality disjuncts are refuted by reflexivity and the other two by the case hypotheses, leaving .
-
The head lemma (cnf_Q, induction II). From and , conclude , where , or has head other than , or has rank other than , or is accessible”. This is ground induction along at with motive ; in the closure at the hypothesis is for every with .
(a) Use of the hypothesis: if u is a valid nonzero number with , then : instantiate the hypothesis at head u, then at hi u and u, and refute the side disjuncts.
(b) Building E: from V a, V b and L a b, E a b by folding.
(c) Induction III: relative transfinite induction along ltOp with motive and hypothesis for . Fix and split, all decided, on , , head and . In the main case let ; unfolding gives the guard, so has rank below , validity of the head, hence of by transport, validity of , and the spine condition.
(d) Accessibility of the tail. If has rank 0: D4. Otherwise the spine condition leaves two cases. If : transport to , get by unfolding , build by (b), and conclude by (a). If head : the guard gives of rank below , and the hypothesis of induction III at that rank, instantiated at , gives .
(e) Induction IV, the jump: ground induction along at , from , with motive and hypothesis for every with . Fix and split, all decided, on , head and tail ; in the main case get and by unfolding and transport. Prove by D3: for with split on (then D4); otherwise unfold whose first disjunct contradicts the case and whose second gives either , hence , by unfolding , by (b) and by (a); or head and , hence, with from unfolding , by (b), by the hypothesis, and its instance at gives after refuting .
(f) Instantiate at x, with tail by reflexivity, to get , which closes induction III and with it the motive .
Lemmas a re-mechanizer needs. The two induction engines, gi_Tl and relative transfinite induction at ltOp; the unfold and fold laws of the three fixed points; decidedness of L, V and E and of ltOp and of equality; ir_ltOp_zero; the derived rules D2, D3 and D6; the substitution bookkeeping for the nested motives, which in another assistant is just the instantiation of a nested universal; and the totality of hi and lo lifted into IGA.
D The equivalence, the one-claim theorem, and the triangle
Files: IGA_Veblen.thy (the equivalence), IGA_VeblenAcc.thy (the one-claim theorem and the triangle), IGA_VeblenO.thy (the code and the converse), IGA_KleeneO.thy (the term and its induction), IGA_VeblenFS.thy and IGA_VeblenFS2.thy (the fundamental sequences and their cofinality). Every derivation is in IGA.
Statements. The equivalence (gi_WF_gamma0_iff_bivalence): if and only if AccBiv, where AccBiv is the HOL proposition: for every well-formed context , every with N and every well-formed , if , then , with Acc the accessibility term of the Veblen order vOp. The one-claim theorem (o_wf_of_gamma0): ; in context form, from well-formed and , . The triangle (gamma0_triangle): WF derivable iff AccBiv, and WF derivable iff derivable.
Definitions. A Veblen code is a number with four compiled, provably total accessors: rank, tag, and two fields. Three shapes: zero (rank 0), principal (nonzero rank, tag 0), and sum (nonzero rank, nonzero tag), read as with head and rest ; that the head is principal and the rest nonzero is part of validity, not of the shape. The guard says both fields have smaller rank. The comparison (vLt) is one closed fixed point: is zero and is not; or both satisfy the guard and one of Schütte's four shape cases holds. Principal below principal, : and ; or and ; or . Principal below sum : , or and is nonzero. Sum below principal : . Sum below sum: , or and . Validity vV is a closed fixed point: a code is valid when it is zero, or it satisfies the guard, both fields are valid, and either it is principal with , or it is a sum whose head is principal, whose rest is nonzero, and which satisfies the normal-form condition: , or , or is a sum with the same head as . The two fixed points are defined one after the other, validity referring to the already defined comparison. vOp = relates only valid codes. Motives: ; , “ carries accessible arguments to accessible values”, whose antecedent appears as a negated disjunct, not an implication; ; ; ; , with the variants (rest ) and (rank ). For the one-claim theorem: is the -atom of a body over tagged points, for “ is a notation” and for “ is below ”, with seven clauses: the zero code is a notation; the successor of a notation is a notation; a limit code, which carries an index tree, is a notation when, for every , the -th value of the decoded sequence exists, is a notation, and is below the -th; and four clauses for the order, that is below its successor, that below is transitive through a successor, that every value of a limit’s sequence is below the limit, and that below is transitive through a limit. The decoded sequence is the index tree compiled and applied, so membership of a limit code says that a primitive recursive sequence of notations increases; (gamma0C) is the limit code of the sequence of partial sums , with the iterates of from 0; the fundamental sequence of a limit code is a compiled tree of codes below , defined by the shape of (sums on the last term, through , through iterates of ), with the internal cofinality lemma that every canonical lies below some at an explicitly computed index; the canonicalizer is a compiled tree sending a valid code to the canonical code of its value, the identity on canonical codes; ; and the motive moGam of the -induction conjoins “whenever the point is the code of with canonical and valid, ” with “the point is not , or for every ”.
Kit. Ground induction at a proved accessibility (gi_Tl) and relative transfinite induction along the number order, as in Appendix C; universal introduction at a fresh number and elimination; disjunctive syllogism; case analysis on a decided term; the shape trichotomy of Veblen codes (vk_shape_cases); decidedness of validity and comparison at numbers; the laws taking validity apart for a principal and for a sum (vk_V_P, vk_V_S); the unfolding of the comparison for each pair of shapes; introduction and elimination of accessibility at a point (vk_acc_l, vk_acc_E), of vOp, and of each motive; a zero code is accessible; accessibility transports along an equation. Two lemmas carry the content: vk_K, that every sum over an accessible, valid, principal head is accessible; and vk_Lgen, the principal step relative to a schema: from c and d numbers with Acc · d, and the premise that in every extension, for every c' with vOp c' c and every accessible e', RC(c', e') holds, conclude RC(c, d).
The equivalence, left to right
-
Assume WF derivable; fix , , and the premise , .
-
Weaken WF to and instantiate at : .
-
Nat · d holds at a number, so disjunctive syllogism gives .
-
Cut against the premise: ; right-disjunct introduction gives the conclusion.
The equivalence, right to left. Assume AccBiv. Lemma (vk_RCall_main): from and , . Proof by ground induction along vOp at with motive RCall:
-
In the step at , with the hypothesis for every predecessor of , introduce the universal at a fresh number ; the goal is .
-
Under the hypothesis Acc·d, prove RC(z, d) by vk_Lgen at z and d; its premise is discharged from the induction hypothesis: for a predecessor of z and accessible, RCall( ) instantiated at and disjunctive syllogism give RC( , ).
-
The single use of AccBiv: apply it to , and , with the hypothetical derivation of step 2, to obtain the disjunction and close the universal.
Main proof
-
Strong induction on the rank with motive rkAll(r); in the step at r the hypothesis gives, for any number u of rank below r, Acc · u.
-
Introduce the universal at a number ; the goal reduces, the guard being decided, to under the hypothesis .
-
Split on validity. If is invalid it has no predecessor, so it is accessible vacuously. If valid, split by shape: zero is accessible; for a principal the guard gives and of rank below , so both are accessible by step 1, the lemma at gives RCall(), its instance at and disjunctive syllogism give RC(), and its elimination at gives Acc ; for a sum the guard gives of rank below , hence accessible, and valid and principal, and the instance vk_K_at of vk_K at gives Acc .
-
Conclude WF: at a number x, instantiate step 1 at rank x and at x, discharge the guard by reflexivity, and introduce the right disjunct.
Proof of vk_K for a fixed accessible, valid, principal p. (i) The tail step: if z is a valid sum with head p and accessible rest, then z is accessible, by ground induction on the rest with motive kTAll(p, ·); in the step, a predecessor w of such a z' is split by shape, and the comparison laws for a principal or a sum against a sum reduce each case to the accessibility of p, to an equation, or to the hypothesis at a smaller rest. (ii) Strong induction on the rank of the sum with motive kRk(p, ·): the rest of a valid sum with head p is accessible by the normal-form condition, which places it below p, equal to p, or a sum with head p of smaller rank, and the tail step gives the sum. (iii) Instantiate at the sum's rank. Proof of : ground induction on with motive . In the step at , the first conjunct holds because every predecessor satisfies the motive's first conjunct; for the second, take a valid principal and show by a side strong induction on a rank with motive , whose step unfolds “principal below principal” into three disjuncts: with , where is accessible by a helper (every valid of smaller rank is accessible: zero outright, principal by the side hypothesis, a sum through its head and ) and the schema premise then applies; with , by the outer hypothesis at ; or , by accessibility of ; the predecessors of are then zero, principal (covered by the side induction) or sums whose head is below (covered by the side induction and ).
The one-claim theorem. -induction (o_ind, the rule at the body of with a two-part motive) at with motive moGam.
-
Zero and successor codes: the first conjunct holds by the laws for those shapes, and they differ from , so the second conjunct's left disjunct holds.
-
Limit code with the induction hypothesis for the sequence: the first conjunct passes to the limit (g_moAccV_lim), using that at a point coding the sequence is the chain whose -th value codes (graph functionality), so the hypothesis gives for every , and gives : for a valid whose canonical form lies below , the internal cofinality of the fundamental sequence (vfs_cofinal, with the descent and canonicality laws of the sequence) places that canonical form below some , and applies; a zero exponent is the case . For the second conjunct, case on the decided equation with : if equal, the sequence is 's, its -th value codes , and the hypothesis gives for every .
-
Extract, at , for every n.
-
WF: at a number , if is valid let be its canonical form; the bound (gm_bound, by rank induction) and give ; if invalid, is accessible vacuously.
The inductions are O-induction once, at the claimed code, and rank and number inductions along the number order in the canonicalizer, fundamental-sequence and bound lemmas; no induction along vOp occurs. The build-time check computes, through the proof terms, the transitive dependencies of the theorem and of the accessibility lemma behind it, exempting the current theory, and fails if any dependency is named by a forbidden family (the well-foundedness theorems, relative transfinite induction except at the number order, the classical warrant, bivalence, the O-membership lemmas that consume well-foundedness) or states anything about vOp together with well-foundedness, transfinite induction or bivalence; it also requires O-induction and the cofinality lemma to be present; and a control theorem that uses a forbidden lemma is checked to be flagged by both tests. The test is by names and statement shapes; it is evidence that no such induction is used, and a reading of the proofs confirms it, but it is not a proof-term search for instances of the rule at the Veblen order.
The one-rule system and its soundness. Theorem 8.3 is proved in an abstract calculus whose derivations are those of IGA together with one more rule, bivalence of accessibility at the Veblen order: from and conclude (accbivS, in the calculus giv_calc). Its soundness for the omega model is IGA's soundness with one new case, and the new case is exactly the statement that every instance of the rule is sound for the Veblen order, which the classical warrant supplies through Theorem 8.2; consistency follows as for IGA. The well-foundedness theorem is the right-to-left direction of the equivalence replayed in the calculus with the rule present rather than admitted, which the abstract calculus makes one instantiation.
The triangle. The first conjunct is the equivalence. For the second, the forward half (o_gamma0) derives from WF: every partial sum is a notation, by number induction whose step consumes WF through transfinite induction along vOp; the sums increase; and the limit rule of gives the limit code. The backward half is the one-claim theorem at the empty context.
Lemmas a re-mechanizer needs. The IGA calculus with universal introduction at fresh variables, elimination, weakening, cut, disjunction introduction, disjunctive syllogism, case analysis on decided terms, ex falso and existential elimination; gi_Tl, relative transfinite induction at the number order, rank and number induction, and O-induction; the Veblen kit named above; for the one-claim theorem, the code builders of O with their injectivity and distinctness, graph functionality of the decoded sequence, the canonicalizer facts, the fundamental sequences with their internal cofinality, the bound, and the algebra of DenV.
E Goodstein's theorem
Files: IGA_Goodstein.thy (the HOL machinery, the index trees, the internal terms, and the theorem under the decrease hypothesis), IGA_GoodsteinDec.thy (the derivation of the decrease lemma), RGA_Kit/Cov_Induct.thy (the course-of-values induction pattern that the decrease theory re-proves with a well-formedness hypothesis).
Statements. gDec_derivable: gDec in RGA. iga_goodstein: gGood in IGA. Companions: iga_goodstein_of_decrease, gDec, gGood; and goodstein_hol_unconditional, the HOL statement that every Goodstein sequence reaches zero, read off through omega soundness. Truncated subtraction is computed by the precursor (gapSub), so says and says .
Definitions, HOL side. The leading exponent is the unique with for and . The hereditary representation is the normal form when or , and otherwise with : the leading power is split off one copy at a time. Evaluation at a base reads a normal form with replaced by the base. The Goodstein step from step index and value evaluates at base and subtracts one; a state is the pair ; the run's value after steps is . The HOL decrease ( ): for the normal form after the step is below the one before.
Definitions, index trees and internal terms. A generic course-of-values tree (prCov) computes, at , a history list whose entry is , where and is obtained by a combining tree from and the two earlier values and , both children being below . Entry is read by second projections and one first projection. Its instances: the canonical code (prHordC), with the leading exponent and the tail , whose first projection is the canonical code of ; and the base bump (prBumpC), whose first projection is evaluated at a base . The Goodstein trees (prGord, prGstep, prRun, prGrun) compute the ordinal, the stepped state, the -fold run and the run's value. Internal terms are compiled trees: , , (the value component), , , ; , the projections; the order is the order of Appendix C at these projections. Termination from , , is “some step of the run from has value 0” (a negated universal); is . ; is . ; and the motive is “for every start state and step count , if the state reached from after steps has ordinal code , then the run from terminates”. At open arguments the proof abbreviates: , , for pairing and projections; for the canonical code of in base ; for the bump from base to base , and for ; , tailT, powers and products; and for the comparison and validity of Appendix C at the projections.
Proof of the decrease lemma, in RGA. Steps 1 to 3 evaluate the compiled trees at open arguments by number induction; step 4 is the digit law; steps 5 to 9 are the four strong inductions and the bound; steps 10 and 11 assemble the lemma. Two engines. Engine A (ind_gen): for a term family P stable under substitution, from and, in every extension and at every number , implies , conclude for every number ; it is RGA's number induction at a fresh variable. Engine B (par_strong_univ, through cov_parW): for a family with a base parameter, from a step that, in every well-formed context in which the base is a number at least 2, derives from for every , conclude . . , where at a decided abbreviates ; it is universal introduction on , implication introduction at the decided guard, universal introduction on , and course-of-values induction, which is number induction on the bounded motive “ at every ” and which the decrease theory proves in a form whose step carries the well-formedness of its context (cov_parW, after the kit's ir_cov_ind_par). Its instances at a base and a number are read off by par_inst.
-
Arithmetic at open arguments (Engine A): the compiled addition and truncated subtraction agree with the precursor forms; the product laws (zero, successor, commutativity, monotonicity); the power laws (positivity for base at least 1, monotonicity, strictness, reflection, and for ); zero test and conditional; the order test; and the Cantor projections at open arguments, and , from the row search (Dy_inv, by induction with the motive that the triangular number of the row bounds the argument on both sides).
-
Powers and the leading exponent: the invariant of the partial count by Engine A, hence the bounds , uniqueness of the exponent satisfying them, , tailT b m < m, and monotonicity of the exponent in the value, all for and .
-
The course-of-values tree at open arguments: the zero and successor equations of the history, the peeling law, the shifted lookup by Engine A, and the unfolding law (cov_unfold): if both children of are at most , the first projection at is the combining tree applied to and the two children's values. Its instances at a nonzero with : with the exponent and the tail (G_pos), and (psi_pos); both are 0 at .
-
The digit law (digits, Engine A on ): for , and , . The motive carries the decided guard ; the step unfolds once, whose leading exponent is by uniqueness and whose tail is .
-
Strict monotonicity of the bump (M_univ, M_inst; Engine B). Motive: for every , ; in the step at , the hypothesis holds at every . Write for the exponents and for the tails of and , and . Split on : then and . Otherwise ; split on equality. If , the leading terms agree, , the hypothesis at gives , and adding the leading term finishes. If , let , so and ; the hypothesis gives and, by cases or , ; the digit law at and at then gives the bound (psi_UB); the hypothesis at gives , so the bound is at most .
-
The upper bound (psi_UB_full, no induction): for and , , by the second case of step 5 with the instance of step 5 in place of the hypothesis.
-
Base change (BC_univ, BC_inst; Engine B). Motive: . At both sides are 0. Otherwise let , and the exponent and tail of , : the unfolding gives , the bound gives , so uniqueness gives and the tail of is ; the hypothesis at and at and the unfolding of at and at give equal right-hand sides.
-
Monotonicity of the canonical code (MONO_univ, MONO_inst; Engine B). Motive: for every , . Fold the goal, so that the unfolded clause of suffices; the code reader gives rank, head and tail of a canonical code. At the first disjunct holds (rank 0 against nonzero rank). Otherwise the rank guards hold for both codes; if the exponents agree, the hypothesis at the tails gives the tail comparison; if , the hypothesis at the exponents gives the head comparison.
-
Validity of the canonical code (VALID_univ, VALID_inst; Engine B). Motive: . At x = 0 the rank is 0. Otherwise the guards hold, head and tail are valid by the hypothesis, and the spine condition is by cases on the tail: zero rank, or its exponent equals (equal heads), or is below it (the head comparison by step 8).
-
Decrease at an open state (dec_open): from a number with , . Evaluate: the ordinal of is with and ; the next state is with ; so its ordinal is . Since by the unfolding and the positivity of powers, ; step 8 at base gives and step
7 rewrites the second code to ; step 9 at both bases gives validity; fold into gOp and transport back through the evaluations.
- The universal: introduce with ; is a number, so the equation with 0 is decided; in the zero case take the left disjunct, otherwise the right by step 10.
Proof of Goodstein’s theorem, in IGA. iga_goodstein is the hypothetical theorem cut against the embedding of the RGA derivation of the decrease lemma (entails_embed). The hypothetical theorem, with :
-
: the instance of Appendix C's theorem at the compiled projections (gi_WF_epsilon0), weakened.
-
Transfinite induction (gi_WF_TI) along gOp on the domain Nat with motive MB: it suffices to show progressiveness, that in every well-formed extension and at every number , MB( ) follows from MB( ) for every with gOp .
-
Closure (goodstein_closure). Introduce and ; let be the state after steps from , a number. Split, decided, on whether its ordinal is ; if not, the left disjunct of MB's matrix. If so, split on : if zero, the run from terminates at step (the run's value is the state's value component, and the existential is introduced as a negated universal); if nonzero, instantiate gDec at , disjunctive syllogism gives for the ordinal of the next state, transported along the equation to (), the hypothesis gives , and its instance at and , whose guard the run equation discharges, gives termination.
-
Steps 2 and 3 give .
-
At a number let and the ordinal of after 0 steps; instantiate step 4 at , whose domain guard holds at a number , and at and 0, whose guard reflexivity refutes; termination converts to the body of gGood at .
The HOL reading: omega soundness with the empty context gives the omega-truth of gGood, which omv_gGood_iff reads as “for every n some step of the run from is 0”.
Lemmas a re-mechanizer needs. RGA's number induction, universal introduction at an eigenvariable and elimination, case split on a decided term with decidedness of equality, implication introduction at a decided antecedent and modus ponens, equality transport and conversion; the verified compiler's totality and compositional evaluation at open arguments; the two engines, with cov_parW, par_inst and the bounded-motive helpers of the kit (acc_step_p, acc_descent_p); the internal arithmetic of steps 1 and 2; the course-of-values laws of step 3; the digit law, the bound and the four inductions; the evaluations of the Goodstein terms; and, on the IGA side, gi_WF_epsilon0, gi_WF_TI, gi_natD_inst, g_app_transport, the run equations, and the embedding of RGA into IGA.
F Truth exactness
File: IGA_Truth.thy; supporting machinery in IGA_Positive.thy (the oracle reading, the set form of the induction lemma, osem_term), IGA_Lfp.thy (osem_gfix_omv) and RGA_Omega_Model.thy.
Statement. For every term , every result and every head form , with no hypothesis on : is omega-true if and only if has value (tr_omv_iff), and is omega-true if and only if reaches the head form (tr_omv_iff_hd).
Definitions. The omega model's twenty-one rules. Head forms: an abstraction, the precursor awaiting three, two or one arguments, and the universal combinator. Eight head rules: an abstraction, the precursor and the universal combinator are their own head forms; applying a partial precursor adds an argument (two rules); if reaches and reaches then reaches ; if reaches the two-argument precursor with step terms , and has value 0 then reaches what reaches; and likewise at value with the reduct . Thirteen value rules: zero and successor; equality, with value “the two values are equal”; negation true and false; disjunction true-left, true-right and false; the value forms of the three reduction rules; the universal true when every instance has value 1 and false when some instance has value 0. Head-form codes hdc tag the five head forms and pair them with the codes of their components; they are injective and invertible by tag. Code shapes: the code of an operator node with zero, one or two children, with inversion lemmas saying that a number of that shape coding a term codes a node of that operator with the children's codes. Code builders: closed RGA terms computing codes from codes, one per constructor, together with compiled substitution on codes (bsubC), the numeral coder, and the precursor-reduct coder; their omega values at codes and at arbitrary numbers follow from the value of a compiled binary primitive recursive function at terms with values. The point is built by compiled pairing. The body is a list disjunction over twenty-two clauses, one per omega rule with the equality rule split into an equal-values clause and a distinct-values clause; each clause is a nest of existentials over the components, with equality guards “the point is the builder applied to the bound codes” and recursive atoms at bound variables equated to premise points. The clauses, with the rule each transcribes, the number of existential binders, and the number of recursive atoms:
| clause | rule | binders | atoms |
|---|---|---|---|
| H1-H3 | an abstraction, the precursor, the universal combinator reach themselves | 1, 0, 0 | 0 |
| H4, H5 | the precursor applied to one, two arguments | 3, 4 | 1 |
| H6 | beta, head form | 6 | 2 |
| H7, H8 | recursor at zero, at successor, head form | 8, 9 | 3 |
| V1, V2 | zero, successor | 0, 3 | 0, 1 |
| V3, V4 | equality, equal values; distinct values | 5, 6 | 2 |
| V5, V6 | negation true, false | 2 | 1 |
| V7-V9 | disjunction true-left, true-right, false | 3, 3, 4 | 1, 1, 2 |
| V10 | beta, value | 6 | 2 |
| V11, V12 | recursor at zero, at successor, value | 8, 9 | 3 |
| V13 | universal true (an inner universal over an existential) | 3 + 1 | 2 |
| V14 | universal false | 5 | 2 |
The clause for disjunction false (V9), for instance, reads: there are with the point equal to the code of at value 0, the point of at value 0, the point of at value 0, and . The universal-true clause has, under its existentials, a universal whose body is itself an existential with a recursive atom. The body is positive, and the abstraction of the body over its two variables is closed (pos_trPhi, closed_trPhi). The two target sets: trS, for soundness, contains a point when for every term its code part codes, the tag-0 reading gives the point's result as value, and the tag-1 reading gives a head form with the point's result as code; points whose code part codes no term, or with tag at least 2, are unconstrained. trL, for completeness, is the truth set of Tr.
Proof.
-
Soundness at every point (tr_omv_point): if is true then . Apply the set form of Appendix A's induction lemma with , using positivity and closedness of the body; the set form is the one needed because no predicate term for trS is available before the theorem. The obligation is closure, step 2.
-
Closure of trS under the oracle reading (tr_body_closed). An oracle-true list disjunction has an oracle-true member, since the empty disjunction is never true (omv_zero_one_never), so some clause reads true; twenty-two cases, one lemma each (sound_clH1 to sound_clV14), each by the same five moves, written out for disjunction false: open the existentials, obtaining numbers at which every conjunct reads true; read the guards, which are equalities between a numeral and a builder term and so say the builder has the numeral's value; compute the builders' values from the value lemmas and identify, by determinacy of values, , , with the explicit points; read the atoms, which say ; decode and apply the omega rule: for any whose code is the disjunction node, the inversion gives with the bound codes, the memberships give and false, and the rule gives false. Clause-specific features: the clauses with no atoms decode a constant or an abstraction; head-form premises decode the component through the head-form inversion; the beta clauses use that compiled substitution on codes computes the code of the substitution (bsub_code_correct); the precursor clauses decode the reduct code; the distinct-values equality clause reads its guard as inequality of numbers; the universal-true clause instantiates the inner universal at every and reads, with the numeral coder's value, that every instance point is in trS, then applies the universal rule; the universal-false clause uses one instance.
-
Soundness: step 1 at the two point shapes, read through the two characterizations of trS (trS_V, trS_H).
-
The oracle-to-term step (tr_compl_clause): if a clause reads true at the environment of the point with atoms in trL, then . Lift the clause to the whole disjunction; the hypothesis is then the premise of osem_gfix_omv of Appendix B, which needs neither positivity nor closedness.
-
Twenty-two completeness lemmas (compl_clH1 to compl_clV14): if the premise points of a rule are in trL then its conclusion point is. Each lemma is step 4 with the matching clause, supplying the witnesses for the existentials, proving the guards by the builders' value lemmas and the atoms by the atom clause from the memberships; the universal-true clause proves its inner universal by the oracle reading's universal clause.
-
Completeness (tr_omv_complete_all): simultaneous rule induction on the omega relations with the motives “the tag-1 point of t and w is in trL” and “the tag-0 point of t and r is in trL”; the twenty-one cases are the lemmas of step 5 applied to the hypotheses, with one case split, the equality rule, by whether the two values agree; the universal-true case uses the hypothesis at every instance.
-
The equivalences: step 3 and step 6; for head forms, injectivity of the head-form coding identifies the witness.
Lemmas a re-mechanizer needs. The omega model with its determinacy and inversion lemmas; a term coding with explicit node shapes and inversions, injectivity of pairing, and the head-form coding with its inversion and injectivity; the code builders as closed terms with their values, and the code-level substitution law; the oracle reading with its inversions (list disjunction and conjunction, existential, universal at any instance, atom, equality and inequality guards) and introductions; the set form of the induction lemma; osem_term and osem_gfix_omv; positivity and closedness of the body, by simplification over the twenty-two clauses.
G Curry's paradox
File: IGA_Curry.thy. The statements are about RGA's own entailment (locale curry_cond) or about an arbitrary entailment over RGA's terms (locale curry_ext); neither is about IGA.
Definitions. The locale curry_cond extends RGA with a term former ⇒ and four assumptions: the former preserves well-formedness; it commutes with substitution at the binder's variable, ; modus ponens, from and conclude ; and conditional proof at every well-formed antecedent, from conclude . The locale curry_ext replaces RGA's entailment by an arbitrary relation ent on contexts and terms, and assumes of it only the hypothesis rule, head-step conversion in both directions, and the same four properties of the former; contexts are finite sets, so a hypothesis may be used twice. The Curry term is in either locale.
Statements. curry_explosion: . curry_inconsistent: the locale's assumptions are contradictory, from the previous statement, the consistency of RGA (rga_consistent, by the soundness of the certificate semantics) and . ext_curry_explosion: ent( ).
Proof, identical in both locales
-
is well-formed, so C is.
-
reaches in two head steps: the fixed-point step, then a beta step after rewriting the result as a substitution into the former (the closed term is unchanged). So from follows , and conversely, by conversion in the two directions.
-
, by the hypothesis rule.
-
, from 3 by step 2.
-
, by modus ponens on 4 and 3; the hypothesis is used twice, as one member of the set.
-
, by conditional proof on 5.
-
, from 6 by step 2.
-
, by modus ponens on 6 and 7.
-
For the inconsistency of the locale: step 8 and contradict the consistency of RGA.
Companions. liar_explosion_cp: if conditional proof holds for the definable implication at every well-formed antecedent, then . With the Liar, and by conversion; the assumption gives and ; disjunction elimination, with double-negation elimination in one branch, gives and , and negation elimination closes. This argument uses disjunction elimination and double-negation elimination and no modus ponens for a former. accbiv_shape_fails_on_liar: the bivalence shape with the Liar in place of accessibility fails, by the instance at the empty context and .
Lemmas a re-mechanizer needs. The fixed-point step and the beta step, well-formedness of the fixed-point former, conversion in both directions, the hypothesis rule; and for the inconsistency statement only, the consistency of RGA (rga_consistent) and (ir_zero_one_ne). The requirement that the former commutes with substitution is, in a named-variable presentation, that is a term former.
H The Theorems and Their Isabelle Names
Every statement cited in the text appears below with its name in the development, its session (RGA and RGA_Kit, the base; Ordinal on RGA alone; IGA; Combined for the combined systems; ConOGA and OGA for the two imports; IGA_NoGo for the instantiation of the no-go result), and its viewpoint: grounded, a derivation in RGA or IGA; classical, a HOL theorem about the system or the omega model; or def., a definition.
| Statement | Isabelle name | Session | View |
|---|---|---|---|
| The rule (§3, §4) | |||
| positivity grammar; parametric grammar | pos, neg; posP, pnexp | IGA | def. |
| closed body: the grammars agree; stability | posP_of_pos_closed, posP_subf2 | IGA | classical |
| fixed point of a body; unfolding | trmGfix, gfix_step1..3 | IGA | def., grounded |
| the Liars are not positive | liar_not_pos, liar1_not_pos | IGA | classical |
| the rule; closed form as an instance | pr_gfix, pr_gfix_closed | IGA | def., grounded |
| induction schema | IGA_Proof.gfix_TI | IGA | grounded |
| strong form of the rule | ir_gfix_strong_par, ir_gfix_strong, gi_gfix_strong | Combined | grounded |
| the number premise is not decorative | gfix_nonum_rule, gfix_nonum_derives_bot_eq, gfix_nonum_unsound | IGA | def., classical |
| RGA embeds in IGA | entails_embed | IGA | grounded |
| odd positions winning | gi_win_odd | IGA | grounded |
| winning positions nonzero | gi_win_nonzero | IGA | grounded |
| provably winning iff odd | gi_win_iff | IGA | classical |
| transport; oracle reading; monotone | gfix_transport, osem, osem_mono | IGA | classical |
| parametric transport and induction | gfix_transport_par, gfix_omv_ind_par | IGA | classical |
| omega-model induction, set and term forms (Lem. 4.1) | gfix_omv_ind_set, gfix_omv_ind | IGA | classical |
| soundness; consistency (Thm. 4.2) | omega_sound, gi_consistent | IGA | classical |
| truth set is the lfp (Thm. 4.3) | gfix_omv_eq_lfp | IGA | classical |
| accessibility denotes HOL's acc | acc_lfp_eq | IGA | classical |
| games complete and sound | win_lfp_eq, win_omv_iff | IGA | classical |
| the class of truth sets | gfix_class_eq_lfp_class, gfix_class_eq_omv_class | IGA | classical |
| closure properties | fixClass_Un and companions | IGA | classical |
| Well-foundedness (§5) | |||
| accessibility, WF, Ord as terms | trmAcc, trmWF, trmOrd | Ordinal | def. |
| unfolding rules | acc_unfoldl, acc_unfoldE | Ordinal | grounded |
| denotation; never false (Thm. 5.1) | acc_omv_iff, acc_omv_never_false | IGA | classical |
| decided case | acc_omv_iff_dec | IGA | classical |
| WF never refutable | WF_not_refutable | Ordinal | classical |
| soundness bridge (Thm. 5.2) | gi_wf_sound, gi_wf_sound_true | IGA | classical |
| RGA: , Ord(), towers | rga_WF_omega, rga_Ord_omega, rga_WF_tower | Ordinal | grounded |
| relative TI schema | relTI | Ordinal | classical |
| TI as a theorem of IGA | gi_TI, gi_WF_TI | IGA | grounded |
| TI at an open order | parWF, gi_WF_TI_par | IGA | grounded |
| comparability of well-orderings as one sentence | oiga_cwo_sentence | Combined | grounded |
| order; transfer; CNF order (Thm. 5.3) | gi_WF_omega_omega, gi_WF_exp_hyp, gi_WF_cnf | IGA | grounded |
| the instance | gi_WF_epsilon0 | IGA | grounded |
| CNF datatype, coding, exactness | cnf, cnf_code, cnf_denote, decode_surj | IGA | def., classical |
| codes of one form incomparable | cnf_same_decode_incomparable | IGA | classical |
| HOL's (Thm. 5.4) | epsilon0_wf | IGA | classical |
| Veblen order and denotation | vOp, veb_denote, vCn | IGA | def. |
| ; certificate (Thm. 5.5) | gi_acc_phi_fin, vOrd_canon_ordinal | IGA | grounded |
| segment below in HOL | veblen_fin_wf | IGA | classical |
| transitivity, irreflexivity; trichotomy fails on codes | vk_it_trans, vk_it_irrefl, vOrd_tri_fails | IGA | grounded / classical |
Goodstein and the hydra (§6)
| Statement | Isabelle name | Session | View | |
|---|---|---|---|---|
| index trees; run; ordinal map | prGstep, prGrun, prGord, prCov | IGA | def. | |
| Goodstein's sentence; decrease lemma | gGood, gDec | IGA | def. | |
| termination from decrease | iga_goodstein_of_decrease | IGA | grounded | |
| decrease lemma derived; Goodstein (Thm. 6.1) | gDec_derivable, iga_goodstein | IGA | grounded | |
| the four strong inductions and the bound | M_inst, BC_inst, MONO_inst, VALID_inst; psi_UB_full | IGA | grounded | |
| HOL's Goodstein through soundness | goodstein_hol_unconditional | IGA | classical | |
| hydra coding; chop; ordinal map | hychop, hyord, prHyStep | IGA | def. | |
| every chop decreases (HOL) | hyord_chop_lt | IGA | classical | |
| generic engine | iga_termg_of_decrease | IGA | grounded | |
| hydra from decrease; the decrease lemma derived; the hydra (Thm. 6.2) | iga_hydra_of_decrease, hyd_hDec_derivable, | IGA | grounded | |
| the internal decrease and the order theory | hyd_Chop_lt, hyd_Lt_cnfL, hyd_Ins_mono2 | IGA | grounded | |
| decrease true in the omega model | omv_hDec | IGA | classical | |
| three HOL readings | hydra_hol, hydra_hol_direct, hydra_hol_classical | IGA | classical | |
| Truth ($7) | ||||
| the body and the term; positive | trPhi, trmTr, pos_trPhi | IGA | def., classical | |
| exactness (Thm. 7.1) | tr_omv_iff, tr_omv_iff_hd | IGA | classical | |
| the lfp; false atom not true | tr_eq_lfp, tr_bot_false | IGA | classical | |
| IGA-truth sound; 0 = 1 not provably true | gi_tr_sound, gi_not_tr_bot | IGA | classical | |
| clause laws; induction principle | tr_orT1, tr_allT, tr_ind | IGA | grounded | |
| inversions; case split | trV_or_inv and companions, tr_cases | IGA | grounded | |
| refutation at 0 = 1 (Thm. 7.2) | tr_bot_refuted, gi_tr_bot_refuted | IGA | grounded | |
| determinacy from the open closure obligation | trDetClosure, gi_tr_consistent_values_of_closure | IGA | classical | |
| The price of the classical world ($8) | ||||
| bivalence of accessibility (admissibility) | AccBivR, AccBiv | IGA | def. | |
| WF() iff bivalence (Thm. 8.1) | gi_WF_gamma0_iff_bivalence, gi_WF_gamma0_of_bivalence | IGA | classical | |
| bivalence sound iff WF (Thm. 8.2) | accbiv_omega_sound_iff_wf | IGA | classical | |
| Veblen notation well-founded in HOL; pedigree | veb_wf, gamma0_pedigree, gamma0_accbiv_sound | IGA | classical | |
| one rule: the system and its rule (Thm. 8.3) | giv_calc, accbivS, giv_WF_gamma0_price | Combined | def., classical | |
| one claim (Thm. 8.4) | o_wf_of_gamma0, o_wf_of_gamma0_ctx | IGA | grounded | |
| the claim from WF | o_gamma0 | IGA | grounded | |
| the triangle (Thm. 8.4) | gamma0_triangle, gamma0_iff_bivalence | IGA | classical | |
| adoption: interderivable; sound; consistent | wf_ext_gamma0, gamma0_adopt_wf, gamma0_adopt_sound, gamma0_adopt_consistent | IGA | classical | |
| Bachmann–Howard: triangle; pedigree | bh_triangle, bh_pedigree | IGA | classical | |
| Curry (Thm. 8.5) | curry_explosion, curry_inconsistent, ext_curry_explosion | IGA | classical | |
| Curry through the Liar | liar_explosion_cp | IGA | classical | |
| bivalence shape not admitted at the Liar (Thm. 8.6) | accbiv_shape_explodes_on_liar, cbiv_shape_fails_on_liar | ac- | IGA | classical |
| exact deduction theorem | deduction_theorem_exact | RGA | classical | |
| no-go: motive, residuals | xder_not_motive, xder_not_fold_residual | ConOGA | classical | |
| the no-go instantiated by IGA | iga_not_motive, iga_not_fold_residual, iga_not_iResGuard | IGA_NoGo | classical | |
| OGA contains PA | oga_contains_pa | OGA | grounded | |