Documentation

ReflectiveSubsystems.AxiomAuditFoundation

Axiom audit (Foundation side) โ€” machine-ENFORCED axiom-cleanliness ([Decoupling] appendix) #

Provenance: [Decoupling] appendix ("Every theorem is #print axioms -clean"). This file turns that prose claim into a build-time guarantee: each #guard_msgs in #print axioms โ€ฆ below fails lake build if the theorem's axiom set ever drifts from the asserted one. Reached from the root ReflectiveSubsystems umbrella, so a routine lake build enforces it.

Every guarded theorem is fully axiom-clean โ€” [propext, Classical.choice, Quot.sound], the standard triple, with no named axioms anywhere. This now includes the parallel ๐—œ๐šบโ‚ witnesses: Foundation's ๐—œ๐šบโ‚/๐—ฃ๐—” ฮ”โ‚-definability is a theorem (an anonymous instance in its Incompleteness/Definability.lean, discharged upstream), so the ๐—œ๐šบโ‚ capstones are axiom-clean alongside the ๐—ฃ๐—”โป ones (finite theory, ฮ”โ‚ via Theory.ฮ”โ‚.ofFinite) and the generic adapter. So a guard here breaks the build if any axiom โ€” standard or named โ€” is ever added. (whitespace := lax) normalizes the pretty-printer's line wrapping of the axiom list.

Guard-gap closure โ€” the ยง5.3/ยง6 incompleteness discharge #

(ReflectiveSubsystems/GodelComplete.lean)

The axiom-clean generic adapter that discharges the imported ReflectiveSubsystems.Incompleteness hypothesis via upstream FormalizedFormalLogic/Foundation (first discharged at rev b47cf447, re-verified at each pin bump since), plus its two concrete ๐—œ๐šบโ‚ witnesses. Per that file's BAR the adapter is axiom-clean, and the ๐—œ๐šบโ‚ witnesses are too โ€” Foundation's ๐—œ๐šบโ‚/๐—ฃ๐—” ฮ”โ‚-definability is a theorem (an anonymous instance in its Incompleteness/Definability.lean, discharged upstream) โ€” so nothing here carries a named axiom.

The unconditional excess order (ReflectiveSubsystems/ExcessOrderComplete.lean) #

Composing the discharge above with the [Decoupling] ยง6.4 threshold removes the incompleteness antecedent from ReflectiveSubsystems.Outgrows: at a concrete arithmetic there is a Gรถdel size where the delivered reflective object represents an underivable truth outright. The ๐—ฃ๐—”โป route is axiom-clean via finiteness (Theory.ฮ”โ‚.ofFinite), so no named axiom appears.

The growing healer crossing package (ReflectiveSubsystems/GrowingHealerExcess.lean) #

The growing healer world's guest ([Guests] ยง3/ยง5) composed with the uniform ๐—ฃ๐—”โป excess above: a Gรถdel size fixed with the theory that every time past some tโ‚€ hosts, with the reflective object delivered at that time's own budget. Axiom-clean via the same ๐—ฃ๐—”โป finiteness route.

The reflection progression (ReflectiveSubsystems/ReflectionProgression.lean) #

The crossing recurrence over each step of the reflection progression โ€” both at the hidden selector (chosen via Classical.epsilon) and at the explicit selector (Foundation's own Gรถdel sentence, exhibited).

The generalized crossing (ReflectiveSubsystems/GrowingCoreCrossing.lean) #

eventually_hostsAt's fixed budget t + 1 pulled back to an arbitrary monotone unbounded budget profile โ€” hostsAt_mono is the whole glue, so this needs nothing beyond the package above.

The block-pair host's ๐’ฎ_E overlap (ReflectiveSubsystems/BlockPairOverlap.lean) #

The certified block-pair host, packed onto its numeral carrier and read through its own counter register, is simultaneously a member of ๐’ฎ_E and of ๐’ฎ_L โ€” one update, one code region, one numeral set. Axiom-clean via the same ๐—ฃ๐—”โป finiteness route as the packages above.

The class-level overlap (ReflectiveSubsystems/TapeHostOverlap.lean, #

ReflectiveSubsystems/BlockPairCriterion.lean)

The class-level overlap over an arbitrary host and profile, at IN-24's coupling standard (one Gรถdel size shared by the class's own capacity clause and the crossing clause), and the certified block-pair sequence's own instance of it. Both route through ReflectiveSubsystems.grownGuestReachesThresholdAt_uniform, hence ๐—ฃ๐—”โป, the same finiteness route as the packages above โ€” not ReflectiveSubsystems.BlockPairHost.witness_overlap's own decoupled numerals, which stay untouched.

A member of both route-classes carries survival, by redundancy #

(ReflectiveSubsystems/TapeHostSurvival.lean)

The base-plus-fiber composite (the tape host's own substrate with a P-copy redundant floored fiber added as extra memory) is a member of ๐’ฎ_E, via ReflectiveSubsystems.grownGuestReachesThresholdAt_uniform, the same ๐—ฃ๐—”โป finiteness route as the packages above. The capstone bundles that membership with the composite's ๐’ฎ_L membership and its own survival by redundancy, so it routes through ๐—ฃ๐—”โป too.

Chaitin's incompleteness theorem as a reflection-progression sentence selector #

(ReflectiveSubsystems/ChaitinProgression.lean)

chaitinSelector instantiates TheoryProgression.SentenceSelector at base ๐—ฅโ‚€ from chaitin_theorem; the capstone recurrence restated at it (ReflectiveSubsystems.chaitin_accreting_progression, in ReflectiveSubsystems/ReflectionProgression.lean) is axiom-clean too.

The prefix-Chaitin progression's rate (ReflectiveSubsystems/ChaitinPrefixProgression.lean) #

prefixChaitinSelector places the Chaitin sentence on KB at each theory's own additive threshold; the strict-increase theorems and the no-uniform-naming corollary are axiom-clean.

KB's Elias bound and the progression's assembly (AIT/EliasBound.lean, #

ReflectiveSubsystems/PrefixEliasKB.lean)

The Elias decoder eliasDecoder, its own halting domain prefix-free, the unabsorbed Elias bound KB_le_size_add_two_mul_size_size, its corollary KB_le_two_mul_size โ€” the other of prefixChaitinProgression_not_uniform_of's two hypotheses โ€” and the progression's non-uniformity theorem put together from both, with its non-vacuity witness.

The model cost on the prefix machine (AIT/PrefixModelCost.lean) #

KB related to K_bitlen, KP, and ruleComplexity, each over a partial-map invariance and/or an unabsorbed Elias bound for KB taken as hypotheses, and each with an unconditional corollary discharging every one of those hypotheses at a landed statement.

The index cost of a description (ReflectiveSubsystems/IndexCost.lean) #

SizeLaw (codelen''s growth law at pair/comp), Code.const's own growth law proved from it, NestSpec and DecoderSpec (the nest's own facts and a decoder reading it back through univPrefix, both proved outright), the conditional theorem assembling all three into K_bitlen x โ‰ค 32 * KB x + c, and that bound unconditional โ€” guarded here rather than in ReflectiveSubsystems/AxiomAuditMathlib.lean because ReflectiveSubsystems.IndexCost's import closure reaches Foundation through AIT.PrefixInvarianceKB.