Commit a667ce9
ordinal(buchholz): Slice 3 prerequisites — NonBzero + strict-jump bridge + head-Ω lower bound
Lands three primitives the headline `rank-mono-<ᵇ-+1-via-head-Ω`
(Slice 3 of the head-Ω route) will consume, and documents the
remaining design pinch.
New module `Ordinal.Buchholz.RankPowSlice3`:
* `NonBzero` — left-spine non-bzero predicate (`nz-bOmega` /
`nz-bpsi` / `nz-bplus`). Rules out the degenerate
`bplus bzero bzero` chains that WfCNF technically allows but
CNF normalisation excludes. Needed because `head-Ω bzero =
fin 0` is a default whose `ω-rank-pow (fin 0) = ω^1 = ω` is
NOT below `rank-pow bzero = oz` — the head-Ω lower bound
fails for `bzero` and any spine that reduces to it.
* `ω-rank-pow-succ-≤-via-<Ω : ∀ {μ ν} → μ <Ω ν → ω-rank-pow-succ μ
≤′ ω-rank-pow ν` — strict-jump bridge. Two cases:
- `fin m <Ω fin n`: `ω-rank-pow-succ (fin m) = ω^(suc(suc m))`
≤′ `ω^(suc n) = ω-rank-pow (fin n)` via `ω^-mono-≤ (s≤s p)`.
- `fin m <Ω ω`: pick branch `suc m` in the limit
`ω-rank-pow ω = olim (λ k → ω^(suc k))` via `f-in-lim′`.
- `ω <Ω _`: impossible (ω is top of OmegaIndex).
Closes the gap between Slice 2-bplus's upper bound on the
source's rank and the lower bound on the target's rank.
* `head-Ω-lower-bound : ∀ {t} → WfCNF t → NonBzero t →
ω-rank-pow (head-Ω t) ≤′ rank-pow t` — head-Ω LOWER bound.
Dual of `rank-pow-dominated-by-head-Ω` (which is the
corresponding upper). Structural recursion on the WfCNF
carrier; `bOmega`/`bpsi` discharge `≤′-refl`, `bplus` recurses
on the left summand's WfCNF with `NonBzero x` extracted from
`nz-bplus nzx`, then chains through `⊕-left-≤-sum` for the
bplus rank.
Wired into `proofs/agda/All.agda` adjacent to `RankPowDomination`,
pinned in `Ordinal/Buchholz/Smoke.agda` under its own `using`
block with header comment per CLAUDE.md "Working rules".
## What this does NOT close (documented in-file)
The Slice 3 HEADLINE `rank-mono-<ᵇ-+1-via-head-Ω` requires a
STRICT-jump on `head-Ω x₁ <Ω head-Ω y₁` from `x₁ <ᵇ y₁`. The
existing `head-Ω-inv-bpsi` only gives ≤Ω (via the `<ᵇ-ψΩ≤`
constructor — bpsi can be `<ᵇ` an Ω at equal marker), so the
ψ-source bpsi sub-case `bpsi ν α <ᵇ y₁` at `ν = head-Ω y₁` does
NOT close under the head-Ω route alone. The strict jump there
must come from α's rank — which lives in the rank-adm refinement,
not the head-Ω route.
Two closure paths under design (recorded in-file):
(A) Combine the head-Ω route with rank-lex (`Ordinal.Buchholz.
RankLex`) for the bpsi-source-at-equality sub-case. The
rank-lex second component carries α-rank information that
discharges the equality case via `<ᵇ-+ψ` / `<ᵇ-ψα`-style
admissibility, mirroring the `<ᵇ-ψΩ≤` boundary closure.
(B) Refine `head-Ω-inv-bpsi` to split on the source constructor:
report `<Ω` (strict) for `<ᵇ-ψΩ` and `<ᵇ-ψ+`, `≤Ω`
(non-strict) only for `<ᵇ-ψΩ≤`. Then chain the equality
case through admissibility separately.
Route (A) is cleaner — composes existing landed primitives
rather than refining an inversion lemma. Implementation is a
follow-on slice.
## Build invariant
* `Ordinal/Buchholz/Smoke.agda` exits 0 under `--safe --without-K`,
zero postulates.
* `RankPowSlice3.agda` compiles standalone same flags.
* Top-level `All.agda` / top-level `Smoke.agda` blocked locally
by an unrelated stdlib injectivity issue affecting unrelated
files (`EchoTotalCompletion.agda` shows the same env error);
CI will validate the full chain.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent 3dc262b commit a667ce9
3 files changed
Lines changed: 237 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
136 | 136 | | |
137 | 137 | | |
138 | 138 | | |
| 139 | + | |
139 | 140 | | |
140 | 141 | | |
141 | 142 | | |
| |||
| 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 | + | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
| 171 | + | |
| 172 | + | |
| 173 | + | |
| 174 | + | |
| 175 | + | |
| 176 | + | |
| 177 | + | |
| 178 | + | |
| 179 | + | |
| 180 | + | |
| 181 | + | |
| 182 | + | |
| 183 | + | |
| 184 | + | |
| 185 | + | |
| 186 | + | |
| 187 | + | |
| 188 | + | |
| 189 | + | |
| 190 | + | |
| 191 | + | |
| 192 | + | |
| 193 | + | |
| 194 | + | |
| 195 | + | |
| 196 | + | |
| 197 | + | |
| 198 | + | |
| 199 | + | |
| 200 | + | |
| 201 | + | |
| 202 | + | |
| 203 | + | |
| 204 | + | |
| 205 | + | |
| 206 | + | |
| 207 | + | |
| 208 | + | |
| 209 | + | |
| 210 | + | |
| 211 | + | |
| 212 | + | |
| 213 | + | |
| 214 | + | |
| 215 | + | |
| 216 | + | |
| 217 | + | |
| 218 | + | |
| 219 | + | |
| 220 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
449 | 449 | | |
450 | 450 | | |
451 | 451 | | |
| 452 | + | |
| 453 | + | |
| 454 | + | |
| 455 | + | |
| 456 | + | |
| 457 | + | |
| 458 | + | |
| 459 | + | |
| 460 | + | |
| 461 | + | |
| 462 | + | |
| 463 | + | |
| 464 | + | |
| 465 | + | |
| 466 | + | |
| 467 | + | |
0 commit comments