Repository navigation
Commit f2e465c
feat(resource): HubCeiling — hub ceilings, reach grades, weighted residue measure (squeakwell R5–R7) (#67)
## Summary
New module `Resource/HubCeiling.lean`, parametric over the
`ResourceAlgebra` interface, serving rungs R5–R7 of the
[hyperpolymath/squeakwell](https://github.com/hyperpolymath/squeakwell)
proof ladder (database recovery reads a modality's reachability through
the regeneration graph as a tropical grade).
## What is proved
- **R6 hub ceiling, element form.** `TropicalAdapterPath.hub_ceiling` is
over `List TransportClass` and does not transfer to the matrix closure
literally; the algebraic kernel does. Under `OneTop` (the unit is the
top of the order — true at `MinPlus` and `MinMax`, refuted at `MaxPlus`
by `maxplus_not_one_top`): `factor_le`, `factor_le_right`; with
absorption and idempotence `zero_bot`, `join_bound`, `lsum_bound`;
lifted to matrix products `matMul_row_bound`, `single_hub_ceiling`; and
to closures **only under an explicit `IsStar` fixed-point hypothesis**
(`single_hub_star_ceiling`), since the repository has no walk semantics
for `matStar` in Lean.
- **R7 reach grade.** `reachGrade A S m` = `⊞`-sum of closure entries
over an observed `Bool` set. `reachGrade_mono_mat`,
`reachGrade_mono_set` (via the new `lsum_filter_mono`),
`one_le_reachGrade` (an observed node has the full grade).
- **R5 weighted residue measure.** `weightedResidueMeasure w :
ResidueMeasure (List M) R` for any resource algebra (free-monoid
homomorphism; only `one_mul` and `mul_assoc` used).
`weighted_counts_events` recovers the existing max-plus event counter as
the constant-weight instance. `List M` stays opaque — the EchoBridge
boundary invariant holds.
## Changes
- `Resource/HubCeiling.lean` (new), wired into `Resource.lean`
- `.github/workflows/lean.yml`: nine new `#print axioms` lines in the
audit
- `PROOF-STATUS.adoc`: module list and target count
## Verification (this environment)
```
lake build # Lean 4.35.0, Build completed successfully (21 jobs)
lake env lean axcheck.lean # every new headline: no axioms, or [propext, Quot.sound]
```
No `sorry`, no `Classical.choice`, no new axiom declarations.
---
_Generated by [Claude
Code](https://claude.ai/code/session_01J4QvDizuhJtQDcxHxM2wj8)_
---------
Co-authored-by: Claude Fable 5.1 <[email protected]>1 parent 168f09d commit f2e465c
4 files changed
Lines changed: 423 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
71 | 71 | | |
72 | 72 | | |
73 | 73 | | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
74 | 84 | | |
75 | 85 | | |
76 | 86 | | |
77 | | - | |
78 | | - | |
| 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 | + | |
79 | 112 | | |
80 | 113 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
15 | | - | |
| 15 | + | |
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
| |||
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
25 | | - | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
26 | 29 | | |
27 | 30 | | |
28 | 31 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
| 17 | + | |
17 | 18 | | |
18 | 19 | | |
19 | 20 | | |
| |||
61 | 62 | | |
62 | 63 | | |
63 | 64 | | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
64 | 71 | | |
0 commit comments