import ZeroParadox.Order.Snap import ZeroParadox.Ordinal.SnapNucleus import ZeroParadox.Ordinal.SnapNucleusConstructive import ZeroParadox.Category.DoubleNegationNucleus import ZeroParadox.Category.ExcludedMiddleBridge import ZeroParadox.Valuation.PoleChartSelection import ZeroParadox.Ordinal.SyntacticCollapse import ZeroParadox.Computability.RootCutTrichotomy import ZeroParadox.Computability.ChoicePurityInvariant import ZeroParadox.Settheory.Wall import ZeroParadox.Ordinal.OrdinalChoiceEssential import ZeroParadox.Category.LawvereTaboo import ZeroParadox.Computability.SelfCopyReference import ZeroParadox.Order.PataraiaChoiceFree import ZeroParadox.Order.PataraiaFromBourbakiWitt import ZeroParadox.Reals.OrderedField import ZeroParadox.Valuation.PoleRegistration import ZeroParadox.Die import ZeroParadox.Information.CrossingTrials import ZeroParadox.Information.TapeHalting import ZeroParadox.Valuation.TowerTape import ZeroParadox.Information.PoleWithinEnsemble /-! # Machine-checked characterization index of the framework's relationship to `Classical.choice` An index of the framework's relationship to `Classical.choice`, an ambient Lean axiom and not a framework object. Every indexed name is `#check`ed, so the `import`s recompile each home file; it creates no declarations. The `#check`s cannot overclaim; the comments can, so read every line that is not a `#check` as unverified prose. Long form: `ZeroParadox/Category/ChoiceCannotBe.md`. ## Engineer's Take We have built what bottom is not, and what the snap is not. The same kind of file for what choice is not was in order, as a way to organize and reference that object. --- -/ section ChoiceCannotBeIndex /-! ## § I. What choice is NOT — choice-free proofs, beside the classical proofs they replace Each `ZeroParadox` entry below has its footprint in its home file's `PurityCheck` section; the two Mathlib entries at the end were measured with `#print axioms` directly. "NO axioms" means the fully axiom-free footprint; `[propext]` means propositional extensionality only. -/ -- The framework's central theorem. T-SNAP's shape in its `MachinePhase` chart (`c₀ ≠ c₁`, -- `join c₀ c₁ = c₁`) depends on NO axioms at all — not choice, not -- `propext`, not `Quot.sound`. Whatever else the corpus carries, T-SNAP itself carries nothing. #check @ZeroParadox.t_snap_derived -- The excluded-middle modality ITSELF is choice-free: `a ↦ aᶜᶜ` as a genuine `Nucleus`, `[propext]`. -- The point of the direction fence: had this leaked `Classical.choice` it would have been routing -- through Diaconescu to build the very thing Diaconescu delivers. #check @ZeroParadox.dnegNucleus -- The lemma that made it possible, and the worked ACCIDENTAL case. Mathlib's `compl_compl_inf_distrib` -- proves meet-preservation via `sup`/`compl_sup_distrib` and reports `Classical.choice`; this re-proof -- stays on the MEET side and measures `[propext]`. The `sup` route is where the classical dependency -- enters — that is the localization, not a general principle. #check @ZeroParadox.dneg_inf_distrib -- Selecting a chart at a two-ended pole: NO axioms. This is the direct refutation of the naive reading -- that "viewing the pole as definitely the floor is an act of choice." Given `x₀ : X`, on `OnePoint X` -- a selector exists that is constant on the pole orbit of `x₀`; empty `X` is not covered. #check @ZeroParadox.chart_selection_is_freeG -- The metric-collapse content on the syntactic side: `[propext]`. Contrast the measured -- `[propext, Classical.choice, Quot.sound]` on `tower_converges_to_zero`, which is STATEMENT-CARRIED -- (statement control, measured 2026-10-08). **These are DIFFERENT -- statements on DIFFERENT carriers, not one statement rephrased** — the bridge `synVal` = 2-adic -- valuation is proved on the tower only (`synVal_tower_eq_valuation`, -- `ZeroParadox/Ordinal/CnfBridge.lean`), and its statement carries choice. So this is -- EVIDENCE that the choice in the ℤ_[2] statement is Mathlib-imposed, not a demonstration that the metric -- collapse is choice-free. See `ZeroParadox/Ordinal/SyntacticCollapse.md`'s "What this does NOT establish". #check @ZeroParadox.synCollapse_epsN #check @ZeroParadox.synVal_mono -- The ν-side inhabitation witnesses at the root cut: NO axioms. These matter because they REFUTE the -- general form of "choice enters precisely where the diagonal fixed point is asserted inhabited." -- Inhabiting a non-well-founded (greatest) fixed point can be entirely choice-free. FENCE: the -- refutation is functor-specific, not universal — the QPF `Cofix` route in -- `ZeroParadox/Computability/ChoicePurityInvariant.lean` -- (`cofix_nonempty'`) DOES carry `Classical.choice`. Located exactly, measured 2026-08-03: the M-type -- FORMER and its constructors are axiom-free (`PFunctor.M`, `M.mk`, `M.corec`), its DESTRUCTOR is -- not -- (`M.children`, `M.dest` carry `[propext, Classical.choice, Quot.sound]`), and `QPF.Cofix` inherits -- from the destructor through `Mcongr`/`IsPrecongr`. The two `#check`s below are axiom-free because -- they only BUILD and never destruct. So: the general claim -- is false; the per-functor question stays open case by case. #check @ZeroParadox.strict_cofix_nonempty #check @ZeroParadox.mixed_cofix_nonempty -- The μ side of the same fork, emptiness witnessed by the bare inductive `WType` eliminator: NO axioms, -- strictly tighter than `fix_isEmpty`'s (`[propext, Quot.sound]`). #check @ZeroParadox.fix_isEmpty_constructive -- Statement: `boundaryDouble` is one-to-one, not onto, and has exactly one fixed point; measured -- `[propext, Quot.sound]`. That the point is `botEnd` is `boundaryDouble_botEnd` with -- `boundaryDouble_unique_fp` (`ZeroParadox/Valuation/PoleCompletion.lean`), not this type. #check @ZeroParadox.boundaryDouble_selfCopyRef -- Statement: along a GIVEN `α ≃ ℕ`, a `SelfCopyRef` map exists on `α`; measured `[propext, Quot.sound]`. #check @ZeroParadox.selfCopyRef_of_equiv_nat -- Statement: an ACCIDENTAL case — over `[Finite]` no `SelfCopyRef` map exists, re-proved by list -- pigeonhole at `[propext, Quot.sound]`, a statement whose constants measure no axioms; -- `no_selfCopyRef_of_finite` takes Mathlib's `Finite.injective_iff_surjective` route and reports -- `Classical.choice`. The `example` after the re-proof in its home file derives that statement. #check @ZeroParadox.no_selfCopyRef_of_finite_constructive -- Statement: the `[Fintype] [DecidableEq]` form, by the same pigeonhole, measured `[propext, -- Classical.choice, Quot.sound]`: STATEMENT-CARRIED through the `[Fintype α]` binder, since `Fintype` -- itself reports that triple under the pinned Mathlib (printed in the home file's PurityCheck). -- Reading: both instance readings, neither denied: under `[Fintype]` the statement carries the choice -- and no proof drops it; under `[Finite]` the same pigeonhole runs without it (§ III, STATEMENT-CARRIED -- IS INSTANCE-RELATIVE). #check @ZeroParadox.no_selfCopyRef_of_fintype -- Statement: an ACCIDENTAL case — Pataraia's theorem (monotone `f` on `[CompletePartialOrder α]` has a -- fixed point below every fixed point), proved via Bourbaki–Witt, measured `[propext, Classical.choice, -- Quot.sound]`. #check @ZeroParadox.dcpo_exists_least_fixedPoint -- Statement: a fixed point below every PRE-fixed point, measured NO axioms; the `example` after it in -- its home file derives the statement above from it in one line. #check @ZeroParadox.pataraia_least_prefixedPoint -- Statement: Pataraia induction — for monotone `f` on `[CompletePartialOrder α]`, a set containing `⊥`, -- closed under `f` and under sups of nonempty directed subsets, contains every fixed point lying below -- every fixed point; proved via Bourbaki–Witt, measured `[propext, Classical.choice, Quot.sound]`. #check @ZeroParadox.pataraia_induction -- Statement: the same signature as `pataraia_induction`, measured NO axioms. #check @ZeroParadox.pataraia_induction_constructive -- Statement: Mathlib, on a nonempty chain-complete partial order every inflationary `f` -- (`x ≤ f x`) has a fixed point; measured `[propext, Classical.choice, Quot.sound]`. -- Reading: both classical proofs above call it. #check @ChainCompletePartialOrder.nonempty_fixedPoints_of_inflationary -- Statement: for any `x y` of any `Sort`, `x = y ∨ x ≠ y`; measured -- `[propext, Classical.choice, Quot.sound]`. -- Reading: the case split in both classical proofs' chain-to-directed step. #check @eq_or_ne -- Reading: scoped to the ORDER-THEORETIC principle; `⊥` here is the dcpo's least element, and whether a -- ZP carrier is a dcpo with a monotone self-map is not claimed. /-! ## § II. What choice is NOT to be confused with — the excluded-middle boundary The modality of §I generates classical LOGIC — excluded middle — which is strictly weaker than **full** choice (Cohen 1963). The RESTRICTED fragment is a different matter: see `ZeroParadox/Category/ChoiceCannotBe.md`. This section indexes the boundary and its scope fence. -/ -- What the modality's closed points actually are: the regular elements `aᶜᶜ = a` — the Boolean core. -- That is the whole of "generates classical logic", and it is NOT choice. #check @ZeroParadox.dnegNucleus_isClosed_iff -- Excluded middle ⟺ every `Prop` is a closed point of the nucleus. Scoped to `Prop`; see the fence below. #check @ZeroParadox.em_iff_dnegNucleus_trivial -- DIACONESCU, hypothesis form: a choice fragment implies excluded middle. PRIOR ART, not a framework -- result: Diaconescu (1975), "Axiom of choice and complementation"; the analogue in intuitionistic set -- theory is Goodman–Myhill (1978), "Choice implies excluded middle". The framework contributes only the -- hypothesis-form packaging in Lean: Lean core (`Init/Classical.lean`) proves `Classical.em` from the -- axiom `Classical.choice` by the same argument, a theorem about that axiom rather than one taking a -- choice principle as a hypothesis; the Rocq hypothesis forms are cited in § IV (`Diaconescu.v`). -- DIRECTION, stated precisely. Diaconescu's theorem is an EQUIVALENCE between two topos properties -- (p. 176), with choice implying complements as its corollary (p. 178). It already concerns a two-point -- shape: his construction (pp. 176-177) is a coequalizer of two disjoint monomorphisms, and such a -- coequalizer has fibres of at most two points. Goodman–Myhill state the restriction explicitly, -- choice "for sets B, C of at most two elements" (p. 461). With unique choice into `Bool`, -- `ChoiceFragment` and `ExcludedMiddle` are -- inter-derivable (see `ZeroParadox/Category/ExcludedMiddleBridge.lean`, the `example` after `em_of_choiceFragment`). "The converse fails" -- belongs to FULL AC and is Cohen 1963, not Diaconescu. -- Reading: in `ZeroParadox/Category/ExcludedMiddleBridge.lean` the natural construction of the fragment -- from `ExcludedMiddle` fails to elaborate without `classical`, and a candidate explanation is Lean's -- `Prop`/`Type` stratification. A failed construction is not a non-derivability result, so this is a -- candidate, not a finding. #check @ZeroParadox.em_of_choiceFragment -- THE SCOPE FENCE. Excluded middle does NOT make an arbitrary Heyting algebra Boolean: the middle -- element of the three-element chain has `1ᶜᶜ = 2 ≠ 1`, exhibited inside a classical metatheory where -- excluded middle is fully available. Scope every "collapses the nucleus" claim to `Prop`. #check @ZeroParadox.fin3_middle_not_closed_point -- The Lawvere boundary underneath all of it: logical negation has no fixed point, `¬(p ↔ ¬p)`. #check @ZeroParadox.negation_no_fixedpoint -- Statement: the limited principle of omniscience at ⊥ of `ℕ → Bool` (the all-false tape, pointwise -- order): every tape is ⊥ or has a witnessed `true` is equivalent to the weak limited principle of -- omniscience (every tape is ⊥ or is not ⊥) together with Markov's principle (a tape that is not ⊥ -- has a witnessed `true`). -- Reading: the standard ladder, not a finding. This bit-tape form (α ∈ 2^ℕ) is Escardó, "Infinite -- sets that satisfy the principle of omniscience in any variety of constructive mathematics", -- J. Symbolic Logic 78(3) (2013) 764–784, doi 10.2178/jsl.7803040, § 3, which also restates all three -- as questions about the point ∞ = 1^ω of ℕ∞; with `true` and `false` exchanged, that point is this ⊥. -- The form over ℕ^ℕ is Ishihara, "Reverse mathematics in Bishop's constructive mathematics" -- (Philosophia Scientiae CS 6, 2006), § 6, Prop 10.1, p. 53. The named principles and the arrows among -- them are `ZeroParadox/Category/LawvereTaboo.lean` § V. example : (∀ f : ℕ → Bool, f = ⊥ ∨ ∃ n, f n = true) ↔ (∀ f : ℕ → Bool, f = ⊥ ∨ f ≠ ⊥) ∧ (∀ f : ℕ → Bool, f ≠ ⊥ → ∃ n, f n = true) := by refine ⟨fun h => ⟨fun f => (h f).imp id fun ⟨n, hn⟩ heq => ?_, fun f hf => (h f).resolve_left hf⟩, fun ⟨hw, hm⟩ f => (hw f).imp id (hm f)⟩ rw [heq] at hn; cases hn -- Statement: the same decision at the same ⊥ (LPO's shape), as continuity rather than logic: no continuous Boolean -- test on `ℕ → Bool` (product topology) is `true` exactly on the tapes with a `true`, and any such -- test fails to be continuous at ⊥ of `ℕ → Bool`. Home: `ZeroParadox/Information/CrossingTrials.lean` -- § IX, with the converse direction (a test fixed by one finite prefix is continuous). -- Reading: (cited, not claimed) Weihrauch, *Computable Analysis* (Springer 2000), Thm 2.2.3, p. 30: -- computable implies continuous, so no machine computes that total test either. #check @ZeroParadox.no_continuous_test_fires_once #check @ZeroParadox.not_continuousAt_bot_of_decides_fires_once -- Statement: discontinuous at ⊥ /-! ## § III. What IS established about choice here Not "what choice is" — that is Lean's, not the framework's. What this corpus has actually measured or proved about where choice does work. -/ -- A CHOICE-CARRYING CASE, indexed on purpose. Everything in § I is a negative result, which risks -- reading as "the framework is choice-free". It is not, and this entry is the counterweight. -- Statement: `Nonempty (Cofix idPF_Coalgebra.Obj)` — the ν side is inhabited. Footprint measured -- `[propext, Classical.choice, Quot.sound]`. -- Measurement (2026-08-03, about the AMBIENT TYPES rather than about this declaration — hence no -- Statement:/Reading: label, which belong to claims about the checked decl): `QPF.Cofix` carries -- `Classical.choice` IN THE TYPE, so no proof of any `Cofix`-mentioning statement is choice-free; -- while `PFunctor.M`'s former and constructors are axiom-free (its DESTRUCTOR is not) and -- `strict_cofix_nonempty` proves the same ν-inhabitation over -- it with NO axioms. -- Reading: the framework therefore attributes this footprint to Mathlib's QPF *quotient layer* -- rather than to the mathematics — escaping it means changing the carrier, not cleaning the proof. -- (Setting: ACS's construction needs only function extensionality, which Lean has; only its -- uniqueness half uses univalence. See `ZeroParadox/Computability/ChoicePurityInvariant.md`.) -- Contrast `strict_cofix_nonempty` (§ I, NO axioms): same phenomenon, different construction, -- opposite footprint. That contrast is the STATEMENT-CARRIED class in one pair: the statement carries -- the choice, and a restatement on a choice-free carrier holds without it -- (`ZeroParadox/Category/ChoiceCannotBe.md`). #check @ZeroParadox.cofix_nonempty' -- THE TWO MODALITIES, side by side — the comparison a reader arrives wanting. `snapNucleus` -- (⊥ of `Ordinal` ↦ ε₀) inherits `Classical.choice` from Mathlib's `Ordinal` fixed-point machinery; -- `dnegNucleus` (§ I) is `[propext]`. Both are difference-generators seeded at their carrier's ⊥ — -- negation satisfies `a ⇨ ⊥ = aᶜ` (the class law `himp_bot`), and `HeytingAlgebra` extends `OrderBot`, -- so ⊥ of the Heyting algebra is part of the structure negation lives in. Same role, different -- carriers, opposite footprints, and -- opposite behaviour AT the seed: `dnegNucleus` fixes ⊥ of the Heyting algebra (⊥ is always regular), -- `snapNucleus` provably moves ⊥ of `Ordinal` (`snapNucleus_bot_ne_bot`). On the footprint difference: -- `snapNucleus` is STATEMENT-CARRIED (`ZeroParadox/Category/ChoiceCannotBe.md`): `Nonempty (Nucleus -- Ordinal.{0})` and `snapNucleus ⊥ ≠ ⊥`, with no proof attached, already carry the choice (their statement -- controls, `#check`ed below and printed in `ZeroParadox/Ordinal/SnapNucleus.lean`'s purity block), so no -- proof of these statements can drop it. What ZP-N re-proved is the ordinal -- *ascent* (`exp_lt_term`, `omegaPow_no_fixedpoint`, `tower_strictMono` on `ONote`), which is suggestive -- for the nucleus and is not the nucleus. Choice is NOT in the `Ordinal` type: `Ordinal` measures -- `[propext, Quot.sound]`. The choice -- enters through the order instance and the operations (`Ordinal.instLinearOrder`, `nfp`, `omega0`, -- `epsilon`, each `[propext, Classical.choice, Quot.sound]`). The remaining question is a restatement on -- a carrier whose statements are choice-free, with two readings: a defined one, in Lean on `E0Note`, and -- a derived one, on a well-founded carrier, not located as of 2026-10-13; both, with the search record, -- are in `ZeroParadox/Ordinal/SnapNucleus.md` § "Axiom footprint". #check @ZeroParadox.snapNucleus #check @ZeroParadox.snapNucleus_bot_ne_bot -- Statement: the two statements above as bare propositions, the statement controls. #check @ZeroParadox.snapNucleusNonemptyStatement -- Statement: `snapNucleus ⊥ ≠ ⊥` at universe 0, bare. #check @ZeroParadox.snapNucleusBotStatement -- THE SAME LOCATION FOR `Code`, measured 2026-09-19: -- `Nat.Partrec.Code` is axiom-free and so is `Nat.Partrec.Code.eval`, so the choice is not "in -- the `Code` type" either. It enters through Mathlib's `Denumerable Code` instance, reached by -- `Encodable.encode` — so the two SPELLINGS of one code's Gödel number differ: -- `ZeroParadox.encodeCode_self` measures NO axioms while `ZeroParadox.encode_self` carries the -- triple, although `encode = encodeCode` holds by `rfl`. Both are `rfl` and do no work. -- Home: `ZeroParadox/Computability/Kleene.lean` § VII declares the pair; its `PurityCheck` -- section emits the two `#print axioms` lines. ⚠ Prose, not a `#check` — this index does not -- import `Kleene.lean`, so read it as unverified here and check it there. -- ⛔ NO RULE about which declarations carry this footprint is stated here or in ZP-K § IV (a claim -- about those two sites, not a swept absence claim about the corpus). ZP-K § IV holds a dated -- measurement table instead, which is `ZeroParadox/Category/ChoiceCannotBe.md`'s § "No count is -- recorded here" discipline applied to provenance rather than to counts. -- AND THE NATURAL COUNTERPART ROUTE IS BLOCKED — the attempt was made, and it failed provably. -- `no_snap_closure`: no idempotent endomap of the notation carrier has the ε-numbers as its closed -- points. Idempotence alone suffices; `no_snap_nucleus` is the `Nucleus`-typed corollary, and its -- quantifier ranges over an inhabited type: `idNucleus` is a nucleus on that carrier. -- **READ THE OBSTRUCTION CORRECTLY — it is NOT about choice.** Every proof in that file is `[propext]`. -- What blocks the counterpart is EXPRESSIVE REACH: the carrier cannot name what the closure produces, -- because ε₀ is the supremum of Cantor normal form rather than a member. So this does NOT make -- `snapNucleus`'s footprint accidental, does NOT make it essential, and does NOT show the snap nucleus -- is constructively impossible in general — the obstruction concerns `ONote` only, and a carrier that -- reaches ε₀ is not affected by it (`ZeroParadox/Ordinal/SnapNucleus.md` § "Axiom footprint"). -- It is the current state of the restatement question: blocked on `ONote` by naming, not by choice; -- `snapNucleus` as stated stays STATEMENT-CARRIED. #check @ZeroParadox.no_snap_closure #check @ZeroParadox.no_snap_nucleus #check @ZeroParadox.idNucleus -- Statement: every infinite type carries a `SelfCopyRef` map; measured with `Classical.choice`, UNCLASSIFIED. -- Cited, not claimed: in set theory without choice the analogue is unprovable (Banakh, -- arXiv:2006.01613v4, Rem. 43.14); dependent choice gives a one-to-one, not-onto self-map -- (Prop. 43.12), and the unique fixed point is not in that result. #check @ZeroParadox.exists_selfCopyRef_of_infinite -- The choice fragment is NON-VACUOUS: `Classical.choice` supplies it. Without this, `em_of_choiceFragment` -- could be dismissed as an implication with an unsatisfiable hypothesis. Classical by construction — -- it is the SOURCE end of the arrow. #check @ZeroParadox.choiceFragment_of_classical -- Choice suffices for uniform chart selection at the (stipulated) undetermined pole — again the source -- end, again non-vacuity rather than necessity. #check @ZeroParadox.uniformChartSelection_of_classical -- And the pole's uniform-selection principle IS the choice fragment — definitionally (`Iff.rfl`). The -- pole vocabulary is a renaming, and renaming a hypothesis does not make it true. #check @ZeroParadox.uniformChartSelection_iff_choiceFragment -- THE CONTRAST THAT LOCALIZES THE WORK: when the predicate is DECIDABLE, selection is free — computed -- by `if`, no choice, no excluded middle. So choice is not doing work at "selection"; it is doing work -- at "the predicate is undecided." That is where to look for an essential case, and where the -- framework's own built pole (`builtChartAdmissible`, decidable) is not. #check @ZeroParadox.select_of_decidable -- THE INSTANCE HAZARD — the most practically dangerous item in this index. `Prop` carries TWO relevant -- order instances on the SAME object. `Prop.instBooleanAlgebra` discharges its `top_le_sup_compl` field -- with `Classical.em` and so carries `Classical.choice` IN ITS OWN TERM; `Prop.instHeytingAlgebra` is -- `[propext]`. A `Prop`-scoped statement that does not PIN its instance can silently resolve through the -- Boolean one and acquire choice — which would make every choice-freeness claim about `Prop` vacuous. -- Every `Prop`-scoped statement in `ZeroParadox/Category/ExcludedMiddleBridge.lean` pins -- `@… Prop Prop.instHeytingAlgebra` explicitly for this reason. Pin the instance, or measure nothing. #check @Prop.instHeytingAlgebra #check @Prop.instBooleanAlgebra -- STATEMENT-CARRIED IS INSTANCE-RELATIVE — one statement text, two definitionally equal instances, -- opposite footprints. The same hazard as the entry above, on `WithTop`: Mathlib's order instances -- there go through `WithTop.le_def`, proved by `grind` (`ZeroParadox/Order/ChoiceFreeWithTop.lean`). -- Statement: Mathlib's `WithTop` preorder, partial order and least element carry -- `[propext, Classical.choice, Quot.sound]` (printed next). #print axioms WithTop.instPreorder #print axioms WithTop.instPartialOrder #print axioms WithTop.instOrderBot -- Statement: the corpus's preorder, partial order and least element over the same `≤` and `<` -- (`WithTop.instLE`, `WithTop.instLT`) measure no axioms (printed next). #check @ZeroParadox.withTopPreorderCF #print axioms ZeroParadox.withTopPreorderCF #print axioms ZeroParadox.withTopPartialOrderCF #print axioms ZeroParadox.withTopOrderBotCF -- Statement: on `WithTop ℕ` the two preorders are definitionally equal. example : (WithTop.instPreorder : Preorder (WithTop ℕ)) = ZeroParadox.withTopPreorderCF := rfl -- Statement: `BotCovered (WithTop σ) ↔ BotCovered σ`, elaborated under the corpus's instances; its -- footprint, no axioms, is printed in `ZeroParadox/Die.lean`'s PurityCheck. #check @ZeroParadox.botCovered_withTop_iff -- Statement: the same proof term proves the same statement text elaborated under Mathlib's instances, -- whose elaborated type names `WithTop.instPartialOrder` and `WithTop.instOrderBot`, printed above. example {σ : Type} [PartialOrder σ] [OrderBot σ] [NoMaxOrder σ] : ZeroParadox.BotCovered (WithTop σ) ↔ ZeroParadox.BotCovered σ := ZeroParadox.botCovered_withTop_iff -- Reading: both sides, neither denied. Read under Mathlib's instances the statement carries -- `Classical.choice`, since `#print axioms` walks the type (`_trivialAboutZ2` in -- `ZeroParadox/Valuation/Scale.lean`), and no proof of it can drop it (STATEMENT-CARRIED, -- `ZeroParadox/Category/ChoiceCannotBe.md`); read under the corpus's, the same text carries none. So -- the bin is a property of the elaborated statement, instances included, and neither reading says the -- mathematics needs choice. -- THAT a tape's first hitting time halts, against WHEN, footprints from the home files' PurityChecks. -- Statement: `toComp (det w)` terminates iff some `w k = true`; measured `[propext, Quot.sound]`. #check @ZeroParadox.toComp_det_terminates_iff -- Statement: the exact halting step is the first firing; measured `[propext, Classical.choice, Quot.sound]`. -- Reading: it enters at `toComp_results_iff` (Mathlib's `Computation.Results`); `det_eq_ofNat_iff`, -- the same step on the `NInf` side, measures `[propext, Quot.sound]`. Statement-carried: not measured. #check @ZeroParadox.toComp_det_results_iff #check @ZeroParadox.det_eq_ofNat_iff -- Statement: `det w = ofNat n` iff `n` is the first `true` -- Statement: `NInf ≃o ℕ∞` (`orderIsoWithTopClassical`), the map depth in `ℕ∞` is read through. -- Reading: a separate cost from the one above: any order isomorphism `NInf ≃o WithTop ℕ` gives LPO -- (`NInf.lpo_of_iso`), so reading the waiting time as a value of `ℕ∞` carries a taboo. #check @ZeroParadox.waitENat #check @ZeroParadox.NInf.wlpo_of_iso -- Statement: an order isomorphism `NInf ≃o WithTop ℕ` gives WLPO #check @ZeroParadox.NInf.lpo_of_iso -- Statement: an order isomorphism `NInf ≃o WithTop ℕ` gives LPO; measured `[propext, Quot.sound]` -- Statement: conversely, a `PSum (∃ n, r n = true) (∀ n, r n = false)` for every `r : ℕ → Bool`, LPO -- as data, gives an order isomorphism `NInf ≃o WithTop ℕ`; measured `[propext, Quot.sound]`. #check @ZeroParadox.NInf.isoOfLPOData -- The pole within a pole, limit form against value form, footprints from the home files' PurityChecks. -- Statement: the local floor's subtape is ⊥ of `ℕ → Bool`, `det` ⊤ of `NInf`; measured `[propext, Quot.sound]`. #check @ZeroParadox.localFloor_subtape_pole_limit -- Statement: the same plus `localCx v (localBotEnd v) = ⊤` in `ℕ∞`; measured `[propext, Classical.choice, Quot.sound]`. #check @ZeroParadox.localFloor_subtape_pole -- Statement: tower members' subtape waits are `ofNat n` in `NInf`; measured `[propext, Quot.sound]`. #check @ZeroParadox.tower_pole_within_pole_limit -- Statement: their `localCx` is `n`, tending to ⊤ of `ℕ∞`; measured `[propext, Classical.choice, Quot.sound]`. #check @ZeroParadox.tower_pole_within_pole -- Statement: along a pointwise approach to ⊥ of `ℕ → Bool`, `det` passes every `ofNat N`; measured `[propext, Quot.sound]`. #check @ZeroParadox.det_ge_of_approach -- Statement: `localCx`, named in the value forms' statements, carries `Classical.choice` (printed next). #print axioms ZeroParadox.localCx -- Reading: the same divergence, two bins: as a limit in `NInf`, no choice; as a value in `ℕ∞`, through -- `localCx` (an `endVal`, equal to a `waitENat` value by `endVal_eq_wait`; any `NInf ≃o ℕ∞` gives LPO, -- `NInf.lpo_of_enatIso`, `ZeroParadox/Valuation/DepthIsWait.lean`). -- The random limit against the explicit limit, footprints from the home file's PurityCheck. -- Statement: random firing tapes with halting runs approach ⊥ of `ℕ → Bool` pointwise, `det` passing -- every `ofNat N`; measured `[propext, Classical.choice, Quot.sound]`. #check @ZeroParadox.pole_within_ensemble_limit -- Statement: the same limit along the explicit tapes `fireAt n`; measured `[propext, Quot.sound]`. #check @ZeroParadox.pole_limit_explicit -- Statement: `MLRandom` and `randFiring`, named in the random limit's statement, carry -- `Classical.choice` (printed next), so no proof of that statement can drop it. #print axioms ZeroParadox.MLRandom #print axioms ZeroParadox.randFiring -- Reading: choice attaches to typicality, not to the limit: `MLRandom`'s type carries it (it takes a -- `Measure`), and the explicit statement, which names no measure, does not. /-! ## § IV. The ESSENTIAL cases — reductions to taboos, and the premise they rest on The arrow runs from each principle (cases 1 to 5 below) to its taboo, so each theorem speaks of the principle, not of any one proof of it. ESSENTIAL, in the sense of § "Accidental versus essential" of `ZeroParadox/Category/ChoiceCannotBe.md`, means that no proof of the principle in Lean's choice-free fragment (the kernel with `propext` and `Quot.sound` as its only axioms) exists, GIVEN that the taboo the case reaches is not derivable in that fragment. That premise is not proved in this corpus; without it, what is proved is that a choice-free proof of the principle would be a choice-free proof of the taboo. No case is an independence result, and none says the framework's overall use of choice is essential. -/ -- Each case is a reduction proved without `Classical.choice` (at most `[propext, Quot.sound]`), from a -- classical principle the framework uses (cases 1 and 2) or states and proves (cases 3 to 5) to a -- constructive taboo. For cases 3 to 5 the classical theorem is a class-level witness that no other -- framework proof names (name grep over `ZeroParadox/**/*.lean`, 2026-10-18: purity, index, -- non-vacuity and `ZeroParadox/AxiomProfile.lean` sites only). Case 1 from comparability of -- well-orders to excluded middle, case 2 from the fixed-point-free principle over arbitrary `Type` to -- weak excluded middle, case 3 from the die's cut-to-piece at ⊥ of `α`, over every partial order `α` -- with a least element on a `Type`, to weak excluded middle, case 4 from a decision of where UP is -- defined on every motion on a `Type` to excluded middle, and case 5 from a data selector of OVER on -- every such motion to excluded middle. -- ESSENTIAL CASE 1 — comparability of well-orders implies EXCLUDED MIDDLE. Mathlib's `le_total` on -- `Ordinal` has exactly this shape, which is what puts it in the framework's path. -- PRIOR ART, not a framework result: Kraus-Nordvall Forsberg-Xu, arXiv:2104.02549, **Theorem 38(d)** — -- there in the DATA form (`⊎`) and as a paper proof, not covered by their Agda development. The -- framework's contribution is the propositional (`∨`) form, on their witnesses. #check @ZeroParadox.em_of_wellOrder_comparable -- Non-vacuity, the source end of the arrow: Mathlib's `InitialSeg.total` supplies the hypothesis and -- spends a literal `Classical.choice` in its final branch. Without this the reduction could be dismissed -- as an implication with an unsatisfiable antecedent. #check @ZeroParadox.comparable_of_classical -- ESSENTIAL CASE 2 — the general fixed-point-free principle implies WEAK excluded middle, and this one -- sits on the KEYSTONE (the diagonal engine) rather than on an imported order instance. Its hypothesis -- is the ∀-closure of `ZeroParadox/Category/Lawvere.lean`'s `fixedPointFree_of_nontrivial` at -- `Type`, and every proof `P` of that theorem's statement instantiates to it, choice-free, as -- `fun _ _ _ hne => P hne` (`fixedPointFree_of_classical` is that instantiation of the classical -- proof), so that theorem's `classical` is essential in the sense of the header above, and on its -- premise. -- Reading (cited, not claimed): related prior art with different statements, Booij–Escardó–Lumsdaine–Shulman, -- arXiv:1701.05617, Thm 3 and Thm 5 (Simpson's proof technique); their statements and the difference from this case are in the -- comment above `wem_of_fixedPointFree` in `ZeroParadox/Category/LawvereTaboo.lean`. #check @ZeroParadox.wem_of_fixedPointFree -- Non-vacuity again: `fixedPointFree_of_nontrivial` supplies the hypothesis, classically by -- construction. Contrast `select_of_decidable` (§ III) — where the predicate is decidable the work -- disappears; the classical content lives at "undecided", not at "chooses". #check @ZeroParadox.fixedPointFree_of_nontrivial -- AND THE ESCAPE, WHICH IS THE HALF THAT MAKES CASE 2 USEFUL RATHER THAN ALARMING. "Essential" scopes -- to the GENERAL principle, quantified over arbitrary `Type`. Restrict the carrier to decidable -- equality and the same statement is choice-free — measured `[propext]`, against the general form's -- `[propext, Classical.choice, Quot.sound]`. `ZeroParadox/Category/DiagonalWitness.lean`'s -- `no_witnessRel_top_of_nontrivial` -- carries the same audit for the level-set form. **Where a carrier has `DecidableEq`, the essential -- form is not needed** — the taboo makes the general statement non-re-provable constructively, on the -- premise in the header above, and the restriction says it does not have to be *there*. Together they -- localize the classical content rather than obstruct it: they say where it lives and how far it reaches. -- SCOPE: how far the escape reaches is UNSURVEYED. Which carriers in this corpus have `DecidableEq` -- was unmeasured as of 2026-08-02, so "the restriction covers what we need" is unverified in general — and a -- universal over every carrier would be the sentence shape -- `ZeroParadox/Category/ChoiceCannotBe.md`'s § "No count" warns about. -- The two `#check`ed declarations are what is established; the reach is not. #check @ZeroParadox.fixedPointFree_of_nontrivial_decidable -- Statement: ESSENTIAL CASE 3 — if a cover of ⊥ gives a two-point first interval (`[⊥, a] = {⊥, a}`) -- in every partial order with a least element on a `Type`, weak excluded middle holds; measured -- `[propext]`. The principle is the converse of `botIntervalTwo_botCovered` (`ZeroParadox/Die.lean`), -- which holds over every such order with no axioms. Its hypothesis is the ∀-closure of -- `ZeroParadox/Die.lean`'s `botCovered_botIntervalTwo_classical`, a bare `classical` written in -- framework source, which instantiates to it as `fun _ _ _ => botCovered_botIntervalTwo_classical` -- (next `example`); so that theorem's `classical` is essential in the sense of the header above, and on -- its premise. #check @ZeroParadox.wem_of_botCovered_botIntervalTwo -- Reading (cited, not claimed): de Jong, "Apartness, sharp elements and the Scott topology of domains", -- MSCS (2023), arXiv:2106.05064v5, Prop 22, p. 7: "Let D be any pointed dcpo that is nontrivial in the -- sense that there exists x ∈ D with x ≠ ⊥. If y = ⊥ is decidable for every y ∈ D, then weak excluded -- middle follows." The reduction is an instance at D = the down-set of `a` in `Prop`, pointed by -- `False` and nontrivial since `a ≠ False`: there the two-point interval gives `c = False ∨ c = a` -- for every `c` in D, hence `c = False ∨ c ≠ False` (next `example`); an instance of theirs, not a -- generalization. -- Statement: the piece at ⊥ of `Prop` gives some `a ≠ False` on whose down-set `{c | c → a}` every -- `c = False` is decided (`[propext]`); ⊥ of `Prop` is pinned to `Prop.instHeytingAlgebra` (§ III's -- instance hazard), since under this file's imports an unpinned `OrderBot Prop` resolves through -- `Prop.instCompleteLattice` and the statement then measures `[propext, Quot.sound]`. example (h : @ZeroParadox.BotIntervalTwo Prop _ (@HeytingAlgebra.toOrderBot Prop Prop.instHeytingAlgebra)) : ∃ a : Prop, a ≠ False ∧ ∀ c : {c : Prop // c → a}, c.1 = False ∨ c.1 ≠ False := by obtain ⟨a, hlt, h2⟩ := h exact ⟨a, hlt.ne', fun c => (h2 c.1 c.2).imp id fun (e : c.1 = a) (hc0 : c.1 = False) => hlt.ne' (e.symm.trans hc0)⟩ -- Statement: non-vacuity: the framework's classical proof supplies the hypothesis. example : ∀ (β : Type) [PartialOrder β] [OrderBot β], ZeroParadox.BotCovered β → ZeroParadox.BotIntervalTwo β := fun _ _ _ => ZeroParadox.botCovered_botIntervalTwo_classical #check @ZeroParadox.botCovered_botIntervalTwo_classical -- Statement: cut ⇒ piece at ⊥, proved with `classical` -- Statement: the escape, as in case 2: with `DecidableEq`, a cover of ⊥ of `α` gives some `a` with -- `[⊥, a] = {⊥, a}`, with no axioms (footprint in `ZeroParadox/Die.lean`'s PurityCheck). #check @ZeroParadox.botCovered_botIntervalTwo -- Statement: beside case 3, and not counted among the cases of this section: its `classical` is -- Mathlib's, not written in framework source as case 3's is, and unlike case 1's principle it is not -- located in the framework's path, since no framework proof names `CovBy.Icc_eq` (not located in -- `ZeroParadox/**/*.lean` as of 2026-10-18, searched for the name `Icc_eq`, the dot form `.Icc_eq` -- and the statement `Icc a b = {a, b}`: index, comment, non-vacuity and this reduction's own sites -- only; use through another Mathlib lemma not measured): Mathlib's principle that every -- cover `a ⋖ b` in every partial order on a `Type` has `Set.Icc a b = {a, b}`, of which the die's -- piece `BotIntervalTwo` is the case at ⊥, gives excluded middle; measured `[propext]`. The reduction -- runs at `Prop`, where ⊥ of `Prop` (`False`) is covered by `True` (`ZeroParadox/Reals/OrderedField.lean` -- § 0, which cites the prior art for that `Prop` case). #check @ZeroParadox.em_of_covBy_Icc_eq -- Statement: non-vacuity: Mathlib's `CovBy.Icc_eq` supplies the hypothesis; its footprint is printed next. example : ∀ (α : Type) [PartialOrder α] (a b : α), a ⋖ b → Set.Icc a b = {a, b} := fun _ _ _ _ h => h.Icc_eq #check @CovBy.Icc_eq -- Statement: Mathlib, `a ⋖ b → Set.Icc a b = {a, b}` #print axioms CovBy.Icc_eq -- Statement: the negative form, nothing strictly between (`CovBy.Ioo_eq`); its footprint is printed next. #check @CovBy.Ioo_eq #print axioms CovBy.Ioo_eq -- Statement: ESSENTIAL CASE 4 — if every motion on every `Type` has a decision of where UP is defined -- (`RegisteredDecidable`), excluded middle holds; measured no axioms. Its hypothesis is the ∀-closure -- of `ZeroParadox/Die.lean`'s `Motion.registeredDecidable_of_classical`, a bare `classical` written in -- framework source, which instantiates to it (next `example`); so that theorem's `classical` is -- essential in the sense of the header above, and on its premise; like case 3's, that theorem is a -- class-level witness no other framework proof names. The hypothesis alone measures no axioms -- (statement control, 2026-10-18), so the class is not STATEMENT-CARRIED. -- Reading (cited, not claimed): PRIOR ART, Escardó and Knapp, CSL 2017, LIPIcs 82, § 2.2, p. 21:4 -- ("every partial element is defined or else undefined is equivalent to ... excluded middle"); the -- reduction runs on `Part Unit`, one direction of theirs (`ZeroParadox/DieCannotBe.lean` § IX). #check @ZeroParadox.Motion.em_of_registeredDecidable -- Statement: non-vacuity: the framework's classical proof supplies the hypothesis. example : ∀ (β : Type) (M : ZeroParadox.Motion β), M.RegisteredDecidable := fun _ _ => ZeroParadox.Motion.registeredDecidable_of_classical -- Statement: every motion has a decision of definedness, proved with `classical` #check @ZeroParadox.Motion.registeredDecidable_of_classical -- Statement: the escape: an `Option`-presented UP has one with no axiom of choice (`[propext]`). #check @ZeroParadox.Motion.ofOption_registeredDecidable -- Statement: ESSENTIAL CASE 5 — if every motion on every `Type` has a data selector of OVER -- (`SelectedData`), excluded middle holds; measured `[propext, Quot.sound]`. The ∀-closure of -- `ZeroParadox/Die.lean`'s `Motion.selectedTotal_of_classical`, a bare `classical` written in framework -- source, gives that hypothesis through `selectedData_of_selectedTotal` (next `example`); so that -- theorem's `classical` is essential in the sense of the header above, and on its premise; like case -- 3's, that theorem is a class-level witness no other framework proof names. Neither hypothesis form -- measures any axiom alone (statement control, 2026-10-18). -- Reading (cited, not claimed): PRIOR ART, Diaconescu's argument as in the Rocq standard library, -- `theories/Logic/Diaconescu.v` Part A, section `PredExt_RelChoice_imp_EM`, which the file marks "kept -- for backwards compatibility" (`pred_ext_and_rel_choice_imp_EM`; the current Part A theorem -- `prop_ext_and_rel_choice_imp_EM` uses the pairs `(True, P)`, `(P, True)`), on that section's two classes -- `b = true ∨ p`, `b = false ∨ p`, with a selector given as data; an instance of theirs, not a -- generalization (`ZeroParadox/DieCannotBe.lean` § X). #check @ZeroParadox.Motion.em_of_selectedData -- Statement: non-vacuity: the framework's classical proof supplies the hypothesis. example : ∀ (β : Type) (M : ZeroParadox.Motion β), M.SelectedData := fun _ _ => ZeroParadox.Motion.selectedData_of_selectedTotal ZeroParadox.Motion.selectedTotal_of_classical -- Statement: every motion has a total selector, proved with `classical` #check @ZeroParadox.Motion.selectedTotal_of_classical -- Statement: the escape: a step given by a function is selected with no axioms. #check @ZeroParadox.Motion.selectedTotal_of_fun -- Statement: and one given by an `Option`-valued function, with `[propext]` #check @ZeroParadox.Motion.selectedTotal_of_option /-! ## § V. Per instance free, uniform a taboo — pointers Each row pairs a per-instance member with the uniform principle's reduction. Pointers only; the uniform legs proved by anonymous `example` are cited by section. -/ -- Statement: chart selection: free given a point (`chart_selection_is_freeG`, § I); uniform at the -- stipulated pole, the fragment (`uniformChartSelection_iff_choiceFragment`, § III). #check @ZeroParadox.chart_selection_is_freeG -- Statement: uniform selection at the stipulated pole is the fragment, `Iff.rfl` #check @ZeroParadox.uniformChartSelection_iff_choiceFragment -- Statement: pole discrimination: an `Option` decides its own `none` (`registeredDecider`); a total -- test of definedness on `Part Unit` gives excluded middle (`em_of_poleDiscriminator`). #check @ZeroParadox.registeredDecider -- Statement: a total definedness test on `Part Unit` gives excluded middle #check @ZeroParadox.em_of_poleDiscriminator -- Statement: Lawvere's fixed-point-free swap: free with `DecidableEq`; over every `Type`, weak excluded -- middle (case 2, § IV). #check @ZeroParadox.fixedPointFree_of_nontrivial_decidable -- Statement: the general fixed-point-free principle gives weak excluded middle #check @ZeroParadox.wem_of_fixedPointFree -- Statement: the die's piece at ⊥: free with `DecidableEq`; over every partial order with a least -- element on a `Type`, weak excluded middle (case 3, § IV); for every cover, Mathlib's form, excluded -- middle (beside case 3, § IV). #check @ZeroParadox.botCovered_botIntervalTwo #check @ZeroParadox.wem_of_botCovered_botIntervalTwo -- Statement: case 3, § IV #check @ZeroParadox.em_of_covBy_Icc_eq -- Statement: beside case 3, § IV -- Statement: the die's UP leg, registration: an `Option`-presented UP is registered on every carrier; -- registration of every motion on every `α : Type` and the fragment are inter-derivable, each giving -- excluded middle (case 4, § IV; `ZeroParadox/DieCannotBe.lean` § IX). #check @ZeroParadox.Motion.ofOption_registeredDecidable -- Statement: the die's OVER leg, selection: a step given by a function, or an `Option`-valued one, is -- selected; a data selector on every motion on every `α : Type`, or a predecessor selector on the -- image of every step function, gives the fragment, a data selector gives excluded middle directly -- (`Motion.em_of_selectedData`), and the two uniform selections are -- inter-derivable (case 5, § IV; `ZeroParadox/DieCannotBe.lean` §§ X, XII). #check @ZeroParadox.Motion.selectedTotal_of_fun #check @ZeroParadox.Motion.selectedTotal_of_option -- Statement: an `Option`-valued step is selected by `getD` -- Statement: the die's OVER leg, the trichotomy: an `Option`-valued step meets it with `DecidableEq`; -- at every point of every motion on every `α : Type` it gives excluded middle -- (`ZeroParadox/DieCannotBe.lean` § XI). #check @ZeroParadox.Motion.overTrichotomy_of_option -- Statement: the die's corner under double negation: `¬¬ Corner → Corner` on every motion on `Bool` -- gives excluded middle; classically it holds (`ZeroParadox/DieCannotBe.lean` § I). Not counted in § IV. #check @ZeroParadox.Motion.em_of_dne_corner #check @ZeroParadox.Motion.corner_of_not_not_classical -- Statement: `¬¬ Corner → Corner`, proved with `classical` -- Reading: these reductions are what constructive reverse mathematics calls Brouwerian -- counterexamples, "T ⟹ P, where P is a general, constructively dubious statement such as LPO" (Diener, -- *Constructive Reverse Mathematics*, arXiv:1804.05495v3, p. 6, PDF page 7; cited, not claimed). No count of rows is -- recorded (`ZeroParadox/Category/ChoiceCannotBe.md` § "No count is recorded here"). end ChoiceCannotBeIndex