Commit 6f5e9f1
committed
proof(ordinal): doubled-ladder rank foundation (equal-Ω boundary, Slice 1)
The design that resolves Gate 1's cross-index obstruction (documented
in #200): the single ω-power ladder cannot place Ω_ν strictly above
all ψ_ν(_) AND strictly below all ψ_{ν+1}(_), because at ν = suc μ the
bound ω^(μ+2) for Ω_μ collides with ω^((suc μ)+1) for ψ_{suc μ}.
Fix: DOUBLE the index. Give ψ and Ω their own interleaved exponent
blocks —
ψexp ν = 2ν+1 Ωexp ν = 2ν+2 = suc (ψexp ν)
so the intended atomic order … < ψ_ν(α) < Ω_ν < ψ_{ν+1}(β) < …
embeds with strict room everywhere, consecutive levels now two blocks
apart. New module `RankDoubledLadder.agda` proves the two interleaving
facts that make this work:
* `ψ-block-below-Ω-block` — doubled room: `ω^(2ν+1) ⊕ β <′ ω^(2ν+2)`
when `β <′ ω^(2ν+1)` (admissibility). Same shape as
`ω-rank-pow-⊕-below-succ`, on the doubled exponents.
* `Ω-block-below-next-ψ` — the strict cross-index gap the single
ladder lacked: `m < n → ω^(2m+2) <′ ω^(2n+1)` (since
2m+2 ≤ 2n < 2n+1). Survives the boundary `n = suc m` that broke
the single ladder. Plain `ω^`-strict-mono on `Ωexp m < ψexp n`.
These are the arithmetic spine of the doubled-ladder rank
`rank2 : BT → Ord` (ψ_ν → ω^(2ν+1) ⊕ …, Ω_ν → ω^(2ν+2), bplus → ⊕).
Honest scope: Slice 1 = fin-index arithmetic foundation. NOT yet
landed — the `rank2` function, the OmegaIndex ω (limit) cases, the
per-constructor rank-mono re-proof against `rank2`, the wf-<′
transport. This slice proves the doubled ladder RESOLVES the
documented cross-index obstruction at the fin level; the build-out is
mechanical follow-on.
- `ψ-block-below-Ω-block`, `Ω-block-below-next-ψ` pinned in
`Ordinal/Buchholz/Smoke.agda`; module wired into `All.agda`.
- `Smoke.agda` + `All.agda` exit 0 under `--safe --without-K`; zero
postulates, no escape pragmas, no funext.
https://claude.ai/code/session_017t53M7W7ubmXpwymveLcCE1 parent 559e89e commit 6f5e9f1
3 files changed
Lines changed: 175 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
146 | 146 | | |
147 | 147 | | |
148 | 148 | | |
| 149 | + | |
149 | 150 | | |
150 | 151 | | |
151 | 152 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
459 | 459 | | |
460 | 460 | | |
461 | 461 | | |
| 462 | + | |
| 463 | + | |
| 464 | + | |
| 465 | + | |
| 466 | + | |
| 467 | + | |
| 468 | + | |
| 469 | + | |
| 470 | + | |
| 471 | + | |
| 472 | + | |
| 473 | + | |
462 | 474 | | |
463 | 475 | | |
464 | 476 | | |
| |||
0 commit comments