diff --git a/CHANGELOG.adoc b/CHANGELOG.adoc index d92ceb2..0e49fc2 100644 --- a/CHANGELOG.adoc +++ b/CHANGELOG.adoc @@ -1,5 +1,13 @@ == Changelog +== 2026-11-17 — F-5's distinctness lemma moves into the graded cone + +* F-5's distinctness lemma `maps-disagree-at-positive` moves from + `tests/unit/MorphismTest.agda` into `src/ResourceAlgebra/Morphism.agda`. + The ledger cites it as part of F-5, but in the unit tests it sat outside the + graded import cone (`All.agda`) and so outside the Agda receipt's inputs + manifest: a change to it would not have invalidated F-5's receipt. + == 2026-11-17 — `CI/gate` required check and declared coverage exemption * `proofs.yml` gains a job named exactly `CI/gate` (the context the live diff --git a/docs/status/PROOF-STATUS.adoc b/docs/status/PROOF-STATUS.adoc index c3db0fe..214e242 100644 --- a/docs/status/PROOF-STATUS.adoc +++ b/docs/status/PROOF-STATUS.adoc @@ -1,6 +1,6 @@ // SPDX-License-Identifier: CC-BY-SA-4.0 = resource-algebra — Proof Status -:revdate: 2026-11-11 +:revdate: 2026-11-17 Every row is a theory theorem (`PROOF-NEEDS.adoc`). Records follow `3-practice/PROOF-POLICY.adoc` in `hyperpolymath/standards`, which keeps @@ -145,6 +145,13 @@ support. The receipt deed is written by hand from the run; no gate writes or recomputes it yet. The run summaries that hold the per-leg digests are kept by GitHub for a limited time. +One gap in the receipt at `f211fc1`: F-5 cites `maps-disagree-at-positive`, +which was then in `tests/unit/MorphismTest.agda`. The run checked it (the +gate checks the unit tests), but the Agda leg's inputs manifest lists only +`src/`, so a change to that file would not have invalidated F-5's receipt. +The lemma is now in `src/ResourceAlgebra/Morphism.agda`, inside the cone, and +the next receipt covers it. + Earlier receipts: run `42629220745` on source commit `9f175cc57f9c2c2db255c1b3161e24cfba4abc4d` (2026-11-09). They are `superseded`: F-5's classifier, the strict flag set and `⊕-least` all @@ -411,7 +418,7 @@ none goes to MaxPlus or to Loss. `support`. Neither distinguishes `fin 1` from `fin 2`. | `PROVEN`. Both are morphisms (`zero-test-hom`, `support-hom`) and every morphism is one of them (`Loss→MaxPlus`). They are distinct -(`maps-disagree-at-positive`, tests/unit/MorphismTest.agda), and every +(`maps-disagree-at-positive`), and every morphism collapses `fin 1` and `fin 2` (`Loss→MaxPlus-collapses`, `no-injective-Loss→MaxPlus`). | 1 diff --git a/src/ResourceAlgebra/Morphism.agda b/src/ResourceAlgebra/Morphism.agda index 443312c..41b7c81 100644 --- a/src/ResourceAlgebra/Morphism.agda +++ b/src/ResourceAlgebra/Morphism.agda @@ -254,6 +254,10 @@ no-injective-Loss→MaxPlus : (h : Hom Loss MaxPlus) no-injective-Loss→MaxPlus h inj with inj (fin 1) (fin 2) (Loss→MaxPlus-collapses h) ... | () +-- The two morphisms are distinct: they disagree at every positive finite grade. +maps-disagree-at-positive : ∀ n → zero-test (fin (suc n)) ≢ support (fin (suc n)) +maps-disagree-at-positive n () + ---------------------------------------------------------------------- -- MaxPlus → Loss: exactly one strict morphism support′ : Tropical → L.Grade diff --git a/tests/unit/MorphismTest.agda b/tests/unit/MorphismTest.agda index 3e5594c..36ea986 100644 --- a/tests/unit/MorphismTest.agda +++ b/tests/unit/MorphismTest.agda @@ -31,9 +31,6 @@ support-at-finite n = refl support-at-infinity : Hom.map support-hom inf ≡ bot support-at-infinity = refl -maps-disagree-at-positive : ∀ n → zero-test (fin (suc n)) ≢ support (fin (suc n)) -maps-disagree-at-positive n () - reverse-support-at-finite : ∀ n → Hom.map support′-hom (val n) ≡ fin 0 reverse-support-at-finite n = refl