From bb9b41a99624fa6ac06c33edf22c7c9f96404b96 Mon Sep 17 00:00:00 2001 From: Claude Date: Thu, 19 Nov 2026 00:08:04 +0000 Subject: [PATCH 1/3] Parallel composition and the loop grade: Agda leg Parallel.agda: the IsParallel layer and the two exchange laws SyncBelow and SyncAbove. Work (parallel = sequence) has both. MaxPlus span (max) has SyncAbove only. HWM (sum) has SyncBelow only. Star.agda: the IsStar layer (Kozen's axioms). A greatest unit gives the trivial star (Loss). MaxPlus and HWM have no star. MaxPlusTop (Instances/MaxPlusTop.agda) adds a top to MaxPlus, has a star, and MaxPlus embeds in it by a strict injective morphism. Three expected rejections added (16 in all). Co-Authored-By: Claude Fable 5.2 Claude-Session: https://claude.ai/code/session_0136P7ZoGnoZnsFTWCDkS4nZ --- src/ResourceAlgebra/All.agda | 3 + src/ResourceAlgebra/Instances/MaxPlusTop.agda | 162 ++++++++++++ src/ResourceAlgebra/Parallel.agda | 241 ++++++++++++++++++ src/ResourceAlgebra/Star.agda | 187 ++++++++++++++ tests/reject/HWMSyncAbove.agda | 20 ++ tests/reject/MaxPlusLoopBounded.agda | 14 + tests/reject/SpanSyncBelow.agda | 18 ++ 7 files changed, 645 insertions(+) create mode 100644 src/ResourceAlgebra/Instances/MaxPlusTop.agda create mode 100644 src/ResourceAlgebra/Parallel.agda create mode 100644 src/ResourceAlgebra/Star.agda create mode 100644 tests/reject/HWMSyncAbove.agda create mode 100644 tests/reject/MaxPlusLoopBounded.agda create mode 100644 tests/reject/SpanSyncBelow.agda diff --git a/src/ResourceAlgebra/All.agda b/src/ResourceAlgebra/All.agda index 9560a8f..bdc49c2 100644 --- a/src/ResourceAlgebra/All.agda +++ b/src/ResourceAlgebra/All.agda @@ -16,3 +16,6 @@ import ResourceAlgebra.Ledger import ResourceAlgebra.Instances.Diamond import ResourceAlgebra.Separation import ResourceAlgebra.Morphism +import ResourceAlgebra.Instances.MaxPlusTop +import ResourceAlgebra.Parallel +import ResourceAlgebra.Star diff --git a/src/ResourceAlgebra/Instances/MaxPlusTop.agda b/src/ResourceAlgebra/Instances/MaxPlusTop.agda new file mode 100644 index 0000000..1dd8f16 --- /dev/null +++ b/src/ResourceAlgebra/Instances/MaxPlusTop.agda @@ -0,0 +1,162 @@ +{-# OPTIONS --safe --without-K --cubical-compatible --exact-split --no-sized-types --no-guardedness #-} +-- SPDX-License-Identifier: MPL-2.0 +-- SPDX-FileCopyrightText: 2026 Jonathan D.A. Jewell +-- +-- MaxPlus with a top: (ℕ ∪ {−∞, +∞}, max, +). +-- +-- _⊕t_ = alternatives = max (worst case); unit bot (−∞, no path) +-- _⊗t_ = sequence = + (accumulate); unit val 0 +-- top = +∞, the cost of a run with no finite bound +-- +-- MaxPlus has no grade for a loop whose body costs something: the costs +-- val 1, val 2, ... have no upper bound in ℕ ∪ {−∞} (ResourceAlgebra.Star, +-- MaxPlus-no-fixpoint). The top is that bound. The impossible run still +-- annihilates: bot ⊗t top = bot. +module ResourceAlgebra.Instances.MaxPlusTop where + +open import ResourceAlgebra.Prelude +open import ResourceAlgebra.Core + +data Grade : Set where + bot : Grade + val : Nat → Grade + top : Grade + +-- Injectivity through a projection (Prelude, suc-injective, says why). +val-proj : Grade → Nat +val-proj (val n) = n +val-proj bot = zero +val-proj top = zero + +val-injective : ∀ {m n} → val m ≡ val n → m ≡ n +val-injective = cong val-proj + +infixl 6 _⊕t_ +_⊕t_ : Grade → Grade → Grade +bot ⊕t y = y +val m ⊕t bot = val m +val m ⊕t val n = val (max m n) +val m ⊕t top = top +top ⊕t _ = top + +infixl 7 _⊗t_ +_⊗t_ : Grade → Grade → Grade +bot ⊗t _ = bot +val m ⊗t bot = bot +val m ⊗t val n = val (m + n) +val m ⊗t top = top +top ⊗t bot = bot +top ⊗t val _ = top +top ⊗t top = top + +---------------------------------------------------------------------- +-- Alternatives: (⊕t, bot) is an idempotent commutative monoid +⊕t-assoc : ∀ a b c → (a ⊕t b) ⊕t c ≡ a ⊕t (b ⊕t c) +⊕t-assoc bot b c = refl +⊕t-assoc (val a) bot c = refl +⊕t-assoc (val a) (val b) bot = refl +⊕t-assoc (val a) (val b) (val c) = cong val (max-assoc a b c) +⊕t-assoc (val a) (val b) top = refl +⊕t-assoc (val a) top c = refl +⊕t-assoc top b c = refl + +⊕t-comm : ∀ a b → a ⊕t b ≡ b ⊕t a +⊕t-comm bot bot = refl +⊕t-comm bot (val b) = refl +⊕t-comm bot top = refl +⊕t-comm (val a) bot = refl +⊕t-comm (val a) (val b) = cong val (max-comm a b) +⊕t-comm (val a) top = refl +⊕t-comm top bot = refl +⊕t-comm top (val b) = refl +⊕t-comm top top = refl + +⊕t-idem : ∀ a → a ⊕t a ≡ a +⊕t-idem bot = refl +⊕t-idem (val a) = cong val (max-idem a) +⊕t-idem top = refl + +---------------------------------------------------------------------- +-- Sequence: (⊗t, val 0) is a commutative monoid +⊗t-assoc : ∀ a b c → (a ⊗t b) ⊗t c ≡ a ⊗t (b ⊗t c) +⊗t-assoc bot b c = refl +⊗t-assoc (val a) bot c = refl +⊗t-assoc (val a) (val b) bot = refl +⊗t-assoc (val a) (val b) (val c) = cong val (+-assoc a b c) +⊗t-assoc (val a) (val b) top = refl +⊗t-assoc (val a) top bot = refl +⊗t-assoc (val a) top (val c) = refl +⊗t-assoc (val a) top top = refl +⊗t-assoc top bot c = refl +⊗t-assoc top (val b) bot = refl +⊗t-assoc top (val b) (val c) = refl +⊗t-assoc top (val b) top = refl +⊗t-assoc top top bot = refl +⊗t-assoc top top (val c) = refl +⊗t-assoc top top top = refl + +⊗t-unitˡ : ∀ a → val 0 ⊗t a ≡ a +⊗t-unitˡ bot = refl +⊗t-unitˡ (val a) = refl +⊗t-unitˡ top = refl + +⊗t-unitʳ : ∀ a → a ⊗t val 0 ≡ a +⊗t-unitʳ bot = refl +⊗t-unitʳ (val a) = cong val (+-identityʳ a) +⊗t-unitʳ top = refl + +⊗t-comm : ∀ a b → a ⊗t b ≡ b ⊗t a +⊗t-comm bot bot = refl +⊗t-comm bot (val b) = refl +⊗t-comm bot top = refl +⊗t-comm (val a) bot = refl +⊗t-comm (val a) (val b) = cong val (+-comm a b) +⊗t-comm (val a) top = refl +⊗t-comm top bot = refl +⊗t-comm top (val b) = refl +⊗t-comm top top = refl + +---------------------------------------------------------------------- +-- The instance, and its layers +MaxPlusTop : ResourceAlgebra +MaxPlusTop = record + { Grade = Grade + ; _⊕_ = _⊕t_ + ; _⊗_ = _⊗t_ + ; 𝟘 = bot + ; 𝟙 = val 0 + ; alt = record { assoc = ⊕t-assoc ; comm = ⊕t-comm ; idem = ⊕t-idem ; unitˡ = λ _ → refl } + ; seq = record { assoc = ⊗t-assoc ; unitˡ = ⊗t-unitˡ ; unitʳ = ⊗t-unitʳ } + } + +MaxPlusTop-dioid : IsDioid MaxPlusTop +MaxPlusTop-dioid = record { distribˡ = distribˡ ; distribʳ = distribʳ } + where + distribˡ : ∀ a b c → a ⊗t (b ⊕t c) ≡ (a ⊗t b) ⊕t (a ⊗t c) + distribˡ bot b c = refl + distribˡ (val a) bot c = refl + distribˡ (val a) (val b) bot = refl + distribˡ (val a) (val b) (val c) = cong val (+-distribˡ-max a b c) + distribˡ (val a) (val b) top = refl + distribˡ (val a) top c = refl + distribˡ top bot c = refl + distribˡ top (val b) bot = refl + distribˡ top (val b) (val c) = refl + distribˡ top (val b) top = refl + distribˡ top top c = refl + + distribʳ : ∀ a b c → (a ⊕t b) ⊗t c ≡ (a ⊗t c) ⊕t (b ⊗t c) + distribʳ a b c = + trans (⊗t-comm (a ⊕t b) c) + (trans (distribˡ c a b) (cong₂ _⊕t_ (⊗t-comm c a) (⊗t-comm c b))) + +MaxPlusTop-ordered : IsOrdered MaxPlusTop +MaxPlusTop-ordered = IsDioid.ordered MaxPlusTop-dioid + +MaxPlusTop-annihilating : IsAnnihilating MaxPlusTop +MaxPlusTop-annihilating = record { annihilˡ = λ _ → refl ; annihilʳ = annihilʳ } + where + annihilʳ : ∀ a → a ⊗t bot ≡ bot + annihilʳ bot = refl + annihilʳ (val _) = refl + annihilʳ top = refl diff --git a/src/ResourceAlgebra/Parallel.agda b/src/ResourceAlgebra/Parallel.agda new file mode 100644 index 0000000..a9db19f --- /dev/null +++ b/src/ResourceAlgebra/Parallel.agda @@ -0,0 +1,241 @@ +{-# OPTIONS --safe --without-K --cubical-compatible --exact-split --no-sized-types --no-guardedness #-} +-- SPDX-License-Identifier: MPL-2.0 +-- SPDX-FileCopyrightText: 2026 Jonathan D.A. Jewell +-- +-- Parallel composition, as a layer over a resource algebra. +-- +-- IsParallel R _∥_ _∥_ is a commutative monoid on R's 𝟙 and distributes +-- over ⊕ (hence is monotone). Nothing relates it to ⊗. +-- SyncBelow R _∥_ (a ∥ b) ⊗ (c ∥ d) ≼ (a ⊗ c) ∥ (b ⊗ d): two threads +-- that meet in the middle are graded at most as two +-- threads that run free. The exchange law of a +-- concurrent semiring. Space-like resources have it. +-- SyncAbove R _∥_ the reverse bound: meeting in the middle is graded at +-- least as running free. Time-like resources have it. +-- +-- The direction is a property of the resource, not a convention, so the +-- two laws are stated apart and no layer asks for one of them: +-- +-- seq-parallel any dioid with a commutative ⊗ is parallel with +-- _∥_ = _⊗_, and has both laws, as an equality. This +-- is "work": Loss and MaxPlus under +. +-- MaxPlus-span ∥ = max on finite costs (elapsed time on unbounded +-- processors). SyncAbove holds, SyncBelow does not. +-- HWM-parallel ∥ = sum of peaks and of drifts (two threads may hold +-- their peaks together). SyncBelow holds, SyncAbove +-- does not. +module ResourceAlgebra.Parallel where + +open import ResourceAlgebra.Prelude +open import ResourceAlgebra.Core +open import ResourceAlgebra.Instances.Loss as L using (Loss; Loss-dioid; fin; inf; _+g_) +open import ResourceAlgebra.Instances.MaxPlus as M using (MaxPlus; MaxPlus-dioid; Tropical; val; bot; tAdd; tMul) +open import ResourceAlgebra.Instances.HWM as H using (HWM; hwm; hwm-≡; _⊕h_; _⊗h_; 𝟘h; peak) + +---------------------------------------------------------------------- +-- The layer and the two exchange laws +module _ (R : ResourceAlgebra) where + open ResourceAlgebra R + private + module S = IsSeqMonoid seq + + record IsParallel (_∥_ : Grade → Grade → Grade) : Set where + field + assoc : ∀ a b c → (a ∥ b) ∥ c ≡ a ∥ (b ∥ c) + comm : ∀ a b → a ∥ b ≡ b ∥ a + unitˡ : ∀ a → 𝟙 ∥ a ≡ a + distribˡ : ∀ a b c → a ∥ (b ⊕ c) ≡ (a ∥ b) ⊕ (a ∥ c) + + unitʳ : ∀ a → a ∥ 𝟙 ≡ a + unitʳ a = trans (comm a 𝟙) (unitˡ a) + + distribʳ : ∀ a b c → (a ⊕ b) ∥ c ≡ (a ∥ c) ⊕ (b ∥ c) + distribʳ a b c = + trans (comm (a ⊕ b) c) + (trans (distribˡ c a b) (cong₂ _⊕_ (comm c a) (comm c b))) + + -- Distributing over alternatives is already monotonicity. + monoˡ : ∀ c {a b} → a ≼ b → (c ∥ a) ≼ (c ∥ b) + monoˡ c {a} {b} p = trans (sym (distribˡ c a b)) (cong (λ z → c ∥ z) p) + + monoʳ : ∀ c {a b} → a ≼ b → (a ∥ c) ≼ (b ∥ c) + monoʳ c {a} {b} p = trans (sym (distribʳ a b c)) (cong (λ z → z ∥ c) p) + + SyncBelow SyncAbove : (Grade → Grade → Grade) → Set + SyncBelow _∥_ = ∀ a b c d → ((a ∥ b) ⊗ (c ∥ d)) ≼ ((a ⊗ c) ∥ (b ⊗ d)) + SyncAbove _∥_ = ∀ a b c d → ((a ⊗ c) ∥ (b ⊗ d)) ≼ ((a ∥ b) ⊗ (c ∥ d)) + + -- Work: a commutative sequence is its own parallel composition. + module _ (D : IsDioid R) (⊗-comm : ∀ a b → a ⊗ b ≡ b ⊗ a) where + seq-parallel : IsParallel _⊗_ + seq-parallel = record + { assoc = S.assoc ; comm = ⊗-comm ; unitˡ = S.unitˡ + ; distribˡ = IsDioid.distribˡ D } + + ⊗-interchange : ∀ a b c d → (a ⊗ b) ⊗ (c ⊗ d) ≡ (a ⊗ c) ⊗ (b ⊗ d) + ⊗-interchange a b c d = + trans (S.assoc a b (c ⊗ d)) + (trans (cong (λ z → a ⊗ z) + (trans (sym (S.assoc b c d)) + (trans (cong (λ z → z ⊗ d) (⊗-comm b c)) + (S.assoc c b d)))) + (sym (S.assoc a c (b ⊗ d)))) + + seq-sync-below : SyncBelow _⊗_ + seq-sync-below a b c d = + subst (λ x → ((a ⊗ b) ⊗ (c ⊗ d)) ≼ x) (⊗-interchange a b c d) + (≼-refl ((a ⊗ b) ⊗ (c ⊗ d))) + + seq-sync-above : SyncAbove _⊗_ + seq-sync-above a b c d = + subst (λ x → x ≼ ((a ⊗ b) ⊗ (c ⊗ d))) (⊗-interchange a b c d) + (≼-refl ((a ⊗ b) ⊗ (c ⊗ d))) + +---------------------------------------------------------------------- +-- ℕ lemmas used below ++-mono-≤ : ∀ {m m' n n'} → m ≤ m' → n ≤ n' → m + n ≤ m' + n' ++-mono-≤ {m' = m'} {n = n} p q = ≤-trans (+-monoˡ-≤ n p) (+-monoʳ-≤ m' q) + ++-interchange : ∀ a b c d → (a + b) + (c + d) ≡ (a + c) + (b + d) ++-interchange a b c d = + trans (+-assoc a b (c + d)) + (trans (cong (a +_) + (trans (sym (+-assoc b c d)) + (trans (cong (_+ d) (+-comm b c)) + (+-assoc c b d)))) + (sym (+-assoc a c (b + d)))) + +---------------------------------------------------------------------- +-- Work: Loss and MaxPlus, parallel = sequence ++g-comm : ∀ a b → a +g b ≡ b +g a ++g-comm (fin a) (fin b) = cong fin (+-comm a b) ++g-comm (fin a) inf = refl ++g-comm inf (fin b) = refl ++g-comm inf inf = refl + +Loss-parallel : IsParallel Loss _+g_ +Loss-parallel = seq-parallel Loss Loss-dioid +g-comm + +Loss-sync-below : SyncBelow Loss _+g_ +Loss-sync-below = seq-sync-below Loss Loss-dioid +g-comm + +Loss-sync-above : SyncAbove Loss _+g_ +Loss-sync-above = seq-sync-above Loss Loss-dioid +g-comm + +tMul-comm : ∀ a b → tMul a b ≡ tMul b a +tMul-comm (val a) (val b) = cong val (+-comm a b) +tMul-comm (val a) bot = refl +tMul-comm bot (val b) = refl +tMul-comm bot bot = refl + +MaxPlus-work : IsParallel MaxPlus tMul +MaxPlus-work = seq-parallel MaxPlus MaxPlus-dioid tMul-comm + +MaxPlus-work-sync-below : SyncBelow MaxPlus tMul +MaxPlus-work-sync-below = seq-sync-below MaxPlus MaxPlus-dioid tMul-comm + +MaxPlus-work-sync-above : SyncAbove MaxPlus tMul +MaxPlus-work-sync-above = seq-sync-above MaxPlus MaxPlus-dioid tMul-comm + +---------------------------------------------------------------------- +-- Span: MaxPlus, parallel = max on finite costs +tPar : Tropical → Tropical → Tropical +tPar bot _ = bot +tPar (val m) bot = bot +tPar (val m) (val n) = val (max m n) + +MaxPlus-span : IsParallel MaxPlus tPar +MaxPlus-span = record + { assoc = assoc ; comm = comm ; unitˡ = unitˡ ; distribˡ = distribˡ } + where + assoc : ∀ a b c → tPar (tPar a b) c ≡ tPar a (tPar b c) + assoc (val a) (val b) (val c) = cong val (max-assoc a b c) + assoc (val a) (val b) bot = refl + assoc (val a) bot c = refl + assoc bot b c = refl + + comm : ∀ a b → tPar a b ≡ tPar b a + comm (val a) (val b) = cong val (max-comm a b) + comm (val a) bot = refl + comm bot (val b) = refl + comm bot bot = refl + + unitˡ : ∀ a → tPar (val 0) a ≡ a + unitˡ (val a) = refl + unitˡ bot = refl + + distribˡ : ∀ a b c → tPar a (tAdd b c) ≡ tAdd (tPar a b) (tPar a c) + distribˡ (val a) (val b) (val c) = cong val (sym (max-dup a b c)) + distribˡ (val a) (val b) bot = refl + distribˡ (val a) bot (val c) = refl + distribˡ (val a) bot bot = refl + distribˡ bot b c = refl + +-- max (a + c) (b + d) ≤ max a b + max c d: threads that meet in the +-- middle wait for the slower half twice. +MaxPlus-span-sync-above : SyncAbove MaxPlus tPar +MaxPlus-span-sync-above (val a) (val b) (val c) (val d) = + cong val (max-≤ (max-lub + (+-mono-≤ (≤-max-left a b) (≤-max-left c d)) + (+-mono-≤ (≤-max-right a b) (≤-max-right c d)))) +MaxPlus-span-sync-above (val a) (val b) (val c) bot = refl +MaxPlus-span-sync-above (val a) (val b) bot d = refl +MaxPlus-span-sync-above (val a) bot (val c) d = refl +MaxPlus-span-sync-above (val a) bot bot d = refl +MaxPlus-span-sync-above bot b c d = refl + +-- The other direction fails: costs 1 ∥ 0 then 0 ∥ 1 take 2 when the +-- threads meet in the middle and 1 when they run free. The control is +-- tests/reject/SpanSyncBelow.agda. +MaxPlus-span-not-sync-below : ¬ SyncBelow MaxPlus tPar +MaxPlus-span-not-sync-below f with f (val 1) (val 0) (val 0) (val 1) +... | () + +---------------------------------------------------------------------- +-- Occupancy: HWM, parallel = sum of peaks and sum of drifts +infixl 7 _∥h_ +_∥h_ : H.Grade → H.Grade → H.Grade +hwm p₁ n₁ b₁ ∥h hwm p₂ n₂ b₂ = hwm (p₁ + p₂) (n₁ + n₂) (+-mono-≤ b₁ b₂) + +HWM-parallel : IsParallel HWM _∥h_ +HWM-parallel = record + { assoc = assoc ; comm = comm ; unitˡ = unitˡ ; distribˡ = distribˡ } + where + assoc : ∀ a b c → (a ∥h b) ∥h c ≡ a ∥h (b ∥h c) + assoc (hwm p n _) (hwm p' n' _) (hwm p'' n'' _) = + hwm-≡ (+-assoc p p' p'') (+-assoc n n' n'') + + comm : ∀ a b → a ∥h b ≡ b ∥h a + comm (hwm p n _) (hwm p' n' _) = hwm-≡ (+-comm p p') (+-comm n n') + + unitˡ : ∀ a → 𝟘h ∥h a ≡ a + unitˡ (hwm p n _) = hwm-≡ refl refl + + distribˡ : ∀ a b c → a ∥h (b ⊕h c) ≡ (a ∥h b) ⊕h (a ∥h c) + distribˡ (hwm p n _) (hwm p₂ n₂ _) (hwm p₃ n₃ _) = + hwm-≡ (+-distribˡ-max p p₂ p₃) (+-distribˡ-max n n₂ n₃) + +-- max (pa + pb) ((na + nb) + (pc + pd)) ≤ max pa (na + pc) + max pb (nb + pd), +-- and the drifts agree: threads that meet in the middle never hold more +-- than the sum of what each holds running free. +HWM-sync-below : SyncBelow HWM _∥h_ +HWM-sync-below (hwm pa na _) (hwm pb nb _) (hwm pc nc _) (hwm pd nd _) = + hwm-≡ + (max-≤ (max-lub + (+-mono-≤ (≤-max-left pa (na + pc)) (≤-max-left pb (nb + pd))) + (subst (λ z → z ≤ max pa (na + pc) + max pb (nb + pd)) + (sym (+-interchange na nb pc pd)) + (+-mono-≤ (≤-max-right pa (na + pc)) (≤-max-right pb (nb + pd)))))) + (max-≤ (subst (λ z → (na + nb) + (nc + nd) ≤ z) + (+-interchange na nb nc nd) + (≤-refl ((na + nb) + (nc + nd))))) + +-- The other direction fails: two threads of peak 1, one before the +-- meeting and one after it, hold 1 when they meet in the middle and are +-- graded 2 running free. The control is tests/reject/HWMSyncAbove.agda. +HWM-not-sync-above : ¬ SyncAbove HWM _∥h_ +HWM-not-sync-above f = + two≢one (cong peak (f (hwm 1 0 z≤n) 𝟘h 𝟘h (hwm 1 0 z≤n))) + where + two≢one : 2 ≢ 1 + two≢one () diff --git a/src/ResourceAlgebra/Star.agda b/src/ResourceAlgebra/Star.agda new file mode 100644 index 0000000..724a62e --- /dev/null +++ b/src/ResourceAlgebra/Star.agda @@ -0,0 +1,187 @@ +{-# OPTIONS --safe --without-K --cubical-compatible --exact-split --no-sized-types --no-guardedness #-} +-- SPDX-License-Identifier: MPL-2.0 +-- SPDX-FileCopyrightText: 2026 Jonathan D.A. Jewell +-- +-- The loop grade, as a layer over a resource algebra. +-- +-- IsStar R star star a is the grade of "a, any number of times": it is +-- a fixed point of x ↦ 𝟙 ⊕ (a ⊗ x) and the least one, on +-- both sides (Kozen's axioms for a Kleene algebra). +-- +-- Which algebras have one: +-- +-- unit-top-star if 𝟙 is the greatest grade, star a = 𝟙 for every a: +-- a loop grades as doing nothing. Loss is the case here +-- (the best run of a loop takes no turn). +-- no-star a grade a with no fixed point at all rules a star out. +-- MaxPlus (val 1) and HWM (hwm 1 1) have one: the costs +-- of 1, 2, 3, ... turns have no bound in the carrier. +-- MaxPlusTop MaxPlus with a top (+∞) has a star: bot and val 0 loop +-- for nothing, every dearer body loops to top. MaxPlus +-- embeds in it by a strict, injective morphism (lift-hom). +module ResourceAlgebra.Star where + +open import ResourceAlgebra.Prelude +open import ResourceAlgebra.Core +open import ResourceAlgebra.Morphism using (Hom) +open import ResourceAlgebra.Instances.Loss as L using (Loss; fin; inf; _⊓g_) +open import ResourceAlgebra.Instances.MaxPlus as M using (MaxPlus; Tropical; tAdd; tMul) +open import ResourceAlgebra.Instances.HWM as H using (HWM; hwm; _⊕h_; _⊗h_; 𝟘h; drift) +open import ResourceAlgebra.Instances.MaxPlusTop as T + using (MaxPlusTop; bot; val; top; _⊕t_; _⊗t_; ⊗t-unitˡ; ⊗t-comm) + +---------------------------------------------------------------------- +-- The layer +module _ (R : ResourceAlgebra) where + open ResourceAlgebra R + private + module A = IsAltMonoid alt + module S = IsSeqMonoid seq + + record IsStar (star : Grade → Grade) : Set where + field + unfold : ∀ a → 𝟙 ⊕ (a ⊗ star a) ≡ star a + leastˡ : ∀ a b x → (b ⊕ (a ⊗ x)) ≼ x → (star a ⊗ b) ≼ x + leastʳ : ∀ a b x → (b ⊕ (x ⊗ a)) ≼ x → (b ⊗ star a) ≼ x + + -- The loop grade bounds no turn and one more turn. + star-𝟙 : ∀ a → 𝟙 ≼ star a + star-𝟙 a = subst (λ z → 𝟙 ≼ z) (unfold a) (⊕-upperˡ 𝟙 (a ⊗ star a)) + + star-step : ∀ a → (a ⊗ star a) ≼ star a + star-step a = + subst (λ z → (a ⊗ star a) ≼ z) (unfold a) (⊕-upperʳ 𝟙 (a ⊗ star a)) + + -- If 𝟙 is the greatest grade, every loop grades as 𝟙. + unit-top-star : (∀ a → a ≼ 𝟙) → IsStar (λ _ → 𝟙) + unit-top-star greatest = record + { unfold = λ a → trans (A.comm 𝟙 (a ⊗ 𝟙)) (greatest (a ⊗ 𝟙)) + ; leastˡ = λ a b x h → + subst (λ z → z ≼ x) (sym (S.unitˡ b)) (≼-trans (⊕-upperˡ b (a ⊗ x)) h) + ; leastʳ = λ a b x h → + subst (λ z → z ≼ x) (sym (S.unitʳ b)) (≼-trans (⊕-upperˡ b (x ⊗ a)) h) + } + + -- A grade whose loop equation has no solution rules a star out. + NoFixpoint : Grade → Set + NoFixpoint a = ∀ s → (𝟙 ⊕ (a ⊗ s)) ≢ s + + no-star : ∀ a → NoFixpoint a → (star : Grade → Grade) → ¬ IsStar star + no-star a nf star st = nf (star a) (IsStar.unfold st a) + +---------------------------------------------------------------------- +-- ℕ lemmas used below +suc≢ : ∀ n → suc n ≢ n +suc≢ zero () +suc≢ (suc n) e = suc≢ n (suc-injective e) + +suc≰ : ∀ m → ¬ (suc m ≤ m) +suc≰ zero (le ()) +suc≰ (suc m) p = suc≰ m (≤-pred p) + +-- max (suc n + k) k is never k. +max-suc-+ : ∀ n k → max (suc (n + k)) k ≢ k +max-suc-+ n k e = suc≰ (n + k) (≤-trans (max-≡→≤ e) (≤-+ˡ n k)) + +---------------------------------------------------------------------- +-- Loss: 𝟙 = fin 0 is the greatest grade +Loss-unit-top : ∀ a → a ⊓g fin 0 ≡ fin 0 +Loss-unit-top (fin a) = cong fin (min-zeroʳ a) +Loss-unit-top inf = refl + +Loss-star : IsStar Loss (λ _ → fin 0) +Loss-star = unit-top-star Loss Loss-unit-top + +---------------------------------------------------------------------- +-- MaxPlus and HWM: no star +-- A body of cost 1: s would have to equal max 0 (1 + s). The control is +-- tests/reject/MaxPlusLoopBounded.agda. +MaxPlus-no-fixpoint : NoFixpoint MaxPlus (M.val 1) +MaxPlus-no-fixpoint (M.val n) e = suc≢ n (M.val-injective e) +MaxPlus-no-fixpoint M.bot () + +MaxPlus-no-star : (star : Tropical → Tropical) → ¬ IsStar MaxPlus star +MaxPlus-no-star = no-star MaxPlus (M.val 1) MaxPlus-no-fixpoint + +-- A body that allocates 1 and keeps it: every turn adds 1 to the drift. +HWM-no-fixpoint : NoFixpoint HWM (hwm 1 1 (le tt)) +HWM-no-fixpoint (hwm p n _) e = suc≢ n (cong drift e) + +HWM-no-star : (star : H.Grade → H.Grade) → ¬ IsStar HWM star +HWM-no-star = no-star HWM (hwm 1 1 (le tt)) HWM-no-fixpoint + +---------------------------------------------------------------------- +-- MaxPlusTop: the star +star-t : T.Grade → T.Grade +star-t bot = val 0 +star-t (val zero) = val 0 +star-t (val (suc _)) = top +star-t top = top + +MaxPlusTop-star : IsStar MaxPlusTop star-t +MaxPlusTop-star = record { unfold = unfold ; leastˡ = leastˡ ; leastʳ = leastʳ } + where + open ResourceAlgebra MaxPlusTop using (_≼_; ≼-trans; ⊕-upperˡ; ⊕-upperʳ) + + unfold : ∀ a → val 0 ⊕t (a ⊗t star-t a) ≡ star-t a + unfold bot = refl + unfold (val zero) = refl + unfold (val (suc _)) = refl + unfold top = refl + + -- From b ≼ x and a ⊗t x ≼ x. A body that costs something, sequenced + -- before a possible x, forces x to be top. + go : ∀ a b x → b ≼ x → (a ⊗t x) ≼ x → (star-t a ⊗t b) ≼ x + go bot b x hb _ = subst (λ z → z ≼ x) (sym (⊗t-unitˡ b)) hb + go (val zero) b x hb _ = subst (λ z → z ≼ x) (sym (⊗t-unitˡ b)) hb + go (val (suc n)) bot x _ _ = refl + go (val (suc n)) (val m) bot () _ + go (val (suc n)) (val m) (val k) _ ha with max-suc-+ n k (T.val-injective ha) + ... | () + go (val (suc n)) (val m) top _ _ = refl + go (val (suc n)) top bot () _ + go (val (suc n)) top (val k) () _ + go (val (suc n)) top top _ _ = refl + go top bot x _ _ = refl + go top (val m) bot () _ + go top (val m) (val k) _ () + go top (val m) top _ _ = refl + go top top bot () _ + go top top (val k) () _ + go top top top _ _ = refl + + leastˡ : ∀ a b x → (b ⊕t (a ⊗t x)) ≼ x → (star-t a ⊗t b) ≼ x + leastˡ a b x h = + go a b x (≼-trans (⊕-upperˡ b (a ⊗t x)) h) (≼-trans (⊕-upperʳ b (a ⊗t x)) h) + + -- Sequence commutes here, so the right law is the left one. + leastʳ : ∀ a b x → (b ⊕t (x ⊗t a)) ≼ x → (b ⊗t star-t a) ≼ x + leastʳ a b x h = + subst (λ z → z ≼ x) (⊗t-comm (star-t a) b) + (leastˡ a b x (subst (λ z → (b ⊕t z) ≼ x) (⊗t-comm x a) h)) + +---------------------------------------------------------------------- +-- MaxPlus embeds in MaxPlusTop +lift : Tropical → T.Grade +lift (M.val n) = val n +lift M.bot = bot + +lift-hom : Hom MaxPlus MaxPlusTop +lift-hom = record + { map = lift ; map-𝟘 = refl ; map-𝟙 = refl ; map-⊕ = ⊕-case ; map-⊗ = ⊗-case } + where + ⊕-case : ∀ a b → lift (tAdd a b) ≡ lift a ⊕t lift b + ⊕-case (M.val a) (M.val b) = refl + ⊕-case (M.val a) M.bot = refl + ⊕-case M.bot b = refl + + ⊗-case : ∀ a b → lift (tMul a b) ≡ lift a ⊗t lift b + ⊗-case (M.val a) (M.val b) = refl + ⊗-case (M.val a) M.bot = refl + ⊗-case M.bot b = refl + +lift-injective : ∀ a b → lift a ≡ lift b → a ≡ b +lift-injective (M.val a) (M.val b) e = cong M.val (T.val-injective e) +lift-injective (M.val a) M.bot () +lift-injective M.bot (M.val b) () +lift-injective M.bot M.bot _ = refl diff --git a/tests/reject/HWMSyncAbove.agda b/tests/reject/HWMSyncAbove.agda new file mode 100644 index 0000000..1c4dbeb --- /dev/null +++ b/tests/reject/HWMSyncAbove.agda @@ -0,0 +1,20 @@ +{-# OPTIONS --safe --without-K --cubical-compatible --exact-split --no-sized-types --no-guardedness #-} +-- SPDX-License-Identifier: MPL-2.0 +-- SPDX-FileCopyrightText: 2026 Jonathan D.A. Jewell +module HWMSyncAbove where +open import ResourceAlgebra.Prelude +open import ResourceAlgebra.Core +open import ResourceAlgebra.Instances.HWM +open import ResourceAlgebra.Parallel + +x : Grade +x = hwm 1 0 z≤n + +-- Must fail: two threads of peak 1, one before the meeting and one after +-- it, hold 1 when they meet in the middle and are graded 2 running free. +-- Accepting this would give occupancy the exchange law of a time-like +-- resource (Parallel.HWM-not-sync-above). +-- EXPECT: 2 != 1 of type Nat +invalid : peak (((x ⊗h 𝟘h) ∥h (𝟘h ⊗h x)) ⊕h ((x ∥h 𝟘h) ⊗h (𝟘h ∥h x))) + ≡ peak ((x ∥h 𝟘h) ⊗h (𝟘h ∥h x)) +invalid = refl diff --git a/tests/reject/MaxPlusLoopBounded.agda b/tests/reject/MaxPlusLoopBounded.agda new file mode 100644 index 0000000..13c164e --- /dev/null +++ b/tests/reject/MaxPlusLoopBounded.agda @@ -0,0 +1,14 @@ +{-# OPTIONS --safe --without-K --cubical-compatible --exact-split --no-sized-types --no-guardedness #-} +-- SPDX-License-Identifier: MPL-2.0 +-- SPDX-FileCopyrightText: 2026 Jonathan D.A. Jewell +module MaxPlusLoopBounded where +open import ResourceAlgebra.Prelude +open import ResourceAlgebra.Core +open import ResourceAlgebra.Instances.MaxPlus + +-- Must fail: no finite cost n bounds a loop whose body costs 1, because +-- one more turn costs suc n. Accepting this would give MaxPlus a loop +-- grade it does not have (Star.MaxPlus-no-fixpoint). +-- EXPECT: suc n != n of type Nat +invalid : ∀ n → tAdd (val 0) (tMul (val 1) (val n)) ≡ val n +invalid n = refl diff --git a/tests/reject/SpanSyncBelow.agda b/tests/reject/SpanSyncBelow.agda new file mode 100644 index 0000000..eb0c7f4 --- /dev/null +++ b/tests/reject/SpanSyncBelow.agda @@ -0,0 +1,18 @@ +{-# OPTIONS --safe --without-K --cubical-compatible --exact-split --no-sized-types --no-guardedness #-} +-- SPDX-License-Identifier: MPL-2.0 +-- SPDX-FileCopyrightText: 2026 Jonathan D.A. Jewell +module SpanSyncBelow where +open import ResourceAlgebra.Prelude +open import ResourceAlgebra.Core +open import ResourceAlgebra.Instances.MaxPlus +open import ResourceAlgebra.Parallel + +-- Must fail: with parallel = max, threads that meet in the middle take +-- longer than threads that run free (1 ∥ 0 then 0 ∥ 1 takes 2, not 1). +-- Accepting this would give elapsed time the exchange law of a space-like +-- resource (Parallel.MaxPlus-span-not-sync-below). +-- EXPECT: 2 != 1 of type Nat +invalid : tAdd (tMul (tPar (val 1) (val 0)) (tPar (val 0) (val 1))) + (tPar (tMul (val 1) (val 0)) (tMul (val 0) (val 1))) + ≡ tPar (tMul (val 1) (val 0)) (tMul (val 0) (val 1)) +invalid = refl From 459a45da54a1e8d9775d70f59929f7e342625093 Mon Sep 17 00:00:00 2001 From: Claude Date: Thu, 19 Nov 2026 00:18:22 +0000 Subject: [PATCH 2/3] Parallel composition and the loop grade: Rocq and Lean legs, ledger rows P-1 to P-4 and K-1 to K-4 The Rocq and Lean legs re-prove the eight rows by hand. Checked here, not as receipts: Lean 4.35.0 from the pinned archive (116 of 116 printed theorems axiom-free) and Coq 8.18.0 on a copy (106 of 106 closed). The Agda and Rocq inputs changed, so their runs at 15fa113 are superseded in the ledger of scripts/proof-receipt.sh. The receipt is regenerated with source commit c31bf1a. All 40 theory rows are ungraded until the first proofs.yml run on main that contains this change is recorded. Co-Authored-By: Claude Fable 5.2 Claude-Session: https://claude.ai/code/session_0136P7ZoGnoZnsFTWCDkS4nZ --- CHANGELOG.adoc | 24 + README.adoc | 4 +- docs/status/PROOF-STATUS.adoc | 253 +++- scripts/proof-receipt.sh | 6 +- verification/proofs/coq/ResourceAlgebra.v | 347 ++++++ .../proofs/lean4/ResourceAlgebra.lean | 402 ++++++ .../resource-algebra-proofs_praxis.deed | 1101 ++++++----------- 7 files changed, 1335 insertions(+), 802 deletions(-) diff --git a/CHANGELOG.adoc b/CHANGELOG.adoc index 737c1f2..7b42281 100644 --- a/CHANGELOG.adoc +++ b/CHANGELOG.adoc @@ -1,5 +1,29 @@ == Changelog +== 2026-11-19 — Parallel composition and the loop grade (P-1 to P-4, K-1 to K-4); every receipt superseded (40 rows ungraded for now) + +* `src/ResourceAlgebra/Parallel.agda` adds the `IsParallel` layer: a + commutative monoid on `𝟙` that distributes over ⊕. Two exchange laws, + `SyncBelow` and `SyncAbove`, relate it to ⊗ and are stated apart. Work + (`_∥_` = ⊗ in a dioid with a commutative ⊗; Loss and MaxPlus) has both. + MaxPlus span (`tPar`, max) has `SyncAbove` only. HWM (`_∥h_`, the sum) has + `SyncBelow` only. +* `src/ResourceAlgebra/Star.agda` adds the `IsStar` layer (Kozen's axioms). + An algebra whose `𝟙` is greatest has the star `star a` = `𝟙` (Loss). + MaxPlus and HWM have no star. `Instances/MaxPlusTop.agda` adds a top to + MaxPlus; it is an annihilating dioid with a star, and MaxPlus embeds in it + by a strict, injective morphism. +* Three expected rejections are added (16 in all): `SpanSyncBelow`, + `HWMSyncAbove` and `MaxPlusLoopBounded`. +* The Rocq and Lean legs re-prove the eight rows by hand. Checked before + the pull request, not as receipts: Agda 2.6.3, Lean 4.35.0 (116 of 116 + printed theorems axiom-free) and Coq 8.18.0 on a copy (106 of 106 closed). +* The Agda and Rocq inputs changed, so their runs at `15fa113` are + `superseded` in the ledger of `scripts/proof-receipt.sh`; the Lean run + already was. The receipt is regenerated with source commit `c31bf1a`. Of + 40 theory rows, all 40 are ungraded until the first `proofs.yml` run on + main that contains this change is recorded. + == 2026-11-18 — Lean leg and M-2 bridge under lake; the Lean receipt is superseded (31 rows PWG-2i for now) * The Lean leg builds as a Lake package (`verification/proofs/lean4/lakefile.toml`, diff --git a/README.adoc b/README.adoc index e27c552..114b759 100644 --- a/README.adoc +++ b/README.adoc @@ -86,10 +86,12 @@ only from its first green run. ---- src/ResourceAlgebra/Prelude.agda ℕ lemmas (+, max, min, ≤), proved here src/ResourceAlgebra/Core.agda the record and its layers -src/ResourceAlgebra/Instances/*.agda Loss, MaxPlus, HWM, MinMax, Questions, Evidence +src/ResourceAlgebra/Instances/*.agda Loss, MaxPlus, HWM, MinMax, Questions, Evidence, Diamond, MaxPlusTop src/ResourceAlgebra/Ledger.agda a proof-ledger row's status, derived from its dependencies src/ResourceAlgebra/Separation.agda checked separation witnesses src/ResourceAlgebra/Morphism.agda strict and lax morphisms, classifications +src/ResourceAlgebra/Parallel.agda parallel composition and its two exchange laws +src/ResourceAlgebra/Star.agda the loop grade (Kleene star), and where it exists tests/reject/*.agda expected rejections (must fail) docs/pre-registration.adoc intent, provenance ledger, obligations docs/status/PROOF-STATUS.adoc every claim with its status and artefact diff --git a/docs/status/PROOF-STATUS.adoc b/docs/status/PROOF-STATUS.adoc index 20f2e67..f63c1f2 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-18 +:revdate: 2026-11-19 Every row is a theory theorem (`PROOF-NEEDS.adoc`). Records follow `3-practice/PROOF-POLICY.adoc` in `hyperpolymath/standards`, which keeps @@ -16,21 +16,33 @@ asserted. The values, weakest first, are `ungraded`, `3`, `2i`, `2ii` and == Census -Out of 32 theory rows: PWG-1: 0 · PWG-2ii: 0 · PWG-2i: 31 · PWG-3: 0 · -ungraded: 1 (M-2). The grades hold at source commit -`15fa113c7427e2de009eade9148295d08c046b33` only, the merge of -resource-algebra#45 and the commit the proof receipt describes -(`verification/receipts/resource-algebra-proofs_praxis.deed`). The +Out of 40 theory rows: PWG-1: 0 · PWG-2ii: 0 · PWG-2i: 0 · PWG-3: 0 · +ungraded: 40. No leg has a current receipt, so nothing is graded (§8.4). +The proof receipt +(`verification/receipts/resource-algebra-proofs_praxis.deed`) names source +commit `c31bf1a9ae9d186674c7ed79c6c9b018a1d59c2b`, the commit on main that +the change below was made on. The standards reader (`deed_lint.js --proof-receipt-json`), as pinned by -`scripts/proof-receipt.sh` (standards `f4e83044`), derives every grade there +`scripts/proof-receipt.sh` (standards `f4e83044`), derives every grade from the legs and receipts, and refuses a recorded grade that differs (§8.4). -The 31 rows are PWG-2i for now, not PWG-2ii. resource-algebra#53 moved the -Lean leg and the M-2 bridge under `lake`, which changes the Lean leg's -inputs and its checker. The Lean run at `15fa113` no longer describes the -tree, so it is `superseded` and the Lean legs have no current receipt -(§8.4). The Agda and Rocq receipts stand. The first `proofs.yml` run on -main under `lake` is recorded next, and the rows then return to PWG-2ii. +Why no receipt is current. Rows P-1 to P-4 and K-1 to K-4 (parallel +composition and the loop grade, 2026-11-19) changed the inputs of the Agda +and Rocq legs: the Agda cone gained three modules and the Rocq file gained +their leg. The Agda and Rocq runs at `15fa113` no longer describe the tree, +so they are `superseded`. The Lean run at `15fa113` was already +`superseded` by resource-algebra#53, which moved the Lean leg and the M-2 +bridge under `lake`. The first `proofs.yml` run on main that contains this +change is recorded next. The 31 rows that were PWG-2i then get the grade +that run supports, and the eight new rows get their first grade. The proofs +of those 31 rows did not change. + +The eight new rows were checked before the pull request in this way, which +is not a receipt: Agda 2.6.3 (`scripts/check-agda.sh`, 16 expected +rejections), Lean 4.35.0 from the pinned release archive +(`scripts/check-lean-leg.sh`, 116 of 116 printed theorems axiom-free) and +Coq 8.18.0 on a copy with `From Stdlib` read as `From Coq` (106 of 106 +printed theorems closed). The pinned Agda 2.6.4.3 and Rocq 9.3.0 run in CI. No row is PWG-1. Since standards#1625 (2026-11-17, owner ruling 2026-11-16), PWG-1 needs every counted witness to name the image its checker @@ -43,10 +55,9 @@ the legs run in prover images that ship the checker. The 27 rows that were PWG-1 at `47de4a8` were graded by an earlier reader, before that rule; the same evidence now gives PWG-2ii. The proofs did not change. -One row is ungraded. M-2 is `PROVEN` by a Lean bridge only. Its +M-2 stays ungraded whatever the receipts say. M-2 is `PROVEN` by a Lean bridge only. Its statement names a Lean-only object, so it has no Agda witness and cannot -reach PWG-3 (§8.1). C-4b, E-1, E-2 and E-3 are graded like every other -row: the receipt covers them. No row rests +reach PWG-3 (§8.1). Every other row is graded by the receipts once one is current. No row rests on an axiom: the Agda leg is `--safe` with the trusted base below, the Rocq leg prints every theorem closed under the global context, and the Lean leg prints no axiom for any theorem. @@ -60,7 +71,7 @@ dependent type theories (§8.3). -W error -i src`, and every module also declares `--exact-split --no-sized-types --no-guardedness` (the estate strict flag set, from main #21) over `src/ResourceAlgebra/All.agda`, the unit tests -(`tests/unit/AllTests.agda`) and the thirteen expected rejections. A rejection +(`tests/unit/AllTests.agda`) and the sixteen expected rejections. A rejection must fail at its invalid declaration with the message its `-- EXPECT:` line names. A refusal with any other message fails the gate, and so does any warning, `UnsupportedIndexedMatch` included. Until 2026-11-16 the gate @@ -97,13 +108,15 @@ receipts for the canonical profile. On 2026-11-09, `_≤_` and the constructor-injectivity lemmas were restated so that the core checks under `--cubical-compatible` with no `UnsupportedIndexedMatch` warning. The statements of the theorems below did not change. -* *Expected rejections.* Thirteen claims must be refused, each with the +* *Expected rejections.* Sixteen claims must be refused, each with the message its `-- EXPECT:` line names. Those messages are: `min m n != max m n`, `p != zero`, `suc _ != zero`, `max m n != m + n`, `max p₁ (n₁ + p₂) != p₁ + p₂`, `3 != 5`, `inf != fin 3`, `… != bot`, `false != true`, `a != bot of type Grade` (C-4b's control, `tests/reject/DiamondDistributes.agda`), and for the evidence ledger `tested-only != argued`, `argued != proven` and `tested-only != proven`. +The controls of P-3 and P-4 are refused with `2 != 1`, and the control of +K-2 with `suc n != n`. These are controls for the PROVEN rows. They are not themselves theorems. == Recheck legs (every row) @@ -114,6 +127,8 @@ files and by the same routes as every other row, their statements are reconciled (see Statement correspondence), and the receipt below records a run of all three legs on a commit that contains them. The Lean run of that receipt is now `superseded` (see Census). +P-1 to P-4 and K-1 to K-4 are re-proved in both legs in the same way. No +receipt records a run of them yet (see Census). [cols="1,1,1,1,2",options="header"] |=== @@ -123,7 +138,8 @@ that receipt is now `superseded` (see Census). | source | `PROVEN` | `AGDA-VERIFIED` -| CI run `44209774341`, job `134484857967` +| `superseded`: CI run `44209774341`, job `134484857967`. No current +receipt yet | Rocq | `re-proved` (transport `unavailable`; see below) @@ -131,7 +147,8 @@ that receipt is now `superseded` (see Census). under the global context), and `rocqchk` rechecks the compiled file | `RECONCILED`: statements compared and residual differences recorded below -| CI run `44209774341`, job `134484858135` +| `superseded`: CI run `44209774341`, job `134484858135`. No current +receipt yet | Lean | `re-proved`, Lean core only, no Mathlib @@ -144,8 +161,9 @@ directly, before the leg moved under `lake`). No current receipt yet === Receipts -The Lean row below is `superseded` by resource-algebra#53; the Agda and -Rocq rows are current. +All three rows below are `superseded`: the Lean row by +resource-algebra#53, and the Agda and Rocq rows by the change that added +P-1 to P-4 and K-1 to K-4 (see Census). All three legs passed in one `proofs.yml` run, https://github.com/hyperpolymath/resource-algebra/actions/runs/44209774341[`44209774341`], @@ -342,6 +360,14 @@ equations as Lean's `or`/`and` and Rocq's `orb`/`andb`. | E-1 | `Evidence`, `Evidence-dioid`, `Evidence-ordered`, `Evidence-annihilating`, `≼→≤`, `≤→≼`, `≼-proven`, `⊓e-lowerˡ`, `⊓e-lowerʳ`, `⊓e-greatest` | `Evidence`, `Evidence_dioid`, `Evidence_ordered`, `Evidence_annihilating`, `le_to_rank`, `rank_to_le`, `le_proven`, `eMeet_lowerl`, `eMeet_lowerr`, `eMeet_greatest` | `Evidence`, `Evidence_dioid`, `Evidence_ordered`, `Evidence_annihilating`, `le_to_rank`, `rank_to_le`, `le_proven`, `emeet_lowerl`, `emeet_lowerr`, `emeet_greatest` | E-2 | `eff-≼-own`, `eff-≼-dep`, `eff-≼-reach` | `eff_le_own`, `eff_le_dep`, `eff_le_reach` | the same names | E-3 | `Respects`, `eff-respects`, `restrict`, `eff-greatest` | `Respects`, `eff_respects`, `restrict`, `eff_greatest` | the same names +| P-1 | `IsParallel` (`unitʳ`, `distribʳ`, `monoˡ`, `monoʳ`), `SyncBelow`, `SyncAbove`, `seq-parallel`, `seq-sync-below`, `seq-sync-above` | `IsParallel` (`unitr`, `distribr`, `mono_l`, `mono_r`), `SyncBelow`, `SyncAbove`, `seq_parallel`, `seq_sync_below`, `seq_sync_above` | `IsParallel`, `par_unitr`, `par_distribr`, `par_mono_l`, `par_mono_r`, `SyncBelow`, `SyncAbove`, `seq_parallel`, `seq_sync_below`, `seq_sync_above` +| P-2 | `Loss-parallel`, `Loss-sync-below`, `Loss-sync-above`, `MaxPlus-work`, `MaxPlus-work-sync-below`, `MaxPlus-work-sync-above` | `Loss_parallel`, `Loss_sync_below`, `Loss_sync_above`, `MaxPlus_work`, `MaxPlus_work_sync_below`, `MaxPlus_work_sync_above` | the same names +| P-3 | `tPar`, `MaxPlus-span`, `MaxPlus-span-sync-above`, `MaxPlus-span-not-sync-below` | `tPar`, `MaxPlus_span`, `MaxPlus_span_sync_above`, `MaxPlus_span_not_sync_below` | the same names +| P-4 | `_∥h_`, `HWM-parallel`, `HWM-sync-below`, `HWM-not-sync-above` | `parH`, `HWM_parallel`, `HWM_sync_below`, `HWM_not_sync_above` | the same names +| K-1 | `IsStar` (`star-𝟙`, `star-step`), `unit-top-star`, `Loss-unit-top`, `Loss-star` | `IsStar` (`one_le`, `step`), `unit_top_star`, `Loss_unit_top`, `Loss_star` | `IsStar`, `star_one`, `star_step`, `unit_top_star`, `Loss_unit_top`, `Loss_star` +| K-2 | `NoFixpoint`, `no-star`, `MaxPlus-no-fixpoint`, `MaxPlus-no-star`, `HWM-no-fixpoint`, `HWM-no-star` | `NoFixpoint`, `no_star`, `MaxPlus_no_fixpoint`, `MaxPlus_no_star`, `HWM_no_fixpoint`, `HWM_no_star` | the same names +| K-3 | `MaxPlusTop`, `MaxPlusTop-dioid`, `MaxPlusTop-ordered`, `MaxPlusTop-annihilating`, `lift-hom`, `lift-injective` | `MaxPlusTop`, `MaxPlusTop_dioid`, `MaxPlusTop_ordered`, `MaxPlusTop_annihilating`, `liftHom`, `lift_injective` | `MaxPlusTop`, `MaxPlusTop_dioid`, `MaxPlusTop_ordered`, `MaxPlusTop_annihilating`, `lift_hom`, `lift_injective` +| K-4 | `star-t`, `MaxPlusTop-star` | `starT`, `MaxPlusTop_star` | the same names |=== C-4b's carrier is `Grade` in Agda and `DGrade` in Lean and Rocq; the join @@ -358,6 +384,20 @@ only that a morphism is one of the two: a weaker statement, so the receipts at `9f175cc` do not recheck F-5's classifier either (see Receipts). No leg rests on an assumption beyond its prover's kernel. +P-1 to P-4 and K-1 to K-4 have these residual differences: + +* The carrier of `MaxPlusTop` is `Grade` (`bot`, `val`, `top`) in Agda and +`TGrade` in Lean and Rocq; Rocq's constructors are `tbot`, `tval` and +`ttop`. The operations have the same tables in all three. +* Agda's field `IsStar.unfold` is `unfold_eq` in Lean and `star_unfold` in +Rocq. +* K-4: Agda (`go`) and Lean (`starT_go`) prove the left least-fixed-point +law by cases from `b ≼ x` and `a ⊗ x ≼ x`, and get the right law from it +because ⊗ commutes. Rocq proves both laws by case analysis on the three +grades. The statements are the same. +* P-4: Agda and Lean give the peak bound of `HWM-sync-below` as an explicit +chain of ℕ lemmas; Rocq closes it with `lia`. + E-1, E-2 and E-3 have these residual differences: * Names follow each prover's convention. The statuses are `openRow`, @@ -458,25 +498,25 @@ counted. | `ResourceAlgebra`: alternatives form an idempotent commutative monoid and sequencing a monoid. | `PROVEN` (the definition, plus the derived `unitʳ`) -| 2i +| ungraded | C-2 | The relation `≼` induced by ⊕ is a partial order. `𝟘` is least and `⊕` is its join. | `PROVEN` (`≼-refl`, `≼-trans`, `≼-antisym`, `𝟘-least`, `⊕-upperˡ/ʳ`; the least-upper-bound half is `⊕-least`, from main #21) -| 2i +| ungraded | C-3 | Every dioid is ordered: distributivity makes `⊗` monotone on both sides. | `PROVEN` (`IsDioid.ordered`) -| 2i +| ungraded | C-4a | A dioid need not be annihilating. HWM is a dioid and is not annihilating. | `PROVEN` (`HWM-dioid`, `HWM-not-annihilating`); control `tests/reject/HWMAnnihilates.agda` -| 2i +| ungraded | C-4b | An annihilating ordered algebra need not be a dioid. The diamond lattice @@ -485,7 +525,7 @@ ordered and annihilating, and is not a dioid: a ⊗ (b ⊕ c) = a, while (a ⊗ b) ⊕ (a ⊗ c) = 𝟘. | `PROVEN` (`Diamond`, `Diamond-ordered`, `Diamond-annihilating`, `Diamond-not-dioid`); control `tests/reject/DiamondDistributes.agda` -| 2i +| ungraded |=== == Instances @@ -498,13 +538,13 @@ ordered and annihilating, and is not a dioid: a ⊗ (b ⊕ c) = a, while | `Loss` is a `ResourceAlgebra`, `IsDioid`, `IsOrdered` and `IsAnnihilating`, with ⊕ = min, ⊗ = +, 𝟘 = inf and 𝟙 = fin 0. | `PROVEN` (Instances/Loss.agda) -| 2i +| ungraded | M-1 | `MaxPlus` is a `ResourceAlgebra`, `IsDioid`, `IsOrdered` and `IsAnnihilating`, with ⊕ = max, ⊗ = +, 𝟘 = bot and 𝟙 = val 0. | `PROVEN` (Instances/MaxPlus.agda) -| 2i +| ungraded | M-2 | `MaxPlus` agrees with tropical-types' `instance : CommSemiring Tropical` @@ -523,13 +563,13 @@ names a Lean object. | `HWM` (peak, drift, with drift ≤ peak) is a `ResourceAlgebra`, `IsDioid` and `IsOrdered`, and 𝟘 ≡ 𝟙. | `PROVEN` (Instances/HWM.agda) -| 2i +| ungraded | H-3 | `HWM` has no annihilating zero. | `PROVEN` (`HWM-not-annihilating`); control `tests/reject/HWMAnnihilates.agda` -| 2i +| ungraded | N-1 | `MinMax` (the bottleneck algebra) is a `ResourceAlgebra`, `IsDioid`, @@ -537,7 +577,7 @@ and `IsOrdered`, and 𝟘 ≡ 𝟙. ⊕ = min and ⊗ = max (`_⊔g_`, with `inf` absorbing), with 𝟘 = inf and 𝟙 = fin 0. | `PROVEN` (Instances/MinMax.agda) -| 2i +| ungraded | Q-1 | `Questions n` (a "which" grade over `n` downstream questions) is a @@ -546,19 +586,19 @@ and `IsOrdered`, and 𝟘 ≡ 𝟙. ⊕ = intersection and ⊗ = union, bit by bit, with 𝟘 = every question lost and 𝟙 = none lost. | `PROVEN` (Instances/Questions.agda) -| 2i +| ungraded | Q-2 | With two questions, `collapse` (loses question 1) and `shuffle` (loses question 0) each lose one question and are different grades: a count of lost questions cannot tell them apart. | `PROVEN` (`same-amount-different-loss`) -| 2i +| ungraded | Q-3 | In sequence, `collapse` then `shuffle` loses both questions. | `PROVEN` (`both-lost`) -| 2i +| ungraded | Q-4 | As alternatives, `collapse ⊕ shuffle` is 𝟙 (no question lost), while @@ -566,7 +606,7 @@ neither branch is 𝟙. So ⊕ answers "is question i kept on some branch?" and not "does one branch keep every question?". | `PROVEN` (`no-branch-achieves-meet`, with Q-2); control `tests/reject/QuestionsMeetIsABranch.agda` -| 2i +| ungraded | E-1 | `Evidence` (how strongly a proof-ledger row is supported) is a @@ -579,7 +619,7 @@ operations are ⊕ = the stronger (join) and ⊗ = the weaker (meet), with the meet of `≼` (`⊓e-lowerˡ`, `⊓e-lowerʳ`, `⊓e-greatest`). | `PROVEN` (Instances/Evidence.agda); control `tests/reject/EvidenceArguedBelowTested.agda` -| 2i +| ungraded |=== == Evidence ledger (Ledger.agda) @@ -611,7 +651,7 @@ through dependencies. | `PROVEN` (`eff-≼-own`, `eff-≼-dep`, `eff-≼-reach`); controls `tests/reject/EvidenceProvenOverTested.agda`, `tests/reject/EvidenceArguedLinkIgnored.agda` -| 2i +| ungraded | E-3 | Maximality: `eff` respects the ledger, and every assignment of statuses @@ -619,7 +659,7 @@ that respects it is below `eff` row by row. So `eff` is the strongest status the ledger supports, and a recorded status above it is an overstatement. | `PROVEN` (`eff-respects`, `eff-greatest`) -| 2i +| ungraded |=== The worked ledger in `tests/unit/EvidenceTest.agda` closes the loop on @@ -641,26 +681,26 @@ it maps ⊗ to at most ⊗: that is what transporting a bound needs. | Both notions have identities and compose, and every strict morphism is lax. | `PROVEN` (`id-hom`, `_∘h_`, `id-lax`, `_∘l_`, `lax`) -| 2i +| ungraded | F-2 | `peak : HWM → MaxPlus` is lax: the peak of a sequence never exceeds the sum of the peaks. | `PROVEN` (`peak-lax`) -| 2i +| ungraded | F-3 | `peak` is not strict: it does not preserve ⊗, whatever it does to the units. | `PROVEN` (`peak-not-strict`); control `tests/reject/PeakIsStrict.agda` -| 2i +| ungraded | F-4 | No strict morphism leaves HWM for an algebra with 𝟘 ≢ 𝟙. In particular, none goes to MaxPlus or to Loss. | `PROVEN` (`no-strict-from-HWM`, `no-strict-HWM→MaxPlus`, `no-strict-HWM→Loss`) -| 2i +| ungraded | F-5 | Exactly two strict morphisms Loss → MaxPlus exist, `zero-test` and @@ -670,7 +710,7 @@ morphism is one of them (`Loss→MaxPlus`). They are distinct (`maps-disagree-at-positive`), and every morphism collapses `fin 1` and `fin 2` (`Loss→MaxPlus-collapses`, `no-injective-Loss→MaxPlus`). -| 2i +| ungraded | F-6 | Exactly one strict morphism MaxPlus → Loss exists, `support′`. @@ -678,13 +718,13 @@ resource-algebra#3 sketched this direction as "symmetric" to Loss → MaxPlus, but it is not: there is one map, not two. The issue's other claim, that every positive grade goes to a single point, holds. | `PROVEN` (`support′-hom`, `MaxPlus→Loss`) -| 2i +| ungraded | F-7 | The identity on the carrier is a lax morphism Loss → MinMax: a bottleneck never exceeds the sum. | `PROVEN` (`loss-bottleneck`) -| 2i +| ungraded | F-8 | Out of one question there is exactly one strict morphism into an algebra @@ -692,20 +732,20 @@ never exceeds the sum. 𝟘 ⊗ 𝟘 ≡ 𝟘, which every annihilating algebra has, and HWM too. | `PROVEN` (`one-question-hom`, `one-question-needs`, `one-question-unique`) -| 2i +| ungraded | F-9 | Taking the first question of `Questions (suc n)`, and dropping it, are strict morphisms. Composed, they read any single question alone. | `PROVEN` (`first-question`, `later-questions`) -| 2i +| ungraded | F-10 | The number of lost questions does not preserve ⊕: `collapse` and `shuffle` each count 1 and their ⊕ counts 0. So no map into Loss or MinMax that factors through the count is strict or lax. | `PROVEN` (`count-not-⊕`) -| 2i +| ungraded |=== == Separation (Separation.agda) @@ -723,26 +763,123 @@ for checks over a bounded or sampled domain. | Sequencing peaks 2 and 3 gives 3 under HWM and 5 under MaxPlus: an occupancy bound is not a cost bound. | `PROVEN` (`occupancy-is-not-cost`) -| 2i +| ungraded | S-2 | On the same numbers, alternatives give `fin 2` under Loss and `val 3` under MaxPlus: echo's join is min, while tropical's is max. | `PROVEN` (`alternatives-differ`) -| 2i +| ungraded | S-3 | `val 1 ≼ val 2` in MaxPlus but `fin 2 ≼ fin 1` in Loss: the induced orders run in opposite directions. | `PROVEN` (`maxplus-order`, `loss-order-reversed`) -| 2i +| ungraded | S-4 | Sequencing 2 then 3 gives `fin 5` under Loss but `fin 3` under MinMax: a bottleneck bound is not a loss bound. | `PROVEN` (`bottleneck-is-not-sum`); `tests/reject/MinMaxIsLoss.agda` refuses the general identification -| 2i +| ungraded +|=== + +== Parallel composition (Parallel.agda) + +`IsParallel R _∥_` is a layer, like `IsDioid`: `_∥_` is a commutative +monoid on `𝟙` and distributes over ⊕, so it is monotone. Nothing in the +layer relates `_∥_` to ⊗. Two exchange laws do that, and they are stated +apart, because which one holds is a property of the resource: + +* `SyncBelow`: (a ∥ b) ⊗ (c ∥ d) ≼ (a ⊗ c) ∥ (b ⊗ d). Two threads that +meet in the middle are graded at most as two threads that run free. This is +the exchange law of a concurrent semiring. +* `SyncAbove`: the reverse bound. + +[cols="1,4,2,1",options="header"] +|=== +| ID | Claim | Agda (§5) | pwg + +| P-1 +| The layer: a parallel composition has a right unit, distributes on the +right and is monotone on both sides. A dioid with a commutative ⊗ is +parallel with `_∥_` = ⊗, and then both exchange laws hold, as an equality. +| `PROVEN` (`IsParallel` with `unitʳ`, `distribʳ`, `monoˡ`, `monoʳ`; +`seq-parallel`, `seq-sync-below`, `seq-sync-above`) +| ungraded + +| P-2 +| Work. `Loss` and `MaxPlus` are parallel with `_∥_` = + (their ⊗), and +have both exchange laws. +| `PROVEN` (`Loss-parallel`, `Loss-sync-below`, `Loss-sync-above`, +`MaxPlus-work`, `MaxPlus-work-sync-below`, `MaxPlus-work-sync-above`) +| ungraded + +| P-3 +| Span. `MaxPlus` is parallel with `_∥_` = max on finite costs (`bot` +absorbs). `SyncAbove` holds: max (a + c) (b + d) ≤ max a b + max c d. +`SyncBelow` does not: 1 ∥ 0 then 0 ∥ 1 takes 2 when the threads meet in the +middle and 1 when they run free. +| `PROVEN` (`MaxPlus-span`, `MaxPlus-span-sync-above`, +`MaxPlus-span-not-sync-below`); control `tests/reject/SpanSyncBelow.agda` +| ungraded + +| P-4 +| Occupancy. `HWM` is parallel with `_∥_` = the sum of the peaks and the +sum of the drifts. `SyncBelow` holds. `SyncAbove` does not: two threads of +peak 1, one before the meeting and one after it, hold 1 when they meet in +the middle and are graded 2 when they run free. +| `PROVEN` (`HWM-parallel`, `HWM-sync-below`, `HWM-not-sync-above`); +control `tests/reject/HWMSyncAbove.agda` +| ungraded +|=== + +P-3 and P-4 together say that elapsed time and occupancy exchange in +opposite directions, so no single exchange law belongs in the layer. + +== The loop grade (Star.agda) + +`IsStar R star` is a layer: `star a` is the grade of "a, any number of +times". It is a fixed point of x ↦ 𝟙 ⊕ (a ⊗ x) and the least one on both +sides (Kozen's axioms for a Kleene algebra). + +[cols="1,4,2,1",options="header"] +|=== +| ID | Claim | Agda (§5) | pwg + +| K-1 +| The layer: `𝟙 ≼ star a` and `a ⊗ star a ≼ star a`. If `𝟙` is the +greatest grade, `star a` = `𝟙` for every `a` is a star. `Loss` is such an +algebra, so a loop grades as `fin 0`. +| `PROVEN` (`IsStar` with `star-𝟙`, `star-step`; `unit-top-star`, +`Loss-unit-top`, `Loss-star`) +| ungraded + +| K-2 +| A grade whose loop equation 𝟙 ⊕ (a ⊗ s) ≡ s has no solution rules a +star out. `MaxPlus` has one (`val 1`) and `HWM` has one (`hwm 1 1`), so +neither has a star: the grades of 1, 2, 3, ... turns have no bound in the +carrier. +| `PROVEN` (`no-star`, `MaxPlus-no-fixpoint`, `MaxPlus-no-star`, +`HWM-no-fixpoint`, `HWM-no-star`); control +`tests/reject/MaxPlusLoopBounded.agda` +| ungraded + +| K-3 +| `MaxPlusTop` (`Instances/MaxPlusTop.agda`: ℕ with −∞ and +∞, ⊕ = max, +⊗ = +, 𝟘 = `bot`, 𝟙 = `val 0`, and `bot ⊗ top` = `bot`) is a +`ResourceAlgebra`, `IsDioid`, `IsOrdered` and `IsAnnihilating`. `MaxPlus` +embeds in it by a strict, injective morphism. +| `PROVEN` (`MaxPlusTop`, `MaxPlusTop-dioid`, `MaxPlusTop-ordered`, +`MaxPlusTop-annihilating`, `lift-hom`, `lift-injective`) +| ungraded + +| K-4 +| `MaxPlusTop` has a star: `bot` and `val 0` loop to `val 0`, and every +dearer body, and `top`, loop to `top`. +| `PROVEN` (`star-t`, `MaxPlusTop-star`) +| ungraded |=== == Correspondences with other repositories (not graded) @@ -791,6 +928,16 @@ not classified. Its ⊕ reads a grade as chooses the branch (Q-4). A grade for alternatives that another party chooses, and a grade over merged pairs (which do not compose by union), are not stated. +* Parallel composition and the loop grade for the other instances. MinMax, +Questions, Evidence and Diamond are not instantiated. `unit-top-star` and +`seq-parallel` are expected to cover those whose 𝟙 is greatest and whose ⊗ +commutes; that is not checked. +* A loop grade for occupancy. HWM has no star (K-2) and no HWM with a top is +defined. It belongs with occupancy-types' own algebra (H-2). +* No law here relates `star` to `_∥_`, and no morphism is shown to preserve +either. `peak-lax` is not checked against `_∥h_` and `tPar`. +* Which exchange law (P-1) a cut needs is a question for K-CUT-LOSS in +choreographic-types. * CI that emits the receipt of each main run by itself. The check half exists (`scripts/proof-receipt.sh --check` in the `receipt` job of `proofs.yml`). Recording a new run is still manual: `--run-row`, then diff --git a/scripts/proof-receipt.sh b/scripts/proof-receipt.sh index 94ae07c..adb8dd6 100755 --- a/scripts/proof-receipt.sh +++ b/scripts/proof-receipt.sh @@ -86,7 +86,7 @@ receipt_claims() { printf '%s|proven|theorem|re-proved|RECONCILED|re-proved|RECONCILED||\n' "$id" done printf '%s\n' "M-2|open|theorem|unavailable||re-proved|LEAN-CHECKED|the statement names tropical-types' Lean instance, which Rocq cannot import|" - for id in H-1 H-3 N-1 Q-1 Q-2 Q-3 Q-4 E-1 E-2 E-3 F-1 F-2 F-3 F-4 F-5 F-6 F-7 F-8 F-9 F-10 S-1 S-2 S-3 S-4; do + for id in H-1 H-3 N-1 Q-1 Q-2 Q-3 Q-4 E-1 E-2 E-3 F-1 F-2 F-3 F-4 F-5 F-6 F-7 F-8 F-9 F-10 S-1 S-2 S-3 S-4 P-1 P-2 P-3 P-4 K-1 K-2 K-3 K-4; do printf '%s|proven|theorem|re-proved|RECONCILED|re-proved|RECONCILED||\n' "$id" done } @@ -112,8 +112,8 @@ receipt_runs() { # The Lean invocation of that run, before the legs moved under lake. local lean_direct='lean ResourceAlgebra.lean in verification/proofs/lean4, core only; then bash scripts/check-lean-bridge.sh (lean -o on TropicalSessionTypes.lean and ResourceAlgebra.lean, then lean TropicalBridge.lean with LEAN_PATH)' cat < Grade R -> Grade R) : Prop := { + par_assoc : forall a b c, par (par a b) c = par a (par b c); + par_comm : forall a b, par a b = par b a; + par_unitl : forall a, par (rone R) a = a; + par_distribl : forall a b c, par a (radd R b c) = radd R (par a b) (par a c) +}. + +(** P-1: the derived right unit, right distributivity and monotonicity. *) +Lemma par_unitr (R : ResourceAlgebra) (par : Grade R -> Grade R -> Grade R) : + IsParallel R par -> forall a, par a (rone R) = a. +Proof. intros P a. rewrite (par_comm P a (rone R)). apply (par_unitl P). Qed. + +Lemma par_distribr (R : ResourceAlgebra) (par : Grade R -> Grade R -> Grade R) : + IsParallel R par -> + forall a b c, par (radd R a b) c = radd R (par a c) (par b c). +Proof. + intros P a b c. + rewrite (par_comm P (radd R a b) c), (par_distribl P c a b), + (par_comm P c a), (par_comm P c b). + reflexivity. +Qed. + +Lemma par_mono_l (R : ResourceAlgebra) (par : Grade R -> Grade R -> Grade R) : + IsParallel R par -> forall c a b, Le R a b -> Le R (par c a) (par c b). +Proof. + unfold Le; intros P c a b p. rewrite <- (par_distribl P c a b), p. reflexivity. +Qed. + +Lemma par_mono_r (R : ResourceAlgebra) (par : Grade R -> Grade R -> Grade R) : + IsParallel R par -> forall c a b, Le R a b -> Le R (par a c) (par b c). +Proof. + unfold Le; intros P c a b p. rewrite <- (@par_distribr R par P a b c), p. reflexivity. +Qed. + +(** The two exchange laws. [SyncBelow]: threads that meet in the middle are + graded at most as threads that run free. [SyncAbove]: at least. *) +Definition SyncBelow (R : ResourceAlgebra) (par : Grade R -> Grade R -> Grade R) : Prop := + forall a b c d, Le R (rmul R (par a b) (par c d)) (par (rmul R a c) (rmul R b d)). + +Definition SyncAbove (R : ResourceAlgebra) (par : Grade R -> Grade R -> Grade R) : Prop := + forall a b c d, Le R (par (rmul R a c) (rmul R b d)) (rmul R (par a b) (par c d)). + +(** P-1: a dioid with a commutative sequence is parallel with ∥ = ⊗, and + has both exchange laws. *) +Lemma seq_parallel (R : ResourceAlgebra) : + IsDioid R -> (forall a b, rmul R a b = rmul R b a) -> IsParallel R (rmul R). +Proof. + intros D mc. split. + - apply (seq_assoc (rseq R)). + - exact mc. + - apply (seq_unitl (rseq R)). + - apply (distribl D). +Qed. + +Lemma mul_interchange (R : ResourceAlgebra) : + (forall a b, rmul R a b = rmul R b a) -> + forall a b c d, + rmul R (rmul R a b) (rmul R c d) = rmul R (rmul R a c) (rmul R b d). +Proof. + intros mc a b c d. + rewrite (seq_assoc (rseq R) a b (rmul R c d)), + <- (seq_assoc (rseq R) b c d), (mc b c), + (seq_assoc (rseq R) c b d), <- (seq_assoc (rseq R) a c (rmul R b d)). + reflexivity. +Qed. + +Lemma seq_sync_below (R : ResourceAlgebra) : + (forall a b, rmul R a b = rmul R b a) -> SyncBelow R (rmul R). +Proof. + intros mc a b c d. rewrite (@mul_interchange R mc a b c d). apply le_refl. +Qed. + +Lemma seq_sync_above (R : ResourceAlgebra) : + (forall a b, rmul R a b = rmul R b a) -> SyncAbove R (rmul R). +Proof. + intros mc a b c d. rewrite (@mul_interchange R mc a b c d). apply le_refl. +Qed. + +(** P-2: work. Loss and MaxPlus, parallel = sequence. *) +Lemma lplus_comm : forall a b, lplus a b = lplus b a. +Proof. intros; grades. Qed. + +Lemma Loss_parallel : IsParallel Loss lplus. +Proof. exact (@seq_parallel Loss Loss_dioid lplus_comm). Qed. + +Lemma Loss_sync_below : SyncBelow Loss lplus. +Proof. exact (@seq_sync_below Loss lplus_comm). Qed. + +Lemma Loss_sync_above : SyncAbove Loss lplus. +Proof. exact (@seq_sync_above Loss lplus_comm). Qed. + +Lemma tMul_comm : forall a b, tMul a b = tMul b a. +Proof. intros; trops. Qed. + +Lemma MaxPlus_work : IsParallel MaxPlus tMul. +Proof. exact (@seq_parallel MaxPlus MaxPlus_dioid tMul_comm). Qed. + +Lemma MaxPlus_work_sync_below : SyncBelow MaxPlus tMul. +Proof. exact (@seq_sync_below MaxPlus tMul_comm). Qed. + +Lemma MaxPlus_work_sync_above : SyncAbove MaxPlus tMul. +Proof. exact (@seq_sync_above MaxPlus tMul_comm). Qed. + +(** P-3: span. MaxPlus, parallel = max on finite costs. *) +Definition tPar (a b : Tropical) : Tropical := + match a, b with + | bot, _ => bot + | val _, bot => bot + | val m, val n => val (rmax m n) + end. + +Lemma MaxPlus_span : IsParallel MaxPlus tPar. +Proof. split; simpl; intros; trops. Qed. + +Lemma MaxPlus_span_sync_above : SyncAbove MaxPlus tPar. +Proof. unfold SyncAbove, Le; simpl; intros; trops. Qed. + +Lemma MaxPlus_span_not_sync_below : ~ SyncBelow MaxPlus tPar. +Proof. + intro f. pose proof (f (val 1) (val 0) (val 0) (val 1)) as h. + unfold Le in h; simpl in h. discriminate h. +Qed. + +(** P-4: occupancy. HWM, parallel = sum of peaks and sum of drifts. *) +Definition parH (a b : HGrade) : HGrade. +Proof. + refine (hwm (peak a + peak b) (drift a + drift b) _). + destruct a, b; simpl; lia. +Defined. + +Lemma HWM_parallel : IsParallel HWM parH. +Proof. split; simpl; intros; hwms. Qed. + +Lemma HWM_sync_below : SyncBelow HWM parH. +Proof. unfold SyncBelow, Le; simpl; intros; hwms. Qed. + +Lemma HWM_not_sync_above : ~ SyncAbove HWM parH. +Proof. + intro f. + pose proof (f_equal peak + (f (hwm 1 0 (le_S 0 0 (le_n 0))) zeroH zeroH (hwm 1 0 (le_S 0 0 (le_n 0))))) + as h. + simpl in h. discriminate h. +Qed. + +(** * The loop grade (K-1 .. K-4) + + [star a] is the grade of "a, any number of times": a fixed point of + x ↦ 𝟙 ⊕ (a ⊗ x), and the least one on both sides (Kozen's axioms). *) + +Record IsStar (R : ResourceAlgebra) (star : Grade R -> Grade R) : Prop := { + star_unfold : forall a, radd R (rone R) (rmul R a (star a)) = star a; + star_leastl : forall a b x, + Le R (radd R b (rmul R a x)) x -> Le R (rmul R (star a) b) x; + star_leastr : forall a b x, + Le R (radd R b (rmul R x a)) x -> Le R (rmul R b (star a)) x +}. + +(** K-1: the loop grade bounds no turn and one more turn. *) +Lemma star_one (R : ResourceAlgebra) (star : Grade R -> Grade R) : + IsStar R star -> forall a, Le R (rone R) (star a). +Proof. + intros S a. pose proof (@add_upperl R (rone R) (rmul R a (star a))) as h. + rewrite (star_unfold S a) in h. exact h. +Qed. + +Lemma star_step (R : ResourceAlgebra) (star : Grade R -> Grade R) : + IsStar R star -> forall a, Le R (rmul R a (star a)) (star a). +Proof. + intros S a. pose proof (@add_upperr R (rone R) (rmul R a (star a))) as h. + rewrite (star_unfold S a) in h. exact h. +Qed. + +(** K-1: if 𝟙 is the greatest grade, every loop grades as 𝟙. *) +Lemma unit_top_star (R : ResourceAlgebra) : + (forall a, Le R a (rone R)) -> IsStar R (fun _ => rone R). +Proof. + intro greatest. split. + - intro a. rewrite (alt_comm (ralt R)). apply greatest. + - intros a b x h. rewrite (seq_unitl (rseq R)). + exact (@le_trans R _ _ _ (@add_upperl R b (rmul R a x)) h). + - intros a b x h. rewrite (seq_unitr (rseq R)). + exact (@le_trans R _ _ _ (@add_upperl R b (rmul R x a)) h). +Qed. + +Lemma Loss_unit_top : forall a, Le Loss a (rone Loss). +Proof. unfold Le; simpl; intros; grades. Qed. + +Lemma Loss_star : IsStar Loss (fun _ => fin 0). +Proof. exact (@unit_top_star Loss Loss_unit_top). Qed. + +(** K-2: a grade whose loop equation has no solution rules a star out. *) +Definition NoFixpoint (R : ResourceAlgebra) (a : Grade R) : Prop := + forall s, radd R (rone R) (rmul R a s) <> s. + +Lemma no_star (R : ResourceAlgebra) (a : Grade R) : + NoFixpoint R a -> forall star, ~ IsStar R star. +Proof. intros nf star st. exact (nf (star a) (star_unfold st a)). Qed. + +Lemma MaxPlus_no_fixpoint : NoFixpoint MaxPlus (val 1). +Proof. + unfold NoFixpoint; intros s h. destruct s as [n|]; simpl in h. + - apply val_injective in h. lia. + - discriminate h. +Qed. + +Lemma MaxPlus_no_star : forall star, ~ IsStar MaxPlus star. +Proof. exact (@no_star MaxPlus (val 1) MaxPlus_no_fixpoint). Qed. + +Lemma HWM_no_fixpoint : NoFixpoint HWM (hwm 1 1 (le_n 1)). +Proof. + unfold NoFixpoint; intros s h. pose proof (f_equal drift h) as e. + destruct s; simpl in e. rewrite ?rmax_eq in e. lia. +Qed. + +Lemma HWM_no_star : forall star, ~ IsStar HWM star. +Proof. exact (@no_star HWM (hwm 1 1 (le_n 1)) HWM_no_fixpoint). Qed. + +(** K-3: MaxPlus with a top, (ℕ ∪ {−∞, +∞}, max, +). *) +Inductive TGrade : Type := tbot : TGrade | tval : nat -> TGrade | ttop : TGrade. + +Definition taddT (a b : TGrade) : TGrade := + match a, b with + | tbot, y => y + | tval m, tbot => tval m + | tval m, tval n => tval (rmax m n) + | tval _, ttop => ttop + | ttop, _ => ttop + end. + +Definition tmulT (a b : TGrade) : TGrade := + match a, b with + | tbot, _ => tbot + | tval _, tbot => tbot + | tval m, tval n => tval (m + n) + | tval _, ttop => ttop + | ttop, tbot => tbot + | ttop, _ => ttop + end. + +Ltac tops := + repeat match goal with + | a : TGrade |- _ => destruct a + end; + simpl; unfold_rmm; try reflexivity; + try (f_equal; lia). + +Lemma MaxPlusTop_alt : IsAltMonoid taddT tbot. +Proof. split; intros; tops. Qed. + +Lemma MaxPlusTop_seq : IsSeqMonoid tmulT (tval 0). +Proof. split; intros; tops. Qed. + +Definition MaxPlusTop : ResourceAlgebra := + {| Grade := TGrade; radd := taddT; rmul := tmulT; rzero := tbot; rone := tval 0; + ralt := MaxPlusTop_alt; rseq := MaxPlusTop_seq |}. + +Lemma MaxPlusTop_dioid : IsDioid MaxPlusTop. +Proof. split; simpl; intros; tops. Qed. + +Lemma MaxPlusTop_ordered : IsOrdered MaxPlusTop. +Proof. exact (dioid_ordered MaxPlusTop_dioid). Qed. + +Lemma MaxPlusTop_annihilating : IsAnnihilating MaxPlusTop. +Proof. split; simpl; intros; tops. Qed. + +(** K-3: MaxPlus embeds in it by a strict, injective morphism. *) +Definition liftT (a : Tropical) : TGrade := + match a with + | val n => tval n + | bot => tbot + end. + +Definition lift_hom : Hom MaxPlus MaxPlusTop. +Proof. + refine (@Build_Hom MaxPlus MaxPlusTop liftT _ _ _ _); simpl; + try reflexivity; intros a b; destruct a, b; reflexivity. +Defined. + +Lemma lift_injective : forall a b, liftT a = liftT b -> a = b. +Proof. + intros [m|] [n|] h; simpl in h; try discriminate h; try reflexivity. + injection h as h. now subst. +Qed. + +(** K-4: its star. bot and val 0 loop for nothing; a dearer body loops to + top. *) +Definition starT (a : TGrade) : TGrade := + match a with + | tbot => tval 0 + | tval 0 => tval 0 + | tval (S _) => ttop + | ttop => ttop + end. + +Ltac star_case h := + simpl in *; try reflexivity; try assumption; try discriminate h; + try (injection h as h; rewrite ?rmax_eq in h; + first [ f_equal; rewrite ?rmax_eq; lia | exfalso; lia ]). + +Lemma MaxPlusTop_star : IsStar MaxPlusTop starT. +Proof. + split; unfold Le; simpl. + - intros [|[|n]|]; reflexivity. + - intros a b x h. + destruct a as [|[|n]|], b as [|m|], x as [|k|]; star_case h. + - intros a b x h. + destruct a as [|[|n]|], b as [|m|], x as [|k|]; star_case h. +Qed. + (** * Assumptions (PROOF-POLICY §8.4): each must print "Closed under the global context". *) Print Assumptions alt_unitr. @@ -1253,3 +1569,34 @@ Print Assumptions open_annihilates. Print Assumptions row2_is_argued. Print Assumptions row4_is_tested_only. Print Assumptions row0_keeps_its_evidence. +Print Assumptions par_unitr. +Print Assumptions par_distribr. +Print Assumptions par_mono_l. +Print Assumptions par_mono_r. +Print Assumptions seq_parallel. +Print Assumptions seq_sync_below. +Print Assumptions seq_sync_above. +Print Assumptions Loss_parallel. +Print Assumptions Loss_sync_below. +Print Assumptions Loss_sync_above. +Print Assumptions MaxPlus_work. +Print Assumptions MaxPlus_work_sync_below. +Print Assumptions MaxPlus_work_sync_above. +Print Assumptions MaxPlus_span. +Print Assumptions MaxPlus_span_sync_above. +Print Assumptions MaxPlus_span_not_sync_below. +Print Assumptions HWM_parallel. +Print Assumptions HWM_sync_below. +Print Assumptions HWM_not_sync_above. +Print Assumptions star_one. +Print Assumptions star_step. +Print Assumptions unit_top_star. +Print Assumptions Loss_star. +Print Assumptions no_star. +Print Assumptions MaxPlus_no_star. +Print Assumptions HWM_no_star. +Print Assumptions MaxPlusTop_dioid. +Print Assumptions MaxPlusTop_annihilating. +Print Assumptions lift_hom. +Print Assumptions lift_injective. +Print Assumptions MaxPlusTop_star. diff --git a/verification/proofs/lean4/ResourceAlgebra.lean b/verification/proofs/lean4/ResourceAlgebra.lean index ac4aa3b..dc1635b 100644 --- a/verification/proofs/lean4/ResourceAlgebra.lean +++ b/verification/proofs/lean4/ResourceAlgebra.lean @@ -1317,6 +1317,376 @@ theorem ordered_annihilating_not_dioid : IsOrdered Diamond ∧ IsAnnihilating Diamond ∧ ¬ IsDioid Diamond := ⟨Diamond_ordered, Diamond_annihilating, Diamond_not_dioid⟩ +/-! ## Parallel composition (P-1 .. P-4) + +A second, commutative product on the same unit, distributing over +alternatives. Which way it exchanges with sequence depends on the resource, +so the two exchange laws are stated apart. -/ + +structure IsParallel (R : ResourceAlgebra) (par : R.Grade → R.Grade → R.Grade) : Prop where + assoc : ∀ a b c, par (par a b) c = par a (par b c) + comm : ∀ a b, par a b = par b a + unitl : ∀ a, par R.one a = a + distribl : ∀ a b c, par a (R.add b c) = R.add (par a b) (par a c) + +/-- P-1: the derived right unit, right distributivity and monotonicity. -/ +theorem IsParallel.unitr {R : ResourceAlgebra} {par : R.Grade → R.Grade → R.Grade} + (p : IsParallel R par) (a : R.Grade) : par a R.one = a := + (p.comm a R.one).trans (p.unitl a) + +theorem IsParallel.distribr {R : ResourceAlgebra} {par : R.Grade → R.Grade → R.Grade} + (p : IsParallel R par) (a b c : R.Grade) : + par (R.add a b) c = R.add (par a c) (par b c) := by + rw [p.comm (R.add a b) c, p.distribl c a b, p.comm c a, p.comm c b] + +theorem IsParallel.mono_l {R : ResourceAlgebra} {par : R.Grade → R.Grade → R.Grade} + (p : IsParallel R par) (c : R.Grade) {a b : R.Grade} (h : R.Le a b) : + R.Le (par c a) (par c b) := by + unfold ResourceAlgebra.Le at * + rw [← p.distribl, h] + +theorem IsParallel.mono_r {R : ResourceAlgebra} {par : R.Grade → R.Grade → R.Grade} + (p : IsParallel R par) (c : R.Grade) {a b : R.Grade} (h : R.Le a b) : + R.Le (par a c) (par b c) := by + unfold ResourceAlgebra.Le at * + rw [← p.distribr, h] + +/-- Threads that meet in the middle are graded at most as threads that run +free. -/ +def SyncBelow (R : ResourceAlgebra) (par : R.Grade → R.Grade → R.Grade) : Prop := + ∀ a b c d, R.Le (R.mul (par a b) (par c d)) (par (R.mul a c) (R.mul b d)) + +/-- Threads that meet in the middle are graded at least as threads that run +free. -/ +def SyncAbove (R : ResourceAlgebra) (par : R.Grade → R.Grade → R.Grade) : Prop := + ∀ a b c d, R.Le (par (R.mul a c) (R.mul b d)) (R.mul (par a b) (par c d)) + +/-- P-1: a dioid with a commutative sequence is parallel with ∥ = ⊗. -/ +theorem seq_parallel {R : ResourceAlgebra} (d : IsDioid R) + (mc : ∀ a b, R.mul a b = R.mul b a) : IsParallel R R.mul where + assoc := R.seq.assoc + comm := mc + unitl := R.seq.unitl + distribl := d.distribl + +theorem mul_interchange {R : ResourceAlgebra} (mc : ∀ a b, R.mul a b = R.mul b a) + (a b c d : R.Grade) : + R.mul (R.mul a b) (R.mul c d) = R.mul (R.mul a c) (R.mul b d) := by + rw [R.seq.assoc a b (R.mul c d), ← R.seq.assoc b c d, mc b c, + R.seq.assoc c b d, ← R.seq.assoc a c (R.mul b d)] + +/-- P-1: and it has both exchange laws. -/ +theorem seq_sync_below {R : ResourceAlgebra} (mc : ∀ a b, R.mul a b = R.mul b a) : + SyncBelow R R.mul := fun a b c d => by + rw [mul_interchange mc a b c d] + exact R.le_refl _ + +theorem seq_sync_above {R : ResourceAlgebra} (mc : ∀ a b, R.mul a b = R.mul b a) : + SyncAbove R R.mul := fun a b c d => by + rw [mul_interchange mc a b c d] + exact R.le_refl _ + +/-! P-2: work. Loss and MaxPlus, parallel = sequence. -/ +theorem lplus_comm (a b : LGrade) : lplus a b = lplus b a := by + cases a <;> cases b <;> first | rfl | exact congrArg fin (Nat.add_comm _ _) + +theorem Loss_parallel : IsParallel Loss lplus := seq_parallel Loss_dioid lplus_comm + +theorem Loss_sync_below : SyncBelow Loss lplus := seq_sync_below (R := Loss) lplus_comm + +theorem Loss_sync_above : SyncAbove Loss lplus := seq_sync_above (R := Loss) lplus_comm + +theorem tMul_comm (a b : Tropical) : tMul a b = tMul b a := by + cases a <;> cases b <;> first | rfl | exact congrArg val (Nat.add_comm _ _) + +theorem MaxPlus_work : IsParallel MaxPlus tMul := seq_parallel MaxPlus_dioid tMul_comm + +theorem MaxPlus_work_sync_below : SyncBelow MaxPlus tMul := + seq_sync_below (R := MaxPlus) tMul_comm + +theorem MaxPlus_work_sync_above : SyncAbove MaxPlus tMul := + seq_sync_above (R := MaxPlus) tMul_comm + +/-! P-3: span. MaxPlus, parallel = max on finite costs. -/ +def tPar : Tropical → Tropical → Tropical + | bot, _ => bot + | val _, bot => bot + | val m, val n => val (rmax m n) + +theorem MaxPlus_span : IsParallel MaxPlus tPar where + assoc := by + intro a b c + cases a <;> cases b <;> cases c <;> + first | rfl | exact congrArg val (rmax_assoc _ _ _) + comm := by + intro a b + cases a <;> cases b <;> first | rfl | exact congrArg val (rmax_comm _ _) + unitl := by intro a; cases a <;> rfl + distribl := by + intro a b c + cases a <;> cases b <;> cases c <;> + first | rfl | exact congrArg val (rmax_dup _ _ _).symm + +theorem MaxPlus_span_sync_above : SyncAbove MaxPlus tPar := by + intro a b c d + unfold ResourceAlgebra.Le + cases a <;> cases b <;> cases c <;> cases d <;> + first + | rfl + | exact congrArg val (rmax_of_le (rmax_lub + (Nat.add_le_add (le_rmax_left _ _) (le_rmax_left _ _)) + (Nat.add_le_add (le_rmax_right _ _) (le_rmax_right _ _)))) + +theorem MaxPlus_span_not_sync_below : ¬ SyncBelow MaxPlus tPar := fun f => + absurd (val_injective (f (val 1) (val 0) (val 0) (val 1)) : (2 : Nat) = 1) (by decide) + +/-! P-4: occupancy. HWM, parallel = sum of peaks and sum of drifts. -/ +def parH (a b : HGrade) : HGrade := + ⟨a.peak + b.peak, a.drift + b.drift, Nat.add_le_add a.bounded b.bounded⟩ + +theorem add_interchange (a b c d : Nat) : (a + b) + (c + d) = (a + c) + (b + d) := by + rw [Nat.add_assoc a b (c + d), ← Nat.add_assoc b c d, Nat.add_comm b c, + Nat.add_assoc c b d, ← Nat.add_assoc a c (b + d)] + +theorem HWM_parallel : IsParallel HWM parH where + assoc := fun _ _ _ => HGrade.ext' (Nat.add_assoc _ _ _) (Nat.add_assoc _ _ _) + comm := fun _ _ => HGrade.ext' (Nat.add_comm _ _) (Nat.add_comm _ _) + unitl := fun _ => HGrade.ext' (Nat.zero_add _) (Nat.zero_add _) + distribl := fun _ _ _ => HGrade.ext' (add_rmax_l _ _ _) (add_rmax_l _ _ _) + +theorem HWM_sync_below : SyncBelow HWM parH := fun a b c d => HGrade.ext' + (show rmax (rmax (a.peak + b.peak) ((a.drift + b.drift) + (c.peak + d.peak))) + (rmax a.peak (a.drift + c.peak) + rmax b.peak (b.drift + d.peak)) + = rmax a.peak (a.drift + c.peak) + rmax b.peak (b.drift + d.peak) from + rmax_of_le (rmax_lub + (Nat.add_le_add (le_rmax_left _ _) (le_rmax_left _ _)) + (Nat.le_trans (Nat.le_of_eq (add_interchange a.drift b.drift c.peak d.peak)) + (Nat.add_le_add (le_rmax_right _ _) (le_rmax_right _ _))))) + (show rmax ((a.drift + b.drift) + (c.drift + d.drift)) + ((a.drift + c.drift) + (b.drift + d.drift)) + = (a.drift + c.drift) + (b.drift + d.drift) from + rmax_of_le (Nat.le_of_eq (add_interchange _ _ _ _))) + +theorem HWM_not_sync_above : ¬ SyncAbove HWM parH := fun f => + absurd (congrArg HGrade.peak + (f ⟨1, 0, Nat.zero_le 1⟩ zeroH zeroH ⟨1, 0, Nat.zero_le 1⟩) : (2 : Nat) = 1) + (by decide) + +/-! ## The loop grade (K-1 .. K-4) + +`star a` is the grade of "a, any number of times": a fixed point of +x ↦ 𝟙 ⊕ (a ⊗ x), and the least one on both sides (Kozen's axioms). -/ + +structure IsStar (R : ResourceAlgebra) (star : R.Grade → R.Grade) : Prop where + unfold_eq : ∀ a, R.add R.one (R.mul a (star a)) = star a + leastl : ∀ a b x, R.Le (R.add b (R.mul a x)) x → R.Le (R.mul (star a) b) x + leastr : ∀ a b x, R.Le (R.add b (R.mul x a)) x → R.Le (R.mul b (star a)) x + +/-- K-1: the loop grade bounds no turn and one more turn. -/ +theorem IsStar.one_le {R : ResourceAlgebra} {star : R.Grade → R.Grade} + (s : IsStar R star) (a : R.Grade) : R.Le R.one (star a) := by + have h := R.add_upperl R.one (R.mul a (star a)) + rw [s.unfold_eq a] at h + exact h + +theorem IsStar.step {R : ResourceAlgebra} {star : R.Grade → R.Grade} + (s : IsStar R star) (a : R.Grade) : R.Le (R.mul a (star a)) (star a) := by + have h := R.add_upperr R.one (R.mul a (star a)) + rw [s.unfold_eq a] at h + exact h + +/-- K-1: if 𝟙 is the greatest grade, every loop grades as 𝟙. -/ +theorem unit_top_star {R : ResourceAlgebra} (greatest : ∀ a, R.Le a R.one) : + IsStar R (fun _ => R.one) where + unfold_eq a := (R.alt.comm R.one (R.mul a R.one)).trans (greatest (R.mul a R.one)) + leastl a b x h := by + show R.Le (R.mul R.one b) x + rw [R.seq.unitl] + exact R.le_trans (R.add_upperl b (R.mul a x)) h + leastr a b x h := by + show R.Le (R.mul b R.one) x + rw [R.seq.unitr] + exact R.le_trans (R.add_upperl b (R.mul x a)) h + +theorem Loss_unit_top (a : LGrade) : Loss.Le a Loss.one := by + unfold ResourceAlgebra.Le + cases a <;> first | rfl | exact congrArg fin (rmin_zero_r _) + +theorem Loss_star : IsStar Loss (fun _ => fin 0) := unit_top_star Loss_unit_top + +/-- K-2: a grade whose loop equation has no solution rules a star out. -/ +def NoFixpoint (R : ResourceAlgebra) (a : R.Grade) : Prop := + ∀ s, R.add R.one (R.mul a s) ≠ s + +theorem no_star {R : ResourceAlgebra} (a : R.Grade) (nf : NoFixpoint R a) + (star : R.Grade → R.Grade) : ¬ IsStar R star := + fun st => nf (star a) (st.unfold_eq a) + +theorem MaxPlus_no_fixpoint : NoFixpoint MaxPlus (val 1) := fun s h => by + cases s with + | val n => + have e : 1 + n = n := val_injective h + exact Nat.succ_ne_self n ((Nat.add_comm n 1).trans e) + | bot => + have h' : val 0 = bot := h + cases h' + +theorem MaxPlus_no_star (star : Tropical → Tropical) : ¬ IsStar MaxPlus star := + no_star (R := MaxPlus) (val 1) MaxPlus_no_fixpoint star + +theorem HWM_no_fixpoint : NoFixpoint HWM ⟨1, 1, Nat.le_refl 1⟩ := fun s h => + have e : 1 + s.drift = s.drift := congrArg HGrade.drift h + Nat.succ_ne_self s.drift ((Nat.add_comm s.drift 1).trans e) + +theorem HWM_no_star (star : HGrade → HGrade) : ¬ IsStar HWM star := + no_star (R := HWM) ⟨1, 1, Nat.le_refl 1⟩ HWM_no_fixpoint star + +/-! K-3: MaxPlus with a top, (ℕ ∪ {−∞, +∞}, max, +). -/ +inductive TGrade where + | bot : TGrade + | val : Nat → TGrade + | top : TGrade + deriving DecidableEq + +def taddT : TGrade → TGrade → TGrade + | .bot, y => y + | .val m, .bot => .val m + | .val m, .val n => .val (rmax m n) + | .val _, .top => .top + | .top, _ => .top + +def tmulT : TGrade → TGrade → TGrade + | .bot, _ => .bot + | .val _, .bot => .bot + | .val m, .val n => .val (m + n) + | .val _, .top => .top + | .top, .bot => .bot + | .top, .val _ => .top + | .top, .top => .top + +abbrev MaxPlusTop : ResourceAlgebra where + Grade := TGrade + add := taddT + mul := tmulT + zero := .bot + one := .val 0 + alt := { + assoc := by + intro a b c + cases a <;> cases b <;> cases c <;> + first | rfl | exact congrArg TGrade.val (rmax_assoc _ _ _) + comm := by + intro a b + cases a <;> cases b <;> first | rfl | exact congrArg TGrade.val (rmax_comm _ _) + idem := by intro a; cases a <;> first | rfl | exact congrArg TGrade.val (rmax_idem _) + unitl := by intro a; rfl } + seq := { + assoc := by + intro a b c + cases a <;> cases b <;> cases c <;> + first | rfl | exact congrArg TGrade.val (Nat.add_assoc _ _ _) + unitl := by + intro a; cases a <;> first | rfl | exact congrArg TGrade.val (Nat.zero_add _) + unitr := by intro a; cases a <;> rfl } + +theorem tmulT_comm (a b : TGrade) : tmulT a b = tmulT b a := by + cases a <;> cases b <;> first | rfl | exact congrArg TGrade.val (Nat.add_comm _ _) + +theorem MaxPlusTop_dioid : IsDioid MaxPlusTop where + distribl := by + intro a b c + cases a <;> cases b <;> cases c <;> + first | rfl | exact congrArg TGrade.val (add_rmax_l _ _ _) + distribr := by + intro a b c + cases a <;> cases b <;> cases c <;> + first | rfl | exact congrArg TGrade.val (add_rmax_r _ _ _) + +theorem MaxPlusTop_ordered : IsOrdered MaxPlusTop := MaxPlusTop_dioid.ordered + +theorem MaxPlusTop_annihilating : IsAnnihilating MaxPlusTop where + annihill := by intro a; rfl + annihilr := by intro a; cases a <;> rfl + +/-- K-3: MaxPlus embeds in it by a strict, injective morphism. -/ +def liftT : Tropical → TGrade + | val n => .val n + | bot => .bot + +def liftHom : Hom MaxPlus MaxPlusTop where + map := liftT + map_zero := rfl + map_one := rfl + map_add := by intro a b; cases a <;> cases b <;> rfl + map_mul := by intro a b; cases a <;> cases b <;> rfl + +theorem lift_injective : ∀ a b : Tropical, liftT a = liftT b → a = b + | val _, val _, h => congrArg val (TGrade.val.inj h) + | val _, bot, h => by cases h + | bot, val _, h => by cases h + | bot, bot, _ => rfl + +/-! K-4: its star. bot and val 0 loop for nothing; a dearer body loops to +top. -/ +def starT : TGrade → TGrade + | .bot => .val 0 + | .val 0 => .val 0 + | .val (_ + 1) => .top + | .top => .top + +/-- `max (suc n + k) k` is never `k` (Agda: `max-suc-+`). -/ +theorem rmax_succ_add_ne (n k : Nat) : rmax (n + 1 + k) k ≠ k := fun e => + have h2 : n + 1 + k ≤ k := Nat.le_trans (le_rmax_left _ _) (Nat.le_of_eq e) + have h3 : k + 1 ≤ n + 1 + k := by + rw [Nat.add_assoc, Nat.add_comm 1 k] + exact Nat.le_add_left (k + 1) n + Nat.not_succ_le_self k (Nat.le_trans h3 h2) + +/-- From `b ≼ x` and `a ⊗ x ≼ x`. A body that costs something, sequenced +before a possible `x`, forces `x` to be top. -/ +theorem starT_go : ∀ a b x : TGrade, + taddT b x = x → taddT (tmulT a x) x = x → taddT (tmulT (starT a) b) x = x + | .bot, b, x, hb, _ => by + rw [show tmulT (starT .bot) b = b from MaxPlusTop.seq.unitl b]; exact hb + | .val 0, b, x, hb, _ => by + rw [show tmulT (starT (.val 0)) b = b from MaxPlusTop.seq.unitl b]; exact hb + | .val (_ + 1), .bot, x, _, _ => by cases x <;> rfl + | .val (_ + 1), .val _, .bot, hb, _ => by cases hb + | .val (n + 1), .val _, .val k, _, ha => + absurd (TGrade.val.inj ha) (rmax_succ_add_ne n k) + | .val (_ + 1), .val _, .top, _, _ => rfl + | .val (_ + 1), .top, .bot, hb, _ => by cases hb + | .val (_ + 1), .top, .val _, hb, _ => by cases hb + | .val (_ + 1), .top, .top, _, _ => rfl + | .top, .bot, x, _, _ => by cases x <;> rfl + | .top, .val _, .bot, hb, _ => by cases hb + | .top, .val _, .val _, _, ha => by cases ha + | .top, .val _, .top, _, _ => rfl + | .top, .top, .bot, hb, _ => by cases hb + | .top, .top, .val _, hb, _ => by cases hb + | .top, .top, .top, _, _ => rfl + +theorem MaxPlusTop_star : IsStar MaxPlusTop starT where + unfold_eq := by + intro a + cases a with + | bot => rfl + | top => rfl + | val n => cases n <;> rfl + leastl a b x h := + starT_go a b x + (MaxPlusTop.le_trans (MaxPlusTop.add_upperl b (tmulT a x)) h) + (MaxPlusTop.le_trans (MaxPlusTop.add_upperr b (tmulT a x)) h) + leastr a b x h := by + have h' : MaxPlusTop.Le (taddT b (tmulT a x)) x := by + rw [tmulT_comm a x]; exact h + have g := starT_go a b x + (MaxPlusTop.le_trans (MaxPlusTop.add_upperl b (tmulT a x)) h') + (MaxPlusTop.le_trans (MaxPlusTop.add_upperr b (tmulT a x)) h') + show taddT (tmulT b (starT a)) x = x + rw [tmulT_comm b (starT a)] + exact g + end RA /-! ## Axioms (PROOF-POLICY §8.4) @@ -1407,3 +1777,35 @@ other answer. -/ #print axioms RA.row2_is_argued #print axioms RA.row4_is_tested_only #print axioms RA.row0_keeps_its_evidence +#print axioms RA.IsParallel.unitr +#print axioms RA.IsParallel.distribr +#print axioms RA.IsParallel.mono_l +#print axioms RA.IsParallel.mono_r +#print axioms RA.seq_parallel +#print axioms RA.seq_sync_below +#print axioms RA.seq_sync_above +#print axioms RA.Loss_parallel +#print axioms RA.Loss_sync_below +#print axioms RA.Loss_sync_above +#print axioms RA.MaxPlus_work +#print axioms RA.MaxPlus_work_sync_below +#print axioms RA.MaxPlus_work_sync_above +#print axioms RA.MaxPlus_span +#print axioms RA.MaxPlus_span_sync_above +#print axioms RA.MaxPlus_span_not_sync_below +#print axioms RA.HWM_parallel +#print axioms RA.HWM_sync_below +#print axioms RA.HWM_not_sync_above +#print axioms RA.IsStar.one_le +#print axioms RA.IsStar.step +#print axioms RA.unit_top_star +#print axioms RA.Loss_star +#print axioms RA.no_star +#print axioms RA.MaxPlus_no_star +#print axioms RA.HWM_no_star +#print axioms RA.MaxPlusTop +#print axioms RA.MaxPlusTop_dioid +#print axioms RA.MaxPlusTop_annihilating +#print axioms RA.liftHom +#print axioms RA.lift_injective +#print axioms RA.MaxPlusTop_star diff --git a/verification/receipts/resource-algebra-proofs_praxis.deed b/verification/receipts/resource-algebra-proofs_praxis.deed index 908a2e6..06483da 100644 --- a/verification/receipts/resource-algebra-proofs_praxis.deed +++ b/verification/receipts/resource-algebra-proofs_praxis.deed @@ -19,48 +19,29 @@ :beholding-chora #u8"chora:estate/github.com/hyperpolymath" :profile proof-receipt :repository "hyperpolymath/resource-algebra" - :source-commit "15fa113c7427e2de009eade9148295d08c046b33" + :source-commit "c31bf1a9ae9d186674c7ed79c6c9b018a1d59c2b" (trusted-base (primitive :prover agda :module "Agda.Primitive" :name "Level" :binding "BUILTIN LEVEL") (primitive :prover agda :module "Agda.Primitive" :name "lzero" :binding "BUILTIN LEVELZERO") (primitive :prover agda :module "Agda.Primitive" :name "lsuc" :binding "BUILTIN LEVELSUC") (primitive :prover agda :module "Agda.Primitive" :name "_⊔_" :binding "BUILTIN LEVELMAX")) - (claim :id "C-1" :pwg PWG-2i :foundation-diverse #f + (claim :id "C-1" :pwg ungraded :foundation-diverse #f (leg :prover agda :route source :token proven :state AGDA-VERIFIED ; the run reported: PASS: core proofs, unit tests and all 13 expected rejections (receipt :run "https://github.com/hyperpolymath/resource-algebra/actions/runs/44209774341/job/134484857967" :commit "15fa113c7427e2de009eade9148295d08c046b33" :checker "Agda version 2.6.4.3 (Debian trixie agda-bin=2.6.4.3-1+b2, container debian:trixie-slim, not pinned by digest)" :invocation "agda --safe --without-K --cubical-compatible --no-libraries --ignore-interfaces --double-check -W error -i src src/ResourceAlgebra/All.agda" - :inputs-sha256 "6d3250447bd3271db46ebac1e48005a6988baf87b6b923ecd3914fbe1b74ae9d" - :state current - (inputs-manifest - (file :path "src/ResourceAlgebra/All.agda" :sha256 "be7242276a1d594c6665633cab6747b176c265bfcb1f7cb752e001fa9c1c3d33") - (file :path "src/ResourceAlgebra/Core.agda" :sha256 "9b975043e9b597e1b807c857cd43ae73e96c58182c4de83e97b5d2e4c6ef2fde") - (file :path "src/ResourceAlgebra/Instances/Diamond.agda" :sha256 "0eebbbe722e453d8c1ced415925060560fc9513d34a5e934bafc00e23287e4ec") - (file :path "src/ResourceAlgebra/Instances/Evidence.agda" :sha256 "b69e3e050c636772977dc9244ae30dcc63d8f27ed61391a01553b3c851048ad5") - (file :path "src/ResourceAlgebra/Instances/HWM.agda" :sha256 "4806ba1adb9426e122c196aae99f3266236e9d0e5286c837072c810fbd48b7a2") - (file :path "src/ResourceAlgebra/Instances/Loss.agda" :sha256 "ef525820249861b529a155e6fcf34b4149638a14f332c46201794e4ad50a2ffc") - (file :path "src/ResourceAlgebra/Instances/MaxPlus.agda" :sha256 "557d1147095d4e57671e9c8d9fad3e1b3be9e9630304fd15837cc15f8742e399") - (file :path "src/ResourceAlgebra/Instances/MinMax.agda" :sha256 "a31eead6379daf18fee3481af6ba45c26bc553c54e4b26caccb9551f4593defe") - (file :path "src/ResourceAlgebra/Instances/Questions.agda" :sha256 "aaf1f6d1a1d5f58cc3916ef31df286be0d64c1a0ea59e989d28508ea518b846a") - (file :path "src/ResourceAlgebra/Ledger.agda" :sha256 "31b53104b420c37f3e9639d249bdce13920d440313536fcabc02f9ae8e4c46f3") - (file :path "src/ResourceAlgebra/Morphism.agda" :sha256 "56f53e414c481c0357de6e10cc3dfe3b288c4c37d1212a127f6fa7523677b4fa") - (file :path "src/ResourceAlgebra/Prelude.agda" :sha256 "ab911c0e1563b8594e10755ce81a57ed1963aaa1253940d14e93b17999bde720") - (file :path "src/ResourceAlgebra/Separation.agda" :sha256 "4404893286f1ef61bfa07ab3f7d4682f049a19a90597a2ddab9f96ff258a40d0")) - (axioms))) + :state superseded + :reason "its inputs changed when parallel composition and the loop grade were added (rows P-1 to P-4 and K-1 to K-4): the cone gained src/ResourceAlgebra/Parallel.agda, Star.agda and Instances/MaxPlusTop.agda, and three expected rejections were added. To be replaced by the first run on main that contains them")) (leg :prover rocq :route re-proved :token proven :state RECONCILED ; the run reported: RESULT: PASS -- gated modules compile; the Assumptions step then passed, which fails unless all 75 printed theorems are closed under the global context and rocqchk accepts the compiled file (receipt :run "https://github.com/hyperpolymath/resource-algebra/actions/runs/44209774341/job/134484858135" :commit "15fa113c7427e2de009eade9148295d08c046b33" :checker "Rocq 9.3.0, then rocqchk" :invocation "rocq compile ResourceAlgebra.v in verification/proofs/coq, then rocqchk" - :image "rocq/rocq-prover:9.3.0@sha256:97a68f230e785726c3bab4ba17e1d416fdd630de4af4548eb49b08712f29af93" - :inputs-sha256 "b52b1348c6cace05db2ac026d1137a1a3027b14ec84e9fb599259c3693c8b1b7" - :state current - (inputs-manifest - (file :path "verification/proofs/coq/ResourceAlgebra.v" :sha256 "4989d461674d9f3d36e65ded96613b5df45a6c851b0ec63f40cf05ffd760582e")) - (axioms))) + :state superseded + :reason "its input changed when parallel composition and the loop grade were added (rows P-1 to P-4 and K-1 to K-4): verification/proofs/coq/ResourceAlgebra.v gained their Rocq leg. To be replaced by the first run on main that contains them")) (leg :prover lean :route re-proved :token proven :state RECONCILED ; the run reported: RESULT: PASS -- gated modules compile; the Axioms step then passed, which fails unless all 84 printed theorems depend on no axiom; PASS: M-2 bridge to hyperpolymath/tropical-types@f2e465c966d14d4986dfc492875cc54653d9751e; 6 of 6 printed theorems depend on no axiom (receipt :run "https://github.com/hyperpolymath/resource-algebra/actions/runs/44209774341/job/134484858201" @@ -69,42 +50,23 @@ :invocation "lean ResourceAlgebra.lean in verification/proofs/lean4, core only; then bash scripts/check-lean-bridge.sh (lean -o on TropicalSessionTypes.lean and ResourceAlgebra.lean, then lean TropicalBridge.lean with LEAN_PATH)" :state superseded :reason "its inputs changed in hyperpolymath/resource-algebra#53: the leg and the M-2 bridge now build under lake, so the input set gained scripts/check-lean-leg.sh, two lakefiles and two Lake manifests, and scripts/check-lean-bridge.sh changed. To be replaced by the first run on main of the legs under lake"))) - (claim :id "C-2" :pwg PWG-2i :foundation-diverse #f + (claim :id "C-2" :pwg ungraded :foundation-diverse #f (leg :prover agda :route source :token proven :state AGDA-VERIFIED ; the run reported: PASS: core proofs, unit tests and all 13 expected rejections (receipt :run "https://github.com/hyperpolymath/resource-algebra/actions/runs/44209774341/job/134484857967" :commit "15fa113c7427e2de009eade9148295d08c046b33" :checker "Agda version 2.6.4.3 (Debian trixie agda-bin=2.6.4.3-1+b2, container debian:trixie-slim, not pinned by digest)" :invocation "agda --safe --without-K --cubical-compatible --no-libraries --ignore-interfaces --double-check -W error -i src src/ResourceAlgebra/All.agda" - :inputs-sha256 "6d3250447bd3271db46ebac1e48005a6988baf87b6b923ecd3914fbe1b74ae9d" - :state current - (inputs-manifest - (file :path "src/ResourceAlgebra/All.agda" :sha256 "be7242276a1d594c6665633cab6747b176c265bfcb1f7cb752e001fa9c1c3d33") - (file :path "src/ResourceAlgebra/Core.agda" :sha256 "9b975043e9b597e1b807c857cd43ae73e96c58182c4de83e97b5d2e4c6ef2fde") - (file :path "src/ResourceAlgebra/Instances/Diamond.agda" :sha256 "0eebbbe722e453d8c1ced415925060560fc9513d34a5e934bafc00e23287e4ec") - (file :path "src/ResourceAlgebra/Instances/Evidence.agda" :sha256 "b69e3e050c636772977dc9244ae30dcc63d8f27ed61391a01553b3c851048ad5") - (file :path "src/ResourceAlgebra/Instances/HWM.agda" :sha256 "4806ba1adb9426e122c196aae99f3266236e9d0e5286c837072c810fbd48b7a2") - (file :path "src/ResourceAlgebra/Instances/Loss.agda" :sha256 "ef525820249861b529a155e6fcf34b4149638a14f332c46201794e4ad50a2ffc") - (file :path "src/ResourceAlgebra/Instances/MaxPlus.agda" :sha256 "557d1147095d4e57671e9c8d9fad3e1b3be9e9630304fd15837cc15f8742e399") - (file :path "src/ResourceAlgebra/Instances/MinMax.agda" :sha256 "a31eead6379daf18fee3481af6ba45c26bc553c54e4b26caccb9551f4593defe") - (file :path "src/ResourceAlgebra/Instances/Questions.agda" :sha256 "aaf1f6d1a1d5f58cc3916ef31df286be0d64c1a0ea59e989d28508ea518b846a") - (file :path "src/ResourceAlgebra/Ledger.agda" :sha256 "31b53104b420c37f3e9639d249bdce13920d440313536fcabc02f9ae8e4c46f3") - (file :path "src/ResourceAlgebra/Morphism.agda" :sha256 "56f53e414c481c0357de6e10cc3dfe3b288c4c37d1212a127f6fa7523677b4fa") - (file :path "src/ResourceAlgebra/Prelude.agda" :sha256 "ab911c0e1563b8594e10755ce81a57ed1963aaa1253940d14e93b17999bde720") - (file :path "src/ResourceAlgebra/Separation.agda" :sha256 "4404893286f1ef61bfa07ab3f7d4682f049a19a90597a2ddab9f96ff258a40d0")) - (axioms))) + :state superseded + :reason "its inputs changed when parallel composition and the loop grade were added (rows P-1 to P-4 and K-1 to K-4): the cone gained src/ResourceAlgebra/Parallel.agda, Star.agda and Instances/MaxPlusTop.agda, and three expected rejections were added. To be replaced by the first run on main that contains them")) (leg :prover rocq :route re-proved :token proven :state RECONCILED ; the run reported: RESULT: PASS -- gated modules compile; the Assumptions step then passed, which fails unless all 75 printed theorems are closed under the global context and rocqchk accepts the compiled file (receipt :run "https://github.com/hyperpolymath/resource-algebra/actions/runs/44209774341/job/134484858135" :commit "15fa113c7427e2de009eade9148295d08c046b33" :checker "Rocq 9.3.0, then rocqchk" :invocation "rocq compile ResourceAlgebra.v in verification/proofs/coq, then rocqchk" - :image "rocq/rocq-prover:9.3.0@sha256:97a68f230e785726c3bab4ba17e1d416fdd630de4af4548eb49b08712f29af93" - :inputs-sha256 "b52b1348c6cace05db2ac026d1137a1a3027b14ec84e9fb599259c3693c8b1b7" - :state current - (inputs-manifest - (file :path "verification/proofs/coq/ResourceAlgebra.v" :sha256 "4989d461674d9f3d36e65ded96613b5df45a6c851b0ec63f40cf05ffd760582e")) - (axioms))) + :state superseded + :reason "its input changed when parallel composition and the loop grade were added (rows P-1 to P-4 and K-1 to K-4): verification/proofs/coq/ResourceAlgebra.v gained their Rocq leg. To be replaced by the first run on main that contains them")) (leg :prover lean :route re-proved :token proven :state RECONCILED ; the run reported: RESULT: PASS -- gated modules compile; the Axioms step then passed, which fails unless all 84 printed theorems depend on no axiom; PASS: M-2 bridge to hyperpolymath/tropical-types@f2e465c966d14d4986dfc492875cc54653d9751e; 6 of 6 printed theorems depend on no axiom (receipt :run "https://github.com/hyperpolymath/resource-algebra/actions/runs/44209774341/job/134484858201" @@ -113,42 +75,23 @@ :invocation "lean ResourceAlgebra.lean in verification/proofs/lean4, core only; then bash scripts/check-lean-bridge.sh (lean -o on TropicalSessionTypes.lean and ResourceAlgebra.lean, then lean TropicalBridge.lean with LEAN_PATH)" :state superseded :reason "its inputs changed in hyperpolymath/resource-algebra#53: the leg and the M-2 bridge now build under lake, so the input set gained scripts/check-lean-leg.sh, two lakefiles and two Lake manifests, and scripts/check-lean-bridge.sh changed. To be replaced by the first run on main of the legs under lake"))) - (claim :id "C-3" :pwg PWG-2i :foundation-diverse #f + (claim :id "C-3" :pwg ungraded :foundation-diverse #f (leg :prover agda :route source :token proven :state AGDA-VERIFIED ; the run reported: PASS: core proofs, unit tests and all 13 expected rejections (receipt :run "https://github.com/hyperpolymath/resource-algebra/actions/runs/44209774341/job/134484857967" :commit "15fa113c7427e2de009eade9148295d08c046b33" :checker "Agda version 2.6.4.3 (Debian trixie agda-bin=2.6.4.3-1+b2, container debian:trixie-slim, not pinned by digest)" :invocation "agda --safe --without-K --cubical-compatible --no-libraries --ignore-interfaces --double-check -W error -i src src/ResourceAlgebra/All.agda" - :inputs-sha256 "6d3250447bd3271db46ebac1e48005a6988baf87b6b923ecd3914fbe1b74ae9d" - :state current - (inputs-manifest - (file :path "src/ResourceAlgebra/All.agda" :sha256 "be7242276a1d594c6665633cab6747b176c265bfcb1f7cb752e001fa9c1c3d33") - (file :path "src/ResourceAlgebra/Core.agda" :sha256 "9b975043e9b597e1b807c857cd43ae73e96c58182c4de83e97b5d2e4c6ef2fde") - (file :path "src/ResourceAlgebra/Instances/Diamond.agda" :sha256 "0eebbbe722e453d8c1ced415925060560fc9513d34a5e934bafc00e23287e4ec") - (file :path "src/ResourceAlgebra/Instances/Evidence.agda" :sha256 "b69e3e050c636772977dc9244ae30dcc63d8f27ed61391a01553b3c851048ad5") - (file :path "src/ResourceAlgebra/Instances/HWM.agda" :sha256 "4806ba1adb9426e122c196aae99f3266236e9d0e5286c837072c810fbd48b7a2") - (file :path "src/ResourceAlgebra/Instances/Loss.agda" :sha256 "ef525820249861b529a155e6fcf34b4149638a14f332c46201794e4ad50a2ffc") - (file :path "src/ResourceAlgebra/Instances/MaxPlus.agda" :sha256 "557d1147095d4e57671e9c8d9fad3e1b3be9e9630304fd15837cc15f8742e399") - (file :path "src/ResourceAlgebra/Instances/MinMax.agda" :sha256 "a31eead6379daf18fee3481af6ba45c26bc553c54e4b26caccb9551f4593defe") - (file :path "src/ResourceAlgebra/Instances/Questions.agda" :sha256 "aaf1f6d1a1d5f58cc3916ef31df286be0d64c1a0ea59e989d28508ea518b846a") - (file :path "src/ResourceAlgebra/Ledger.agda" :sha256 "31b53104b420c37f3e9639d249bdce13920d440313536fcabc02f9ae8e4c46f3") - (file :path "src/ResourceAlgebra/Morphism.agda" :sha256 "56f53e414c481c0357de6e10cc3dfe3b288c4c37d1212a127f6fa7523677b4fa") - (file :path "src/ResourceAlgebra/Prelude.agda" :sha256 "ab911c0e1563b8594e10755ce81a57ed1963aaa1253940d14e93b17999bde720") - (file :path "src/ResourceAlgebra/Separation.agda" :sha256 "4404893286f1ef61bfa07ab3f7d4682f049a19a90597a2ddab9f96ff258a40d0")) - (axioms))) + :state superseded + :reason "its inputs changed when parallel composition and the loop grade were added (rows P-1 to P-4 and K-1 to K-4): the cone gained src/ResourceAlgebra/Parallel.agda, Star.agda and Instances/MaxPlusTop.agda, and three expected rejections were added. To be replaced by the first run on main that contains them")) (leg :prover rocq :route re-proved :token proven :state RECONCILED ; the run reported: RESULT: PASS -- gated modules compile; the Assumptions step then passed, which fails unless all 75 printed theorems are closed under the global context and rocqchk accepts the compiled file (receipt :run "https://github.com/hyperpolymath/resource-algebra/actions/runs/44209774341/job/134484858135" :commit "15fa113c7427e2de009eade9148295d08c046b33" :checker "Rocq 9.3.0, then rocqchk" :invocation "rocq compile ResourceAlgebra.v in verification/proofs/coq, then rocqchk" - :image "rocq/rocq-prover:9.3.0@sha256:97a68f230e785726c3bab4ba17e1d416fdd630de4af4548eb49b08712f29af93" - :inputs-sha256 "b52b1348c6cace05db2ac026d1137a1a3027b14ec84e9fb599259c3693c8b1b7" - :state current - (inputs-manifest - (file :path "verification/proofs/coq/ResourceAlgebra.v" :sha256 "4989d461674d9f3d36e65ded96613b5df45a6c851b0ec63f40cf05ffd760582e")) - (axioms))) + :state superseded + :reason "its input changed when parallel composition and the loop grade were added (rows P-1 to P-4 and K-1 to K-4): verification/proofs/coq/ResourceAlgebra.v gained their Rocq leg. To be replaced by the first run on main that contains them")) (leg :prover lean :route re-proved :token proven :state RECONCILED ; the run reported: RESULT: PASS -- gated modules compile; the Axioms step then passed, which fails unless all 84 printed theorems depend on no axiom; PASS: M-2 bridge to hyperpolymath/tropical-types@f2e465c966d14d4986dfc492875cc54653d9751e; 6 of 6 printed theorems depend on no axiom (receipt :run "https://github.com/hyperpolymath/resource-algebra/actions/runs/44209774341/job/134484858201" @@ -157,42 +100,23 @@ :invocation "lean ResourceAlgebra.lean in verification/proofs/lean4, core only; then bash scripts/check-lean-bridge.sh (lean -o on TropicalSessionTypes.lean and ResourceAlgebra.lean, then lean TropicalBridge.lean with LEAN_PATH)" :state superseded :reason "its inputs changed in hyperpolymath/resource-algebra#53: the leg and the M-2 bridge now build under lake, so the input set gained scripts/check-lean-leg.sh, two lakefiles and two Lake manifests, and scripts/check-lean-bridge.sh changed. To be replaced by the first run on main of the legs under lake"))) - (claim :id "C-4a" :pwg PWG-2i :foundation-diverse #f + (claim :id "C-4a" :pwg ungraded :foundation-diverse #f (leg :prover agda :route source :token proven :state AGDA-VERIFIED ; the run reported: PASS: core proofs, unit tests and all 13 expected rejections (receipt :run "https://github.com/hyperpolymath/resource-algebra/actions/runs/44209774341/job/134484857967" :commit "15fa113c7427e2de009eade9148295d08c046b33" :checker "Agda version 2.6.4.3 (Debian trixie agda-bin=2.6.4.3-1+b2, container debian:trixie-slim, not pinned by digest)" :invocation "agda --safe --without-K --cubical-compatible --no-libraries --ignore-interfaces --double-check -W error -i src src/ResourceAlgebra/All.agda" - :inputs-sha256 "6d3250447bd3271db46ebac1e48005a6988baf87b6b923ecd3914fbe1b74ae9d" - :state current - (inputs-manifest - (file :path "src/ResourceAlgebra/All.agda" :sha256 "be7242276a1d594c6665633cab6747b176c265bfcb1f7cb752e001fa9c1c3d33") - (file :path "src/ResourceAlgebra/Core.agda" :sha256 "9b975043e9b597e1b807c857cd43ae73e96c58182c4de83e97b5d2e4c6ef2fde") - (file :path "src/ResourceAlgebra/Instances/Diamond.agda" :sha256 "0eebbbe722e453d8c1ced415925060560fc9513d34a5e934bafc00e23287e4ec") - (file :path "src/ResourceAlgebra/Instances/Evidence.agda" :sha256 "b69e3e050c636772977dc9244ae30dcc63d8f27ed61391a01553b3c851048ad5") - (file :path "src/ResourceAlgebra/Instances/HWM.agda" :sha256 "4806ba1adb9426e122c196aae99f3266236e9d0e5286c837072c810fbd48b7a2") - (file :path "src/ResourceAlgebra/Instances/Loss.agda" :sha256 "ef525820249861b529a155e6fcf34b4149638a14f332c46201794e4ad50a2ffc") - (file :path "src/ResourceAlgebra/Instances/MaxPlus.agda" :sha256 "557d1147095d4e57671e9c8d9fad3e1b3be9e9630304fd15837cc15f8742e399") - (file :path "src/ResourceAlgebra/Instances/MinMax.agda" :sha256 "a31eead6379daf18fee3481af6ba45c26bc553c54e4b26caccb9551f4593defe") - (file :path "src/ResourceAlgebra/Instances/Questions.agda" :sha256 "aaf1f6d1a1d5f58cc3916ef31df286be0d64c1a0ea59e989d28508ea518b846a") - (file :path "src/ResourceAlgebra/Ledger.agda" :sha256 "31b53104b420c37f3e9639d249bdce13920d440313536fcabc02f9ae8e4c46f3") - (file :path "src/ResourceAlgebra/Morphism.agda" :sha256 "56f53e414c481c0357de6e10cc3dfe3b288c4c37d1212a127f6fa7523677b4fa") - (file :path "src/ResourceAlgebra/Prelude.agda" :sha256 "ab911c0e1563b8594e10755ce81a57ed1963aaa1253940d14e93b17999bde720") - (file :path "src/ResourceAlgebra/Separation.agda" :sha256 "4404893286f1ef61bfa07ab3f7d4682f049a19a90597a2ddab9f96ff258a40d0")) - (axioms))) + :state superseded + :reason "its inputs changed when parallel composition and the loop grade were added (rows P-1 to P-4 and K-1 to K-4): the cone gained src/ResourceAlgebra/Parallel.agda, Star.agda and Instances/MaxPlusTop.agda, and three expected rejections were added. To be replaced by the first run on main that contains them")) (leg :prover rocq :route re-proved :token proven :state RECONCILED ; the run reported: RESULT: PASS -- gated modules compile; the Assumptions step then passed, which fails unless all 75 printed theorems are closed under the global context and rocqchk accepts the compiled file (receipt :run "https://github.com/hyperpolymath/resource-algebra/actions/runs/44209774341/job/134484858135" :commit "15fa113c7427e2de009eade9148295d08c046b33" :checker "Rocq 9.3.0, then rocqchk" :invocation "rocq compile ResourceAlgebra.v in verification/proofs/coq, then rocqchk" - :image "rocq/rocq-prover:9.3.0@sha256:97a68f230e785726c3bab4ba17e1d416fdd630de4af4548eb49b08712f29af93" - :inputs-sha256 "b52b1348c6cace05db2ac026d1137a1a3027b14ec84e9fb599259c3693c8b1b7" - :state current - (inputs-manifest - (file :path "verification/proofs/coq/ResourceAlgebra.v" :sha256 "4989d461674d9f3d36e65ded96613b5df45a6c851b0ec63f40cf05ffd760582e")) - (axioms))) + :state superseded + :reason "its input changed when parallel composition and the loop grade were added (rows P-1 to P-4 and K-1 to K-4): verification/proofs/coq/ResourceAlgebra.v gained their Rocq leg. To be replaced by the first run on main that contains them")) (leg :prover lean :route re-proved :token proven :state RECONCILED ; the run reported: RESULT: PASS -- gated modules compile; the Axioms step then passed, which fails unless all 84 printed theorems depend on no axiom; PASS: M-2 bridge to hyperpolymath/tropical-types@f2e465c966d14d4986dfc492875cc54653d9751e; 6 of 6 printed theorems depend on no axiom (receipt :run "https://github.com/hyperpolymath/resource-algebra/actions/runs/44209774341/job/134484858201" @@ -201,42 +125,23 @@ :invocation "lean ResourceAlgebra.lean in verification/proofs/lean4, core only; then bash scripts/check-lean-bridge.sh (lean -o on TropicalSessionTypes.lean and ResourceAlgebra.lean, then lean TropicalBridge.lean with LEAN_PATH)" :state superseded :reason "its inputs changed in hyperpolymath/resource-algebra#53: the leg and the M-2 bridge now build under lake, so the input set gained scripts/check-lean-leg.sh, two lakefiles and two Lake manifests, and scripts/check-lean-bridge.sh changed. To be replaced by the first run on main of the legs under lake"))) - (claim :id "C-4b" :pwg PWG-2i :foundation-diverse #f + (claim :id "C-4b" :pwg ungraded :foundation-diverse #f (leg :prover agda :route source :token proven :state AGDA-VERIFIED ; the run reported: PASS: core proofs, unit tests and all 13 expected rejections (receipt :run "https://github.com/hyperpolymath/resource-algebra/actions/runs/44209774341/job/134484857967" :commit "15fa113c7427e2de009eade9148295d08c046b33" :checker "Agda version 2.6.4.3 (Debian trixie agda-bin=2.6.4.3-1+b2, container debian:trixie-slim, not pinned by digest)" :invocation "agda --safe --without-K --cubical-compatible --no-libraries --ignore-interfaces --double-check -W error -i src src/ResourceAlgebra/All.agda" - :inputs-sha256 "6d3250447bd3271db46ebac1e48005a6988baf87b6b923ecd3914fbe1b74ae9d" - :state current - (inputs-manifest - (file :path "src/ResourceAlgebra/All.agda" :sha256 "be7242276a1d594c6665633cab6747b176c265bfcb1f7cb752e001fa9c1c3d33") - (file :path "src/ResourceAlgebra/Core.agda" :sha256 "9b975043e9b597e1b807c857cd43ae73e96c58182c4de83e97b5d2e4c6ef2fde") - (file :path "src/ResourceAlgebra/Instances/Diamond.agda" :sha256 "0eebbbe722e453d8c1ced415925060560fc9513d34a5e934bafc00e23287e4ec") - (file :path "src/ResourceAlgebra/Instances/Evidence.agda" :sha256 "b69e3e050c636772977dc9244ae30dcc63d8f27ed61391a01553b3c851048ad5") - (file :path "src/ResourceAlgebra/Instances/HWM.agda" :sha256 "4806ba1adb9426e122c196aae99f3266236e9d0e5286c837072c810fbd48b7a2") - (file :path "src/ResourceAlgebra/Instances/Loss.agda" :sha256 "ef525820249861b529a155e6fcf34b4149638a14f332c46201794e4ad50a2ffc") - (file :path "src/ResourceAlgebra/Instances/MaxPlus.agda" :sha256 "557d1147095d4e57671e9c8d9fad3e1b3be9e9630304fd15837cc15f8742e399") - (file :path "src/ResourceAlgebra/Instances/MinMax.agda" :sha256 "a31eead6379daf18fee3481af6ba45c26bc553c54e4b26caccb9551f4593defe") - (file :path "src/ResourceAlgebra/Instances/Questions.agda" :sha256 "aaf1f6d1a1d5f58cc3916ef31df286be0d64c1a0ea59e989d28508ea518b846a") - (file :path "src/ResourceAlgebra/Ledger.agda" :sha256 "31b53104b420c37f3e9639d249bdce13920d440313536fcabc02f9ae8e4c46f3") - (file :path "src/ResourceAlgebra/Morphism.agda" :sha256 "56f53e414c481c0357de6e10cc3dfe3b288c4c37d1212a127f6fa7523677b4fa") - (file :path "src/ResourceAlgebra/Prelude.agda" :sha256 "ab911c0e1563b8594e10755ce81a57ed1963aaa1253940d14e93b17999bde720") - (file :path "src/ResourceAlgebra/Separation.agda" :sha256 "4404893286f1ef61bfa07ab3f7d4682f049a19a90597a2ddab9f96ff258a40d0")) - (axioms))) + :state superseded + :reason "its inputs changed when parallel composition and the loop grade were added (rows P-1 to P-4 and K-1 to K-4): the cone gained src/ResourceAlgebra/Parallel.agda, Star.agda and Instances/MaxPlusTop.agda, and three expected rejections were added. To be replaced by the first run on main that contains them")) (leg :prover rocq :route re-proved :token proven :state RECONCILED ; the run reported: RESULT: PASS -- gated modules compile; the Assumptions step then passed, which fails unless all 75 printed theorems are closed under the global context and rocqchk accepts the compiled file (receipt :run "https://github.com/hyperpolymath/resource-algebra/actions/runs/44209774341/job/134484858135" :commit "15fa113c7427e2de009eade9148295d08c046b33" :checker "Rocq 9.3.0, then rocqchk" :invocation "rocq compile ResourceAlgebra.v in verification/proofs/coq, then rocqchk" - :image "rocq/rocq-prover:9.3.0@sha256:97a68f230e785726c3bab4ba17e1d416fdd630de4af4548eb49b08712f29af93" - :inputs-sha256 "b52b1348c6cace05db2ac026d1137a1a3027b14ec84e9fb599259c3693c8b1b7" - :state current - (inputs-manifest - (file :path "verification/proofs/coq/ResourceAlgebra.v" :sha256 "4989d461674d9f3d36e65ded96613b5df45a6c851b0ec63f40cf05ffd760582e")) - (axioms))) + :state superseded + :reason "its input changed when parallel composition and the loop grade were added (rows P-1 to P-4 and K-1 to K-4): verification/proofs/coq/ResourceAlgebra.v gained their Rocq leg. To be replaced by the first run on main that contains them")) (leg :prover lean :route re-proved :token proven :state RECONCILED ; the run reported: RESULT: PASS -- gated modules compile; the Axioms step then passed, which fails unless all 84 printed theorems depend on no axiom; PASS: M-2 bridge to hyperpolymath/tropical-types@f2e465c966d14d4986dfc492875cc54653d9751e; 6 of 6 printed theorems depend on no axiom (receipt :run "https://github.com/hyperpolymath/resource-algebra/actions/runs/44209774341/job/134484858201" @@ -245,42 +150,23 @@ :invocation "lean ResourceAlgebra.lean in verification/proofs/lean4, core only; then bash scripts/check-lean-bridge.sh (lean -o on TropicalSessionTypes.lean and ResourceAlgebra.lean, then lean TropicalBridge.lean with LEAN_PATH)" :state superseded :reason "its inputs changed in hyperpolymath/resource-algebra#53: the leg and the M-2 bridge now build under lake, so the input set gained scripts/check-lean-leg.sh, two lakefiles and two Lake manifests, and scripts/check-lean-bridge.sh changed. To be replaced by the first run on main of the legs under lake"))) - (claim :id "L-1" :pwg PWG-2i :foundation-diverse #f + (claim :id "L-1" :pwg ungraded :foundation-diverse #f (leg :prover agda :route source :token proven :state AGDA-VERIFIED ; the run reported: PASS: core proofs, unit tests and all 13 expected rejections (receipt :run "https://github.com/hyperpolymath/resource-algebra/actions/runs/44209774341/job/134484857967" :commit "15fa113c7427e2de009eade9148295d08c046b33" :checker "Agda version 2.6.4.3 (Debian trixie agda-bin=2.6.4.3-1+b2, container debian:trixie-slim, not pinned by digest)" :invocation "agda --safe --without-K --cubical-compatible --no-libraries --ignore-interfaces --double-check -W error -i src src/ResourceAlgebra/All.agda" - :inputs-sha256 "6d3250447bd3271db46ebac1e48005a6988baf87b6b923ecd3914fbe1b74ae9d" - :state current - (inputs-manifest - (file :path "src/ResourceAlgebra/All.agda" :sha256 "be7242276a1d594c6665633cab6747b176c265bfcb1f7cb752e001fa9c1c3d33") - (file :path "src/ResourceAlgebra/Core.agda" :sha256 "9b975043e9b597e1b807c857cd43ae73e96c58182c4de83e97b5d2e4c6ef2fde") - (file :path "src/ResourceAlgebra/Instances/Diamond.agda" :sha256 "0eebbbe722e453d8c1ced415925060560fc9513d34a5e934bafc00e23287e4ec") - (file :path "src/ResourceAlgebra/Instances/Evidence.agda" :sha256 "b69e3e050c636772977dc9244ae30dcc63d8f27ed61391a01553b3c851048ad5") - (file :path "src/ResourceAlgebra/Instances/HWM.agda" :sha256 "4806ba1adb9426e122c196aae99f3266236e9d0e5286c837072c810fbd48b7a2") - (file :path "src/ResourceAlgebra/Instances/Loss.agda" :sha256 "ef525820249861b529a155e6fcf34b4149638a14f332c46201794e4ad50a2ffc") - (file :path "src/ResourceAlgebra/Instances/MaxPlus.agda" :sha256 "557d1147095d4e57671e9c8d9fad3e1b3be9e9630304fd15837cc15f8742e399") - (file :path "src/ResourceAlgebra/Instances/MinMax.agda" :sha256 "a31eead6379daf18fee3481af6ba45c26bc553c54e4b26caccb9551f4593defe") - (file :path "src/ResourceAlgebra/Instances/Questions.agda" :sha256 "aaf1f6d1a1d5f58cc3916ef31df286be0d64c1a0ea59e989d28508ea518b846a") - (file :path "src/ResourceAlgebra/Ledger.agda" :sha256 "31b53104b420c37f3e9639d249bdce13920d440313536fcabc02f9ae8e4c46f3") - (file :path "src/ResourceAlgebra/Morphism.agda" :sha256 "56f53e414c481c0357de6e10cc3dfe3b288c4c37d1212a127f6fa7523677b4fa") - (file :path "src/ResourceAlgebra/Prelude.agda" :sha256 "ab911c0e1563b8594e10755ce81a57ed1963aaa1253940d14e93b17999bde720") - (file :path "src/ResourceAlgebra/Separation.agda" :sha256 "4404893286f1ef61bfa07ab3f7d4682f049a19a90597a2ddab9f96ff258a40d0")) - (axioms))) + :state superseded + :reason "its inputs changed when parallel composition and the loop grade were added (rows P-1 to P-4 and K-1 to K-4): the cone gained src/ResourceAlgebra/Parallel.agda, Star.agda and Instances/MaxPlusTop.agda, and three expected rejections were added. To be replaced by the first run on main that contains them")) (leg :prover rocq :route re-proved :token proven :state RECONCILED ; the run reported: RESULT: PASS -- gated modules compile; the Assumptions step then passed, which fails unless all 75 printed theorems are closed under the global context and rocqchk accepts the compiled file (receipt :run "https://github.com/hyperpolymath/resource-algebra/actions/runs/44209774341/job/134484858135" :commit "15fa113c7427e2de009eade9148295d08c046b33" :checker "Rocq 9.3.0, then rocqchk" :invocation "rocq compile ResourceAlgebra.v in verification/proofs/coq, then rocqchk" - :image "rocq/rocq-prover:9.3.0@sha256:97a68f230e785726c3bab4ba17e1d416fdd630de4af4548eb49b08712f29af93" - :inputs-sha256 "b52b1348c6cace05db2ac026d1137a1a3027b14ec84e9fb599259c3693c8b1b7" - :state current - (inputs-manifest - (file :path "verification/proofs/coq/ResourceAlgebra.v" :sha256 "4989d461674d9f3d36e65ded96613b5df45a6c851b0ec63f40cf05ffd760582e")) - (axioms))) + :state superseded + :reason "its input changed when parallel composition and the loop grade were added (rows P-1 to P-4 and K-1 to K-4): verification/proofs/coq/ResourceAlgebra.v gained their Rocq leg. To be replaced by the first run on main that contains them")) (leg :prover lean :route re-proved :token proven :state RECONCILED ; the run reported: RESULT: PASS -- gated modules compile; the Axioms step then passed, which fails unless all 84 printed theorems depend on no axiom; PASS: M-2 bridge to hyperpolymath/tropical-types@f2e465c966d14d4986dfc492875cc54653d9751e; 6 of 6 printed theorems depend on no axiom (receipt :run "https://github.com/hyperpolymath/resource-algebra/actions/runs/44209774341/job/134484858201" @@ -289,42 +175,23 @@ :invocation "lean ResourceAlgebra.lean in verification/proofs/lean4, core only; then bash scripts/check-lean-bridge.sh (lean -o on TropicalSessionTypes.lean and ResourceAlgebra.lean, then lean TropicalBridge.lean with LEAN_PATH)" :state superseded :reason "its inputs changed in hyperpolymath/resource-algebra#53: the leg and the M-2 bridge now build under lake, so the input set gained scripts/check-lean-leg.sh, two lakefiles and two Lake manifests, and scripts/check-lean-bridge.sh changed. To be replaced by the first run on main of the legs under lake"))) - (claim :id "M-1" :pwg PWG-2i :foundation-diverse #f + (claim :id "M-1" :pwg ungraded :foundation-diverse #f (leg :prover agda :route source :token proven :state AGDA-VERIFIED ; the run reported: PASS: core proofs, unit tests and all 13 expected rejections (receipt :run "https://github.com/hyperpolymath/resource-algebra/actions/runs/44209774341/job/134484857967" :commit "15fa113c7427e2de009eade9148295d08c046b33" :checker "Agda version 2.6.4.3 (Debian trixie agda-bin=2.6.4.3-1+b2, container debian:trixie-slim, not pinned by digest)" :invocation "agda --safe --without-K --cubical-compatible --no-libraries --ignore-interfaces --double-check -W error -i src src/ResourceAlgebra/All.agda" - :inputs-sha256 "6d3250447bd3271db46ebac1e48005a6988baf87b6b923ecd3914fbe1b74ae9d" - :state current - (inputs-manifest - (file :path "src/ResourceAlgebra/All.agda" :sha256 "be7242276a1d594c6665633cab6747b176c265bfcb1f7cb752e001fa9c1c3d33") - (file :path "src/ResourceAlgebra/Core.agda" :sha256 "9b975043e9b597e1b807c857cd43ae73e96c58182c4de83e97b5d2e4c6ef2fde") - (file :path "src/ResourceAlgebra/Instances/Diamond.agda" :sha256 "0eebbbe722e453d8c1ced415925060560fc9513d34a5e934bafc00e23287e4ec") - (file :path "src/ResourceAlgebra/Instances/Evidence.agda" :sha256 "b69e3e050c636772977dc9244ae30dcc63d8f27ed61391a01553b3c851048ad5") - (file :path "src/ResourceAlgebra/Instances/HWM.agda" :sha256 "4806ba1adb9426e122c196aae99f3266236e9d0e5286c837072c810fbd48b7a2") - (file :path "src/ResourceAlgebra/Instances/Loss.agda" :sha256 "ef525820249861b529a155e6fcf34b4149638a14f332c46201794e4ad50a2ffc") - (file :path "src/ResourceAlgebra/Instances/MaxPlus.agda" :sha256 "557d1147095d4e57671e9c8d9fad3e1b3be9e9630304fd15837cc15f8742e399") - (file :path "src/ResourceAlgebra/Instances/MinMax.agda" :sha256 "a31eead6379daf18fee3481af6ba45c26bc553c54e4b26caccb9551f4593defe") - (file :path "src/ResourceAlgebra/Instances/Questions.agda" :sha256 "aaf1f6d1a1d5f58cc3916ef31df286be0d64c1a0ea59e989d28508ea518b846a") - (file :path "src/ResourceAlgebra/Ledger.agda" :sha256 "31b53104b420c37f3e9639d249bdce13920d440313536fcabc02f9ae8e4c46f3") - (file :path "src/ResourceAlgebra/Morphism.agda" :sha256 "56f53e414c481c0357de6e10cc3dfe3b288c4c37d1212a127f6fa7523677b4fa") - (file :path "src/ResourceAlgebra/Prelude.agda" :sha256 "ab911c0e1563b8594e10755ce81a57ed1963aaa1253940d14e93b17999bde720") - (file :path "src/ResourceAlgebra/Separation.agda" :sha256 "4404893286f1ef61bfa07ab3f7d4682f049a19a90597a2ddab9f96ff258a40d0")) - (axioms))) + :state superseded + :reason "its inputs changed when parallel composition and the loop grade were added (rows P-1 to P-4 and K-1 to K-4): the cone gained src/ResourceAlgebra/Parallel.agda, Star.agda and Instances/MaxPlusTop.agda, and three expected rejections were added. To be replaced by the first run on main that contains them")) (leg :prover rocq :route re-proved :token proven :state RECONCILED ; the run reported: RESULT: PASS -- gated modules compile; the Assumptions step then passed, which fails unless all 75 printed theorems are closed under the global context and rocqchk accepts the compiled file (receipt :run "https://github.com/hyperpolymath/resource-algebra/actions/runs/44209774341/job/134484858135" :commit "15fa113c7427e2de009eade9148295d08c046b33" :checker "Rocq 9.3.0, then rocqchk" :invocation "rocq compile ResourceAlgebra.v in verification/proofs/coq, then rocqchk" - :image "rocq/rocq-prover:9.3.0@sha256:97a68f230e785726c3bab4ba17e1d416fdd630de4af4548eb49b08712f29af93" - :inputs-sha256 "b52b1348c6cace05db2ac026d1137a1a3027b14ec84e9fb599259c3693c8b1b7" - :state current - (inputs-manifest - (file :path "verification/proofs/coq/ResourceAlgebra.v" :sha256 "4989d461674d9f3d36e65ded96613b5df45a6c851b0ec63f40cf05ffd760582e")) - (axioms))) + :state superseded + :reason "its input changed when parallel composition and the loop grade were added (rows P-1 to P-4 and K-1 to K-4): verification/proofs/coq/ResourceAlgebra.v gained their Rocq leg. To be replaced by the first run on main that contains them")) (leg :prover lean :route re-proved :token proven :state RECONCILED ; the run reported: RESULT: PASS -- gated modules compile; the Axioms step then passed, which fails unless all 84 printed theorems depend on no axiom; PASS: M-2 bridge to hyperpolymath/tropical-types@f2e465c966d14d4986dfc492875cc54653d9751e; 6 of 6 printed theorems depend on no axiom (receipt :run "https://github.com/hyperpolymath/resource-algebra/actions/runs/44209774341/job/134484858201" @@ -344,42 +211,148 @@ :invocation "lean ResourceAlgebra.lean in verification/proofs/lean4, core only; then bash scripts/check-lean-bridge.sh (lean -o on TropicalSessionTypes.lean and ResourceAlgebra.lean, then lean TropicalBridge.lean with LEAN_PATH)" :state superseded :reason "its inputs changed in hyperpolymath/resource-algebra#53: the leg and the M-2 bridge now build under lake, so the input set gained scripts/check-lean-leg.sh, two lakefiles and two Lake manifests, and scripts/check-lean-bridge.sh changed. To be replaced by the first run on main of the legs under lake"))) - (claim :id "H-1" :pwg PWG-2i :foundation-diverse #f + (claim :id "H-1" :pwg ungraded :foundation-diverse #f + (leg :prover agda :route source :token proven :state AGDA-VERIFIED + ; the run reported: PASS: core proofs, unit tests and all 13 expected rejections + (receipt :run "https://github.com/hyperpolymath/resource-algebra/actions/runs/44209774341/job/134484857967" + :commit "15fa113c7427e2de009eade9148295d08c046b33" + :checker "Agda version 2.6.4.3 (Debian trixie agda-bin=2.6.4.3-1+b2, container debian:trixie-slim, not pinned by digest)" + :invocation "agda --safe --without-K --cubical-compatible --no-libraries --ignore-interfaces --double-check -W error -i src src/ResourceAlgebra/All.agda" + :state superseded + :reason "its inputs changed when parallel composition and the loop grade were added (rows P-1 to P-4 and K-1 to K-4): the cone gained src/ResourceAlgebra/Parallel.agda, Star.agda and Instances/MaxPlusTop.agda, and three expected rejections were added. To be replaced by the first run on main that contains them")) + (leg :prover rocq :route re-proved :token proven :state RECONCILED + ; the run reported: RESULT: PASS -- gated modules compile; the Assumptions step then passed, which fails unless all 75 printed theorems are closed under the global context and rocqchk accepts the compiled file + (receipt :run "https://github.com/hyperpolymath/resource-algebra/actions/runs/44209774341/job/134484858135" + :commit "15fa113c7427e2de009eade9148295d08c046b33" + :checker "Rocq 9.3.0, then rocqchk" + :invocation "rocq compile ResourceAlgebra.v in verification/proofs/coq, then rocqchk" + :state superseded + :reason "its input changed when parallel composition and the loop grade were added (rows P-1 to P-4 and K-1 to K-4): verification/proofs/coq/ResourceAlgebra.v gained their Rocq leg. To be replaced by the first run on main that contains them")) + (leg :prover lean :route re-proved :token proven :state RECONCILED + ; the run reported: RESULT: PASS -- gated modules compile; the Axioms step then passed, which fails unless all 84 printed theorems depend on no axiom; PASS: M-2 bridge to hyperpolymath/tropical-types@f2e465c966d14d4986dfc492875cc54653d9751e; 6 of 6 printed theorems depend on no axiom + (receipt :run "https://github.com/hyperpolymath/resource-algebra/actions/runs/44209774341/job/134484858201" + :commit "15fa113c7427e2de009eade9148295d08c046b33" + :checker "Lean 4.35.0 (release archive, sha256 7289597a44543246c9227b8cae501767e095ce17f6d448b95fc4a8dc97268f6d, on the hosted runner, no image)" + :invocation "lean ResourceAlgebra.lean in verification/proofs/lean4, core only; then bash scripts/check-lean-bridge.sh (lean -o on TropicalSessionTypes.lean and ResourceAlgebra.lean, then lean TropicalBridge.lean with LEAN_PATH)" + :state superseded + :reason "its inputs changed in hyperpolymath/resource-algebra#53: the leg and the M-2 bridge now build under lake, so the input set gained scripts/check-lean-leg.sh, two lakefiles and two Lake manifests, and scripts/check-lean-bridge.sh changed. To be replaced by the first run on main of the legs under lake"))) + (claim :id "H-3" :pwg ungraded :foundation-diverse #f + (leg :prover agda :route source :token proven :state AGDA-VERIFIED + ; the run reported: PASS: core proofs, unit tests and all 13 expected rejections + (receipt :run "https://github.com/hyperpolymath/resource-algebra/actions/runs/44209774341/job/134484857967" + :commit "15fa113c7427e2de009eade9148295d08c046b33" + :checker "Agda version 2.6.4.3 (Debian trixie agda-bin=2.6.4.3-1+b2, container debian:trixie-slim, not pinned by digest)" + :invocation "agda --safe --without-K --cubical-compatible --no-libraries --ignore-interfaces --double-check -W error -i src src/ResourceAlgebra/All.agda" + :state superseded + :reason "its inputs changed when parallel composition and the loop grade were added (rows P-1 to P-4 and K-1 to K-4): the cone gained src/ResourceAlgebra/Parallel.agda, Star.agda and Instances/MaxPlusTop.agda, and three expected rejections were added. To be replaced by the first run on main that contains them")) + (leg :prover rocq :route re-proved :token proven :state RECONCILED + ; the run reported: RESULT: PASS -- gated modules compile; the Assumptions step then passed, which fails unless all 75 printed theorems are closed under the global context and rocqchk accepts the compiled file + (receipt :run "https://github.com/hyperpolymath/resource-algebra/actions/runs/44209774341/job/134484858135" + :commit "15fa113c7427e2de009eade9148295d08c046b33" + :checker "Rocq 9.3.0, then rocqchk" + :invocation "rocq compile ResourceAlgebra.v in verification/proofs/coq, then rocqchk" + :state superseded + :reason "its input changed when parallel composition and the loop grade were added (rows P-1 to P-4 and K-1 to K-4): verification/proofs/coq/ResourceAlgebra.v gained their Rocq leg. To be replaced by the first run on main that contains them")) + (leg :prover lean :route re-proved :token proven :state RECONCILED + ; the run reported: RESULT: PASS -- gated modules compile; the Axioms step then passed, which fails unless all 84 printed theorems depend on no axiom; PASS: M-2 bridge to hyperpolymath/tropical-types@f2e465c966d14d4986dfc492875cc54653d9751e; 6 of 6 printed theorems depend on no axiom + (receipt :run "https://github.com/hyperpolymath/resource-algebra/actions/runs/44209774341/job/134484858201" + :commit "15fa113c7427e2de009eade9148295d08c046b33" + :checker "Lean 4.35.0 (release archive, sha256 7289597a44543246c9227b8cae501767e095ce17f6d448b95fc4a8dc97268f6d, on the hosted runner, no image)" + :invocation "lean ResourceAlgebra.lean in verification/proofs/lean4, core only; then bash scripts/check-lean-bridge.sh (lean -o on TropicalSessionTypes.lean and ResourceAlgebra.lean, then lean TropicalBridge.lean with LEAN_PATH)" + :state superseded + :reason "its inputs changed in hyperpolymath/resource-algebra#53: the leg and the M-2 bridge now build under lake, so the input set gained scripts/check-lean-leg.sh, two lakefiles and two Lake manifests, and scripts/check-lean-bridge.sh changed. To be replaced by the first run on main of the legs under lake"))) + (claim :id "N-1" :pwg ungraded :foundation-diverse #f + (leg :prover agda :route source :token proven :state AGDA-VERIFIED + ; the run reported: PASS: core proofs, unit tests and all 13 expected rejections + (receipt :run "https://github.com/hyperpolymath/resource-algebra/actions/runs/44209774341/job/134484857967" + :commit "15fa113c7427e2de009eade9148295d08c046b33" + :checker "Agda version 2.6.4.3 (Debian trixie agda-bin=2.6.4.3-1+b2, container debian:trixie-slim, not pinned by digest)" + :invocation "agda --safe --without-K --cubical-compatible --no-libraries --ignore-interfaces --double-check -W error -i src src/ResourceAlgebra/All.agda" + :state superseded + :reason "its inputs changed when parallel composition and the loop grade were added (rows P-1 to P-4 and K-1 to K-4): the cone gained src/ResourceAlgebra/Parallel.agda, Star.agda and Instances/MaxPlusTop.agda, and three expected rejections were added. To be replaced by the first run on main that contains them")) + (leg :prover rocq :route re-proved :token proven :state RECONCILED + ; the run reported: RESULT: PASS -- gated modules compile; the Assumptions step then passed, which fails unless all 75 printed theorems are closed under the global context and rocqchk accepts the compiled file + (receipt :run "https://github.com/hyperpolymath/resource-algebra/actions/runs/44209774341/job/134484858135" + :commit "15fa113c7427e2de009eade9148295d08c046b33" + :checker "Rocq 9.3.0, then rocqchk" + :invocation "rocq compile ResourceAlgebra.v in verification/proofs/coq, then rocqchk" + :state superseded + :reason "its input changed when parallel composition and the loop grade were added (rows P-1 to P-4 and K-1 to K-4): verification/proofs/coq/ResourceAlgebra.v gained their Rocq leg. To be replaced by the first run on main that contains them")) + (leg :prover lean :route re-proved :token proven :state RECONCILED + ; the run reported: RESULT: PASS -- gated modules compile; the Axioms step then passed, which fails unless all 84 printed theorems depend on no axiom; PASS: M-2 bridge to hyperpolymath/tropical-types@f2e465c966d14d4986dfc492875cc54653d9751e; 6 of 6 printed theorems depend on no axiom + (receipt :run "https://github.com/hyperpolymath/resource-algebra/actions/runs/44209774341/job/134484858201" + :commit "15fa113c7427e2de009eade9148295d08c046b33" + :checker "Lean 4.35.0 (release archive, sha256 7289597a44543246c9227b8cae501767e095ce17f6d448b95fc4a8dc97268f6d, on the hosted runner, no image)" + :invocation "lean ResourceAlgebra.lean in verification/proofs/lean4, core only; then bash scripts/check-lean-bridge.sh (lean -o on TropicalSessionTypes.lean and ResourceAlgebra.lean, then lean TropicalBridge.lean with LEAN_PATH)" + :state superseded + :reason "its inputs changed in hyperpolymath/resource-algebra#53: the leg and the M-2 bridge now build under lake, so the input set gained scripts/check-lean-leg.sh, two lakefiles and two Lake manifests, and scripts/check-lean-bridge.sh changed. To be replaced by the first run on main of the legs under lake"))) + (claim :id "Q-1" :pwg ungraded :foundation-diverse #f + (leg :prover agda :route source :token proven :state AGDA-VERIFIED + ; the run reported: PASS: core proofs, unit tests and all 13 expected rejections + (receipt :run "https://github.com/hyperpolymath/resource-algebra/actions/runs/44209774341/job/134484857967" + :commit "15fa113c7427e2de009eade9148295d08c046b33" + :checker "Agda version 2.6.4.3 (Debian trixie agda-bin=2.6.4.3-1+b2, container debian:trixie-slim, not pinned by digest)" + :invocation "agda --safe --without-K --cubical-compatible --no-libraries --ignore-interfaces --double-check -W error -i src src/ResourceAlgebra/All.agda" + :state superseded + :reason "its inputs changed when parallel composition and the loop grade were added (rows P-1 to P-4 and K-1 to K-4): the cone gained src/ResourceAlgebra/Parallel.agda, Star.agda and Instances/MaxPlusTop.agda, and three expected rejections were added. To be replaced by the first run on main that contains them")) + (leg :prover rocq :route re-proved :token proven :state RECONCILED + ; the run reported: RESULT: PASS -- gated modules compile; the Assumptions step then passed, which fails unless all 75 printed theorems are closed under the global context and rocqchk accepts the compiled file + (receipt :run "https://github.com/hyperpolymath/resource-algebra/actions/runs/44209774341/job/134484858135" + :commit "15fa113c7427e2de009eade9148295d08c046b33" + :checker "Rocq 9.3.0, then rocqchk" + :invocation "rocq compile ResourceAlgebra.v in verification/proofs/coq, then rocqchk" + :state superseded + :reason "its input changed when parallel composition and the loop grade were added (rows P-1 to P-4 and K-1 to K-4): verification/proofs/coq/ResourceAlgebra.v gained their Rocq leg. To be replaced by the first run on main that contains them")) + (leg :prover lean :route re-proved :token proven :state RECONCILED + ; the run reported: RESULT: PASS -- gated modules compile; the Axioms step then passed, which fails unless all 84 printed theorems depend on no axiom; PASS: M-2 bridge to hyperpolymath/tropical-types@f2e465c966d14d4986dfc492875cc54653d9751e; 6 of 6 printed theorems depend on no axiom + (receipt :run "https://github.com/hyperpolymath/resource-algebra/actions/runs/44209774341/job/134484858201" + :commit "15fa113c7427e2de009eade9148295d08c046b33" + :checker "Lean 4.35.0 (release archive, sha256 7289597a44543246c9227b8cae501767e095ce17f6d448b95fc4a8dc97268f6d, on the hosted runner, no image)" + :invocation "lean ResourceAlgebra.lean in verification/proofs/lean4, core only; then bash scripts/check-lean-bridge.sh (lean -o on TropicalSessionTypes.lean and ResourceAlgebra.lean, then lean TropicalBridge.lean with LEAN_PATH)" + :state superseded + :reason "its inputs changed in hyperpolymath/resource-algebra#53: the leg and the M-2 bridge now build under lake, so the input set gained scripts/check-lean-leg.sh, two lakefiles and two Lake manifests, and scripts/check-lean-bridge.sh changed. To be replaced by the first run on main of the legs under lake"))) + (claim :id "Q-2" :pwg ungraded :foundation-diverse #f + (leg :prover agda :route source :token proven :state AGDA-VERIFIED + ; the run reported: PASS: core proofs, unit tests and all 13 expected rejections + (receipt :run "https://github.com/hyperpolymath/resource-algebra/actions/runs/44209774341/job/134484857967" + :commit "15fa113c7427e2de009eade9148295d08c046b33" + :checker "Agda version 2.6.4.3 (Debian trixie agda-bin=2.6.4.3-1+b2, container debian:trixie-slim, not pinned by digest)" + :invocation "agda --safe --without-K --cubical-compatible --no-libraries --ignore-interfaces --double-check -W error -i src src/ResourceAlgebra/All.agda" + :state superseded + :reason "its inputs changed when parallel composition and the loop grade were added (rows P-1 to P-4 and K-1 to K-4): the cone gained src/ResourceAlgebra/Parallel.agda, Star.agda and Instances/MaxPlusTop.agda, and three expected rejections were added. To be replaced by the first run on main that contains them")) + (leg :prover rocq :route re-proved :token proven :state RECONCILED + ; the run reported: RESULT: PASS -- gated modules compile; the Assumptions step then passed, which fails unless all 75 printed theorems are closed under the global context and rocqchk accepts the compiled file + (receipt :run "https://github.com/hyperpolymath/resource-algebra/actions/runs/44209774341/job/134484858135" + :commit "15fa113c7427e2de009eade9148295d08c046b33" + :checker "Rocq 9.3.0, then rocqchk" + :invocation "rocq compile ResourceAlgebra.v in verification/proofs/coq, then rocqchk" + :state superseded + :reason "its input changed when parallel composition and the loop grade were added (rows P-1 to P-4 and K-1 to K-4): verification/proofs/coq/ResourceAlgebra.v gained their Rocq leg. To be replaced by the first run on main that contains them")) + (leg :prover lean :route re-proved :token proven :state RECONCILED + ; the run reported: RESULT: PASS -- gated modules compile; the Axioms step then passed, which fails unless all 84 printed theorems depend on no axiom; PASS: M-2 bridge to hyperpolymath/tropical-types@f2e465c966d14d4986dfc492875cc54653d9751e; 6 of 6 printed theorems depend on no axiom + (receipt :run "https://github.com/hyperpolymath/resource-algebra/actions/runs/44209774341/job/134484858201" + :commit "15fa113c7427e2de009eade9148295d08c046b33" + :checker "Lean 4.35.0 (release archive, sha256 7289597a44543246c9227b8cae501767e095ce17f6d448b95fc4a8dc97268f6d, on the hosted runner, no image)" + :invocation "lean ResourceAlgebra.lean in verification/proofs/lean4, core only; then bash scripts/check-lean-bridge.sh (lean -o on TropicalSessionTypes.lean and ResourceAlgebra.lean, then lean TropicalBridge.lean with LEAN_PATH)" + :state superseded + :reason "its inputs changed in hyperpolymath/resource-algebra#53: the leg and the M-2 bridge now build under lake, so the input set gained scripts/check-lean-leg.sh, two lakefiles and two Lake manifests, and scripts/check-lean-bridge.sh changed. To be replaced by the first run on main of the legs under lake"))) + (claim :id "Q-3" :pwg ungraded :foundation-diverse #f (leg :prover agda :route source :token proven :state AGDA-VERIFIED ; the run reported: PASS: core proofs, unit tests and all 13 expected rejections (receipt :run "https://github.com/hyperpolymath/resource-algebra/actions/runs/44209774341/job/134484857967" :commit "15fa113c7427e2de009eade9148295d08c046b33" :checker "Agda version 2.6.4.3 (Debian trixie agda-bin=2.6.4.3-1+b2, container debian:trixie-slim, not pinned by digest)" :invocation "agda --safe --without-K --cubical-compatible --no-libraries --ignore-interfaces --double-check -W error -i src src/ResourceAlgebra/All.agda" - :inputs-sha256 "6d3250447bd3271db46ebac1e48005a6988baf87b6b923ecd3914fbe1b74ae9d" - :state current - (inputs-manifest - (file :path "src/ResourceAlgebra/All.agda" :sha256 "be7242276a1d594c6665633cab6747b176c265bfcb1f7cb752e001fa9c1c3d33") - (file :path "src/ResourceAlgebra/Core.agda" :sha256 "9b975043e9b597e1b807c857cd43ae73e96c58182c4de83e97b5d2e4c6ef2fde") - (file :path "src/ResourceAlgebra/Instances/Diamond.agda" :sha256 "0eebbbe722e453d8c1ced415925060560fc9513d34a5e934bafc00e23287e4ec") - (file :path "src/ResourceAlgebra/Instances/Evidence.agda" :sha256 "b69e3e050c636772977dc9244ae30dcc63d8f27ed61391a01553b3c851048ad5") - (file :path "src/ResourceAlgebra/Instances/HWM.agda" :sha256 "4806ba1adb9426e122c196aae99f3266236e9d0e5286c837072c810fbd48b7a2") - (file :path "src/ResourceAlgebra/Instances/Loss.agda" :sha256 "ef525820249861b529a155e6fcf34b4149638a14f332c46201794e4ad50a2ffc") - (file :path "src/ResourceAlgebra/Instances/MaxPlus.agda" :sha256 "557d1147095d4e57671e9c8d9fad3e1b3be9e9630304fd15837cc15f8742e399") - (file :path "src/ResourceAlgebra/Instances/MinMax.agda" :sha256 "a31eead6379daf18fee3481af6ba45c26bc553c54e4b26caccb9551f4593defe") - (file :path "src/ResourceAlgebra/Instances/Questions.agda" :sha256 "aaf1f6d1a1d5f58cc3916ef31df286be0d64c1a0ea59e989d28508ea518b846a") - (file :path "src/ResourceAlgebra/Ledger.agda" :sha256 "31b53104b420c37f3e9639d249bdce13920d440313536fcabc02f9ae8e4c46f3") - (file :path "src/ResourceAlgebra/Morphism.agda" :sha256 "56f53e414c481c0357de6e10cc3dfe3b288c4c37d1212a127f6fa7523677b4fa") - (file :path "src/ResourceAlgebra/Prelude.agda" :sha256 "ab911c0e1563b8594e10755ce81a57ed1963aaa1253940d14e93b17999bde720") - (file :path "src/ResourceAlgebra/Separation.agda" :sha256 "4404893286f1ef61bfa07ab3f7d4682f049a19a90597a2ddab9f96ff258a40d0")) - (axioms))) + :state superseded + :reason "its inputs changed when parallel composition and the loop grade were added (rows P-1 to P-4 and K-1 to K-4): the cone gained src/ResourceAlgebra/Parallel.agda, Star.agda and Instances/MaxPlusTop.agda, and three expected rejections were added. To be replaced by the first run on main that contains them")) (leg :prover rocq :route re-proved :token proven :state RECONCILED ; the run reported: RESULT: PASS -- gated modules compile; the Assumptions step then passed, which fails unless all 75 printed theorems are closed under the global context and rocqchk accepts the compiled file (receipt :run "https://github.com/hyperpolymath/resource-algebra/actions/runs/44209774341/job/134484858135" :commit "15fa113c7427e2de009eade9148295d08c046b33" :checker "Rocq 9.3.0, then rocqchk" :invocation "rocq compile ResourceAlgebra.v in verification/proofs/coq, then rocqchk" - :image "rocq/rocq-prover:9.3.0@sha256:97a68f230e785726c3bab4ba17e1d416fdd630de4af4548eb49b08712f29af93" - :inputs-sha256 "b52b1348c6cace05db2ac026d1137a1a3027b14ec84e9fb599259c3693c8b1b7" - :state current - (inputs-manifest - (file :path "verification/proofs/coq/ResourceAlgebra.v" :sha256 "4989d461674d9f3d36e65ded96613b5df45a6c851b0ec63f40cf05ffd760582e")) - (axioms))) + :state superseded + :reason "its input changed when parallel composition and the loop grade were added (rows P-1 to P-4 and K-1 to K-4): verification/proofs/coq/ResourceAlgebra.v gained their Rocq leg. To be replaced by the first run on main that contains them")) (leg :prover lean :route re-proved :token proven :state RECONCILED ; the run reported: RESULT: PASS -- gated modules compile; the Axioms step then passed, which fails unless all 84 printed theorems depend on no axiom; PASS: M-2 bridge to hyperpolymath/tropical-types@f2e465c966d14d4986dfc492875cc54653d9751e; 6 of 6 printed theorems depend on no axiom (receipt :run "https://github.com/hyperpolymath/resource-algebra/actions/runs/44209774341/job/134484858201" @@ -388,42 +361,23 @@ :invocation "lean ResourceAlgebra.lean in verification/proofs/lean4, core only; then bash scripts/check-lean-bridge.sh (lean -o on TropicalSessionTypes.lean and ResourceAlgebra.lean, then lean TropicalBridge.lean with LEAN_PATH)" :state superseded :reason "its inputs changed in hyperpolymath/resource-algebra#53: the leg and the M-2 bridge now build under lake, so the input set gained scripts/check-lean-leg.sh, two lakefiles and two Lake manifests, and scripts/check-lean-bridge.sh changed. To be replaced by the first run on main of the legs under lake"))) - (claim :id "H-3" :pwg PWG-2i :foundation-diverse #f + (claim :id "Q-4" :pwg ungraded :foundation-diverse #f (leg :prover agda :route source :token proven :state AGDA-VERIFIED ; the run reported: PASS: core proofs, unit tests and all 13 expected rejections (receipt :run "https://github.com/hyperpolymath/resource-algebra/actions/runs/44209774341/job/134484857967" :commit "15fa113c7427e2de009eade9148295d08c046b33" :checker "Agda version 2.6.4.3 (Debian trixie agda-bin=2.6.4.3-1+b2, container debian:trixie-slim, not pinned by digest)" :invocation "agda --safe --without-K --cubical-compatible --no-libraries --ignore-interfaces --double-check -W error -i src src/ResourceAlgebra/All.agda" - :inputs-sha256 "6d3250447bd3271db46ebac1e48005a6988baf87b6b923ecd3914fbe1b74ae9d" - :state current - (inputs-manifest - (file :path "src/ResourceAlgebra/All.agda" :sha256 "be7242276a1d594c6665633cab6747b176c265bfcb1f7cb752e001fa9c1c3d33") - (file :path "src/ResourceAlgebra/Core.agda" :sha256 "9b975043e9b597e1b807c857cd43ae73e96c58182c4de83e97b5d2e4c6ef2fde") - (file :path "src/ResourceAlgebra/Instances/Diamond.agda" :sha256 "0eebbbe722e453d8c1ced415925060560fc9513d34a5e934bafc00e23287e4ec") - (file :path "src/ResourceAlgebra/Instances/Evidence.agda" :sha256 "b69e3e050c636772977dc9244ae30dcc63d8f27ed61391a01553b3c851048ad5") - (file :path "src/ResourceAlgebra/Instances/HWM.agda" :sha256 "4806ba1adb9426e122c196aae99f3266236e9d0e5286c837072c810fbd48b7a2") - (file :path "src/ResourceAlgebra/Instances/Loss.agda" :sha256 "ef525820249861b529a155e6fcf34b4149638a14f332c46201794e4ad50a2ffc") - (file :path "src/ResourceAlgebra/Instances/MaxPlus.agda" :sha256 "557d1147095d4e57671e9c8d9fad3e1b3be9e9630304fd15837cc15f8742e399") - (file :path "src/ResourceAlgebra/Instances/MinMax.agda" :sha256 "a31eead6379daf18fee3481af6ba45c26bc553c54e4b26caccb9551f4593defe") - (file :path "src/ResourceAlgebra/Instances/Questions.agda" :sha256 "aaf1f6d1a1d5f58cc3916ef31df286be0d64c1a0ea59e989d28508ea518b846a") - (file :path "src/ResourceAlgebra/Ledger.agda" :sha256 "31b53104b420c37f3e9639d249bdce13920d440313536fcabc02f9ae8e4c46f3") - (file :path "src/ResourceAlgebra/Morphism.agda" :sha256 "56f53e414c481c0357de6e10cc3dfe3b288c4c37d1212a127f6fa7523677b4fa") - (file :path "src/ResourceAlgebra/Prelude.agda" :sha256 "ab911c0e1563b8594e10755ce81a57ed1963aaa1253940d14e93b17999bde720") - (file :path "src/ResourceAlgebra/Separation.agda" :sha256 "4404893286f1ef61bfa07ab3f7d4682f049a19a90597a2ddab9f96ff258a40d0")) - (axioms))) + :state superseded + :reason "its inputs changed when parallel composition and the loop grade were added (rows P-1 to P-4 and K-1 to K-4): the cone gained src/ResourceAlgebra/Parallel.agda, Star.agda and Instances/MaxPlusTop.agda, and three expected rejections were added. To be replaced by the first run on main that contains them")) (leg :prover rocq :route re-proved :token proven :state RECONCILED ; the run reported: RESULT: PASS -- gated modules compile; the Assumptions step then passed, which fails unless all 75 printed theorems are closed under the global context and rocqchk accepts the compiled file (receipt :run "https://github.com/hyperpolymath/resource-algebra/actions/runs/44209774341/job/134484858135" :commit "15fa113c7427e2de009eade9148295d08c046b33" :checker "Rocq 9.3.0, then rocqchk" :invocation "rocq compile ResourceAlgebra.v in verification/proofs/coq, then rocqchk" - :image "rocq/rocq-prover:9.3.0@sha256:97a68f230e785726c3bab4ba17e1d416fdd630de4af4548eb49b08712f29af93" - :inputs-sha256 "b52b1348c6cace05db2ac026d1137a1a3027b14ec84e9fb599259c3693c8b1b7" - :state current - (inputs-manifest - (file :path "verification/proofs/coq/ResourceAlgebra.v" :sha256 "4989d461674d9f3d36e65ded96613b5df45a6c851b0ec63f40cf05ffd760582e")) - (axioms))) + :state superseded + :reason "its input changed when parallel composition and the loop grade were added (rows P-1 to P-4 and K-1 to K-4): verification/proofs/coq/ResourceAlgebra.v gained their Rocq leg. To be replaced by the first run on main that contains them")) (leg :prover lean :route re-proved :token proven :state RECONCILED ; the run reported: RESULT: PASS -- gated modules compile; the Axioms step then passed, which fails unless all 84 printed theorems depend on no axiom; PASS: M-2 bridge to hyperpolymath/tropical-types@f2e465c966d14d4986dfc492875cc54653d9751e; 6 of 6 printed theorems depend on no axiom (receipt :run "https://github.com/hyperpolymath/resource-algebra/actions/runs/44209774341/job/134484858201" @@ -432,42 +386,23 @@ :invocation "lean ResourceAlgebra.lean in verification/proofs/lean4, core only; then bash scripts/check-lean-bridge.sh (lean -o on TropicalSessionTypes.lean and ResourceAlgebra.lean, then lean TropicalBridge.lean with LEAN_PATH)" :state superseded :reason "its inputs changed in hyperpolymath/resource-algebra#53: the leg and the M-2 bridge now build under lake, so the input set gained scripts/check-lean-leg.sh, two lakefiles and two Lake manifests, and scripts/check-lean-bridge.sh changed. To be replaced by the first run on main of the legs under lake"))) - (claim :id "N-1" :pwg PWG-2i :foundation-diverse #f + (claim :id "E-1" :pwg ungraded :foundation-diverse #f (leg :prover agda :route source :token proven :state AGDA-VERIFIED ; the run reported: PASS: core proofs, unit tests and all 13 expected rejections (receipt :run "https://github.com/hyperpolymath/resource-algebra/actions/runs/44209774341/job/134484857967" :commit "15fa113c7427e2de009eade9148295d08c046b33" :checker "Agda version 2.6.4.3 (Debian trixie agda-bin=2.6.4.3-1+b2, container debian:trixie-slim, not pinned by digest)" :invocation "agda --safe --without-K --cubical-compatible --no-libraries --ignore-interfaces --double-check -W error -i src src/ResourceAlgebra/All.agda" - :inputs-sha256 "6d3250447bd3271db46ebac1e48005a6988baf87b6b923ecd3914fbe1b74ae9d" - :state current - (inputs-manifest - (file :path "src/ResourceAlgebra/All.agda" :sha256 "be7242276a1d594c6665633cab6747b176c265bfcb1f7cb752e001fa9c1c3d33") - (file :path "src/ResourceAlgebra/Core.agda" :sha256 "9b975043e9b597e1b807c857cd43ae73e96c58182c4de83e97b5d2e4c6ef2fde") - (file :path "src/ResourceAlgebra/Instances/Diamond.agda" :sha256 "0eebbbe722e453d8c1ced415925060560fc9513d34a5e934bafc00e23287e4ec") - (file :path "src/ResourceAlgebra/Instances/Evidence.agda" :sha256 "b69e3e050c636772977dc9244ae30dcc63d8f27ed61391a01553b3c851048ad5") - (file :path "src/ResourceAlgebra/Instances/HWM.agda" :sha256 "4806ba1adb9426e122c196aae99f3266236e9d0e5286c837072c810fbd48b7a2") - (file :path "src/ResourceAlgebra/Instances/Loss.agda" :sha256 "ef525820249861b529a155e6fcf34b4149638a14f332c46201794e4ad50a2ffc") - (file :path "src/ResourceAlgebra/Instances/MaxPlus.agda" :sha256 "557d1147095d4e57671e9c8d9fad3e1b3be9e9630304fd15837cc15f8742e399") - (file :path "src/ResourceAlgebra/Instances/MinMax.agda" :sha256 "a31eead6379daf18fee3481af6ba45c26bc553c54e4b26caccb9551f4593defe") - (file :path "src/ResourceAlgebra/Instances/Questions.agda" :sha256 "aaf1f6d1a1d5f58cc3916ef31df286be0d64c1a0ea59e989d28508ea518b846a") - (file :path "src/ResourceAlgebra/Ledger.agda" :sha256 "31b53104b420c37f3e9639d249bdce13920d440313536fcabc02f9ae8e4c46f3") - (file :path "src/ResourceAlgebra/Morphism.agda" :sha256 "56f53e414c481c0357de6e10cc3dfe3b288c4c37d1212a127f6fa7523677b4fa") - (file :path "src/ResourceAlgebra/Prelude.agda" :sha256 "ab911c0e1563b8594e10755ce81a57ed1963aaa1253940d14e93b17999bde720") - (file :path "src/ResourceAlgebra/Separation.agda" :sha256 "4404893286f1ef61bfa07ab3f7d4682f049a19a90597a2ddab9f96ff258a40d0")) - (axioms))) + :state superseded + :reason "its inputs changed when parallel composition and the loop grade were added (rows P-1 to P-4 and K-1 to K-4): the cone gained src/ResourceAlgebra/Parallel.agda, Star.agda and Instances/MaxPlusTop.agda, and three expected rejections were added. To be replaced by the first run on main that contains them")) (leg :prover rocq :route re-proved :token proven :state RECONCILED ; the run reported: RESULT: PASS -- gated modules compile; the Assumptions step then passed, which fails unless all 75 printed theorems are closed under the global context and rocqchk accepts the compiled file (receipt :run "https://github.com/hyperpolymath/resource-algebra/actions/runs/44209774341/job/134484858135" :commit "15fa113c7427e2de009eade9148295d08c046b33" :checker "Rocq 9.3.0, then rocqchk" :invocation "rocq compile ResourceAlgebra.v in verification/proofs/coq, then rocqchk" - :image "rocq/rocq-prover:9.3.0@sha256:97a68f230e785726c3bab4ba17e1d416fdd630de4af4548eb49b08712f29af93" - :inputs-sha256 "b52b1348c6cace05db2ac026d1137a1a3027b14ec84e9fb599259c3693c8b1b7" - :state current - (inputs-manifest - (file :path "verification/proofs/coq/ResourceAlgebra.v" :sha256 "4989d461674d9f3d36e65ded96613b5df45a6c851b0ec63f40cf05ffd760582e")) - (axioms))) + :state superseded + :reason "its input changed when parallel composition and the loop grade were added (rows P-1 to P-4 and K-1 to K-4): verification/proofs/coq/ResourceAlgebra.v gained their Rocq leg. To be replaced by the first run on main that contains them")) (leg :prover lean :route re-proved :token proven :state RECONCILED ; the run reported: RESULT: PASS -- gated modules compile; the Axioms step then passed, which fails unless all 84 printed theorems depend on no axiom; PASS: M-2 bridge to hyperpolymath/tropical-types@f2e465c966d14d4986dfc492875cc54653d9751e; 6 of 6 printed theorems depend on no axiom (receipt :run "https://github.com/hyperpolymath/resource-algebra/actions/runs/44209774341/job/134484858201" @@ -476,42 +411,23 @@ :invocation "lean ResourceAlgebra.lean in verification/proofs/lean4, core only; then bash scripts/check-lean-bridge.sh (lean -o on TropicalSessionTypes.lean and ResourceAlgebra.lean, then lean TropicalBridge.lean with LEAN_PATH)" :state superseded :reason "its inputs changed in hyperpolymath/resource-algebra#53: the leg and the M-2 bridge now build under lake, so the input set gained scripts/check-lean-leg.sh, two lakefiles and two Lake manifests, and scripts/check-lean-bridge.sh changed. To be replaced by the first run on main of the legs under lake"))) - (claim :id "Q-1" :pwg PWG-2i :foundation-diverse #f + (claim :id "E-2" :pwg ungraded :foundation-diverse #f (leg :prover agda :route source :token proven :state AGDA-VERIFIED ; the run reported: PASS: core proofs, unit tests and all 13 expected rejections (receipt :run "https://github.com/hyperpolymath/resource-algebra/actions/runs/44209774341/job/134484857967" :commit "15fa113c7427e2de009eade9148295d08c046b33" :checker "Agda version 2.6.4.3 (Debian trixie agda-bin=2.6.4.3-1+b2, container debian:trixie-slim, not pinned by digest)" :invocation "agda --safe --without-K --cubical-compatible --no-libraries --ignore-interfaces --double-check -W error -i src src/ResourceAlgebra/All.agda" - :inputs-sha256 "6d3250447bd3271db46ebac1e48005a6988baf87b6b923ecd3914fbe1b74ae9d" - :state current - (inputs-manifest - (file :path "src/ResourceAlgebra/All.agda" :sha256 "be7242276a1d594c6665633cab6747b176c265bfcb1f7cb752e001fa9c1c3d33") - (file :path "src/ResourceAlgebra/Core.agda" :sha256 "9b975043e9b597e1b807c857cd43ae73e96c58182c4de83e97b5d2e4c6ef2fde") - (file :path "src/ResourceAlgebra/Instances/Diamond.agda" :sha256 "0eebbbe722e453d8c1ced415925060560fc9513d34a5e934bafc00e23287e4ec") - (file :path "src/ResourceAlgebra/Instances/Evidence.agda" :sha256 "b69e3e050c636772977dc9244ae30dcc63d8f27ed61391a01553b3c851048ad5") - (file :path "src/ResourceAlgebra/Instances/HWM.agda" :sha256 "4806ba1adb9426e122c196aae99f3266236e9d0e5286c837072c810fbd48b7a2") - (file :path "src/ResourceAlgebra/Instances/Loss.agda" :sha256 "ef525820249861b529a155e6fcf34b4149638a14f332c46201794e4ad50a2ffc") - (file :path "src/ResourceAlgebra/Instances/MaxPlus.agda" :sha256 "557d1147095d4e57671e9c8d9fad3e1b3be9e9630304fd15837cc15f8742e399") - (file :path "src/ResourceAlgebra/Instances/MinMax.agda" :sha256 "a31eead6379daf18fee3481af6ba45c26bc553c54e4b26caccb9551f4593defe") - (file :path "src/ResourceAlgebra/Instances/Questions.agda" :sha256 "aaf1f6d1a1d5f58cc3916ef31df286be0d64c1a0ea59e989d28508ea518b846a") - (file :path "src/ResourceAlgebra/Ledger.agda" :sha256 "31b53104b420c37f3e9639d249bdce13920d440313536fcabc02f9ae8e4c46f3") - (file :path "src/ResourceAlgebra/Morphism.agda" :sha256 "56f53e414c481c0357de6e10cc3dfe3b288c4c37d1212a127f6fa7523677b4fa") - (file :path "src/ResourceAlgebra/Prelude.agda" :sha256 "ab911c0e1563b8594e10755ce81a57ed1963aaa1253940d14e93b17999bde720") - (file :path "src/ResourceAlgebra/Separation.agda" :sha256 "4404893286f1ef61bfa07ab3f7d4682f049a19a90597a2ddab9f96ff258a40d0")) - (axioms))) + :state superseded + :reason "its inputs changed when parallel composition and the loop grade were added (rows P-1 to P-4 and K-1 to K-4): the cone gained src/ResourceAlgebra/Parallel.agda, Star.agda and Instances/MaxPlusTop.agda, and three expected rejections were added. To be replaced by the first run on main that contains them")) (leg :prover rocq :route re-proved :token proven :state RECONCILED ; the run reported: RESULT: PASS -- gated modules compile; the Assumptions step then passed, which fails unless all 75 printed theorems are closed under the global context and rocqchk accepts the compiled file (receipt :run "https://github.com/hyperpolymath/resource-algebra/actions/runs/44209774341/job/134484858135" :commit "15fa113c7427e2de009eade9148295d08c046b33" :checker "Rocq 9.3.0, then rocqchk" :invocation "rocq compile ResourceAlgebra.v in verification/proofs/coq, then rocqchk" - :image "rocq/rocq-prover:9.3.0@sha256:97a68f230e785726c3bab4ba17e1d416fdd630de4af4548eb49b08712f29af93" - :inputs-sha256 "b52b1348c6cace05db2ac026d1137a1a3027b14ec84e9fb599259c3693c8b1b7" - :state current - (inputs-manifest - (file :path "verification/proofs/coq/ResourceAlgebra.v" :sha256 "4989d461674d9f3d36e65ded96613b5df45a6c851b0ec63f40cf05ffd760582e")) - (axioms))) + :state superseded + :reason "its input changed when parallel composition and the loop grade were added (rows P-1 to P-4 and K-1 to K-4): verification/proofs/coq/ResourceAlgebra.v gained their Rocq leg. To be replaced by the first run on main that contains them")) (leg :prover lean :route re-proved :token proven :state RECONCILED ; the run reported: RESULT: PASS -- gated modules compile; the Axioms step then passed, which fails unless all 84 printed theorems depend on no axiom; PASS: M-2 bridge to hyperpolymath/tropical-types@f2e465c966d14d4986dfc492875cc54653d9751e; 6 of 6 printed theorems depend on no axiom (receipt :run "https://github.com/hyperpolymath/resource-algebra/actions/runs/44209774341/job/134484858201" @@ -520,42 +436,23 @@ :invocation "lean ResourceAlgebra.lean in verification/proofs/lean4, core only; then bash scripts/check-lean-bridge.sh (lean -o on TropicalSessionTypes.lean and ResourceAlgebra.lean, then lean TropicalBridge.lean with LEAN_PATH)" :state superseded :reason "its inputs changed in hyperpolymath/resource-algebra#53: the leg and the M-2 bridge now build under lake, so the input set gained scripts/check-lean-leg.sh, two lakefiles and two Lake manifests, and scripts/check-lean-bridge.sh changed. To be replaced by the first run on main of the legs under lake"))) - (claim :id "Q-2" :pwg PWG-2i :foundation-diverse #f + (claim :id "E-3" :pwg ungraded :foundation-diverse #f (leg :prover agda :route source :token proven :state AGDA-VERIFIED ; the run reported: PASS: core proofs, unit tests and all 13 expected rejections (receipt :run "https://github.com/hyperpolymath/resource-algebra/actions/runs/44209774341/job/134484857967" :commit "15fa113c7427e2de009eade9148295d08c046b33" :checker "Agda version 2.6.4.3 (Debian trixie agda-bin=2.6.4.3-1+b2, container debian:trixie-slim, not pinned by digest)" :invocation "agda --safe --without-K --cubical-compatible --no-libraries --ignore-interfaces --double-check -W error -i src src/ResourceAlgebra/All.agda" - :inputs-sha256 "6d3250447bd3271db46ebac1e48005a6988baf87b6b923ecd3914fbe1b74ae9d" - :state current - (inputs-manifest - (file :path "src/ResourceAlgebra/All.agda" :sha256 "be7242276a1d594c6665633cab6747b176c265bfcb1f7cb752e001fa9c1c3d33") - (file :path "src/ResourceAlgebra/Core.agda" :sha256 "9b975043e9b597e1b807c857cd43ae73e96c58182c4de83e97b5d2e4c6ef2fde") - (file :path "src/ResourceAlgebra/Instances/Diamond.agda" :sha256 "0eebbbe722e453d8c1ced415925060560fc9513d34a5e934bafc00e23287e4ec") - (file :path "src/ResourceAlgebra/Instances/Evidence.agda" :sha256 "b69e3e050c636772977dc9244ae30dcc63d8f27ed61391a01553b3c851048ad5") - (file :path "src/ResourceAlgebra/Instances/HWM.agda" :sha256 "4806ba1adb9426e122c196aae99f3266236e9d0e5286c837072c810fbd48b7a2") - (file :path "src/ResourceAlgebra/Instances/Loss.agda" :sha256 "ef525820249861b529a155e6fcf34b4149638a14f332c46201794e4ad50a2ffc") - (file :path "src/ResourceAlgebra/Instances/MaxPlus.agda" :sha256 "557d1147095d4e57671e9c8d9fad3e1b3be9e9630304fd15837cc15f8742e399") - (file :path "src/ResourceAlgebra/Instances/MinMax.agda" :sha256 "a31eead6379daf18fee3481af6ba45c26bc553c54e4b26caccb9551f4593defe") - (file :path "src/ResourceAlgebra/Instances/Questions.agda" :sha256 "aaf1f6d1a1d5f58cc3916ef31df286be0d64c1a0ea59e989d28508ea518b846a") - (file :path "src/ResourceAlgebra/Ledger.agda" :sha256 "31b53104b420c37f3e9639d249bdce13920d440313536fcabc02f9ae8e4c46f3") - (file :path "src/ResourceAlgebra/Morphism.agda" :sha256 "56f53e414c481c0357de6e10cc3dfe3b288c4c37d1212a127f6fa7523677b4fa") - (file :path "src/ResourceAlgebra/Prelude.agda" :sha256 "ab911c0e1563b8594e10755ce81a57ed1963aaa1253940d14e93b17999bde720") - (file :path "src/ResourceAlgebra/Separation.agda" :sha256 "4404893286f1ef61bfa07ab3f7d4682f049a19a90597a2ddab9f96ff258a40d0")) - (axioms))) + :state superseded + :reason "its inputs changed when parallel composition and the loop grade were added (rows P-1 to P-4 and K-1 to K-4): the cone gained src/ResourceAlgebra/Parallel.agda, Star.agda and Instances/MaxPlusTop.agda, and three expected rejections were added. To be replaced by the first run on main that contains them")) (leg :prover rocq :route re-proved :token proven :state RECONCILED ; the run reported: RESULT: PASS -- gated modules compile; the Assumptions step then passed, which fails unless all 75 printed theorems are closed under the global context and rocqchk accepts the compiled file (receipt :run "https://github.com/hyperpolymath/resource-algebra/actions/runs/44209774341/job/134484858135" :commit "15fa113c7427e2de009eade9148295d08c046b33" :checker "Rocq 9.3.0, then rocqchk" :invocation "rocq compile ResourceAlgebra.v in verification/proofs/coq, then rocqchk" - :image "rocq/rocq-prover:9.3.0@sha256:97a68f230e785726c3bab4ba17e1d416fdd630de4af4548eb49b08712f29af93" - :inputs-sha256 "b52b1348c6cace05db2ac026d1137a1a3027b14ec84e9fb599259c3693c8b1b7" - :state current - (inputs-manifest - (file :path "verification/proofs/coq/ResourceAlgebra.v" :sha256 "4989d461674d9f3d36e65ded96613b5df45a6c851b0ec63f40cf05ffd760582e")) - (axioms))) + :state superseded + :reason "its input changed when parallel composition and the loop grade were added (rows P-1 to P-4 and K-1 to K-4): verification/proofs/coq/ResourceAlgebra.v gained their Rocq leg. To be replaced by the first run on main that contains them")) (leg :prover lean :route re-proved :token proven :state RECONCILED ; the run reported: RESULT: PASS -- gated modules compile; the Axioms step then passed, which fails unless all 84 printed theorems depend on no axiom; PASS: M-2 bridge to hyperpolymath/tropical-types@f2e465c966d14d4986dfc492875cc54653d9751e; 6 of 6 printed theorems depend on no axiom (receipt :run "https://github.com/hyperpolymath/resource-algebra/actions/runs/44209774341/job/134484858201" @@ -564,42 +461,23 @@ :invocation "lean ResourceAlgebra.lean in verification/proofs/lean4, core only; then bash scripts/check-lean-bridge.sh (lean -o on TropicalSessionTypes.lean and ResourceAlgebra.lean, then lean TropicalBridge.lean with LEAN_PATH)" :state superseded :reason "its inputs changed in hyperpolymath/resource-algebra#53: the leg and the M-2 bridge now build under lake, so the input set gained scripts/check-lean-leg.sh, two lakefiles and two Lake manifests, and scripts/check-lean-bridge.sh changed. To be replaced by the first run on main of the legs under lake"))) - (claim :id "Q-3" :pwg PWG-2i :foundation-diverse #f + (claim :id "F-1" :pwg ungraded :foundation-diverse #f (leg :prover agda :route source :token proven :state AGDA-VERIFIED ; the run reported: PASS: core proofs, unit tests and all 13 expected rejections (receipt :run "https://github.com/hyperpolymath/resource-algebra/actions/runs/44209774341/job/134484857967" :commit "15fa113c7427e2de009eade9148295d08c046b33" :checker "Agda version 2.6.4.3 (Debian trixie agda-bin=2.6.4.3-1+b2, container debian:trixie-slim, not pinned by digest)" :invocation "agda --safe --without-K --cubical-compatible --no-libraries --ignore-interfaces --double-check -W error -i src src/ResourceAlgebra/All.agda" - :inputs-sha256 "6d3250447bd3271db46ebac1e48005a6988baf87b6b923ecd3914fbe1b74ae9d" - :state current - (inputs-manifest - (file :path "src/ResourceAlgebra/All.agda" :sha256 "be7242276a1d594c6665633cab6747b176c265bfcb1f7cb752e001fa9c1c3d33") - (file :path "src/ResourceAlgebra/Core.agda" :sha256 "9b975043e9b597e1b807c857cd43ae73e96c58182c4de83e97b5d2e4c6ef2fde") - (file :path "src/ResourceAlgebra/Instances/Diamond.agda" :sha256 "0eebbbe722e453d8c1ced415925060560fc9513d34a5e934bafc00e23287e4ec") - (file :path "src/ResourceAlgebra/Instances/Evidence.agda" :sha256 "b69e3e050c636772977dc9244ae30dcc63d8f27ed61391a01553b3c851048ad5") - (file :path "src/ResourceAlgebra/Instances/HWM.agda" :sha256 "4806ba1adb9426e122c196aae99f3266236e9d0e5286c837072c810fbd48b7a2") - (file :path "src/ResourceAlgebra/Instances/Loss.agda" :sha256 "ef525820249861b529a155e6fcf34b4149638a14f332c46201794e4ad50a2ffc") - (file :path "src/ResourceAlgebra/Instances/MaxPlus.agda" :sha256 "557d1147095d4e57671e9c8d9fad3e1b3be9e9630304fd15837cc15f8742e399") - (file :path "src/ResourceAlgebra/Instances/MinMax.agda" :sha256 "a31eead6379daf18fee3481af6ba45c26bc553c54e4b26caccb9551f4593defe") - (file :path "src/ResourceAlgebra/Instances/Questions.agda" :sha256 "aaf1f6d1a1d5f58cc3916ef31df286be0d64c1a0ea59e989d28508ea518b846a") - (file :path "src/ResourceAlgebra/Ledger.agda" :sha256 "31b53104b420c37f3e9639d249bdce13920d440313536fcabc02f9ae8e4c46f3") - (file :path "src/ResourceAlgebra/Morphism.agda" :sha256 "56f53e414c481c0357de6e10cc3dfe3b288c4c37d1212a127f6fa7523677b4fa") - (file :path "src/ResourceAlgebra/Prelude.agda" :sha256 "ab911c0e1563b8594e10755ce81a57ed1963aaa1253940d14e93b17999bde720") - (file :path "src/ResourceAlgebra/Separation.agda" :sha256 "4404893286f1ef61bfa07ab3f7d4682f049a19a90597a2ddab9f96ff258a40d0")) - (axioms))) + :state superseded + :reason "its inputs changed when parallel composition and the loop grade were added (rows P-1 to P-4 and K-1 to K-4): the cone gained src/ResourceAlgebra/Parallel.agda, Star.agda and Instances/MaxPlusTop.agda, and three expected rejections were added. To be replaced by the first run on main that contains them")) (leg :prover rocq :route re-proved :token proven :state RECONCILED ; the run reported: RESULT: PASS -- gated modules compile; the Assumptions step then passed, which fails unless all 75 printed theorems are closed under the global context and rocqchk accepts the compiled file (receipt :run "https://github.com/hyperpolymath/resource-algebra/actions/runs/44209774341/job/134484858135" :commit "15fa113c7427e2de009eade9148295d08c046b33" :checker "Rocq 9.3.0, then rocqchk" :invocation "rocq compile ResourceAlgebra.v in verification/proofs/coq, then rocqchk" - :image "rocq/rocq-prover:9.3.0@sha256:97a68f230e785726c3bab4ba17e1d416fdd630de4af4548eb49b08712f29af93" - :inputs-sha256 "b52b1348c6cace05db2ac026d1137a1a3027b14ec84e9fb599259c3693c8b1b7" - :state current - (inputs-manifest - (file :path "verification/proofs/coq/ResourceAlgebra.v" :sha256 "4989d461674d9f3d36e65ded96613b5df45a6c851b0ec63f40cf05ffd760582e")) - (axioms))) + :state superseded + :reason "its input changed when parallel composition and the loop grade were added (rows P-1 to P-4 and K-1 to K-4): verification/proofs/coq/ResourceAlgebra.v gained their Rocq leg. To be replaced by the first run on main that contains them")) (leg :prover lean :route re-proved :token proven :state RECONCILED ; the run reported: RESULT: PASS -- gated modules compile; the Axioms step then passed, which fails unless all 84 printed theorems depend on no axiom; PASS: M-2 bridge to hyperpolymath/tropical-types@f2e465c966d14d4986dfc492875cc54653d9751e; 6 of 6 printed theorems depend on no axiom (receipt :run "https://github.com/hyperpolymath/resource-algebra/actions/runs/44209774341/job/134484858201" @@ -608,42 +486,23 @@ :invocation "lean ResourceAlgebra.lean in verification/proofs/lean4, core only; then bash scripts/check-lean-bridge.sh (lean -o on TropicalSessionTypes.lean and ResourceAlgebra.lean, then lean TropicalBridge.lean with LEAN_PATH)" :state superseded :reason "its inputs changed in hyperpolymath/resource-algebra#53: the leg and the M-2 bridge now build under lake, so the input set gained scripts/check-lean-leg.sh, two lakefiles and two Lake manifests, and scripts/check-lean-bridge.sh changed. To be replaced by the first run on main of the legs under lake"))) - (claim :id "Q-4" :pwg PWG-2i :foundation-diverse #f + (claim :id "F-2" :pwg ungraded :foundation-diverse #f (leg :prover agda :route source :token proven :state AGDA-VERIFIED ; the run reported: PASS: core proofs, unit tests and all 13 expected rejections (receipt :run "https://github.com/hyperpolymath/resource-algebra/actions/runs/44209774341/job/134484857967" :commit "15fa113c7427e2de009eade9148295d08c046b33" :checker "Agda version 2.6.4.3 (Debian trixie agda-bin=2.6.4.3-1+b2, container debian:trixie-slim, not pinned by digest)" :invocation "agda --safe --without-K --cubical-compatible --no-libraries --ignore-interfaces --double-check -W error -i src src/ResourceAlgebra/All.agda" - :inputs-sha256 "6d3250447bd3271db46ebac1e48005a6988baf87b6b923ecd3914fbe1b74ae9d" - :state current - (inputs-manifest - (file :path "src/ResourceAlgebra/All.agda" :sha256 "be7242276a1d594c6665633cab6747b176c265bfcb1f7cb752e001fa9c1c3d33") - (file :path "src/ResourceAlgebra/Core.agda" :sha256 "9b975043e9b597e1b807c857cd43ae73e96c58182c4de83e97b5d2e4c6ef2fde") - (file :path "src/ResourceAlgebra/Instances/Diamond.agda" :sha256 "0eebbbe722e453d8c1ced415925060560fc9513d34a5e934bafc00e23287e4ec") - (file :path "src/ResourceAlgebra/Instances/Evidence.agda" :sha256 "b69e3e050c636772977dc9244ae30dcc63d8f27ed61391a01553b3c851048ad5") - (file :path "src/ResourceAlgebra/Instances/HWM.agda" :sha256 "4806ba1adb9426e122c196aae99f3266236e9d0e5286c837072c810fbd48b7a2") - (file :path "src/ResourceAlgebra/Instances/Loss.agda" :sha256 "ef525820249861b529a155e6fcf34b4149638a14f332c46201794e4ad50a2ffc") - (file :path "src/ResourceAlgebra/Instances/MaxPlus.agda" :sha256 "557d1147095d4e57671e9c8d9fad3e1b3be9e9630304fd15837cc15f8742e399") - (file :path "src/ResourceAlgebra/Instances/MinMax.agda" :sha256 "a31eead6379daf18fee3481af6ba45c26bc553c54e4b26caccb9551f4593defe") - (file :path "src/ResourceAlgebra/Instances/Questions.agda" :sha256 "aaf1f6d1a1d5f58cc3916ef31df286be0d64c1a0ea59e989d28508ea518b846a") - (file :path "src/ResourceAlgebra/Ledger.agda" :sha256 "31b53104b420c37f3e9639d249bdce13920d440313536fcabc02f9ae8e4c46f3") - (file :path "src/ResourceAlgebra/Morphism.agda" :sha256 "56f53e414c481c0357de6e10cc3dfe3b288c4c37d1212a127f6fa7523677b4fa") - (file :path "src/ResourceAlgebra/Prelude.agda" :sha256 "ab911c0e1563b8594e10755ce81a57ed1963aaa1253940d14e93b17999bde720") - (file :path "src/ResourceAlgebra/Separation.agda" :sha256 "4404893286f1ef61bfa07ab3f7d4682f049a19a90597a2ddab9f96ff258a40d0")) - (axioms))) + :state superseded + :reason "its inputs changed when parallel composition and the loop grade were added (rows P-1 to P-4 and K-1 to K-4): the cone gained src/ResourceAlgebra/Parallel.agda, Star.agda and Instances/MaxPlusTop.agda, and three expected rejections were added. To be replaced by the first run on main that contains them")) (leg :prover rocq :route re-proved :token proven :state RECONCILED ; the run reported: RESULT: PASS -- gated modules compile; the Assumptions step then passed, which fails unless all 75 printed theorems are closed under the global context and rocqchk accepts the compiled file (receipt :run "https://github.com/hyperpolymath/resource-algebra/actions/runs/44209774341/job/134484858135" :commit "15fa113c7427e2de009eade9148295d08c046b33" :checker "Rocq 9.3.0, then rocqchk" :invocation "rocq compile ResourceAlgebra.v in verification/proofs/coq, then rocqchk" - :image "rocq/rocq-prover:9.3.0@sha256:97a68f230e785726c3bab4ba17e1d416fdd630de4af4548eb49b08712f29af93" - :inputs-sha256 "b52b1348c6cace05db2ac026d1137a1a3027b14ec84e9fb599259c3693c8b1b7" - :state current - (inputs-manifest - (file :path "verification/proofs/coq/ResourceAlgebra.v" :sha256 "4989d461674d9f3d36e65ded96613b5df45a6c851b0ec63f40cf05ffd760582e")) - (axioms))) + :state superseded + :reason "its input changed when parallel composition and the loop grade were added (rows P-1 to P-4 and K-1 to K-4): verification/proofs/coq/ResourceAlgebra.v gained their Rocq leg. To be replaced by the first run on main that contains them")) (leg :prover lean :route re-proved :token proven :state RECONCILED ; the run reported: RESULT: PASS -- gated modules compile; the Axioms step then passed, which fails unless all 84 printed theorems depend on no axiom; PASS: M-2 bridge to hyperpolymath/tropical-types@f2e465c966d14d4986dfc492875cc54653d9751e; 6 of 6 printed theorems depend on no axiom (receipt :run "https://github.com/hyperpolymath/resource-algebra/actions/runs/44209774341/job/134484858201" @@ -652,42 +511,23 @@ :invocation "lean ResourceAlgebra.lean in verification/proofs/lean4, core only; then bash scripts/check-lean-bridge.sh (lean -o on TropicalSessionTypes.lean and ResourceAlgebra.lean, then lean TropicalBridge.lean with LEAN_PATH)" :state superseded :reason "its inputs changed in hyperpolymath/resource-algebra#53: the leg and the M-2 bridge now build under lake, so the input set gained scripts/check-lean-leg.sh, two lakefiles and two Lake manifests, and scripts/check-lean-bridge.sh changed. To be replaced by the first run on main of the legs under lake"))) - (claim :id "E-1" :pwg PWG-2i :foundation-diverse #f + (claim :id "F-3" :pwg ungraded :foundation-diverse #f (leg :prover agda :route source :token proven :state AGDA-VERIFIED ; the run reported: PASS: core proofs, unit tests and all 13 expected rejections (receipt :run "https://github.com/hyperpolymath/resource-algebra/actions/runs/44209774341/job/134484857967" :commit "15fa113c7427e2de009eade9148295d08c046b33" :checker "Agda version 2.6.4.3 (Debian trixie agda-bin=2.6.4.3-1+b2, container debian:trixie-slim, not pinned by digest)" :invocation "agda --safe --without-K --cubical-compatible --no-libraries --ignore-interfaces --double-check -W error -i src src/ResourceAlgebra/All.agda" - :inputs-sha256 "6d3250447bd3271db46ebac1e48005a6988baf87b6b923ecd3914fbe1b74ae9d" - :state current - (inputs-manifest - (file :path "src/ResourceAlgebra/All.agda" :sha256 "be7242276a1d594c6665633cab6747b176c265bfcb1f7cb752e001fa9c1c3d33") - (file :path "src/ResourceAlgebra/Core.agda" :sha256 "9b975043e9b597e1b807c857cd43ae73e96c58182c4de83e97b5d2e4c6ef2fde") - (file :path "src/ResourceAlgebra/Instances/Diamond.agda" :sha256 "0eebbbe722e453d8c1ced415925060560fc9513d34a5e934bafc00e23287e4ec") - (file :path "src/ResourceAlgebra/Instances/Evidence.agda" :sha256 "b69e3e050c636772977dc9244ae30dcc63d8f27ed61391a01553b3c851048ad5") - (file :path "src/ResourceAlgebra/Instances/HWM.agda" :sha256 "4806ba1adb9426e122c196aae99f3266236e9d0e5286c837072c810fbd48b7a2") - (file :path "src/ResourceAlgebra/Instances/Loss.agda" :sha256 "ef525820249861b529a155e6fcf34b4149638a14f332c46201794e4ad50a2ffc") - (file :path "src/ResourceAlgebra/Instances/MaxPlus.agda" :sha256 "557d1147095d4e57671e9c8d9fad3e1b3be9e9630304fd15837cc15f8742e399") - (file :path "src/ResourceAlgebra/Instances/MinMax.agda" :sha256 "a31eead6379daf18fee3481af6ba45c26bc553c54e4b26caccb9551f4593defe") - (file :path "src/ResourceAlgebra/Instances/Questions.agda" :sha256 "aaf1f6d1a1d5f58cc3916ef31df286be0d64c1a0ea59e989d28508ea518b846a") - (file :path "src/ResourceAlgebra/Ledger.agda" :sha256 "31b53104b420c37f3e9639d249bdce13920d440313536fcabc02f9ae8e4c46f3") - (file :path "src/ResourceAlgebra/Morphism.agda" :sha256 "56f53e414c481c0357de6e10cc3dfe3b288c4c37d1212a127f6fa7523677b4fa") - (file :path "src/ResourceAlgebra/Prelude.agda" :sha256 "ab911c0e1563b8594e10755ce81a57ed1963aaa1253940d14e93b17999bde720") - (file :path "src/ResourceAlgebra/Separation.agda" :sha256 "4404893286f1ef61bfa07ab3f7d4682f049a19a90597a2ddab9f96ff258a40d0")) - (axioms))) + :state superseded + :reason "its inputs changed when parallel composition and the loop grade were added (rows P-1 to P-4 and K-1 to K-4): the cone gained src/ResourceAlgebra/Parallel.agda, Star.agda and Instances/MaxPlusTop.agda, and three expected rejections were added. To be replaced by the first run on main that contains them")) (leg :prover rocq :route re-proved :token proven :state RECONCILED ; the run reported: RESULT: PASS -- gated modules compile; the Assumptions step then passed, which fails unless all 75 printed theorems are closed under the global context and rocqchk accepts the compiled file (receipt :run "https://github.com/hyperpolymath/resource-algebra/actions/runs/44209774341/job/134484858135" :commit "15fa113c7427e2de009eade9148295d08c046b33" :checker "Rocq 9.3.0, then rocqchk" :invocation "rocq compile ResourceAlgebra.v in verification/proofs/coq, then rocqchk" - :image "rocq/rocq-prover:9.3.0@sha256:97a68f230e785726c3bab4ba17e1d416fdd630de4af4548eb49b08712f29af93" - :inputs-sha256 "b52b1348c6cace05db2ac026d1137a1a3027b14ec84e9fb599259c3693c8b1b7" - :state current - (inputs-manifest - (file :path "verification/proofs/coq/ResourceAlgebra.v" :sha256 "4989d461674d9f3d36e65ded96613b5df45a6c851b0ec63f40cf05ffd760582e")) - (axioms))) + :state superseded + :reason "its input changed when parallel composition and the loop grade were added (rows P-1 to P-4 and K-1 to K-4): verification/proofs/coq/ResourceAlgebra.v gained their Rocq leg. To be replaced by the first run on main that contains them")) (leg :prover lean :route re-proved :token proven :state RECONCILED ; the run reported: RESULT: PASS -- gated modules compile; the Axioms step then passed, which fails unless all 84 printed theorems depend on no axiom; PASS: M-2 bridge to hyperpolymath/tropical-types@f2e465c966d14d4986dfc492875cc54653d9751e; 6 of 6 printed theorems depend on no axiom (receipt :run "https://github.com/hyperpolymath/resource-algebra/actions/runs/44209774341/job/134484858201" @@ -696,42 +536,23 @@ :invocation "lean ResourceAlgebra.lean in verification/proofs/lean4, core only; then bash scripts/check-lean-bridge.sh (lean -o on TropicalSessionTypes.lean and ResourceAlgebra.lean, then lean TropicalBridge.lean with LEAN_PATH)" :state superseded :reason "its inputs changed in hyperpolymath/resource-algebra#53: the leg and the M-2 bridge now build under lake, so the input set gained scripts/check-lean-leg.sh, two lakefiles and two Lake manifests, and scripts/check-lean-bridge.sh changed. To be replaced by the first run on main of the legs under lake"))) - (claim :id "E-2" :pwg PWG-2i :foundation-diverse #f + (claim :id "F-4" :pwg ungraded :foundation-diverse #f (leg :prover agda :route source :token proven :state AGDA-VERIFIED ; the run reported: PASS: core proofs, unit tests and all 13 expected rejections (receipt :run "https://github.com/hyperpolymath/resource-algebra/actions/runs/44209774341/job/134484857967" :commit "15fa113c7427e2de009eade9148295d08c046b33" :checker "Agda version 2.6.4.3 (Debian trixie agda-bin=2.6.4.3-1+b2, container debian:trixie-slim, not pinned by digest)" :invocation "agda --safe --without-K --cubical-compatible --no-libraries --ignore-interfaces --double-check -W error -i src src/ResourceAlgebra/All.agda" - :inputs-sha256 "6d3250447bd3271db46ebac1e48005a6988baf87b6b923ecd3914fbe1b74ae9d" - :state current - (inputs-manifest - (file :path "src/ResourceAlgebra/All.agda" :sha256 "be7242276a1d594c6665633cab6747b176c265bfcb1f7cb752e001fa9c1c3d33") - (file :path "src/ResourceAlgebra/Core.agda" :sha256 "9b975043e9b597e1b807c857cd43ae73e96c58182c4de83e97b5d2e4c6ef2fde") - (file :path "src/ResourceAlgebra/Instances/Diamond.agda" :sha256 "0eebbbe722e453d8c1ced415925060560fc9513d34a5e934bafc00e23287e4ec") - (file :path "src/ResourceAlgebra/Instances/Evidence.agda" :sha256 "b69e3e050c636772977dc9244ae30dcc63d8f27ed61391a01553b3c851048ad5") - (file :path "src/ResourceAlgebra/Instances/HWM.agda" :sha256 "4806ba1adb9426e122c196aae99f3266236e9d0e5286c837072c810fbd48b7a2") - (file :path "src/ResourceAlgebra/Instances/Loss.agda" :sha256 "ef525820249861b529a155e6fcf34b4149638a14f332c46201794e4ad50a2ffc") - (file :path "src/ResourceAlgebra/Instances/MaxPlus.agda" :sha256 "557d1147095d4e57671e9c8d9fad3e1b3be9e9630304fd15837cc15f8742e399") - (file :path "src/ResourceAlgebra/Instances/MinMax.agda" :sha256 "a31eead6379daf18fee3481af6ba45c26bc553c54e4b26caccb9551f4593defe") - (file :path "src/ResourceAlgebra/Instances/Questions.agda" :sha256 "aaf1f6d1a1d5f58cc3916ef31df286be0d64c1a0ea59e989d28508ea518b846a") - (file :path "src/ResourceAlgebra/Ledger.agda" :sha256 "31b53104b420c37f3e9639d249bdce13920d440313536fcabc02f9ae8e4c46f3") - (file :path "src/ResourceAlgebra/Morphism.agda" :sha256 "56f53e414c481c0357de6e10cc3dfe3b288c4c37d1212a127f6fa7523677b4fa") - (file :path "src/ResourceAlgebra/Prelude.agda" :sha256 "ab911c0e1563b8594e10755ce81a57ed1963aaa1253940d14e93b17999bde720") - (file :path "src/ResourceAlgebra/Separation.agda" :sha256 "4404893286f1ef61bfa07ab3f7d4682f049a19a90597a2ddab9f96ff258a40d0")) - (axioms))) + :state superseded + :reason "its inputs changed when parallel composition and the loop grade were added (rows P-1 to P-4 and K-1 to K-4): the cone gained src/ResourceAlgebra/Parallel.agda, Star.agda and Instances/MaxPlusTop.agda, and three expected rejections were added. To be replaced by the first run on main that contains them")) (leg :prover rocq :route re-proved :token proven :state RECONCILED ; the run reported: RESULT: PASS -- gated modules compile; the Assumptions step then passed, which fails unless all 75 printed theorems are closed under the global context and rocqchk accepts the compiled file (receipt :run "https://github.com/hyperpolymath/resource-algebra/actions/runs/44209774341/job/134484858135" :commit "15fa113c7427e2de009eade9148295d08c046b33" :checker "Rocq 9.3.0, then rocqchk" :invocation "rocq compile ResourceAlgebra.v in verification/proofs/coq, then rocqchk" - :image "rocq/rocq-prover:9.3.0@sha256:97a68f230e785726c3bab4ba17e1d416fdd630de4af4548eb49b08712f29af93" - :inputs-sha256 "b52b1348c6cace05db2ac026d1137a1a3027b14ec84e9fb599259c3693c8b1b7" - :state current - (inputs-manifest - (file :path "verification/proofs/coq/ResourceAlgebra.v" :sha256 "4989d461674d9f3d36e65ded96613b5df45a6c851b0ec63f40cf05ffd760582e")) - (axioms))) + :state superseded + :reason "its input changed when parallel composition and the loop grade were added (rows P-1 to P-4 and K-1 to K-4): verification/proofs/coq/ResourceAlgebra.v gained their Rocq leg. To be replaced by the first run on main that contains them")) (leg :prover lean :route re-proved :token proven :state RECONCILED ; the run reported: RESULT: PASS -- gated modules compile; the Axioms step then passed, which fails unless all 84 printed theorems depend on no axiom; PASS: M-2 bridge to hyperpolymath/tropical-types@f2e465c966d14d4986dfc492875cc54653d9751e; 6 of 6 printed theorems depend on no axiom (receipt :run "https://github.com/hyperpolymath/resource-algebra/actions/runs/44209774341/job/134484858201" @@ -740,42 +561,23 @@ :invocation "lean ResourceAlgebra.lean in verification/proofs/lean4, core only; then bash scripts/check-lean-bridge.sh (lean -o on TropicalSessionTypes.lean and ResourceAlgebra.lean, then lean TropicalBridge.lean with LEAN_PATH)" :state superseded :reason "its inputs changed in hyperpolymath/resource-algebra#53: the leg and the M-2 bridge now build under lake, so the input set gained scripts/check-lean-leg.sh, two lakefiles and two Lake manifests, and scripts/check-lean-bridge.sh changed. To be replaced by the first run on main of the legs under lake"))) - (claim :id "E-3" :pwg PWG-2i :foundation-diverse #f + (claim :id "F-5" :pwg ungraded :foundation-diverse #f (leg :prover agda :route source :token proven :state AGDA-VERIFIED ; the run reported: PASS: core proofs, unit tests and all 13 expected rejections (receipt :run "https://github.com/hyperpolymath/resource-algebra/actions/runs/44209774341/job/134484857967" :commit "15fa113c7427e2de009eade9148295d08c046b33" :checker "Agda version 2.6.4.3 (Debian trixie agda-bin=2.6.4.3-1+b2, container debian:trixie-slim, not pinned by digest)" :invocation "agda --safe --without-K --cubical-compatible --no-libraries --ignore-interfaces --double-check -W error -i src src/ResourceAlgebra/All.agda" - :inputs-sha256 "6d3250447bd3271db46ebac1e48005a6988baf87b6b923ecd3914fbe1b74ae9d" - :state current - (inputs-manifest - (file :path "src/ResourceAlgebra/All.agda" :sha256 "be7242276a1d594c6665633cab6747b176c265bfcb1f7cb752e001fa9c1c3d33") - (file :path "src/ResourceAlgebra/Core.agda" :sha256 "9b975043e9b597e1b807c857cd43ae73e96c58182c4de83e97b5d2e4c6ef2fde") - (file :path "src/ResourceAlgebra/Instances/Diamond.agda" :sha256 "0eebbbe722e453d8c1ced415925060560fc9513d34a5e934bafc00e23287e4ec") - (file :path "src/ResourceAlgebra/Instances/Evidence.agda" :sha256 "b69e3e050c636772977dc9244ae30dcc63d8f27ed61391a01553b3c851048ad5") - (file :path "src/ResourceAlgebra/Instances/HWM.agda" :sha256 "4806ba1adb9426e122c196aae99f3266236e9d0e5286c837072c810fbd48b7a2") - (file :path "src/ResourceAlgebra/Instances/Loss.agda" :sha256 "ef525820249861b529a155e6fcf34b4149638a14f332c46201794e4ad50a2ffc") - (file :path "src/ResourceAlgebra/Instances/MaxPlus.agda" :sha256 "557d1147095d4e57671e9c8d9fad3e1b3be9e9630304fd15837cc15f8742e399") - (file :path "src/ResourceAlgebra/Instances/MinMax.agda" :sha256 "a31eead6379daf18fee3481af6ba45c26bc553c54e4b26caccb9551f4593defe") - (file :path "src/ResourceAlgebra/Instances/Questions.agda" :sha256 "aaf1f6d1a1d5f58cc3916ef31df286be0d64c1a0ea59e989d28508ea518b846a") - (file :path "src/ResourceAlgebra/Ledger.agda" :sha256 "31b53104b420c37f3e9639d249bdce13920d440313536fcabc02f9ae8e4c46f3") - (file :path "src/ResourceAlgebra/Morphism.agda" :sha256 "56f53e414c481c0357de6e10cc3dfe3b288c4c37d1212a127f6fa7523677b4fa") - (file :path "src/ResourceAlgebra/Prelude.agda" :sha256 "ab911c0e1563b8594e10755ce81a57ed1963aaa1253940d14e93b17999bde720") - (file :path "src/ResourceAlgebra/Separation.agda" :sha256 "4404893286f1ef61bfa07ab3f7d4682f049a19a90597a2ddab9f96ff258a40d0")) - (axioms))) + :state superseded + :reason "its inputs changed when parallel composition and the loop grade were added (rows P-1 to P-4 and K-1 to K-4): the cone gained src/ResourceAlgebra/Parallel.agda, Star.agda and Instances/MaxPlusTop.agda, and three expected rejections were added. To be replaced by the first run on main that contains them")) (leg :prover rocq :route re-proved :token proven :state RECONCILED ; the run reported: RESULT: PASS -- gated modules compile; the Assumptions step then passed, which fails unless all 75 printed theorems are closed under the global context and rocqchk accepts the compiled file (receipt :run "https://github.com/hyperpolymath/resource-algebra/actions/runs/44209774341/job/134484858135" :commit "15fa113c7427e2de009eade9148295d08c046b33" :checker "Rocq 9.3.0, then rocqchk" :invocation "rocq compile ResourceAlgebra.v in verification/proofs/coq, then rocqchk" - :image "rocq/rocq-prover:9.3.0@sha256:97a68f230e785726c3bab4ba17e1d416fdd630de4af4548eb49b08712f29af93" - :inputs-sha256 "b52b1348c6cace05db2ac026d1137a1a3027b14ec84e9fb599259c3693c8b1b7" - :state current - (inputs-manifest - (file :path "verification/proofs/coq/ResourceAlgebra.v" :sha256 "4989d461674d9f3d36e65ded96613b5df45a6c851b0ec63f40cf05ffd760582e")) - (axioms))) + :state superseded + :reason "its input changed when parallel composition and the loop grade were added (rows P-1 to P-4 and K-1 to K-4): verification/proofs/coq/ResourceAlgebra.v gained their Rocq leg. To be replaced by the first run on main that contains them")) (leg :prover lean :route re-proved :token proven :state RECONCILED ; the run reported: RESULT: PASS -- gated modules compile; the Axioms step then passed, which fails unless all 84 printed theorems depend on no axiom; PASS: M-2 bridge to hyperpolymath/tropical-types@f2e465c966d14d4986dfc492875cc54653d9751e; 6 of 6 printed theorems depend on no axiom (receipt :run "https://github.com/hyperpolymath/resource-algebra/actions/runs/44209774341/job/134484858201" @@ -784,42 +586,23 @@ :invocation "lean ResourceAlgebra.lean in verification/proofs/lean4, core only; then bash scripts/check-lean-bridge.sh (lean -o on TropicalSessionTypes.lean and ResourceAlgebra.lean, then lean TropicalBridge.lean with LEAN_PATH)" :state superseded :reason "its inputs changed in hyperpolymath/resource-algebra#53: the leg and the M-2 bridge now build under lake, so the input set gained scripts/check-lean-leg.sh, two lakefiles and two Lake manifests, and scripts/check-lean-bridge.sh changed. To be replaced by the first run on main of the legs under lake"))) - (claim :id "F-1" :pwg PWG-2i :foundation-diverse #f + (claim :id "F-6" :pwg ungraded :foundation-diverse #f (leg :prover agda :route source :token proven :state AGDA-VERIFIED ; the run reported: PASS: core proofs, unit tests and all 13 expected rejections (receipt :run "https://github.com/hyperpolymath/resource-algebra/actions/runs/44209774341/job/134484857967" :commit "15fa113c7427e2de009eade9148295d08c046b33" :checker "Agda version 2.6.4.3 (Debian trixie agda-bin=2.6.4.3-1+b2, container debian:trixie-slim, not pinned by digest)" :invocation "agda --safe --without-K --cubical-compatible --no-libraries --ignore-interfaces --double-check -W error -i src src/ResourceAlgebra/All.agda" - :inputs-sha256 "6d3250447bd3271db46ebac1e48005a6988baf87b6b923ecd3914fbe1b74ae9d" - :state current - (inputs-manifest - (file :path "src/ResourceAlgebra/All.agda" :sha256 "be7242276a1d594c6665633cab6747b176c265bfcb1f7cb752e001fa9c1c3d33") - (file :path "src/ResourceAlgebra/Core.agda" :sha256 "9b975043e9b597e1b807c857cd43ae73e96c58182c4de83e97b5d2e4c6ef2fde") - (file :path "src/ResourceAlgebra/Instances/Diamond.agda" :sha256 "0eebbbe722e453d8c1ced415925060560fc9513d34a5e934bafc00e23287e4ec") - (file :path "src/ResourceAlgebra/Instances/Evidence.agda" :sha256 "b69e3e050c636772977dc9244ae30dcc63d8f27ed61391a01553b3c851048ad5") - (file :path "src/ResourceAlgebra/Instances/HWM.agda" :sha256 "4806ba1adb9426e122c196aae99f3266236e9d0e5286c837072c810fbd48b7a2") - (file :path "src/ResourceAlgebra/Instances/Loss.agda" :sha256 "ef525820249861b529a155e6fcf34b4149638a14f332c46201794e4ad50a2ffc") - (file :path "src/ResourceAlgebra/Instances/MaxPlus.agda" :sha256 "557d1147095d4e57671e9c8d9fad3e1b3be9e9630304fd15837cc15f8742e399") - (file :path "src/ResourceAlgebra/Instances/MinMax.agda" :sha256 "a31eead6379daf18fee3481af6ba45c26bc553c54e4b26caccb9551f4593defe") - (file :path "src/ResourceAlgebra/Instances/Questions.agda" :sha256 "aaf1f6d1a1d5f58cc3916ef31df286be0d64c1a0ea59e989d28508ea518b846a") - (file :path "src/ResourceAlgebra/Ledger.agda" :sha256 "31b53104b420c37f3e9639d249bdce13920d440313536fcabc02f9ae8e4c46f3") - (file :path "src/ResourceAlgebra/Morphism.agda" :sha256 "56f53e414c481c0357de6e10cc3dfe3b288c4c37d1212a127f6fa7523677b4fa") - (file :path "src/ResourceAlgebra/Prelude.agda" :sha256 "ab911c0e1563b8594e10755ce81a57ed1963aaa1253940d14e93b17999bde720") - (file :path "src/ResourceAlgebra/Separation.agda" :sha256 "4404893286f1ef61bfa07ab3f7d4682f049a19a90597a2ddab9f96ff258a40d0")) - (axioms))) + :state superseded + :reason "its inputs changed when parallel composition and the loop grade were added (rows P-1 to P-4 and K-1 to K-4): the cone gained src/ResourceAlgebra/Parallel.agda, Star.agda and Instances/MaxPlusTop.agda, and three expected rejections were added. To be replaced by the first run on main that contains them")) (leg :prover rocq :route re-proved :token proven :state RECONCILED ; the run reported: RESULT: PASS -- gated modules compile; the Assumptions step then passed, which fails unless all 75 printed theorems are closed under the global context and rocqchk accepts the compiled file (receipt :run "https://github.com/hyperpolymath/resource-algebra/actions/runs/44209774341/job/134484858135" :commit "15fa113c7427e2de009eade9148295d08c046b33" :checker "Rocq 9.3.0, then rocqchk" :invocation "rocq compile ResourceAlgebra.v in verification/proofs/coq, then rocqchk" - :image "rocq/rocq-prover:9.3.0@sha256:97a68f230e785726c3bab4ba17e1d416fdd630de4af4548eb49b08712f29af93" - :inputs-sha256 "b52b1348c6cace05db2ac026d1137a1a3027b14ec84e9fb599259c3693c8b1b7" - :state current - (inputs-manifest - (file :path "verification/proofs/coq/ResourceAlgebra.v" :sha256 "4989d461674d9f3d36e65ded96613b5df45a6c851b0ec63f40cf05ffd760582e")) - (axioms))) + :state superseded + :reason "its input changed when parallel composition and the loop grade were added (rows P-1 to P-4 and K-1 to K-4): verification/proofs/coq/ResourceAlgebra.v gained their Rocq leg. To be replaced by the first run on main that contains them")) (leg :prover lean :route re-proved :token proven :state RECONCILED ; the run reported: RESULT: PASS -- gated modules compile; the Axioms step then passed, which fails unless all 84 printed theorems depend on no axiom; PASS: M-2 bridge to hyperpolymath/tropical-types@f2e465c966d14d4986dfc492875cc54653d9751e; 6 of 6 printed theorems depend on no axiom (receipt :run "https://github.com/hyperpolymath/resource-algebra/actions/runs/44209774341/job/134484858201" @@ -828,42 +611,23 @@ :invocation "lean ResourceAlgebra.lean in verification/proofs/lean4, core only; then bash scripts/check-lean-bridge.sh (lean -o on TropicalSessionTypes.lean and ResourceAlgebra.lean, then lean TropicalBridge.lean with LEAN_PATH)" :state superseded :reason "its inputs changed in hyperpolymath/resource-algebra#53: the leg and the M-2 bridge now build under lake, so the input set gained scripts/check-lean-leg.sh, two lakefiles and two Lake manifests, and scripts/check-lean-bridge.sh changed. To be replaced by the first run on main of the legs under lake"))) - (claim :id "F-2" :pwg PWG-2i :foundation-diverse #f + (claim :id "F-7" :pwg ungraded :foundation-diverse #f (leg :prover agda :route source :token proven :state AGDA-VERIFIED ; the run reported: PASS: core proofs, unit tests and all 13 expected rejections (receipt :run "https://github.com/hyperpolymath/resource-algebra/actions/runs/44209774341/job/134484857967" :commit "15fa113c7427e2de009eade9148295d08c046b33" :checker "Agda version 2.6.4.3 (Debian trixie agda-bin=2.6.4.3-1+b2, container debian:trixie-slim, not pinned by digest)" :invocation "agda --safe --without-K --cubical-compatible --no-libraries --ignore-interfaces --double-check -W error -i src src/ResourceAlgebra/All.agda" - :inputs-sha256 "6d3250447bd3271db46ebac1e48005a6988baf87b6b923ecd3914fbe1b74ae9d" - :state current - (inputs-manifest - (file :path "src/ResourceAlgebra/All.agda" :sha256 "be7242276a1d594c6665633cab6747b176c265bfcb1f7cb752e001fa9c1c3d33") - (file :path "src/ResourceAlgebra/Core.agda" :sha256 "9b975043e9b597e1b807c857cd43ae73e96c58182c4de83e97b5d2e4c6ef2fde") - (file :path "src/ResourceAlgebra/Instances/Diamond.agda" :sha256 "0eebbbe722e453d8c1ced415925060560fc9513d34a5e934bafc00e23287e4ec") - (file :path "src/ResourceAlgebra/Instances/Evidence.agda" :sha256 "b69e3e050c636772977dc9244ae30dcc63d8f27ed61391a01553b3c851048ad5") - (file :path "src/ResourceAlgebra/Instances/HWM.agda" :sha256 "4806ba1adb9426e122c196aae99f3266236e9d0e5286c837072c810fbd48b7a2") - (file :path "src/ResourceAlgebra/Instances/Loss.agda" :sha256 "ef525820249861b529a155e6fcf34b4149638a14f332c46201794e4ad50a2ffc") - (file :path "src/ResourceAlgebra/Instances/MaxPlus.agda" :sha256 "557d1147095d4e57671e9c8d9fad3e1b3be9e9630304fd15837cc15f8742e399") - (file :path "src/ResourceAlgebra/Instances/MinMax.agda" :sha256 "a31eead6379daf18fee3481af6ba45c26bc553c54e4b26caccb9551f4593defe") - (file :path "src/ResourceAlgebra/Instances/Questions.agda" :sha256 "aaf1f6d1a1d5f58cc3916ef31df286be0d64c1a0ea59e989d28508ea518b846a") - (file :path "src/ResourceAlgebra/Ledger.agda" :sha256 "31b53104b420c37f3e9639d249bdce13920d440313536fcabc02f9ae8e4c46f3") - (file :path "src/ResourceAlgebra/Morphism.agda" :sha256 "56f53e414c481c0357de6e10cc3dfe3b288c4c37d1212a127f6fa7523677b4fa") - (file :path "src/ResourceAlgebra/Prelude.agda" :sha256 "ab911c0e1563b8594e10755ce81a57ed1963aaa1253940d14e93b17999bde720") - (file :path "src/ResourceAlgebra/Separation.agda" :sha256 "4404893286f1ef61bfa07ab3f7d4682f049a19a90597a2ddab9f96ff258a40d0")) - (axioms))) + :state superseded + :reason "its inputs changed when parallel composition and the loop grade were added (rows P-1 to P-4 and K-1 to K-4): the cone gained src/ResourceAlgebra/Parallel.agda, Star.agda and Instances/MaxPlusTop.agda, and three expected rejections were added. To be replaced by the first run on main that contains them")) (leg :prover rocq :route re-proved :token proven :state RECONCILED ; the run reported: RESULT: PASS -- gated modules compile; the Assumptions step then passed, which fails unless all 75 printed theorems are closed under the global context and rocqchk accepts the compiled file (receipt :run "https://github.com/hyperpolymath/resource-algebra/actions/runs/44209774341/job/134484858135" :commit "15fa113c7427e2de009eade9148295d08c046b33" :checker "Rocq 9.3.0, then rocqchk" :invocation "rocq compile ResourceAlgebra.v in verification/proofs/coq, then rocqchk" - :image "rocq/rocq-prover:9.3.0@sha256:97a68f230e785726c3bab4ba17e1d416fdd630de4af4548eb49b08712f29af93" - :inputs-sha256 "b52b1348c6cace05db2ac026d1137a1a3027b14ec84e9fb599259c3693c8b1b7" - :state current - (inputs-manifest - (file :path "verification/proofs/coq/ResourceAlgebra.v" :sha256 "4989d461674d9f3d36e65ded96613b5df45a6c851b0ec63f40cf05ffd760582e")) - (axioms))) + :state superseded + :reason "its input changed when parallel composition and the loop grade were added (rows P-1 to P-4 and K-1 to K-4): verification/proofs/coq/ResourceAlgebra.v gained their Rocq leg. To be replaced by the first run on main that contains them")) (leg :prover lean :route re-proved :token proven :state RECONCILED ; the run reported: RESULT: PASS -- gated modules compile; the Axioms step then passed, which fails unless all 84 printed theorems depend on no axiom; PASS: M-2 bridge to hyperpolymath/tropical-types@f2e465c966d14d4986dfc492875cc54653d9751e; 6 of 6 printed theorems depend on no axiom (receipt :run "https://github.com/hyperpolymath/resource-algebra/actions/runs/44209774341/job/134484858201" @@ -872,42 +636,23 @@ :invocation "lean ResourceAlgebra.lean in verification/proofs/lean4, core only; then bash scripts/check-lean-bridge.sh (lean -o on TropicalSessionTypes.lean and ResourceAlgebra.lean, then lean TropicalBridge.lean with LEAN_PATH)" :state superseded :reason "its inputs changed in hyperpolymath/resource-algebra#53: the leg and the M-2 bridge now build under lake, so the input set gained scripts/check-lean-leg.sh, two lakefiles and two Lake manifests, and scripts/check-lean-bridge.sh changed. To be replaced by the first run on main of the legs under lake"))) - (claim :id "F-3" :pwg PWG-2i :foundation-diverse #f + (claim :id "F-8" :pwg ungraded :foundation-diverse #f (leg :prover agda :route source :token proven :state AGDA-VERIFIED ; the run reported: PASS: core proofs, unit tests and all 13 expected rejections (receipt :run "https://github.com/hyperpolymath/resource-algebra/actions/runs/44209774341/job/134484857967" :commit "15fa113c7427e2de009eade9148295d08c046b33" :checker "Agda version 2.6.4.3 (Debian trixie agda-bin=2.6.4.3-1+b2, container debian:trixie-slim, not pinned by digest)" :invocation "agda --safe --without-K --cubical-compatible --no-libraries --ignore-interfaces --double-check -W error -i src src/ResourceAlgebra/All.agda" - :inputs-sha256 "6d3250447bd3271db46ebac1e48005a6988baf87b6b923ecd3914fbe1b74ae9d" - :state current - (inputs-manifest - (file :path "src/ResourceAlgebra/All.agda" :sha256 "be7242276a1d594c6665633cab6747b176c265bfcb1f7cb752e001fa9c1c3d33") - (file :path "src/ResourceAlgebra/Core.agda" :sha256 "9b975043e9b597e1b807c857cd43ae73e96c58182c4de83e97b5d2e4c6ef2fde") - (file :path "src/ResourceAlgebra/Instances/Diamond.agda" :sha256 "0eebbbe722e453d8c1ced415925060560fc9513d34a5e934bafc00e23287e4ec") - (file :path "src/ResourceAlgebra/Instances/Evidence.agda" :sha256 "b69e3e050c636772977dc9244ae30dcc63d8f27ed61391a01553b3c851048ad5") - (file :path "src/ResourceAlgebra/Instances/HWM.agda" :sha256 "4806ba1adb9426e122c196aae99f3266236e9d0e5286c837072c810fbd48b7a2") - (file :path "src/ResourceAlgebra/Instances/Loss.agda" :sha256 "ef525820249861b529a155e6fcf34b4149638a14f332c46201794e4ad50a2ffc") - (file :path "src/ResourceAlgebra/Instances/MaxPlus.agda" :sha256 "557d1147095d4e57671e9c8d9fad3e1b3be9e9630304fd15837cc15f8742e399") - (file :path "src/ResourceAlgebra/Instances/MinMax.agda" :sha256 "a31eead6379daf18fee3481af6ba45c26bc553c54e4b26caccb9551f4593defe") - (file :path "src/ResourceAlgebra/Instances/Questions.agda" :sha256 "aaf1f6d1a1d5f58cc3916ef31df286be0d64c1a0ea59e989d28508ea518b846a") - (file :path "src/ResourceAlgebra/Ledger.agda" :sha256 "31b53104b420c37f3e9639d249bdce13920d440313536fcabc02f9ae8e4c46f3") - (file :path "src/ResourceAlgebra/Morphism.agda" :sha256 "56f53e414c481c0357de6e10cc3dfe3b288c4c37d1212a127f6fa7523677b4fa") - (file :path "src/ResourceAlgebra/Prelude.agda" :sha256 "ab911c0e1563b8594e10755ce81a57ed1963aaa1253940d14e93b17999bde720") - (file :path "src/ResourceAlgebra/Separation.agda" :sha256 "4404893286f1ef61bfa07ab3f7d4682f049a19a90597a2ddab9f96ff258a40d0")) - (axioms))) + :state superseded + :reason "its inputs changed when parallel composition and the loop grade were added (rows P-1 to P-4 and K-1 to K-4): the cone gained src/ResourceAlgebra/Parallel.agda, Star.agda and Instances/MaxPlusTop.agda, and three expected rejections were added. To be replaced by the first run on main that contains them")) (leg :prover rocq :route re-proved :token proven :state RECONCILED ; the run reported: RESULT: PASS -- gated modules compile; the Assumptions step then passed, which fails unless all 75 printed theorems are closed under the global context and rocqchk accepts the compiled file (receipt :run "https://github.com/hyperpolymath/resource-algebra/actions/runs/44209774341/job/134484858135" :commit "15fa113c7427e2de009eade9148295d08c046b33" :checker "Rocq 9.3.0, then rocqchk" :invocation "rocq compile ResourceAlgebra.v in verification/proofs/coq, then rocqchk" - :image "rocq/rocq-prover:9.3.0@sha256:97a68f230e785726c3bab4ba17e1d416fdd630de4af4548eb49b08712f29af93" - :inputs-sha256 "b52b1348c6cace05db2ac026d1137a1a3027b14ec84e9fb599259c3693c8b1b7" - :state current - (inputs-manifest - (file :path "verification/proofs/coq/ResourceAlgebra.v" :sha256 "4989d461674d9f3d36e65ded96613b5df45a6c851b0ec63f40cf05ffd760582e")) - (axioms))) + :state superseded + :reason "its input changed when parallel composition and the loop grade were added (rows P-1 to P-4 and K-1 to K-4): verification/proofs/coq/ResourceAlgebra.v gained their Rocq leg. To be replaced by the first run on main that contains them")) (leg :prover lean :route re-proved :token proven :state RECONCILED ; the run reported: RESULT: PASS -- gated modules compile; the Axioms step then passed, which fails unless all 84 printed theorems depend on no axiom; PASS: M-2 bridge to hyperpolymath/tropical-types@f2e465c966d14d4986dfc492875cc54653d9751e; 6 of 6 printed theorems depend on no axiom (receipt :run "https://github.com/hyperpolymath/resource-algebra/actions/runs/44209774341/job/134484858201" @@ -916,42 +661,23 @@ :invocation "lean ResourceAlgebra.lean in verification/proofs/lean4, core only; then bash scripts/check-lean-bridge.sh (lean -o on TropicalSessionTypes.lean and ResourceAlgebra.lean, then lean TropicalBridge.lean with LEAN_PATH)" :state superseded :reason "its inputs changed in hyperpolymath/resource-algebra#53: the leg and the M-2 bridge now build under lake, so the input set gained scripts/check-lean-leg.sh, two lakefiles and two Lake manifests, and scripts/check-lean-bridge.sh changed. To be replaced by the first run on main of the legs under lake"))) - (claim :id "F-4" :pwg PWG-2i :foundation-diverse #f + (claim :id "F-9" :pwg ungraded :foundation-diverse #f (leg :prover agda :route source :token proven :state AGDA-VERIFIED ; the run reported: PASS: core proofs, unit tests and all 13 expected rejections (receipt :run "https://github.com/hyperpolymath/resource-algebra/actions/runs/44209774341/job/134484857967" :commit "15fa113c7427e2de009eade9148295d08c046b33" :checker "Agda version 2.6.4.3 (Debian trixie agda-bin=2.6.4.3-1+b2, container debian:trixie-slim, not pinned by digest)" :invocation "agda --safe --without-K --cubical-compatible --no-libraries --ignore-interfaces --double-check -W error -i src src/ResourceAlgebra/All.agda" - :inputs-sha256 "6d3250447bd3271db46ebac1e48005a6988baf87b6b923ecd3914fbe1b74ae9d" - :state current - (inputs-manifest - (file :path "src/ResourceAlgebra/All.agda" :sha256 "be7242276a1d594c6665633cab6747b176c265bfcb1f7cb752e001fa9c1c3d33") - (file :path "src/ResourceAlgebra/Core.agda" :sha256 "9b975043e9b597e1b807c857cd43ae73e96c58182c4de83e97b5d2e4c6ef2fde") - (file :path "src/ResourceAlgebra/Instances/Diamond.agda" :sha256 "0eebbbe722e453d8c1ced415925060560fc9513d34a5e934bafc00e23287e4ec") - (file :path "src/ResourceAlgebra/Instances/Evidence.agda" :sha256 "b69e3e050c636772977dc9244ae30dcc63d8f27ed61391a01553b3c851048ad5") - (file :path "src/ResourceAlgebra/Instances/HWM.agda" :sha256 "4806ba1adb9426e122c196aae99f3266236e9d0e5286c837072c810fbd48b7a2") - (file :path "src/ResourceAlgebra/Instances/Loss.agda" :sha256 "ef525820249861b529a155e6fcf34b4149638a14f332c46201794e4ad50a2ffc") - (file :path "src/ResourceAlgebra/Instances/MaxPlus.agda" :sha256 "557d1147095d4e57671e9c8d9fad3e1b3be9e9630304fd15837cc15f8742e399") - (file :path "src/ResourceAlgebra/Instances/MinMax.agda" :sha256 "a31eead6379daf18fee3481af6ba45c26bc553c54e4b26caccb9551f4593defe") - (file :path "src/ResourceAlgebra/Instances/Questions.agda" :sha256 "aaf1f6d1a1d5f58cc3916ef31df286be0d64c1a0ea59e989d28508ea518b846a") - (file :path "src/ResourceAlgebra/Ledger.agda" :sha256 "31b53104b420c37f3e9639d249bdce13920d440313536fcabc02f9ae8e4c46f3") - (file :path "src/ResourceAlgebra/Morphism.agda" :sha256 "56f53e414c481c0357de6e10cc3dfe3b288c4c37d1212a127f6fa7523677b4fa") - (file :path "src/ResourceAlgebra/Prelude.agda" :sha256 "ab911c0e1563b8594e10755ce81a57ed1963aaa1253940d14e93b17999bde720") - (file :path "src/ResourceAlgebra/Separation.agda" :sha256 "4404893286f1ef61bfa07ab3f7d4682f049a19a90597a2ddab9f96ff258a40d0")) - (axioms))) + :state superseded + :reason "its inputs changed when parallel composition and the loop grade were added (rows P-1 to P-4 and K-1 to K-4): the cone gained src/ResourceAlgebra/Parallel.agda, Star.agda and Instances/MaxPlusTop.agda, and three expected rejections were added. To be replaced by the first run on main that contains them")) (leg :prover rocq :route re-proved :token proven :state RECONCILED ; the run reported: RESULT: PASS -- gated modules compile; the Assumptions step then passed, which fails unless all 75 printed theorems are closed under the global context and rocqchk accepts the compiled file (receipt :run "https://github.com/hyperpolymath/resource-algebra/actions/runs/44209774341/job/134484858135" :commit "15fa113c7427e2de009eade9148295d08c046b33" :checker "Rocq 9.3.0, then rocqchk" :invocation "rocq compile ResourceAlgebra.v in verification/proofs/coq, then rocqchk" - :image "rocq/rocq-prover:9.3.0@sha256:97a68f230e785726c3bab4ba17e1d416fdd630de4af4548eb49b08712f29af93" - :inputs-sha256 "b52b1348c6cace05db2ac026d1137a1a3027b14ec84e9fb599259c3693c8b1b7" - :state current - (inputs-manifest - (file :path "verification/proofs/coq/ResourceAlgebra.v" :sha256 "4989d461674d9f3d36e65ded96613b5df45a6c851b0ec63f40cf05ffd760582e")) - (axioms))) + :state superseded + :reason "its input changed when parallel composition and the loop grade were added (rows P-1 to P-4 and K-1 to K-4): verification/proofs/coq/ResourceAlgebra.v gained their Rocq leg. To be replaced by the first run on main that contains them")) (leg :prover lean :route re-proved :token proven :state RECONCILED ; the run reported: RESULT: PASS -- gated modules compile; the Axioms step then passed, which fails unless all 84 printed theorems depend on no axiom; PASS: M-2 bridge to hyperpolymath/tropical-types@f2e465c966d14d4986dfc492875cc54653d9751e; 6 of 6 printed theorems depend on no axiom (receipt :run "https://github.com/hyperpolymath/resource-algebra/actions/runs/44209774341/job/134484858201" @@ -960,42 +686,23 @@ :invocation "lean ResourceAlgebra.lean in verification/proofs/lean4, core only; then bash scripts/check-lean-bridge.sh (lean -o on TropicalSessionTypes.lean and ResourceAlgebra.lean, then lean TropicalBridge.lean with LEAN_PATH)" :state superseded :reason "its inputs changed in hyperpolymath/resource-algebra#53: the leg and the M-2 bridge now build under lake, so the input set gained scripts/check-lean-leg.sh, two lakefiles and two Lake manifests, and scripts/check-lean-bridge.sh changed. To be replaced by the first run on main of the legs under lake"))) - (claim :id "F-5" :pwg PWG-2i :foundation-diverse #f + (claim :id "F-10" :pwg ungraded :foundation-diverse #f (leg :prover agda :route source :token proven :state AGDA-VERIFIED ; the run reported: PASS: core proofs, unit tests and all 13 expected rejections (receipt :run "https://github.com/hyperpolymath/resource-algebra/actions/runs/44209774341/job/134484857967" :commit "15fa113c7427e2de009eade9148295d08c046b33" :checker "Agda version 2.6.4.3 (Debian trixie agda-bin=2.6.4.3-1+b2, container debian:trixie-slim, not pinned by digest)" :invocation "agda --safe --without-K --cubical-compatible --no-libraries --ignore-interfaces --double-check -W error -i src src/ResourceAlgebra/All.agda" - :inputs-sha256 "6d3250447bd3271db46ebac1e48005a6988baf87b6b923ecd3914fbe1b74ae9d" - :state current - (inputs-manifest - (file :path "src/ResourceAlgebra/All.agda" :sha256 "be7242276a1d594c6665633cab6747b176c265bfcb1f7cb752e001fa9c1c3d33") - (file :path "src/ResourceAlgebra/Core.agda" :sha256 "9b975043e9b597e1b807c857cd43ae73e96c58182c4de83e97b5d2e4c6ef2fde") - (file :path "src/ResourceAlgebra/Instances/Diamond.agda" :sha256 "0eebbbe722e453d8c1ced415925060560fc9513d34a5e934bafc00e23287e4ec") - (file :path "src/ResourceAlgebra/Instances/Evidence.agda" :sha256 "b69e3e050c636772977dc9244ae30dcc63d8f27ed61391a01553b3c851048ad5") - (file :path "src/ResourceAlgebra/Instances/HWM.agda" :sha256 "4806ba1adb9426e122c196aae99f3266236e9d0e5286c837072c810fbd48b7a2") - (file :path "src/ResourceAlgebra/Instances/Loss.agda" :sha256 "ef525820249861b529a155e6fcf34b4149638a14f332c46201794e4ad50a2ffc") - (file :path "src/ResourceAlgebra/Instances/MaxPlus.agda" :sha256 "557d1147095d4e57671e9c8d9fad3e1b3be9e9630304fd15837cc15f8742e399") - (file :path "src/ResourceAlgebra/Instances/MinMax.agda" :sha256 "a31eead6379daf18fee3481af6ba45c26bc553c54e4b26caccb9551f4593defe") - (file :path "src/ResourceAlgebra/Instances/Questions.agda" :sha256 "aaf1f6d1a1d5f58cc3916ef31df286be0d64c1a0ea59e989d28508ea518b846a") - (file :path "src/ResourceAlgebra/Ledger.agda" :sha256 "31b53104b420c37f3e9639d249bdce13920d440313536fcabc02f9ae8e4c46f3") - (file :path "src/ResourceAlgebra/Morphism.agda" :sha256 "56f53e414c481c0357de6e10cc3dfe3b288c4c37d1212a127f6fa7523677b4fa") - (file :path "src/ResourceAlgebra/Prelude.agda" :sha256 "ab911c0e1563b8594e10755ce81a57ed1963aaa1253940d14e93b17999bde720") - (file :path "src/ResourceAlgebra/Separation.agda" :sha256 "4404893286f1ef61bfa07ab3f7d4682f049a19a90597a2ddab9f96ff258a40d0")) - (axioms))) + :state superseded + :reason "its inputs changed when parallel composition and the loop grade were added (rows P-1 to P-4 and K-1 to K-4): the cone gained src/ResourceAlgebra/Parallel.agda, Star.agda and Instances/MaxPlusTop.agda, and three expected rejections were added. To be replaced by the first run on main that contains them")) (leg :prover rocq :route re-proved :token proven :state RECONCILED ; the run reported: RESULT: PASS -- gated modules compile; the Assumptions step then passed, which fails unless all 75 printed theorems are closed under the global context and rocqchk accepts the compiled file (receipt :run "https://github.com/hyperpolymath/resource-algebra/actions/runs/44209774341/job/134484858135" :commit "15fa113c7427e2de009eade9148295d08c046b33" :checker "Rocq 9.3.0, then rocqchk" :invocation "rocq compile ResourceAlgebra.v in verification/proofs/coq, then rocqchk" - :image "rocq/rocq-prover:9.3.0@sha256:97a68f230e785726c3bab4ba17e1d416fdd630de4af4548eb49b08712f29af93" - :inputs-sha256 "b52b1348c6cace05db2ac026d1137a1a3027b14ec84e9fb599259c3693c8b1b7" - :state current - (inputs-manifest - (file :path "verification/proofs/coq/ResourceAlgebra.v" :sha256 "4989d461674d9f3d36e65ded96613b5df45a6c851b0ec63f40cf05ffd760582e")) - (axioms))) + :state superseded + :reason "its input changed when parallel composition and the loop grade were added (rows P-1 to P-4 and K-1 to K-4): verification/proofs/coq/ResourceAlgebra.v gained their Rocq leg. To be replaced by the first run on main that contains them")) (leg :prover lean :route re-proved :token proven :state RECONCILED ; the run reported: RESULT: PASS -- gated modules compile; the Axioms step then passed, which fails unless all 84 printed theorems depend on no axiom; PASS: M-2 bridge to hyperpolymath/tropical-types@f2e465c966d14d4986dfc492875cc54653d9751e; 6 of 6 printed theorems depend on no axiom (receipt :run "https://github.com/hyperpolymath/resource-algebra/actions/runs/44209774341/job/134484858201" @@ -1004,42 +711,23 @@ :invocation "lean ResourceAlgebra.lean in verification/proofs/lean4, core only; then bash scripts/check-lean-bridge.sh (lean -o on TropicalSessionTypes.lean and ResourceAlgebra.lean, then lean TropicalBridge.lean with LEAN_PATH)" :state superseded :reason "its inputs changed in hyperpolymath/resource-algebra#53: the leg and the M-2 bridge now build under lake, so the input set gained scripts/check-lean-leg.sh, two lakefiles and two Lake manifests, and scripts/check-lean-bridge.sh changed. To be replaced by the first run on main of the legs under lake"))) - (claim :id "F-6" :pwg PWG-2i :foundation-diverse #f + (claim :id "S-1" :pwg ungraded :foundation-diverse #f (leg :prover agda :route source :token proven :state AGDA-VERIFIED ; the run reported: PASS: core proofs, unit tests and all 13 expected rejections (receipt :run "https://github.com/hyperpolymath/resource-algebra/actions/runs/44209774341/job/134484857967" :commit "15fa113c7427e2de009eade9148295d08c046b33" :checker "Agda version 2.6.4.3 (Debian trixie agda-bin=2.6.4.3-1+b2, container debian:trixie-slim, not pinned by digest)" :invocation "agda --safe --without-K --cubical-compatible --no-libraries --ignore-interfaces --double-check -W error -i src src/ResourceAlgebra/All.agda" - :inputs-sha256 "6d3250447bd3271db46ebac1e48005a6988baf87b6b923ecd3914fbe1b74ae9d" - :state current - (inputs-manifest - (file :path "src/ResourceAlgebra/All.agda" :sha256 "be7242276a1d594c6665633cab6747b176c265bfcb1f7cb752e001fa9c1c3d33") - (file :path "src/ResourceAlgebra/Core.agda" :sha256 "9b975043e9b597e1b807c857cd43ae73e96c58182c4de83e97b5d2e4c6ef2fde") - (file :path "src/ResourceAlgebra/Instances/Diamond.agda" :sha256 "0eebbbe722e453d8c1ced415925060560fc9513d34a5e934bafc00e23287e4ec") - (file :path "src/ResourceAlgebra/Instances/Evidence.agda" :sha256 "b69e3e050c636772977dc9244ae30dcc63d8f27ed61391a01553b3c851048ad5") - (file :path "src/ResourceAlgebra/Instances/HWM.agda" :sha256 "4806ba1adb9426e122c196aae99f3266236e9d0e5286c837072c810fbd48b7a2") - (file :path "src/ResourceAlgebra/Instances/Loss.agda" :sha256 "ef525820249861b529a155e6fcf34b4149638a14f332c46201794e4ad50a2ffc") - (file :path "src/ResourceAlgebra/Instances/MaxPlus.agda" :sha256 "557d1147095d4e57671e9c8d9fad3e1b3be9e9630304fd15837cc15f8742e399") - (file :path "src/ResourceAlgebra/Instances/MinMax.agda" :sha256 "a31eead6379daf18fee3481af6ba45c26bc553c54e4b26caccb9551f4593defe") - (file :path "src/ResourceAlgebra/Instances/Questions.agda" :sha256 "aaf1f6d1a1d5f58cc3916ef31df286be0d64c1a0ea59e989d28508ea518b846a") - (file :path "src/ResourceAlgebra/Ledger.agda" :sha256 "31b53104b420c37f3e9639d249bdce13920d440313536fcabc02f9ae8e4c46f3") - (file :path "src/ResourceAlgebra/Morphism.agda" :sha256 "56f53e414c481c0357de6e10cc3dfe3b288c4c37d1212a127f6fa7523677b4fa") - (file :path "src/ResourceAlgebra/Prelude.agda" :sha256 "ab911c0e1563b8594e10755ce81a57ed1963aaa1253940d14e93b17999bde720") - (file :path "src/ResourceAlgebra/Separation.agda" :sha256 "4404893286f1ef61bfa07ab3f7d4682f049a19a90597a2ddab9f96ff258a40d0")) - (axioms))) + :state superseded + :reason "its inputs changed when parallel composition and the loop grade were added (rows P-1 to P-4 and K-1 to K-4): the cone gained src/ResourceAlgebra/Parallel.agda, Star.agda and Instances/MaxPlusTop.agda, and three expected rejections were added. To be replaced by the first run on main that contains them")) (leg :prover rocq :route re-proved :token proven :state RECONCILED ; the run reported: RESULT: PASS -- gated modules compile; the Assumptions step then passed, which fails unless all 75 printed theorems are closed under the global context and rocqchk accepts the compiled file (receipt :run "https://github.com/hyperpolymath/resource-algebra/actions/runs/44209774341/job/134484858135" :commit "15fa113c7427e2de009eade9148295d08c046b33" :checker "Rocq 9.3.0, then rocqchk" :invocation "rocq compile ResourceAlgebra.v in verification/proofs/coq, then rocqchk" - :image "rocq/rocq-prover:9.3.0@sha256:97a68f230e785726c3bab4ba17e1d416fdd630de4af4548eb49b08712f29af93" - :inputs-sha256 "b52b1348c6cace05db2ac026d1137a1a3027b14ec84e9fb599259c3693c8b1b7" - :state current - (inputs-manifest - (file :path "verification/proofs/coq/ResourceAlgebra.v" :sha256 "4989d461674d9f3d36e65ded96613b5df45a6c851b0ec63f40cf05ffd760582e")) - (axioms))) + :state superseded + :reason "its input changed when parallel composition and the loop grade were added (rows P-1 to P-4 and K-1 to K-4): verification/proofs/coq/ResourceAlgebra.v gained their Rocq leg. To be replaced by the first run on main that contains them")) (leg :prover lean :route re-proved :token proven :state RECONCILED ; the run reported: RESULT: PASS -- gated modules compile; the Axioms step then passed, which fails unless all 84 printed theorems depend on no axiom; PASS: M-2 bridge to hyperpolymath/tropical-types@f2e465c966d14d4986dfc492875cc54653d9751e; 6 of 6 printed theorems depend on no axiom (receipt :run "https://github.com/hyperpolymath/resource-algebra/actions/runs/44209774341/job/134484858201" @@ -1048,42 +736,23 @@ :invocation "lean ResourceAlgebra.lean in verification/proofs/lean4, core only; then bash scripts/check-lean-bridge.sh (lean -o on TropicalSessionTypes.lean and ResourceAlgebra.lean, then lean TropicalBridge.lean with LEAN_PATH)" :state superseded :reason "its inputs changed in hyperpolymath/resource-algebra#53: the leg and the M-2 bridge now build under lake, so the input set gained scripts/check-lean-leg.sh, two lakefiles and two Lake manifests, and scripts/check-lean-bridge.sh changed. To be replaced by the first run on main of the legs under lake"))) - (claim :id "F-7" :pwg PWG-2i :foundation-diverse #f + (claim :id "S-2" :pwg ungraded :foundation-diverse #f (leg :prover agda :route source :token proven :state AGDA-VERIFIED ; the run reported: PASS: core proofs, unit tests and all 13 expected rejections (receipt :run "https://github.com/hyperpolymath/resource-algebra/actions/runs/44209774341/job/134484857967" :commit "15fa113c7427e2de009eade9148295d08c046b33" :checker "Agda version 2.6.4.3 (Debian trixie agda-bin=2.6.4.3-1+b2, container debian:trixie-slim, not pinned by digest)" :invocation "agda --safe --without-K --cubical-compatible --no-libraries --ignore-interfaces --double-check -W error -i src src/ResourceAlgebra/All.agda" - :inputs-sha256 "6d3250447bd3271db46ebac1e48005a6988baf87b6b923ecd3914fbe1b74ae9d" - :state current - (inputs-manifest - (file :path "src/ResourceAlgebra/All.agda" :sha256 "be7242276a1d594c6665633cab6747b176c265bfcb1f7cb752e001fa9c1c3d33") - (file :path "src/ResourceAlgebra/Core.agda" :sha256 "9b975043e9b597e1b807c857cd43ae73e96c58182c4de83e97b5d2e4c6ef2fde") - (file :path "src/ResourceAlgebra/Instances/Diamond.agda" :sha256 "0eebbbe722e453d8c1ced415925060560fc9513d34a5e934bafc00e23287e4ec") - (file :path "src/ResourceAlgebra/Instances/Evidence.agda" :sha256 "b69e3e050c636772977dc9244ae30dcc63d8f27ed61391a01553b3c851048ad5") - (file :path "src/ResourceAlgebra/Instances/HWM.agda" :sha256 "4806ba1adb9426e122c196aae99f3266236e9d0e5286c837072c810fbd48b7a2") - (file :path "src/ResourceAlgebra/Instances/Loss.agda" :sha256 "ef525820249861b529a155e6fcf34b4149638a14f332c46201794e4ad50a2ffc") - (file :path "src/ResourceAlgebra/Instances/MaxPlus.agda" :sha256 "557d1147095d4e57671e9c8d9fad3e1b3be9e9630304fd15837cc15f8742e399") - (file :path "src/ResourceAlgebra/Instances/MinMax.agda" :sha256 "a31eead6379daf18fee3481af6ba45c26bc553c54e4b26caccb9551f4593defe") - (file :path "src/ResourceAlgebra/Instances/Questions.agda" :sha256 "aaf1f6d1a1d5f58cc3916ef31df286be0d64c1a0ea59e989d28508ea518b846a") - (file :path "src/ResourceAlgebra/Ledger.agda" :sha256 "31b53104b420c37f3e9639d249bdce13920d440313536fcabc02f9ae8e4c46f3") - (file :path "src/ResourceAlgebra/Morphism.agda" :sha256 "56f53e414c481c0357de6e10cc3dfe3b288c4c37d1212a127f6fa7523677b4fa") - (file :path "src/ResourceAlgebra/Prelude.agda" :sha256 "ab911c0e1563b8594e10755ce81a57ed1963aaa1253940d14e93b17999bde720") - (file :path "src/ResourceAlgebra/Separation.agda" :sha256 "4404893286f1ef61bfa07ab3f7d4682f049a19a90597a2ddab9f96ff258a40d0")) - (axioms))) + :state superseded + :reason "its inputs changed when parallel composition and the loop grade were added (rows P-1 to P-4 and K-1 to K-4): the cone gained src/ResourceAlgebra/Parallel.agda, Star.agda and Instances/MaxPlusTop.agda, and three expected rejections were added. To be replaced by the first run on main that contains them")) (leg :prover rocq :route re-proved :token proven :state RECONCILED ; the run reported: RESULT: PASS -- gated modules compile; the Assumptions step then passed, which fails unless all 75 printed theorems are closed under the global context and rocqchk accepts the compiled file (receipt :run "https://github.com/hyperpolymath/resource-algebra/actions/runs/44209774341/job/134484858135" :commit "15fa113c7427e2de009eade9148295d08c046b33" :checker "Rocq 9.3.0, then rocqchk" :invocation "rocq compile ResourceAlgebra.v in verification/proofs/coq, then rocqchk" - :image "rocq/rocq-prover:9.3.0@sha256:97a68f230e785726c3bab4ba17e1d416fdd630de4af4548eb49b08712f29af93" - :inputs-sha256 "b52b1348c6cace05db2ac026d1137a1a3027b14ec84e9fb599259c3693c8b1b7" - :state current - (inputs-manifest - (file :path "verification/proofs/coq/ResourceAlgebra.v" :sha256 "4989d461674d9f3d36e65ded96613b5df45a6c851b0ec63f40cf05ffd760582e")) - (axioms))) + :state superseded + :reason "its input changed when parallel composition and the loop grade were added (rows P-1 to P-4 and K-1 to K-4): verification/proofs/coq/ResourceAlgebra.v gained their Rocq leg. To be replaced by the first run on main that contains them")) (leg :prover lean :route re-proved :token proven :state RECONCILED ; the run reported: RESULT: PASS -- gated modules compile; the Axioms step then passed, which fails unless all 84 printed theorems depend on no axiom; PASS: M-2 bridge to hyperpolymath/tropical-types@f2e465c966d14d4986dfc492875cc54653d9751e; 6 of 6 printed theorems depend on no axiom (receipt :run "https://github.com/hyperpolymath/resource-algebra/actions/runs/44209774341/job/134484858201" @@ -1092,42 +761,23 @@ :invocation "lean ResourceAlgebra.lean in verification/proofs/lean4, core only; then bash scripts/check-lean-bridge.sh (lean -o on TropicalSessionTypes.lean and ResourceAlgebra.lean, then lean TropicalBridge.lean with LEAN_PATH)" :state superseded :reason "its inputs changed in hyperpolymath/resource-algebra#53: the leg and the M-2 bridge now build under lake, so the input set gained scripts/check-lean-leg.sh, two lakefiles and two Lake manifests, and scripts/check-lean-bridge.sh changed. To be replaced by the first run on main of the legs under lake"))) - (claim :id "F-8" :pwg PWG-2i :foundation-diverse #f + (claim :id "S-3" :pwg ungraded :foundation-diverse #f (leg :prover agda :route source :token proven :state AGDA-VERIFIED ; the run reported: PASS: core proofs, unit tests and all 13 expected rejections (receipt :run "https://github.com/hyperpolymath/resource-algebra/actions/runs/44209774341/job/134484857967" :commit "15fa113c7427e2de009eade9148295d08c046b33" :checker "Agda version 2.6.4.3 (Debian trixie agda-bin=2.6.4.3-1+b2, container debian:trixie-slim, not pinned by digest)" :invocation "agda --safe --without-K --cubical-compatible --no-libraries --ignore-interfaces --double-check -W error -i src src/ResourceAlgebra/All.agda" - :inputs-sha256 "6d3250447bd3271db46ebac1e48005a6988baf87b6b923ecd3914fbe1b74ae9d" - :state current - (inputs-manifest - (file :path "src/ResourceAlgebra/All.agda" :sha256 "be7242276a1d594c6665633cab6747b176c265bfcb1f7cb752e001fa9c1c3d33") - (file :path "src/ResourceAlgebra/Core.agda" :sha256 "9b975043e9b597e1b807c857cd43ae73e96c58182c4de83e97b5d2e4c6ef2fde") - (file :path "src/ResourceAlgebra/Instances/Diamond.agda" :sha256 "0eebbbe722e453d8c1ced415925060560fc9513d34a5e934bafc00e23287e4ec") - (file :path "src/ResourceAlgebra/Instances/Evidence.agda" :sha256 "b69e3e050c636772977dc9244ae30dcc63d8f27ed61391a01553b3c851048ad5") - (file :path "src/ResourceAlgebra/Instances/HWM.agda" :sha256 "4806ba1adb9426e122c196aae99f3266236e9d0e5286c837072c810fbd48b7a2") - (file :path "src/ResourceAlgebra/Instances/Loss.agda" :sha256 "ef525820249861b529a155e6fcf34b4149638a14f332c46201794e4ad50a2ffc") - (file :path "src/ResourceAlgebra/Instances/MaxPlus.agda" :sha256 "557d1147095d4e57671e9c8d9fad3e1b3be9e9630304fd15837cc15f8742e399") - (file :path "src/ResourceAlgebra/Instances/MinMax.agda" :sha256 "a31eead6379daf18fee3481af6ba45c26bc553c54e4b26caccb9551f4593defe") - (file :path "src/ResourceAlgebra/Instances/Questions.agda" :sha256 "aaf1f6d1a1d5f58cc3916ef31df286be0d64c1a0ea59e989d28508ea518b846a") - (file :path "src/ResourceAlgebra/Ledger.agda" :sha256 "31b53104b420c37f3e9639d249bdce13920d440313536fcabc02f9ae8e4c46f3") - (file :path "src/ResourceAlgebra/Morphism.agda" :sha256 "56f53e414c481c0357de6e10cc3dfe3b288c4c37d1212a127f6fa7523677b4fa") - (file :path "src/ResourceAlgebra/Prelude.agda" :sha256 "ab911c0e1563b8594e10755ce81a57ed1963aaa1253940d14e93b17999bde720") - (file :path "src/ResourceAlgebra/Separation.agda" :sha256 "4404893286f1ef61bfa07ab3f7d4682f049a19a90597a2ddab9f96ff258a40d0")) - (axioms))) + :state superseded + :reason "its inputs changed when parallel composition and the loop grade were added (rows P-1 to P-4 and K-1 to K-4): the cone gained src/ResourceAlgebra/Parallel.agda, Star.agda and Instances/MaxPlusTop.agda, and three expected rejections were added. To be replaced by the first run on main that contains them")) (leg :prover rocq :route re-proved :token proven :state RECONCILED ; the run reported: RESULT: PASS -- gated modules compile; the Assumptions step then passed, which fails unless all 75 printed theorems are closed under the global context and rocqchk accepts the compiled file (receipt :run "https://github.com/hyperpolymath/resource-algebra/actions/runs/44209774341/job/134484858135" :commit "15fa113c7427e2de009eade9148295d08c046b33" :checker "Rocq 9.3.0, then rocqchk" :invocation "rocq compile ResourceAlgebra.v in verification/proofs/coq, then rocqchk" - :image "rocq/rocq-prover:9.3.0@sha256:97a68f230e785726c3bab4ba17e1d416fdd630de4af4548eb49b08712f29af93" - :inputs-sha256 "b52b1348c6cace05db2ac026d1137a1a3027b14ec84e9fb599259c3693c8b1b7" - :state current - (inputs-manifest - (file :path "verification/proofs/coq/ResourceAlgebra.v" :sha256 "4989d461674d9f3d36e65ded96613b5df45a6c851b0ec63f40cf05ffd760582e")) - (axioms))) + :state superseded + :reason "its input changed when parallel composition and the loop grade were added (rows P-1 to P-4 and K-1 to K-4): verification/proofs/coq/ResourceAlgebra.v gained their Rocq leg. To be replaced by the first run on main that contains them")) (leg :prover lean :route re-proved :token proven :state RECONCILED ; the run reported: RESULT: PASS -- gated modules compile; the Axioms step then passed, which fails unless all 84 printed theorems depend on no axiom; PASS: M-2 bridge to hyperpolymath/tropical-types@f2e465c966d14d4986dfc492875cc54653d9751e; 6 of 6 printed theorems depend on no axiom (receipt :run "https://github.com/hyperpolymath/resource-algebra/actions/runs/44209774341/job/134484858201" @@ -1136,42 +786,23 @@ :invocation "lean ResourceAlgebra.lean in verification/proofs/lean4, core only; then bash scripts/check-lean-bridge.sh (lean -o on TropicalSessionTypes.lean and ResourceAlgebra.lean, then lean TropicalBridge.lean with LEAN_PATH)" :state superseded :reason "its inputs changed in hyperpolymath/resource-algebra#53: the leg and the M-2 bridge now build under lake, so the input set gained scripts/check-lean-leg.sh, two lakefiles and two Lake manifests, and scripts/check-lean-bridge.sh changed. To be replaced by the first run on main of the legs under lake"))) - (claim :id "F-9" :pwg PWG-2i :foundation-diverse #f + (claim :id "S-4" :pwg ungraded :foundation-diverse #f (leg :prover agda :route source :token proven :state AGDA-VERIFIED ; the run reported: PASS: core proofs, unit tests and all 13 expected rejections (receipt :run "https://github.com/hyperpolymath/resource-algebra/actions/runs/44209774341/job/134484857967" :commit "15fa113c7427e2de009eade9148295d08c046b33" :checker "Agda version 2.6.4.3 (Debian trixie agda-bin=2.6.4.3-1+b2, container debian:trixie-slim, not pinned by digest)" :invocation "agda --safe --without-K --cubical-compatible --no-libraries --ignore-interfaces --double-check -W error -i src src/ResourceAlgebra/All.agda" - :inputs-sha256 "6d3250447bd3271db46ebac1e48005a6988baf87b6b923ecd3914fbe1b74ae9d" - :state current - (inputs-manifest - (file :path "src/ResourceAlgebra/All.agda" :sha256 "be7242276a1d594c6665633cab6747b176c265bfcb1f7cb752e001fa9c1c3d33") - (file :path "src/ResourceAlgebra/Core.agda" :sha256 "9b975043e9b597e1b807c857cd43ae73e96c58182c4de83e97b5d2e4c6ef2fde") - (file :path "src/ResourceAlgebra/Instances/Diamond.agda" :sha256 "0eebbbe722e453d8c1ced415925060560fc9513d34a5e934bafc00e23287e4ec") - (file :path "src/ResourceAlgebra/Instances/Evidence.agda" :sha256 "b69e3e050c636772977dc9244ae30dcc63d8f27ed61391a01553b3c851048ad5") - (file :path "src/ResourceAlgebra/Instances/HWM.agda" :sha256 "4806ba1adb9426e122c196aae99f3266236e9d0e5286c837072c810fbd48b7a2") - (file :path "src/ResourceAlgebra/Instances/Loss.agda" :sha256 "ef525820249861b529a155e6fcf34b4149638a14f332c46201794e4ad50a2ffc") - (file :path "src/ResourceAlgebra/Instances/MaxPlus.agda" :sha256 "557d1147095d4e57671e9c8d9fad3e1b3be9e9630304fd15837cc15f8742e399") - (file :path "src/ResourceAlgebra/Instances/MinMax.agda" :sha256 "a31eead6379daf18fee3481af6ba45c26bc553c54e4b26caccb9551f4593defe") - (file :path "src/ResourceAlgebra/Instances/Questions.agda" :sha256 "aaf1f6d1a1d5f58cc3916ef31df286be0d64c1a0ea59e989d28508ea518b846a") - (file :path "src/ResourceAlgebra/Ledger.agda" :sha256 "31b53104b420c37f3e9639d249bdce13920d440313536fcabc02f9ae8e4c46f3") - (file :path "src/ResourceAlgebra/Morphism.agda" :sha256 "56f53e414c481c0357de6e10cc3dfe3b288c4c37d1212a127f6fa7523677b4fa") - (file :path "src/ResourceAlgebra/Prelude.agda" :sha256 "ab911c0e1563b8594e10755ce81a57ed1963aaa1253940d14e93b17999bde720") - (file :path "src/ResourceAlgebra/Separation.agda" :sha256 "4404893286f1ef61bfa07ab3f7d4682f049a19a90597a2ddab9f96ff258a40d0")) - (axioms))) + :state superseded + :reason "its inputs changed when parallel composition and the loop grade were added (rows P-1 to P-4 and K-1 to K-4): the cone gained src/ResourceAlgebra/Parallel.agda, Star.agda and Instances/MaxPlusTop.agda, and three expected rejections were added. To be replaced by the first run on main that contains them")) (leg :prover rocq :route re-proved :token proven :state RECONCILED ; the run reported: RESULT: PASS -- gated modules compile; the Assumptions step then passed, which fails unless all 75 printed theorems are closed under the global context and rocqchk accepts the compiled file (receipt :run "https://github.com/hyperpolymath/resource-algebra/actions/runs/44209774341/job/134484858135" :commit "15fa113c7427e2de009eade9148295d08c046b33" :checker "Rocq 9.3.0, then rocqchk" :invocation "rocq compile ResourceAlgebra.v in verification/proofs/coq, then rocqchk" - :image "rocq/rocq-prover:9.3.0@sha256:97a68f230e785726c3bab4ba17e1d416fdd630de4af4548eb49b08712f29af93" - :inputs-sha256 "b52b1348c6cace05db2ac026d1137a1a3027b14ec84e9fb599259c3693c8b1b7" - :state current - (inputs-manifest - (file :path "verification/proofs/coq/ResourceAlgebra.v" :sha256 "4989d461674d9f3d36e65ded96613b5df45a6c851b0ec63f40cf05ffd760582e")) - (axioms))) + :state superseded + :reason "its input changed when parallel composition and the loop grade were added (rows P-1 to P-4 and K-1 to K-4): verification/proofs/coq/ResourceAlgebra.v gained their Rocq leg. To be replaced by the first run on main that contains them")) (leg :prover lean :route re-proved :token proven :state RECONCILED ; the run reported: RESULT: PASS -- gated modules compile; the Axioms step then passed, which fails unless all 84 printed theorems depend on no axiom; PASS: M-2 bridge to hyperpolymath/tropical-types@f2e465c966d14d4986dfc492875cc54653d9751e; 6 of 6 printed theorems depend on no axiom (receipt :run "https://github.com/hyperpolymath/resource-algebra/actions/runs/44209774341/job/134484858201" @@ -1180,42 +811,23 @@ :invocation "lean ResourceAlgebra.lean in verification/proofs/lean4, core only; then bash scripts/check-lean-bridge.sh (lean -o on TropicalSessionTypes.lean and ResourceAlgebra.lean, then lean TropicalBridge.lean with LEAN_PATH)" :state superseded :reason "its inputs changed in hyperpolymath/resource-algebra#53: the leg and the M-2 bridge now build under lake, so the input set gained scripts/check-lean-leg.sh, two lakefiles and two Lake manifests, and scripts/check-lean-bridge.sh changed. To be replaced by the first run on main of the legs under lake"))) - (claim :id "F-10" :pwg PWG-2i :foundation-diverse #f + (claim :id "P-1" :pwg ungraded :foundation-diverse #f (leg :prover agda :route source :token proven :state AGDA-VERIFIED ; the run reported: PASS: core proofs, unit tests and all 13 expected rejections (receipt :run "https://github.com/hyperpolymath/resource-algebra/actions/runs/44209774341/job/134484857967" :commit "15fa113c7427e2de009eade9148295d08c046b33" :checker "Agda version 2.6.4.3 (Debian trixie agda-bin=2.6.4.3-1+b2, container debian:trixie-slim, not pinned by digest)" :invocation "agda --safe --without-K --cubical-compatible --no-libraries --ignore-interfaces --double-check -W error -i src src/ResourceAlgebra/All.agda" - :inputs-sha256 "6d3250447bd3271db46ebac1e48005a6988baf87b6b923ecd3914fbe1b74ae9d" - :state current - (inputs-manifest - (file :path "src/ResourceAlgebra/All.agda" :sha256 "be7242276a1d594c6665633cab6747b176c265bfcb1f7cb752e001fa9c1c3d33") - (file :path "src/ResourceAlgebra/Core.agda" :sha256 "9b975043e9b597e1b807c857cd43ae73e96c58182c4de83e97b5d2e4c6ef2fde") - (file :path "src/ResourceAlgebra/Instances/Diamond.agda" :sha256 "0eebbbe722e453d8c1ced415925060560fc9513d34a5e934bafc00e23287e4ec") - (file :path "src/ResourceAlgebra/Instances/Evidence.agda" :sha256 "b69e3e050c636772977dc9244ae30dcc63d8f27ed61391a01553b3c851048ad5") - (file :path "src/ResourceAlgebra/Instances/HWM.agda" :sha256 "4806ba1adb9426e122c196aae99f3266236e9d0e5286c837072c810fbd48b7a2") - (file :path "src/ResourceAlgebra/Instances/Loss.agda" :sha256 "ef525820249861b529a155e6fcf34b4149638a14f332c46201794e4ad50a2ffc") - (file :path "src/ResourceAlgebra/Instances/MaxPlus.agda" :sha256 "557d1147095d4e57671e9c8d9fad3e1b3be9e9630304fd15837cc15f8742e399") - (file :path "src/ResourceAlgebra/Instances/MinMax.agda" :sha256 "a31eead6379daf18fee3481af6ba45c26bc553c54e4b26caccb9551f4593defe") - (file :path "src/ResourceAlgebra/Instances/Questions.agda" :sha256 "aaf1f6d1a1d5f58cc3916ef31df286be0d64c1a0ea59e989d28508ea518b846a") - (file :path "src/ResourceAlgebra/Ledger.agda" :sha256 "31b53104b420c37f3e9639d249bdce13920d440313536fcabc02f9ae8e4c46f3") - (file :path "src/ResourceAlgebra/Morphism.agda" :sha256 "56f53e414c481c0357de6e10cc3dfe3b288c4c37d1212a127f6fa7523677b4fa") - (file :path "src/ResourceAlgebra/Prelude.agda" :sha256 "ab911c0e1563b8594e10755ce81a57ed1963aaa1253940d14e93b17999bde720") - (file :path "src/ResourceAlgebra/Separation.agda" :sha256 "4404893286f1ef61bfa07ab3f7d4682f049a19a90597a2ddab9f96ff258a40d0")) - (axioms))) + :state superseded + :reason "its inputs changed when parallel composition and the loop grade were added (rows P-1 to P-4 and K-1 to K-4): the cone gained src/ResourceAlgebra/Parallel.agda, Star.agda and Instances/MaxPlusTop.agda, and three expected rejections were added. To be replaced by the first run on main that contains them")) (leg :prover rocq :route re-proved :token proven :state RECONCILED ; the run reported: RESULT: PASS -- gated modules compile; the Assumptions step then passed, which fails unless all 75 printed theorems are closed under the global context and rocqchk accepts the compiled file (receipt :run "https://github.com/hyperpolymath/resource-algebra/actions/runs/44209774341/job/134484858135" :commit "15fa113c7427e2de009eade9148295d08c046b33" :checker "Rocq 9.3.0, then rocqchk" :invocation "rocq compile ResourceAlgebra.v in verification/proofs/coq, then rocqchk" - :image "rocq/rocq-prover:9.3.0@sha256:97a68f230e785726c3bab4ba17e1d416fdd630de4af4548eb49b08712f29af93" - :inputs-sha256 "b52b1348c6cace05db2ac026d1137a1a3027b14ec84e9fb599259c3693c8b1b7" - :state current - (inputs-manifest - (file :path "verification/proofs/coq/ResourceAlgebra.v" :sha256 "4989d461674d9f3d36e65ded96613b5df45a6c851b0ec63f40cf05ffd760582e")) - (axioms))) + :state superseded + :reason "its input changed when parallel composition and the loop grade were added (rows P-1 to P-4 and K-1 to K-4): verification/proofs/coq/ResourceAlgebra.v gained their Rocq leg. To be replaced by the first run on main that contains them")) (leg :prover lean :route re-proved :token proven :state RECONCILED ; the run reported: RESULT: PASS -- gated modules compile; the Axioms step then passed, which fails unless all 84 printed theorems depend on no axiom; PASS: M-2 bridge to hyperpolymath/tropical-types@f2e465c966d14d4986dfc492875cc54653d9751e; 6 of 6 printed theorems depend on no axiom (receipt :run "https://github.com/hyperpolymath/resource-algebra/actions/runs/44209774341/job/134484858201" @@ -1224,42 +836,23 @@ :invocation "lean ResourceAlgebra.lean in verification/proofs/lean4, core only; then bash scripts/check-lean-bridge.sh (lean -o on TropicalSessionTypes.lean and ResourceAlgebra.lean, then lean TropicalBridge.lean with LEAN_PATH)" :state superseded :reason "its inputs changed in hyperpolymath/resource-algebra#53: the leg and the M-2 bridge now build under lake, so the input set gained scripts/check-lean-leg.sh, two lakefiles and two Lake manifests, and scripts/check-lean-bridge.sh changed. To be replaced by the first run on main of the legs under lake"))) - (claim :id "S-1" :pwg PWG-2i :foundation-diverse #f + (claim :id "P-2" :pwg ungraded :foundation-diverse #f (leg :prover agda :route source :token proven :state AGDA-VERIFIED ; the run reported: PASS: core proofs, unit tests and all 13 expected rejections (receipt :run "https://github.com/hyperpolymath/resource-algebra/actions/runs/44209774341/job/134484857967" :commit "15fa113c7427e2de009eade9148295d08c046b33" :checker "Agda version 2.6.4.3 (Debian trixie agda-bin=2.6.4.3-1+b2, container debian:trixie-slim, not pinned by digest)" :invocation "agda --safe --without-K --cubical-compatible --no-libraries --ignore-interfaces --double-check -W error -i src src/ResourceAlgebra/All.agda" - :inputs-sha256 "6d3250447bd3271db46ebac1e48005a6988baf87b6b923ecd3914fbe1b74ae9d" - :state current - (inputs-manifest - (file :path "src/ResourceAlgebra/All.agda" :sha256 "be7242276a1d594c6665633cab6747b176c265bfcb1f7cb752e001fa9c1c3d33") - (file :path "src/ResourceAlgebra/Core.agda" :sha256 "9b975043e9b597e1b807c857cd43ae73e96c58182c4de83e97b5d2e4c6ef2fde") - (file :path "src/ResourceAlgebra/Instances/Diamond.agda" :sha256 "0eebbbe722e453d8c1ced415925060560fc9513d34a5e934bafc00e23287e4ec") - (file :path "src/ResourceAlgebra/Instances/Evidence.agda" :sha256 "b69e3e050c636772977dc9244ae30dcc63d8f27ed61391a01553b3c851048ad5") - (file :path "src/ResourceAlgebra/Instances/HWM.agda" :sha256 "4806ba1adb9426e122c196aae99f3266236e9d0e5286c837072c810fbd48b7a2") - (file :path "src/ResourceAlgebra/Instances/Loss.agda" :sha256 "ef525820249861b529a155e6fcf34b4149638a14f332c46201794e4ad50a2ffc") - (file :path "src/ResourceAlgebra/Instances/MaxPlus.agda" :sha256 "557d1147095d4e57671e9c8d9fad3e1b3be9e9630304fd15837cc15f8742e399") - (file :path "src/ResourceAlgebra/Instances/MinMax.agda" :sha256 "a31eead6379daf18fee3481af6ba45c26bc553c54e4b26caccb9551f4593defe") - (file :path "src/ResourceAlgebra/Instances/Questions.agda" :sha256 "aaf1f6d1a1d5f58cc3916ef31df286be0d64c1a0ea59e989d28508ea518b846a") - (file :path "src/ResourceAlgebra/Ledger.agda" :sha256 "31b53104b420c37f3e9639d249bdce13920d440313536fcabc02f9ae8e4c46f3") - (file :path "src/ResourceAlgebra/Morphism.agda" :sha256 "56f53e414c481c0357de6e10cc3dfe3b288c4c37d1212a127f6fa7523677b4fa") - (file :path "src/ResourceAlgebra/Prelude.agda" :sha256 "ab911c0e1563b8594e10755ce81a57ed1963aaa1253940d14e93b17999bde720") - (file :path "src/ResourceAlgebra/Separation.agda" :sha256 "4404893286f1ef61bfa07ab3f7d4682f049a19a90597a2ddab9f96ff258a40d0")) - (axioms))) + :state superseded + :reason "its inputs changed when parallel composition and the loop grade were added (rows P-1 to P-4 and K-1 to K-4): the cone gained src/ResourceAlgebra/Parallel.agda, Star.agda and Instances/MaxPlusTop.agda, and three expected rejections were added. To be replaced by the first run on main that contains them")) (leg :prover rocq :route re-proved :token proven :state RECONCILED ; the run reported: RESULT: PASS -- gated modules compile; the Assumptions step then passed, which fails unless all 75 printed theorems are closed under the global context and rocqchk accepts the compiled file (receipt :run "https://github.com/hyperpolymath/resource-algebra/actions/runs/44209774341/job/134484858135" :commit "15fa113c7427e2de009eade9148295d08c046b33" :checker "Rocq 9.3.0, then rocqchk" :invocation "rocq compile ResourceAlgebra.v in verification/proofs/coq, then rocqchk" - :image "rocq/rocq-prover:9.3.0@sha256:97a68f230e785726c3bab4ba17e1d416fdd630de4af4548eb49b08712f29af93" - :inputs-sha256 "b52b1348c6cace05db2ac026d1137a1a3027b14ec84e9fb599259c3693c8b1b7" - :state current - (inputs-manifest - (file :path "verification/proofs/coq/ResourceAlgebra.v" :sha256 "4989d461674d9f3d36e65ded96613b5df45a6c851b0ec63f40cf05ffd760582e")) - (axioms))) + :state superseded + :reason "its input changed when parallel composition and the loop grade were added (rows P-1 to P-4 and K-1 to K-4): verification/proofs/coq/ResourceAlgebra.v gained their Rocq leg. To be replaced by the first run on main that contains them")) (leg :prover lean :route re-proved :token proven :state RECONCILED ; the run reported: RESULT: PASS -- gated modules compile; the Axioms step then passed, which fails unless all 84 printed theorems depend on no axiom; PASS: M-2 bridge to hyperpolymath/tropical-types@f2e465c966d14d4986dfc492875cc54653d9751e; 6 of 6 printed theorems depend on no axiom (receipt :run "https://github.com/hyperpolymath/resource-algebra/actions/runs/44209774341/job/134484858201" @@ -1268,42 +861,23 @@ :invocation "lean ResourceAlgebra.lean in verification/proofs/lean4, core only; then bash scripts/check-lean-bridge.sh (lean -o on TropicalSessionTypes.lean and ResourceAlgebra.lean, then lean TropicalBridge.lean with LEAN_PATH)" :state superseded :reason "its inputs changed in hyperpolymath/resource-algebra#53: the leg and the M-2 bridge now build under lake, so the input set gained scripts/check-lean-leg.sh, two lakefiles and two Lake manifests, and scripts/check-lean-bridge.sh changed. To be replaced by the first run on main of the legs under lake"))) - (claim :id "S-2" :pwg PWG-2i :foundation-diverse #f + (claim :id "P-3" :pwg ungraded :foundation-diverse #f (leg :prover agda :route source :token proven :state AGDA-VERIFIED ; the run reported: PASS: core proofs, unit tests and all 13 expected rejections (receipt :run "https://github.com/hyperpolymath/resource-algebra/actions/runs/44209774341/job/134484857967" :commit "15fa113c7427e2de009eade9148295d08c046b33" :checker "Agda version 2.6.4.3 (Debian trixie agda-bin=2.6.4.3-1+b2, container debian:trixie-slim, not pinned by digest)" :invocation "agda --safe --without-K --cubical-compatible --no-libraries --ignore-interfaces --double-check -W error -i src src/ResourceAlgebra/All.agda" - :inputs-sha256 "6d3250447bd3271db46ebac1e48005a6988baf87b6b923ecd3914fbe1b74ae9d" - :state current - (inputs-manifest - (file :path "src/ResourceAlgebra/All.agda" :sha256 "be7242276a1d594c6665633cab6747b176c265bfcb1f7cb752e001fa9c1c3d33") - (file :path "src/ResourceAlgebra/Core.agda" :sha256 "9b975043e9b597e1b807c857cd43ae73e96c58182c4de83e97b5d2e4c6ef2fde") - (file :path "src/ResourceAlgebra/Instances/Diamond.agda" :sha256 "0eebbbe722e453d8c1ced415925060560fc9513d34a5e934bafc00e23287e4ec") - (file :path "src/ResourceAlgebra/Instances/Evidence.agda" :sha256 "b69e3e050c636772977dc9244ae30dcc63d8f27ed61391a01553b3c851048ad5") - (file :path "src/ResourceAlgebra/Instances/HWM.agda" :sha256 "4806ba1adb9426e122c196aae99f3266236e9d0e5286c837072c810fbd48b7a2") - (file :path "src/ResourceAlgebra/Instances/Loss.agda" :sha256 "ef525820249861b529a155e6fcf34b4149638a14f332c46201794e4ad50a2ffc") - (file :path "src/ResourceAlgebra/Instances/MaxPlus.agda" :sha256 "557d1147095d4e57671e9c8d9fad3e1b3be9e9630304fd15837cc15f8742e399") - (file :path "src/ResourceAlgebra/Instances/MinMax.agda" :sha256 "a31eead6379daf18fee3481af6ba45c26bc553c54e4b26caccb9551f4593defe") - (file :path "src/ResourceAlgebra/Instances/Questions.agda" :sha256 "aaf1f6d1a1d5f58cc3916ef31df286be0d64c1a0ea59e989d28508ea518b846a") - (file :path "src/ResourceAlgebra/Ledger.agda" :sha256 "31b53104b420c37f3e9639d249bdce13920d440313536fcabc02f9ae8e4c46f3") - (file :path "src/ResourceAlgebra/Morphism.agda" :sha256 "56f53e414c481c0357de6e10cc3dfe3b288c4c37d1212a127f6fa7523677b4fa") - (file :path "src/ResourceAlgebra/Prelude.agda" :sha256 "ab911c0e1563b8594e10755ce81a57ed1963aaa1253940d14e93b17999bde720") - (file :path "src/ResourceAlgebra/Separation.agda" :sha256 "4404893286f1ef61bfa07ab3f7d4682f049a19a90597a2ddab9f96ff258a40d0")) - (axioms))) + :state superseded + :reason "its inputs changed when parallel composition and the loop grade were added (rows P-1 to P-4 and K-1 to K-4): the cone gained src/ResourceAlgebra/Parallel.agda, Star.agda and Instances/MaxPlusTop.agda, and three expected rejections were added. To be replaced by the first run on main that contains them")) (leg :prover rocq :route re-proved :token proven :state RECONCILED ; the run reported: RESULT: PASS -- gated modules compile; the Assumptions step then passed, which fails unless all 75 printed theorems are closed under the global context and rocqchk accepts the compiled file (receipt :run "https://github.com/hyperpolymath/resource-algebra/actions/runs/44209774341/job/134484858135" :commit "15fa113c7427e2de009eade9148295d08c046b33" :checker "Rocq 9.3.0, then rocqchk" :invocation "rocq compile ResourceAlgebra.v in verification/proofs/coq, then rocqchk" - :image "rocq/rocq-prover:9.3.0@sha256:97a68f230e785726c3bab4ba17e1d416fdd630de4af4548eb49b08712f29af93" - :inputs-sha256 "b52b1348c6cace05db2ac026d1137a1a3027b14ec84e9fb599259c3693c8b1b7" - :state current - (inputs-manifest - (file :path "verification/proofs/coq/ResourceAlgebra.v" :sha256 "4989d461674d9f3d36e65ded96613b5df45a6c851b0ec63f40cf05ffd760582e")) - (axioms))) + :state superseded + :reason "its input changed when parallel composition and the loop grade were added (rows P-1 to P-4 and K-1 to K-4): verification/proofs/coq/ResourceAlgebra.v gained their Rocq leg. To be replaced by the first run on main that contains them")) (leg :prover lean :route re-proved :token proven :state RECONCILED ; the run reported: RESULT: PASS -- gated modules compile; the Axioms step then passed, which fails unless all 84 printed theorems depend on no axiom; PASS: M-2 bridge to hyperpolymath/tropical-types@f2e465c966d14d4986dfc492875cc54653d9751e; 6 of 6 printed theorems depend on no axiom (receipt :run "https://github.com/hyperpolymath/resource-algebra/actions/runs/44209774341/job/134484858201" @@ -1312,42 +886,23 @@ :invocation "lean ResourceAlgebra.lean in verification/proofs/lean4, core only; then bash scripts/check-lean-bridge.sh (lean -o on TropicalSessionTypes.lean and ResourceAlgebra.lean, then lean TropicalBridge.lean with LEAN_PATH)" :state superseded :reason "its inputs changed in hyperpolymath/resource-algebra#53: the leg and the M-2 bridge now build under lake, so the input set gained scripts/check-lean-leg.sh, two lakefiles and two Lake manifests, and scripts/check-lean-bridge.sh changed. To be replaced by the first run on main of the legs under lake"))) - (claim :id "S-3" :pwg PWG-2i :foundation-diverse #f + (claim :id "P-4" :pwg ungraded :foundation-diverse #f (leg :prover agda :route source :token proven :state AGDA-VERIFIED ; the run reported: PASS: core proofs, unit tests and all 13 expected rejections (receipt :run "https://github.com/hyperpolymath/resource-algebra/actions/runs/44209774341/job/134484857967" :commit "15fa113c7427e2de009eade9148295d08c046b33" :checker "Agda version 2.6.4.3 (Debian trixie agda-bin=2.6.4.3-1+b2, container debian:trixie-slim, not pinned by digest)" :invocation "agda --safe --without-K --cubical-compatible --no-libraries --ignore-interfaces --double-check -W error -i src src/ResourceAlgebra/All.agda" - :inputs-sha256 "6d3250447bd3271db46ebac1e48005a6988baf87b6b923ecd3914fbe1b74ae9d" - :state current - (inputs-manifest - (file :path "src/ResourceAlgebra/All.agda" :sha256 "be7242276a1d594c6665633cab6747b176c265bfcb1f7cb752e001fa9c1c3d33") - (file :path "src/ResourceAlgebra/Core.agda" :sha256 "9b975043e9b597e1b807c857cd43ae73e96c58182c4de83e97b5d2e4c6ef2fde") - (file :path "src/ResourceAlgebra/Instances/Diamond.agda" :sha256 "0eebbbe722e453d8c1ced415925060560fc9513d34a5e934bafc00e23287e4ec") - (file :path "src/ResourceAlgebra/Instances/Evidence.agda" :sha256 "b69e3e050c636772977dc9244ae30dcc63d8f27ed61391a01553b3c851048ad5") - (file :path "src/ResourceAlgebra/Instances/HWM.agda" :sha256 "4806ba1adb9426e122c196aae99f3266236e9d0e5286c837072c810fbd48b7a2") - (file :path "src/ResourceAlgebra/Instances/Loss.agda" :sha256 "ef525820249861b529a155e6fcf34b4149638a14f332c46201794e4ad50a2ffc") - (file :path "src/ResourceAlgebra/Instances/MaxPlus.agda" :sha256 "557d1147095d4e57671e9c8d9fad3e1b3be9e9630304fd15837cc15f8742e399") - (file :path "src/ResourceAlgebra/Instances/MinMax.agda" :sha256 "a31eead6379daf18fee3481af6ba45c26bc553c54e4b26caccb9551f4593defe") - (file :path "src/ResourceAlgebra/Instances/Questions.agda" :sha256 "aaf1f6d1a1d5f58cc3916ef31df286be0d64c1a0ea59e989d28508ea518b846a") - (file :path "src/ResourceAlgebra/Ledger.agda" :sha256 "31b53104b420c37f3e9639d249bdce13920d440313536fcabc02f9ae8e4c46f3") - (file :path "src/ResourceAlgebra/Morphism.agda" :sha256 "56f53e414c481c0357de6e10cc3dfe3b288c4c37d1212a127f6fa7523677b4fa") - (file :path "src/ResourceAlgebra/Prelude.agda" :sha256 "ab911c0e1563b8594e10755ce81a57ed1963aaa1253940d14e93b17999bde720") - (file :path "src/ResourceAlgebra/Separation.agda" :sha256 "4404893286f1ef61bfa07ab3f7d4682f049a19a90597a2ddab9f96ff258a40d0")) - (axioms))) + :state superseded + :reason "its inputs changed when parallel composition and the loop grade were added (rows P-1 to P-4 and K-1 to K-4): the cone gained src/ResourceAlgebra/Parallel.agda, Star.agda and Instances/MaxPlusTop.agda, and three expected rejections were added. To be replaced by the first run on main that contains them")) (leg :prover rocq :route re-proved :token proven :state RECONCILED ; the run reported: RESULT: PASS -- gated modules compile; the Assumptions step then passed, which fails unless all 75 printed theorems are closed under the global context and rocqchk accepts the compiled file (receipt :run "https://github.com/hyperpolymath/resource-algebra/actions/runs/44209774341/job/134484858135" :commit "15fa113c7427e2de009eade9148295d08c046b33" :checker "Rocq 9.3.0, then rocqchk" :invocation "rocq compile ResourceAlgebra.v in verification/proofs/coq, then rocqchk" - :image "rocq/rocq-prover:9.3.0@sha256:97a68f230e785726c3bab4ba17e1d416fdd630de4af4548eb49b08712f29af93" - :inputs-sha256 "b52b1348c6cace05db2ac026d1137a1a3027b14ec84e9fb599259c3693c8b1b7" - :state current - (inputs-manifest - (file :path "verification/proofs/coq/ResourceAlgebra.v" :sha256 "4989d461674d9f3d36e65ded96613b5df45a6c851b0ec63f40cf05ffd760582e")) - (axioms))) + :state superseded + :reason "its input changed when parallel composition and the loop grade were added (rows P-1 to P-4 and K-1 to K-4): verification/proofs/coq/ResourceAlgebra.v gained their Rocq leg. To be replaced by the first run on main that contains them")) (leg :prover lean :route re-proved :token proven :state RECONCILED ; the run reported: RESULT: PASS -- gated modules compile; the Axioms step then passed, which fails unless all 84 printed theorems depend on no axiom; PASS: M-2 bridge to hyperpolymath/tropical-types@f2e465c966d14d4986dfc492875cc54653d9751e; 6 of 6 printed theorems depend on no axiom (receipt :run "https://github.com/hyperpolymath/resource-algebra/actions/runs/44209774341/job/134484858201" @@ -1356,42 +911,98 @@ :invocation "lean ResourceAlgebra.lean in verification/proofs/lean4, core only; then bash scripts/check-lean-bridge.sh (lean -o on TropicalSessionTypes.lean and ResourceAlgebra.lean, then lean TropicalBridge.lean with LEAN_PATH)" :state superseded :reason "its inputs changed in hyperpolymath/resource-algebra#53: the leg and the M-2 bridge now build under lake, so the input set gained scripts/check-lean-leg.sh, two lakefiles and two Lake manifests, and scripts/check-lean-bridge.sh changed. To be replaced by the first run on main of the legs under lake"))) - (claim :id "S-4" :pwg PWG-2i :foundation-diverse #f + (claim :id "K-1" :pwg ungraded :foundation-diverse #f (leg :prover agda :route source :token proven :state AGDA-VERIFIED ; the run reported: PASS: core proofs, unit tests and all 13 expected rejections (receipt :run "https://github.com/hyperpolymath/resource-algebra/actions/runs/44209774341/job/134484857967" :commit "15fa113c7427e2de009eade9148295d08c046b33" :checker "Agda version 2.6.4.3 (Debian trixie agda-bin=2.6.4.3-1+b2, container debian:trixie-slim, not pinned by digest)" :invocation "agda --safe --without-K --cubical-compatible --no-libraries --ignore-interfaces --double-check -W error -i src src/ResourceAlgebra/All.agda" - :inputs-sha256 "6d3250447bd3271db46ebac1e48005a6988baf87b6b923ecd3914fbe1b74ae9d" - :state current - (inputs-manifest - (file :path "src/ResourceAlgebra/All.agda" :sha256 "be7242276a1d594c6665633cab6747b176c265bfcb1f7cb752e001fa9c1c3d33") - (file :path "src/ResourceAlgebra/Core.agda" :sha256 "9b975043e9b597e1b807c857cd43ae73e96c58182c4de83e97b5d2e4c6ef2fde") - (file :path "src/ResourceAlgebra/Instances/Diamond.agda" :sha256 "0eebbbe722e453d8c1ced415925060560fc9513d34a5e934bafc00e23287e4ec") - (file :path "src/ResourceAlgebra/Instances/Evidence.agda" :sha256 "b69e3e050c636772977dc9244ae30dcc63d8f27ed61391a01553b3c851048ad5") - (file :path "src/ResourceAlgebra/Instances/HWM.agda" :sha256 "4806ba1adb9426e122c196aae99f3266236e9d0e5286c837072c810fbd48b7a2") - (file :path "src/ResourceAlgebra/Instances/Loss.agda" :sha256 "ef525820249861b529a155e6fcf34b4149638a14f332c46201794e4ad50a2ffc") - (file :path "src/ResourceAlgebra/Instances/MaxPlus.agda" :sha256 "557d1147095d4e57671e9c8d9fad3e1b3be9e9630304fd15837cc15f8742e399") - (file :path "src/ResourceAlgebra/Instances/MinMax.agda" :sha256 "a31eead6379daf18fee3481af6ba45c26bc553c54e4b26caccb9551f4593defe") - (file :path "src/ResourceAlgebra/Instances/Questions.agda" :sha256 "aaf1f6d1a1d5f58cc3916ef31df286be0d64c1a0ea59e989d28508ea518b846a") - (file :path "src/ResourceAlgebra/Ledger.agda" :sha256 "31b53104b420c37f3e9639d249bdce13920d440313536fcabc02f9ae8e4c46f3") - (file :path "src/ResourceAlgebra/Morphism.agda" :sha256 "56f53e414c481c0357de6e10cc3dfe3b288c4c37d1212a127f6fa7523677b4fa") - (file :path "src/ResourceAlgebra/Prelude.agda" :sha256 "ab911c0e1563b8594e10755ce81a57ed1963aaa1253940d14e93b17999bde720") - (file :path "src/ResourceAlgebra/Separation.agda" :sha256 "4404893286f1ef61bfa07ab3f7d4682f049a19a90597a2ddab9f96ff258a40d0")) - (axioms))) + :state superseded + :reason "its inputs changed when parallel composition and the loop grade were added (rows P-1 to P-4 and K-1 to K-4): the cone gained src/ResourceAlgebra/Parallel.agda, Star.agda and Instances/MaxPlusTop.agda, and three expected rejections were added. To be replaced by the first run on main that contains them")) (leg :prover rocq :route re-proved :token proven :state RECONCILED ; the run reported: RESULT: PASS -- gated modules compile; the Assumptions step then passed, which fails unless all 75 printed theorems are closed under the global context and rocqchk accepts the compiled file (receipt :run "https://github.com/hyperpolymath/resource-algebra/actions/runs/44209774341/job/134484858135" :commit "15fa113c7427e2de009eade9148295d08c046b33" :checker "Rocq 9.3.0, then rocqchk" :invocation "rocq compile ResourceAlgebra.v in verification/proofs/coq, then rocqchk" - :image "rocq/rocq-prover:9.3.0@sha256:97a68f230e785726c3bab4ba17e1d416fdd630de4af4548eb49b08712f29af93" - :inputs-sha256 "b52b1348c6cace05db2ac026d1137a1a3027b14ec84e9fb599259c3693c8b1b7" - :state current - (inputs-manifest - (file :path "verification/proofs/coq/ResourceAlgebra.v" :sha256 "4989d461674d9f3d36e65ded96613b5df45a6c851b0ec63f40cf05ffd760582e")) - (axioms))) + :state superseded + :reason "its input changed when parallel composition and the loop grade were added (rows P-1 to P-4 and K-1 to K-4): verification/proofs/coq/ResourceAlgebra.v gained their Rocq leg. To be replaced by the first run on main that contains them")) + (leg :prover lean :route re-proved :token proven :state RECONCILED + ; the run reported: RESULT: PASS -- gated modules compile; the Axioms step then passed, which fails unless all 84 printed theorems depend on no axiom; PASS: M-2 bridge to hyperpolymath/tropical-types@f2e465c966d14d4986dfc492875cc54653d9751e; 6 of 6 printed theorems depend on no axiom + (receipt :run "https://github.com/hyperpolymath/resource-algebra/actions/runs/44209774341/job/134484858201" + :commit "15fa113c7427e2de009eade9148295d08c046b33" + :checker "Lean 4.35.0 (release archive, sha256 7289597a44543246c9227b8cae501767e095ce17f6d448b95fc4a8dc97268f6d, on the hosted runner, no image)" + :invocation "lean ResourceAlgebra.lean in verification/proofs/lean4, core only; then bash scripts/check-lean-bridge.sh (lean -o on TropicalSessionTypes.lean and ResourceAlgebra.lean, then lean TropicalBridge.lean with LEAN_PATH)" + :state superseded + :reason "its inputs changed in hyperpolymath/resource-algebra#53: the leg and the M-2 bridge now build under lake, so the input set gained scripts/check-lean-leg.sh, two lakefiles and two Lake manifests, and scripts/check-lean-bridge.sh changed. To be replaced by the first run on main of the legs under lake"))) + (claim :id "K-2" :pwg ungraded :foundation-diverse #f + (leg :prover agda :route source :token proven :state AGDA-VERIFIED + ; the run reported: PASS: core proofs, unit tests and all 13 expected rejections + (receipt :run "https://github.com/hyperpolymath/resource-algebra/actions/runs/44209774341/job/134484857967" + :commit "15fa113c7427e2de009eade9148295d08c046b33" + :checker "Agda version 2.6.4.3 (Debian trixie agda-bin=2.6.4.3-1+b2, container debian:trixie-slim, not pinned by digest)" + :invocation "agda --safe --without-K --cubical-compatible --no-libraries --ignore-interfaces --double-check -W error -i src src/ResourceAlgebra/All.agda" + :state superseded + :reason "its inputs changed when parallel composition and the loop grade were added (rows P-1 to P-4 and K-1 to K-4): the cone gained src/ResourceAlgebra/Parallel.agda, Star.agda and Instances/MaxPlusTop.agda, and three expected rejections were added. To be replaced by the first run on main that contains them")) + (leg :prover rocq :route re-proved :token proven :state RECONCILED + ; the run reported: RESULT: PASS -- gated modules compile; the Assumptions step then passed, which fails unless all 75 printed theorems are closed under the global context and rocqchk accepts the compiled file + (receipt :run "https://github.com/hyperpolymath/resource-algebra/actions/runs/44209774341/job/134484858135" + :commit "15fa113c7427e2de009eade9148295d08c046b33" + :checker "Rocq 9.3.0, then rocqchk" + :invocation "rocq compile ResourceAlgebra.v in verification/proofs/coq, then rocqchk" + :state superseded + :reason "its input changed when parallel composition and the loop grade were added (rows P-1 to P-4 and K-1 to K-4): verification/proofs/coq/ResourceAlgebra.v gained their Rocq leg. To be replaced by the first run on main that contains them")) + (leg :prover lean :route re-proved :token proven :state RECONCILED + ; the run reported: RESULT: PASS -- gated modules compile; the Axioms step then passed, which fails unless all 84 printed theorems depend on no axiom; PASS: M-2 bridge to hyperpolymath/tropical-types@f2e465c966d14d4986dfc492875cc54653d9751e; 6 of 6 printed theorems depend on no axiom + (receipt :run "https://github.com/hyperpolymath/resource-algebra/actions/runs/44209774341/job/134484858201" + :commit "15fa113c7427e2de009eade9148295d08c046b33" + :checker "Lean 4.35.0 (release archive, sha256 7289597a44543246c9227b8cae501767e095ce17f6d448b95fc4a8dc97268f6d, on the hosted runner, no image)" + :invocation "lean ResourceAlgebra.lean in verification/proofs/lean4, core only; then bash scripts/check-lean-bridge.sh (lean -o on TropicalSessionTypes.lean and ResourceAlgebra.lean, then lean TropicalBridge.lean with LEAN_PATH)" + :state superseded + :reason "its inputs changed in hyperpolymath/resource-algebra#53: the leg and the M-2 bridge now build under lake, so the input set gained scripts/check-lean-leg.sh, two lakefiles and two Lake manifests, and scripts/check-lean-bridge.sh changed. To be replaced by the first run on main of the legs under lake"))) + (claim :id "K-3" :pwg ungraded :foundation-diverse #f + (leg :prover agda :route source :token proven :state AGDA-VERIFIED + ; the run reported: PASS: core proofs, unit tests and all 13 expected rejections + (receipt :run "https://github.com/hyperpolymath/resource-algebra/actions/runs/44209774341/job/134484857967" + :commit "15fa113c7427e2de009eade9148295d08c046b33" + :checker "Agda version 2.6.4.3 (Debian trixie agda-bin=2.6.4.3-1+b2, container debian:trixie-slim, not pinned by digest)" + :invocation "agda --safe --without-K --cubical-compatible --no-libraries --ignore-interfaces --double-check -W error -i src src/ResourceAlgebra/All.agda" + :state superseded + :reason "its inputs changed when parallel composition and the loop grade were added (rows P-1 to P-4 and K-1 to K-4): the cone gained src/ResourceAlgebra/Parallel.agda, Star.agda and Instances/MaxPlusTop.agda, and three expected rejections were added. To be replaced by the first run on main that contains them")) + (leg :prover rocq :route re-proved :token proven :state RECONCILED + ; the run reported: RESULT: PASS -- gated modules compile; the Assumptions step then passed, which fails unless all 75 printed theorems are closed under the global context and rocqchk accepts the compiled file + (receipt :run "https://github.com/hyperpolymath/resource-algebra/actions/runs/44209774341/job/134484858135" + :commit "15fa113c7427e2de009eade9148295d08c046b33" + :checker "Rocq 9.3.0, then rocqchk" + :invocation "rocq compile ResourceAlgebra.v in verification/proofs/coq, then rocqchk" + :state superseded + :reason "its input changed when parallel composition and the loop grade were added (rows P-1 to P-4 and K-1 to K-4): verification/proofs/coq/ResourceAlgebra.v gained their Rocq leg. To be replaced by the first run on main that contains them")) + (leg :prover lean :route re-proved :token proven :state RECONCILED + ; the run reported: RESULT: PASS -- gated modules compile; the Axioms step then passed, which fails unless all 84 printed theorems depend on no axiom; PASS: M-2 bridge to hyperpolymath/tropical-types@f2e465c966d14d4986dfc492875cc54653d9751e; 6 of 6 printed theorems depend on no axiom + (receipt :run "https://github.com/hyperpolymath/resource-algebra/actions/runs/44209774341/job/134484858201" + :commit "15fa113c7427e2de009eade9148295d08c046b33" + :checker "Lean 4.35.0 (release archive, sha256 7289597a44543246c9227b8cae501767e095ce17f6d448b95fc4a8dc97268f6d, on the hosted runner, no image)" + :invocation "lean ResourceAlgebra.lean in verification/proofs/lean4, core only; then bash scripts/check-lean-bridge.sh (lean -o on TropicalSessionTypes.lean and ResourceAlgebra.lean, then lean TropicalBridge.lean with LEAN_PATH)" + :state superseded + :reason "its inputs changed in hyperpolymath/resource-algebra#53: the leg and the M-2 bridge now build under lake, so the input set gained scripts/check-lean-leg.sh, two lakefiles and two Lake manifests, and scripts/check-lean-bridge.sh changed. To be replaced by the first run on main of the legs under lake"))) + (claim :id "K-4" :pwg ungraded :foundation-diverse #f + (leg :prover agda :route source :token proven :state AGDA-VERIFIED + ; the run reported: PASS: core proofs, unit tests and all 13 expected rejections + (receipt :run "https://github.com/hyperpolymath/resource-algebra/actions/runs/44209774341/job/134484857967" + :commit "15fa113c7427e2de009eade9148295d08c046b33" + :checker "Agda version 2.6.4.3 (Debian trixie agda-bin=2.6.4.3-1+b2, container debian:trixie-slim, not pinned by digest)" + :invocation "agda --safe --without-K --cubical-compatible --no-libraries --ignore-interfaces --double-check -W error -i src src/ResourceAlgebra/All.agda" + :state superseded + :reason "its inputs changed when parallel composition and the loop grade were added (rows P-1 to P-4 and K-1 to K-4): the cone gained src/ResourceAlgebra/Parallel.agda, Star.agda and Instances/MaxPlusTop.agda, and three expected rejections were added. To be replaced by the first run on main that contains them")) + (leg :prover rocq :route re-proved :token proven :state RECONCILED + ; the run reported: RESULT: PASS -- gated modules compile; the Assumptions step then passed, which fails unless all 75 printed theorems are closed under the global context and rocqchk accepts the compiled file + (receipt :run "https://github.com/hyperpolymath/resource-algebra/actions/runs/44209774341/job/134484858135" + :commit "15fa113c7427e2de009eade9148295d08c046b33" + :checker "Rocq 9.3.0, then rocqchk" + :invocation "rocq compile ResourceAlgebra.v in verification/proofs/coq, then rocqchk" + :state superseded + :reason "its input changed when parallel composition and the loop grade were added (rows P-1 to P-4 and K-1 to K-4): verification/proofs/coq/ResourceAlgebra.v gained their Rocq leg. To be replaced by the first run on main that contains them")) (leg :prover lean :route re-proved :token proven :state RECONCILED ; the run reported: RESULT: PASS -- gated modules compile; the Axioms step then passed, which fails unless all 84 printed theorems depend on no axiom; PASS: M-2 bridge to hyperpolymath/tropical-types@f2e465c966d14d4986dfc492875cc54653d9751e; 6 of 6 printed theorems depend on no axiom (receipt :run "https://github.com/hyperpolymath/resource-algebra/actions/runs/44209774341/job/134484858201" From 81a5da66b2f0516b929b05d159cc857cef11994d Mon Sep 17 00:00:00 2001 From: Claude Date: Thu, 19 Nov 2026 01:11:51 +0000 Subject: [PATCH 3/3] Receipt: list the runs at 15fa113 only under the rows they checked The three superseded runs predate rows P-1 to P-4 and K-1 to K-4. Without a run scope the generator listed them under the eight new rows too. A receipt_run_scope hook now limits each run to the 31 rows it checked (the Lean run also to M-2), and the receipt is regenerated. The eight new rows carry no receipt until a run checks them. No grade changes: all 40 rows stay ungraded. Co-Authored-By: Claude Fable 5.2 Claude-Session: https://claude.ai/code/session_0136P7ZoGnoZnsFTWCDkS4nZ --- scripts/proof-receipt.sh | 14 ++ .../resource-algebra-proofs_praxis.deed | 216 ++---------------- 2 files changed, 38 insertions(+), 192 deletions(-) diff --git a/scripts/proof-receipt.sh b/scripts/proof-receipt.sh index adb8dd6..70fd033 100755 --- a/scripts/proof-receipt.sh +++ b/scripts/proof-receipt.sh @@ -118,6 +118,20 @@ lean|$u/134484858201|$c|Lean 4.35.0 (release archive, sha256 7289597a44543246c92 ROWS } +# The three runs at 15fa113 predate rows P-1 to P-4 and K-1 to K-4, so they +# did not check them. Each is listed under the rows it did check only: a +# row's lineage never names a run that did not check it. M-2 has a Lean +# leg only. Remove a row here when its run is replaced by a current one. +receipt_run_scope() { + local u=https://github.com/hyperpolymath/resource-algebra/actions/runs/44209774341/job + local old='C-1 C-2 C-3 C-4a C-4b L-1 M-1 H-1 H-3 N-1 Q-1 Q-2 Q-3 Q-4 E-1 E-2 E-3 F-1 F-2 F-3 F-4 F-5 F-6 F-7 F-8 F-9 F-10 S-1 S-2 S-3 S-4' + cat <