diff --git a/.github/workflows/proofs.yml b/.github/workflows/proofs.yml index 9ea719b..65d390b 100644 --- a/.github/workflows/proofs.yml +++ b/.github/workflows/proofs.yml @@ -9,6 +9,10 @@ name: Agda proofs # # DEVIATION (PROOF-POLICY §6), state: open. # Leg: the Agda leg of every theorem in docs/status/PROOF-STATUS.adoc. +# Image: the job runs in debian:trixie-slim pinned by digest, and installs +# Agda at run time. That is not the isolation §8.2 asks for +# (owner ruling 2026-11-18, PN-7): the receipt names no image +# for this leg until it runs in a prover image. # Tool: Debian trixie agda-bin 2.6.4.3-1+b2, asserted below; apt checks # the .deb against Debian's signed Packages index, and the receipt # step prints that index's SHA256 for the package and the digest of @@ -30,7 +34,9 @@ jobs: name: Core proofs and expected rejections runs-on: ubuntu-latest timeout-minutes: 15 - container: debian:trixie-slim + # Base image pinned by digest; re-pin deliberately. Not a prover image: + # the checker is installed below (PN-7). + container: debian:trixie-slim@sha256:a29215f6a35e51e22adffa17f89e9d2ef06214e64a2bad10d765c46aea49f11f steps: - name: Install the pinned prover run: | @@ -61,6 +67,7 @@ jobs: echo "" echo "- source commit: \`$SOURCE_SHA\`" echo "- checker: \`$(agda --version)\`" + echo "- image: \`debian:trixie-slim@sha256:a29215f6a35e51e22adffa17f89e9d2ef06214e64a2bad10d765c46aea49f11f\` (base image pinned by digest; the checker is installed at run time, so the receipt names no image for this leg: PN-7)" echo "- package: \`agda-bin $(dpkg-query -W -f='${Version}' agda-bin)\`, index SHA256 \`$(apt-cache show agda-bin=2.6.4.3-1+b2 | sed -n 's/^SHA256: //p' | head -1)\`" echo "- binary SHA256: \`$(sha256sum "$(command -v agda)" | cut -d' ' -f1)\`" echo "- invocation: \`$(sed -n 's/^flags=(\(.*\))$/\1/p' scripts/check-agda.sh)\`" @@ -70,10 +77,18 @@ jobs: } >> "$GITHUB_STEP_SUMMARY" # Lean recheck leg (PROOF-POLICY §2): re-proved by hand, Lean core only. + # The qualifying invocation is `lake build` (§8.2, owner ruling 2026-11-17). + # The job runs in a base image pinned by digest and installs Lean at run + # time, which is not the isolation §8.2 asks for (owner ruling 2026-11-18, + # PN-7): the receipt names no image for this leg until it runs in a prover + # image. # DEVIATION (§6), state: open. # Leg: the Lean leg of every theorem in docs/status/PROOF-STATUS.adoc. - # Tool: Lean 4.35.0, the upstream release archive, checked against the - # SHA256 below; the version is asserted against lean-toolchain. + # Image: ubuntu:24.04 pinned by digest (the same digest as januskey's + # recheck job). + # Tool: Lean 4.35.0 with Lake, the upstream release archive, checked + # against the SHA256 below; the version is asserted against + # lean-toolchain, and Lake's version is asserted too. # Why: no Guix manifest or proof container provides Lean here yet. # Closes: PN-7 (docs/status/PROOF-NEEDS.adoc): when the planned # digest-pinned Lean image from the shared prover-images repo @@ -82,51 +97,69 @@ jobs: name: Lean recheck leg runs-on: ubuntu-latest timeout-minutes: 15 + # ubuntu:24.04, resolved 2026-11-16; re-pin deliberately. Job containers + # run as root, so apt needs no sudo. + container: ubuntu:24.04@sha256:73b999393d07f2bf65a40373778a44dc9a6d54ad7718d29247d8ff9413c4d6a8 env: LEAN_VERSION: '4.35.0' LEAN_SHA256: '7289597a44543246c9227b8cae501767e095ce17f6d448b95fc4a8dc97268f6d' + DEBIAN_FRONTEND: noninteractive + defaults: + run: + shell: bash steps: - - uses: actions/checkout@v7.0.1 - with: - persist-credentials: false - name: Install the pinned Lean run: | set -euo pipefail + apt-get update + apt-get install --no-install-recommends -y ca-certificates curl git zstd curl --proto '=https' --tlsv1.2 --fail --silent --show-error --location \ --output "$RUNNER_TEMP/lean.tar.zst" \ "https://github.com/leanprover/lean4/releases/download/v${LEAN_VERSION}/lean-${LEAN_VERSION}-linux.tar.zst" echo "${LEAN_SHA256} $RUNNER_TEMP/lean.tar.zst" | sha256sum --check --strict - tar --zstd -xf "$RUNNER_TEMP/lean.tar.zst" -C "$RUNNER_TEMP" - echo "$RUNNER_TEMP/lean-${LEAN_VERSION}-linux/bin" >> "$GITHUB_PATH" - - name: Verify the checked Lean version + mkdir -p /opt/lean + tar --zstd -xf "$RUNNER_TEMP/lean.tar.zst" -C /opt/lean + rm "$RUNNER_TEMP/lean.tar.zst" + echo "/opt/lean/lean-${LEAN_VERSION}-linux/bin" >> "$GITHUB_PATH" + - uses: actions/checkout@v7.0.1 + with: + persist-credentials: false + - name: Verify the checked Lean and Lake versions run: | set -euo pipefail test "$(cat verification/proofs/lean4/lean-toolchain)" = "leanprover/lean4:v${LEAN_VERSION}" lean --version | grep -F "version ${LEAN_VERSION}," + lake --version | grep -F "Lean version ${LEAN_VERSION})" - name: Lean leg run: bash scripts/check-proofs.sh lean4 - - name: Axioms and receipt + - name: Leg check fails on a failed build, an axiom or a rewritten manifest + run: bash tests/check_lean_leg_test.sh + - name: Axioms under lake, and receipt env: SOURCE_SHA: ${{ github.sha }} run: | set -euo pipefail - out="$(cd verification/proofs/lean4 && lean ResourceAlgebra.lean 2>&1)" # A counted witness lists its axioms (§8.4). The leg is recorded as - # axiom-free, so every printed theorem must say so. - n_print="$(grep -c '^#print axioms' verification/proofs/lean4/ResourceAlgebra.lean)" - n_free="$(grep -c 'does not depend on any axioms' <<<"$out" || true)" - if [ "$n_free" != "$n_print" ]; then - echo "::error::only $n_free of $n_print theorems are axiom-free"; echo "$out"; exit 1 - fi + # axiom-free, so every printed theorem must say so; the script takes + # that census from `lake build`. + result="$(bash scripts/check-lean-leg.sh | tee /dev/stderr | tail -1)" + src=verification/proofs/lean4 { echo "## Lean leg receipt" echo "" echo "- source commit: \`$SOURCE_SHA\`" - echo "- checker: \`$(lean --version)\`" + echo "- image: \`ubuntu:24.04@sha256:73b999393d07f2bf65a40373778a44dc9a6d54ad7718d29247d8ff9413c4d6a8\` (base image pinned by digest; the checker is installed at run time, so the receipt names no image for this leg: PN-7)" + echo "- checker: \`$(lean --version)\`, \`$(lake --version)\`" echo "- archive SHA256: \`$LEAN_SHA256\`" - echo "- invocation: \`lean ResourceAlgebra.lean\` in \`verification/proofs/lean4\` (core only, no Mathlib)" - echo "- input SHA256: \`$(sha256sum verification/proofs/lean4/ResourceAlgebra.lean | cut -d' ' -f1)\`" - echo "- axioms: $n_free of $n_print printed theorems depend on no axiom" + echo "- invocation: \`lake build\` in a copy of \`$src\` made by \`bash scripts/check-lean-leg.sh\` (core only, no Mathlib, no dependencies)" + for f in ResourceAlgebra.lean lakefile.toml lake-manifest.json lean-toolchain; do + # A digest that cannot be computed stops the step: no blank field. + h="$(sha256sum "$src/$f" | cut -d' ' -f1)" + echo "- input \`$f\` SHA256: \`$h\`" + done + h="$(sha256sum scripts/check-lean-leg.sh | cut -d' ' -f1)" + echo "- script SHA256: \`$h\`" + echo "- axioms: ${result#PASS: Lean leg under lake; }" } >> "$GITHUB_STEP_SUMMARY" - name: Bridge check fails on a broken or axiom-dependent bridge run: bash tests/check_lean_bridge_test.sh @@ -141,14 +174,20 @@ jobs: set -euo pipefail out="$(bash scripts/check-lean-bridge.sh)" echo "$out" + br=verification/bridges/tropical-types { echo "## M-2 bridge receipt" echo "" echo "- source commit: \`$SOURCE_SHA\`" - echo "- checker: \`$(lean --version)\`" - echo "- invocation: \`bash scripts/check-lean-bridge.sh\`" + echo "- image: \`ubuntu:24.04@sha256:73b999393d07f2bf65a40373778a44dc9a6d54ad7718d29247d8ff9413c4d6a8\` (base image pinned by digest; the checker is installed at run time, so the receipt names no image for this leg: PN-7)" + echo "- checker: \`$(lean --version)\`, \`$(lake --version)\`" + echo "- invocation: \`lake build\` in a work directory made by \`bash scripts/check-lean-bridge.sh\`" sed -n 's/^import: \(.*\) \(.*\) \(.*\) \(.*\)$/- import: `\1` at `\2`, `\3` SHA256 `\4`/p' <<<"$out" sed -n 's/^bridge: \(.*\) \(.*\)$/- bridge: `\1` SHA256 `\2`/p' <<<"$out" + for f in "$br/lakefile.toml" "$br/lake-manifest.json" verification/proofs/lean4/lean-toolchain verification/proofs/lean4/ResourceAlgebra.lean scripts/check-lean-bridge.sh; do + h="$(sha256sum "$f" | cut -d' ' -f1)" + echo "- input \`$f\` SHA256: \`$h\`" + done sed -n 's/^PASS: .*; \(.*\)$/- axioms: \1/p' <<<"$out" } >> "$GITHUB_STEP_SUMMARY" diff --git a/.gitignore b/.gitignore index 5376c8c..c7c6ed9 100644 --- a/.gitignore +++ b/.gitignore @@ -148,3 +148,6 @@ verification/proofs/agda/*.agdai # Agda interface files are build output (the gate runs --ignore-interfaces). *.agdai + +# Lake build output (the Lean legs build in a temp copy; never commit it) +.lake/ diff --git a/CHANGELOG.adoc b/CHANGELOG.adoc index 2d1a8a3..737c1f2 100644 --- a/CHANGELOG.adoc +++ b/CHANGELOG.adoc @@ -1,5 +1,31 @@ == Changelog +== 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`, + no dependencies; `lake-manifest.json` committed as a pinned input) through + the new `scripts/check-lean-leg.sh`. PROOF-POLICY §8.2 names `lean` under + `lake` as the qualifying run (owner ruling 2026-11-17). +* The M-2 bridge builds under `lake` too + (`verification/bridges/tropical-types/lakefile.toml`). The tropical-types + pin and its fetch stay in `scripts/check-lean-bridge.sh`. +* Both checks count the `#print axioms` lines of the copy `lake` built, + compare the manifest with what `lake` was given, and print the difference + when it was rewritten. The bridge check also hashes the bridge file it + built; the leg's input hashes are taken by `proofs.yml` from the checkout. + Both builds run with Lake's artifact cache off, because a cache hit prints + no axiom report and the count would fail. `tests/check_lean_leg_test.sh` (new) and + `tests/check_lean_bridge_test.sh` plant 11 failures between them and each checks the cache is off. +* The Agda and Lean jobs run in base images pinned by digest. They still + install the checker at run time, which the owner ruled on 2026-11-18 is + not isolation: their receipts name no image and PN-7 stays open. +* The Lean leg's inputs changed, so the Lean run at `15fa113` + is `superseded` in the ledger of `scripts/proof-receipt.sh` and the + receipt is regenerated. Of 32 theory rows, 31 are PWG-2i (Agda and Rocq + receipts stand) and 1 (M-2) is ungraded, until the first `proofs.yml` run + on main under `lake` is recorded. The Lean input set now lists both + lakefiles, both manifests and `scripts/check-lean-leg.sh`. + == 2026-11-18 — Proof receipt at 15fa113, from the shared generator; 31 rows are PWG-2ii * `verification/receipts/resource-algebra-proofs_praxis.deed` now describes diff --git a/docs/status/PROOF-NEEDS.adoc b/docs/status/PROOF-NEEDS.adoc index c44e345..2aad378 100644 --- a/docs/status/PROOF-NEEDS.adoc +++ b/docs/status/PROOF-NEEDS.adoc @@ -81,26 +81,28 @@ derivation, 2026-11-17) in Rocq and in Lean as PN-2 and PN-3 do, and record their statement correspondence. *Done* in resource-algebra#45: both legs re-prove the three rows by hand, axiom-free, and the statement correspondence is recorded in `PROOF-STATUS.adoc`. The receipt at -`15fa113` records that run, and the three rows are PWG-2ii. +`15fa113` records that run; the rows' current grades are in the Census of +`PROOF-STATUS.adoc`, derived from the receipt. | `verification/proofs/coq/`, `verification/proofs/lean4/` | PN-7 | Give the Agda and Lean legs a receipt that names the container image the checker ran in, pinned by digest (policy §8.2 as changed by standards#1625, 2026-11-16: `NAME[:TAG]@sha256:<64 hex>`). Rocq already does -(`rocq/rocq-prover:9.3.0@sha256:…`). Agda runs in `debian:trixie-slim` with -no digest and apt-installs `agda-bin 2.6.4.3-1+b2` at run time; Lean runs on -bare `ubuntu-latest` and installs the Lean 4.35.0 archive against a SHA256. -Until this closes, the receipt at `2b9bf3f` is PWG-2ii for 28 rows (`:image` -is what PWG-1 lacks). *OPEN, blocked* on the `prover-images` repository, +(`rocq/rocq-prover:9.3.0@sha256:…`). Since resource-algebra#53 the Agda +and Lean jobs run in base images pinned by digest (`debian:trixie-slim`, +`ubuntu:24.04`) and the Lean leg builds under `lake`, but both still +install their checker at run time (`agda-bin 2.6.4.3-1+b2` by apt, the +Lean 4.35.0 archive against a SHA256), which the ruling below does not +count as isolated. Until this closes no row can be PWG-1: the receipt at +`15fa113` names an image for the Rocq leg only. *OPEN, blocked* on the +`prover-images` repository, which does not exist yet. See "PN-7 ruling and route" below. -Note: `PROOF-STATUS.adoc` (Census) and the receipt deed still record the receipt -at source commit 47de4a8 as PWG-1 for 27 rows; that receipt was graded before -standards#1625 (2026-11-16) made `:image` necessary for PWG-1. Under the current -reader, a receipt for a run at 2b9bf3f grades the 28 rows PWG-2ii, because their -Agda and Lean witnesses have no `:image`. The Census is refreshed by the next -receipt. +Note: the receipt at `47de4a8` recorded PWG-1 for 27 rows; it was graded +before standards#1625 (2026-11-16) made `:image` necessary for PWG-1. The +current receipt, at `15fa113`, and the Census in `PROOF-STATUS.adoc` are +derived by the current reader. | `.github/workflows/proofs.yml` (`proofs`, `lean-leg`); `verification/receipts/` |=== @@ -117,7 +119,8 @@ Record now, build later. Draft handoff (untested, not built): `docs/handoff/prover-images/README.adoc`. *Blocker.* The `prover-images` repository does not exist; the owner will -create it. Nothing has been built or published. The 28 rows stay PWG-2ii. +create it. Nothing has been built or published. No row can reach PWG-1 +until it is. *Why not an upstream image.* diff --git a/docs/status/PROOF-STATUS.adoc b/docs/status/PROOF-STATUS.adoc index 3703a16..20f2e67 100644 --- a/docs/status/PROOF-STATUS.adoc +++ b/docs/status/PROOF-STATUS.adoc @@ -16,7 +16,7 @@ asserted. The values, weakest first, are `ungraded`, `3`, `2i`, `2ii` and == Census -Out of 32 theory rows: PWG-1: 0 · PWG-2ii: 31 · PWG-2i: 0 · PWG-3: 0 · +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 @@ -25,19 +25,28 @@ standards reader (`deed_lint.js --proof-receipt-json`), as pinned by `scripts/proof-receipt.sh` (standards `f4e83044`), derives every grade there 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. + 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 ran in, pinned by digest (§8.2). The Rocq leg runs in `rocq/rocq-prover:9.3.0` pinned by digest, and its receipt names it. The -Agda leg runs in `debian:trixie-slim` without a digest, and the Lean leg on -the bare runner, so neither is isolated in that sense. The 27 rows that were +Agda and Lean legs run in base images pinned by digest and install their +checker at run time. The owner ruled on 2026-11-18 that this is not +isolation (`PROOF-NEEDS.adoc`, PN-7): their receipts name no image until +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 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 PWG-2ii: the receipt covers -them. No row rests +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 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. @@ -75,8 +84,12 @@ to show that it does. The receipt lists the four names and bindings. and checks the proofs. It then writes a receipt to the run summary with the source commit, `agda --version`, the package version and its SHA256 from Debian's signed index, the digest of the installed binary, the flags read -from the script, and the import cone. Installing Agda from Debian rather -than Guix is a §6 deviation, recorded in `proofs.yml`; its state is `open`. +from the script, and the import cone. The job runs in `debian:trixie-slim` +pinned by digest and installs Agda at run time. That is not the isolation +§8.2 asks for (owner ruling 2026-11-18, PN-7), so the receipt names no image +for this leg. Installing Agda from +Debian rather than Guix is a §6 deviation, recorded in `proofs.yml`; its +state is `open`. * *History.* Until 2026-11-09 the gate ran `--safe --without-K --no-libraries --double-check`. That profile passed in CI from 2026-10-14 (resource-algebra#4). Under §2.1 those runs are historical evidence, not @@ -99,7 +112,8 @@ Every theorem row carries this record, except M-2 (see below). E-1, E-2 and E-3 are covered: their Rocq and Lean legs are re-proved by hand, in the same 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. +run of all three legs on a commit that contains them. The Lean run of +that receipt is now `superseded` (see Census). [cols="1,1,1,1,2",options="header"] |=== @@ -124,11 +138,15 @@ below | `PROVEN`: no axiom (`#print axioms` reports none for every theorem) | `RECONCILED`: statements compared and residual differences recorded below -| CI run `44209774341`, job `134484858201` +| `superseded`: CI run `44209774341`, job `134484858201` (`lean` called +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 legs passed in one `proofs.yml` run, https://github.com/hyperpolymath/resource-algebra/actions/runs/44209774341[`44209774341`], on source commit `15fa113c7427e2de009eade9148295d08c046b33` (2026-11-18), the @@ -155,7 +173,7 @@ version, the invocation, the input digest, the result and the axioms. global context. Image `rocq/rocq-prover:9.3.0@sha256:97a68f23…` | Lean -| Lean 4.35.0, core only +| Lean 4.35.0, core only, called directly (`superseded`) | `015e62121942646e…68d9cb6` over `ResourceAlgebra.lean` (file SHA256 `d1f0ee39d9a8af12…521cc9b`), `lean-toolchain`, `scripts/check-lean-bridge.sh` (file SHA256 `2bb154f8c4c197a7…9f60548`, which holds the tropical-types pin) and the M-2 bridge, with the import of tropical-types at `f2e465c` (import digest `c176b35aaec8d21b…3095e01`); no printed theorem depends on an axiom, in the leg or in the bridge @@ -220,9 +238,12 @@ the strict flag set and `⊕-least` all changed after it. === The legs: where, how checked, toolchains * *Lean.* `verification/proofs/lean4/ResourceAlgebra.lean`, checked by -`lean` 4.35.0 (pinned by `lean-toolchain`). CI installs the upstream -release archive against a SHA256 and asserts the version: a §6 deviation, -recorded in `proofs.yml`, state `open`. The arithmetic is proved by +`lake build` (Lean 4.35.0, pinned by `lean-toolchain`) on a copy of the +Lake package `verification/proofs/lean4/lakefile.toml`, which has no +dependencies; `lake-manifest.json` is committed. CI runs it through +`scripts/check-lean-leg.sh` in `ubuntu:24.04` pinned by digest, installs +the upstream release archive against a SHA256 and asserts the Lean and Lake +versions: a §6 deviation, recorded in `proofs.yml`, state `open`. The arithmetic is proved by structural recursion, as in Agda's Prelude, so no theorem depends on `propext` or `Quot.sound`. CI fails if any printed theorem depends on an axiom. @@ -414,8 +435,10 @@ these are the `+`, `*`, `0` and `1` of the instance. * *Pin.* `scripts/check-lean-bridge.sh` fetches `hyperpolymath/tropical-types` at `f2e465c966d14d4986dfc492875cc54653d9751e`, checks the fetched commit, -compiles both modules with the pinned `lean` 4.35.0 and checks the bridge. -It fails on any error, on any printed theorem that depends on an axiom, and +builds both modules and the bridge as a Lake package +(`verification/bridges/tropical-types/lakefile.toml`, no dependencies, the +pin stays in the script) with `lake build` under the pinned Lean 4.35.0, in +the same digest-pinned image as the Lean leg. It fails on any error, on any printed theorem that depends on an axiom, and when no theorem is printed (`tests/check_lean_bridge_test.sh`). It prints the SHA256 of the imported file and of the bridge, for a receipt's `(import …)` clause (§8.5.1). @@ -435,25 +458,25 @@ counted. | `ResourceAlgebra`: alternatives form an idempotent commutative monoid and sequencing a monoid. | `PROVEN` (the definition, plus the derived `unitʳ`) -| 2ii +| 2i | 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) -| 2ii +| 2i | C-3 | Every dioid is ordered: distributivity makes `⊗` monotone on both sides. | `PROVEN` (`IsDioid.ordered`) -| 2ii +| 2i | 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` -| 2ii +| 2i | C-4b | An annihilating ordered algebra need not be a dioid. The diamond lattice @@ -462,7 +485,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` -| 2ii +| 2i |=== == Instances @@ -475,13 +498,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) -| 2ii +| 2i | M-1 | `MaxPlus` is a `ResourceAlgebra`, `IsDioid`, `IsOrdered` and `IsAnnihilating`, with ⊕ = max, ⊗ = +, 𝟘 = bot and 𝟙 = val 0. | `PROVEN` (Instances/MaxPlus.agda) -| 2ii +| 2i | M-2 | `MaxPlus` agrees with tropical-types' `instance : CommSemiring Tropical` @@ -500,13 +523,13 @@ names a Lean object. | `HWM` (peak, drift, with drift ≤ peak) is a `ResourceAlgebra`, `IsDioid` and `IsOrdered`, and 𝟘 ≡ 𝟙. | `PROVEN` (Instances/HWM.agda) -| 2ii +| 2i | H-3 | `HWM` has no annihilating zero. | `PROVEN` (`HWM-not-annihilating`); control `tests/reject/HWMAnnihilates.agda` -| 2ii +| 2i | N-1 | `MinMax` (the bottleneck algebra) is a `ResourceAlgebra`, `IsDioid`, @@ -514,7 +537,7 @@ and `IsOrdered`, and 𝟘 ≡ 𝟙. ⊕ = min and ⊗ = max (`_⊔g_`, with `inf` absorbing), with 𝟘 = inf and 𝟙 = fin 0. | `PROVEN` (Instances/MinMax.agda) -| 2ii +| 2i | Q-1 | `Questions n` (a "which" grade over `n` downstream questions) is a @@ -523,19 +546,19 @@ and `IsOrdered`, and 𝟘 ≡ 𝟙. ⊕ = intersection and ⊗ = union, bit by bit, with 𝟘 = every question lost and 𝟙 = none lost. | `PROVEN` (Instances/Questions.agda) -| 2ii +| 2i | 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`) -| 2ii +| 2i | Q-3 | In sequence, `collapse` then `shuffle` loses both questions. | `PROVEN` (`both-lost`) -| 2ii +| 2i | Q-4 | As alternatives, `collapse ⊕ shuffle` is 𝟙 (no question lost), while @@ -543,7 +566,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` -| 2ii +| 2i | E-1 | `Evidence` (how strongly a proof-ledger row is supported) is a @@ -556,7 +579,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` -| 2ii +| 2i |=== == Evidence ledger (Ledger.agda) @@ -588,7 +611,7 @@ through dependencies. | `PROVEN` (`eff-≼-own`, `eff-≼-dep`, `eff-≼-reach`); controls `tests/reject/EvidenceProvenOverTested.agda`, `tests/reject/EvidenceArguedLinkIgnored.agda` -| 2ii +| 2i | E-3 | Maximality: `eff` respects the ledger, and every assignment of statuses @@ -596,7 +619,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`) -| 2ii +| 2i |=== The worked ledger in `tests/unit/EvidenceTest.agda` closes the loop on @@ -618,26 +641,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`) -| 2ii +| 2i | F-2 | `peak : HWM → MaxPlus` is lax: the peak of a sequence never exceeds the sum of the peaks. | `PROVEN` (`peak-lax`) -| 2ii +| 2i | 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` -| 2ii +| 2i | 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`) -| 2ii +| 2i | F-5 | Exactly two strict morphisms Loss → MaxPlus exist, `zero-test` and @@ -647,7 +670,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`). -| 2ii +| 2i | F-6 | Exactly one strict morphism MaxPlus → Loss exists, `support′`. @@ -655,13 +678,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`) -| 2ii +| 2i | F-7 | The identity on the carrier is a lax morphism Loss → MinMax: a bottleneck never exceeds the sum. | `PROVEN` (`loss-bottleneck`) -| 2ii +| 2i | F-8 | Out of one question there is exactly one strict morphism into an algebra @@ -669,20 +692,20 @@ never exceeds the sum. 𝟘 ⊗ 𝟘 ≡ 𝟘, which every annihilating algebra has, and HWM too. | `PROVEN` (`one-question-hom`, `one-question-needs`, `one-question-unique`) -| 2ii +| 2i | 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`) -| 2ii +| 2i | 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-⊕`) -| 2ii +| 2i |=== == Separation (Separation.agda) @@ -700,26 +723,26 @@ 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`) -| 2ii +| 2i | 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`) -| 2ii +| 2i | 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`) -| 2ii +| 2i | 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 -| 2ii +| 2i |=== == Correspondences with other repositories (not graded) diff --git a/scripts/check-lean-bridge.sh b/scripts/check-lean-bridge.sh index 7f69761..ba4d7b3 100755 --- a/scripts/check-lean-bridge.sh +++ b/scripts/check-lean-bridge.sh @@ -10,9 +10,17 @@ # only place the pin lives (PROOF-POLICY §8.5.1, imported repositories), so a # repin changes this file and with it the home input digest. # +# The three files are built as a dependency-free Lake package (PROOF-POLICY +# §8.2 names `lean` under `lake` as the qualifying run): the lakefile and its +# lake-manifest.json sit beside the bridge, and `lake build` runs in a work +# directory so no .lake/ output lands in the tree. The tropical-types pin stays +# here, not in a lake `require`. +# # It fails loudly when: the pinned commit cannot be fetched or is not what was -# checked out; either module or the bridge does not compile; or any printed -# theorem depends on an axiom. On success it prints the facts a receipt needs. +# checked out; any module or the bridge does not build; any printed theorem +# depends on an axiom; the bridge prints no theorem or not all axiom-free; or +# the build rewrote lake-manifest.json. On success it prints the facts a +# receipt needs. LAKE overrides the lake binary. set -euo pipefail cd -- "$(dirname -- "${BASH_SOURCE[0]}")/.." @@ -20,11 +28,13 @@ TT_REPOSITORY=hyperpolymath/tropical-types TT_COMMIT=f2e465c966d14d4986dfc492875cc54653d9751e TT_FILE=TropicalSessionTypes.lean BRIDGE=verification/bridges/tropical-types/TropicalBridge.lean -lean="${LEAN:-lean}" +BRIDGE_DIR=verification/bridges/tropical-types +RA_FILE=verification/proofs/lean4/ResourceAlgebra.lean +TOOLCHAIN=verification/proofs/lean4/lean-toolchain +lake="${LAKE:-lake}" work="$(mktemp -d)" trap 'rm -rf "$work"' EXIT -mkdir -p "$work/build" git init -q "$work/tt" git -C "$work/tt" fetch -q --depth 1 "https://github.com/$TT_REPOSITORY" "$TT_COMMIT" \ @@ -36,28 +46,37 @@ got="$(git -C "$work/tt" rev-parse HEAD)" [ -f "$work/tt/$TT_FILE" ] \ || { echo "ERROR: $TT_FILE is not in $TT_REPOSITORY at $TT_COMMIT" >&2; exit 1; } -compile() { # $1 dir, $2 file, $3 olean - local out - if ! out="$(cd "$1" && "$lean" -o "$3" "$2" 2>&1)" || grep -q 'error:' <<<"$out"; then - printf '%s\n' "$out" >&2 - echo "ERROR: $2 does not compile" >&2 - exit 1 - fi -} -compile "$work/tt" "$TT_FILE" "$work/build/TropicalSessionTypes.olean" -compile verification/proofs/lean4 ResourceAlgebra.lean "$work/build/ResourceAlgebra.olean" +mkdir -p "$work/pkg" +cp -- "$BRIDGE_DIR/lakefile.toml" "$BRIDGE_DIR/lake-manifest.json" "$BRIDGE" \ + "$RA_FILE" "$TOOLCHAIN" "$work/tt/$TT_FILE" "$work/pkg/" +# What lake was given, kept apart from the tree: a later edit of the tree +# is then never mistaken for a rewrite by lake, and never counted or hashed. +cp -- "$work/pkg/lake-manifest.json" "$work/manifest.before" -if ! out="$(cd "$(dirname "$BRIDGE")" && LEAN_PATH="$work/build" "$lean" "$(basename "$BRIDGE")" 2>&1)" \ - || grep -q 'error:' <<<"$out"; then +# The census needs every module compiled in this run: an artifact cache hit +# would build nothing and print no report. +if ! out="$(cd "$work/pkg" && LAKE_ARTIFACT_CACHE=false "$lake" build 2>&1)" || grep -q 'error:' <<<"$out"; then + printf '%s\n' "$out" >&2 + echo "ERROR: the bridge package does not build under lake" >&2 + exit 1 +fi +if grep -q 'depends on axioms' <<<"$out"; then printf '%s\n' "$out" >&2 - echo "ERROR: the bridge does not compile" >&2 + echo "ERROR: a printed theorem depends on axioms" >&2 + exit 1 +fi +if ! cmp -s "$work/manifest.before" "$work/pkg/lake-manifest.json"; then + diff -u "$work/manifest.before" "$work/pkg/lake-manifest.json" >&2 || true + echo "ERROR: the build rewrote lake-manifest.json (diff above). Regenerate it with lake update in a copy of $BRIDGE_DIR beside the three modules, put it in the repository's canonical JSON form (scripts/check-ijson-jcs.sh), and commit it" >&2 exit 1 fi -# A counted witness lists its axioms (§8.4): every printed theorem must say -# it depends on none. -n_print="$(grep -c '^#print axioms' "$BRIDGE")" -n_free="$(grep -c 'does not depend on any axioms' <<<"$out" || true)" +# A counted witness lists its axioms (§8.4): every theorem the bridge prints +# must say it depends on none. Lake prints each report as an +# `info: :::` line; count those attributed to the bridge. +bridge_name="$(basename -- "$BRIDGE")" +n_print="$(grep -cE '^#print axioms' "$work/pkg/$bridge_name" || true)" +n_free="$(grep -cE "^info: ${bridge_name//./\\.}:[0-9]+:[0-9]+: .* does not depend on any axioms\$" <<<"$out" || true)" if [ "$n_print" -eq 0 ] || [ "$n_free" != "$n_print" ]; then printf '%s\n' "$out" >&2 echo "ERROR: only $n_free of $n_print bridge theorems are axiom-free" >&2 @@ -66,4 +85,6 @@ fi echo "PASS: M-2 bridge to $TT_REPOSITORY@$TT_COMMIT; $n_free of $n_print printed theorems depend on no axiom" echo "import: $TT_REPOSITORY $TT_COMMIT $TT_FILE $(sha256sum "$work/tt/$TT_FILE" | cut -d' ' -f1)" -echo "bridge: $BRIDGE $(sha256sum "$BRIDGE" | cut -d' ' -f1)" +# The digest is of the copy lake built; the path is the repository's. +bridge_sha="$(sha256sum "$work/pkg/$bridge_name" | cut -d' ' -f1)" +echo "bridge: $BRIDGE $bridge_sha" diff --git a/scripts/check-lean-leg.sh b/scripts/check-lean-leg.sh new file mode 100755 index 0000000..5a4e16a --- /dev/null +++ b/scripts/check-lean-leg.sh @@ -0,0 +1,60 @@ +#!/usr/bin/env bash +# SPDX-License-Identifier: MPL-2.0 +# SPDX-FileCopyrightText: 2026 Jonathan D.A. Jewell +# +# check-lean-leg.sh: the Lean recheck leg under lake (PROOF-POLICY §8.2 names +# `lean` under `lake` as the qualifying kernel run). It builds the Lake package +# in verification/proofs/lean4 from a copy in a temporary directory, so no +# .lake/ build output lands in the tree, and takes the axiom census from that +# build. Lake prints each `#print axioms` report as an +# `info: :::` line. +# +# It fails loudly when: the build fails; any report says `depends on axioms`; +# the reports attributed to ResourceAlgebra.lean that say `does not depend on +# any axioms` differ in number from the `#print axioms` commands in the file +# (or there are none); or the build rewrote lake-manifest.json. +# LAKE overrides the lake binary. +set -euo pipefail +cd -- "$(dirname -- "${BASH_SOURCE[0]}")/.." + +lake="${LAKE:-lake}" +src=verification/proofs/lean4 +file=ResourceAlgebra.lean + +work="$(mktemp -d)" +trap 'rm -rf "$work" "$work.manifest.before"' EXIT +for f in lakefile.toml lake-manifest.json lean-toolchain "$file"; do + cp -- "$src/$f" "$work/" +done +# What lake was given, kept apart from the tree: a later edit of the tree +# is then never mistaken for a rewrite by lake, and never counted. +cp -- "$work/lake-manifest.json" "$work.manifest.before" + +# The census needs every module compiled in this run: an artifact cache hit +# would build nothing and print no report. +if ! out="$(cd "$work" && LAKE_ARTIFACT_CACHE=false "$lake" build 2>&1)"; then + printf '%s\n' "$out" >&2 + echo "ERROR: the Lean leg does not build under lake" >&2 + exit 1 +fi +printf '%s\n' "$out" + +if grep -q 'depends on axioms' <<<"$out"; then + echo "ERROR: a printed theorem depends on axioms" >&2 + exit 1 +fi + +n_print="$(grep -cE '^[[:space:]]*#print[[:space:]]+axioms[[:space:]]' "$work/$file" || true)" +n_free="$(grep -cE "^info: ${file//./\\.}:[0-9]+:[0-9]+: .* does not depend on any axioms\$" <<<"$out" || true)" +if [ "$n_print" -eq 0 ] || [ "$n_free" != "$n_print" ]; then + echo "ERROR: only $n_free of $n_print printed theorems are axiom-free" >&2 + exit 1 +fi + +if ! cmp -s "$work.manifest.before" "$work/lake-manifest.json"; then + diff -u "$work.manifest.before" "$work/lake-manifest.json" >&2 || true + echo "ERROR: the build rewrote lake-manifest.json (diff above). Regenerate it with lake update in a copy of $src, put it in the repository's canonical JSON form (scripts/check-ijson-jcs.sh), and commit it" >&2 + exit 1 +fi + +echo "PASS: Lean leg under lake; $n_free of $n_print printed theorems depend on no axiom" diff --git a/scripts/proof-receipt.sh b/scripts/proof-receipt.sh index 9a09a62..94ae07c 100755 --- a/scripts/proof-receipt.sh +++ b/scripts/proof-receipt.sh @@ -98,17 +98,23 @@ receipt_claims() { # Every gate fails on any axiom (check-agda.sh: --safe and the postulate # scan; the Rocq job: every Print Assumptions closed; the Lean job and the # bridge check: every #print axioms empty), so no row lists one. -# Only the Rocq job runs in an image pinned by digest, so only its row names -# one: no row can reach PWG-1 until the Agda and Lean jobs do too (§8.2, -# docs/status/PROOF-NEEDS.adoc PN-7). Earlier runs are listed, superseded, -# in docs/status/PROOF-STATUS.adoc. +# Only the Rocq job runs in an image that ships its checker, pinned by +# digest, so only its row names one. The Agda and Lean jobs run in base +# images pinned by digest and install the checker at run time, which the +# owner ruled on 2026-11-18 is not isolation (docs/status/PROOF-NEEDS.adoc +# PN-7): their rows name no image, and no row can reach PWG-1 until they +# run in prover images. The Lean row is superseded: the leg and the bridge +# moved under lake, and the first run on main under lake replaces it. +# Earlier runs are listed, superseded, in docs/status/PROOF-STATUS.adoc. receipt_runs() { local u=https://github.com/hyperpolymath/resource-algebra/actions/runs/44209774341/job local c=15fa113c7427e2de009eade9148295d08c046b33 + # 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 <&2; exit 1; } +trap 'rm -rf "$stub"' EXIT +n=$(grep -c '^#print axioms' verification/bridges/tropical-types/TropicalBridge.lean) -make_stub() { # $1 name, $2 what the stub prints when checking the bridge, $3 its exit code - cat > "$stub/$1" < "\$2"; exit 0; fi -printf '%s\n' "$2" -exit $3 -FAKE_LEAN - chmod +x "$stub/$1" -} +# $1 name, $2 shell body of the stub, run in the build directory +make_stub() { printf '#!/usr/bin/env bash\n%s\n' "$2" > "$stub/$1"; chmod +x "$stub/$1"; } + +# n axiom-free reports for the bridge, as lake prints them +free_reports="for i in \$(seq 1 $n); do echo \"info: TropicalBridge.lean:\$i:0: 'RA.TropicalBridge.t\$i' does not depend on any axioms\"; done" fails=0 expect_fail() { # $1 stub, $2 message the script must give - out=$(LEAN="$stub/$1" bash scripts/check-lean-bridge.sh 2>&1); rc=$? + out=$(LAKE="$stub/$1" bash scripts/check-lean-bridge.sh 2>&1); rc=$? if [[ $rc -eq 0 ]] || grep -q '^PASS:' <<<"$out"; then printf 'FAIL: %s: the script passed (exit %s)\n%s\n' "$1" "$rc" "$out" >&2; fails=1; return fi @@ -30,13 +30,34 @@ expect_fail() { # $1 stub, $2 message the script must give echo "PASS: $1 makes the script fail ($2)" } -make_stub axiom "'RA.TropicalBridge.rmax_eq_max' depends on axioms: [propext]" 0 -expect_fail axiom 'bridge theorems are axiom-free' +make_stub axiom "echo \"info: TropicalBridge.lean:1:0: 'RA.TropicalBridge.rmax_eq_max' depends on axioms: [propext]\"; exit 0" +expect_fail axiom 'a printed theorem depends on axioms' -make_stub broken "TropicalBridge.lean:1:0: error: unknown module prefix" 1 -expect_fail broken 'the bridge does not compile' +make_stub broken "echo 'error: TropicalBridge.lean:1:0: unknown module prefix'; exit 1" +expect_fail broken 'does not build under lake' -make_stub silent "" 0 +make_stub silent "echo 'Build completed successfully (5 jobs).'; exit 0" expect_fail silent 'bridge theorems are axiom-free' +make_stub short "$free_reports | head -n $((n - 1)); exit 0" +expect_fail short 'bridge theorems are axiom-free' + +# Reports for another file do not count towards the bridge's own. +make_stub otherfile "$free_reports | sed 's/TropicalBridge.lean/ResourceAlgebra.lean/'; exit 0" +expect_fail otherfile 'bridge theorems are axiom-free' + +make_stub rewrite "$free_reports; echo '{}' > lake-manifest.json; exit 0" +expect_fail rewrite 'rewrote lake-manifest.json' + +# The census needs a full build. A lake that reuses cached artifacts prints no +# report, so the script must turn the artifact cache off whatever the caller +# has set: this stub reports only when it is off. +make_stub cache "if [ \"\${LAKE_ARTIFACT_CACHE:-}\" = false ]; then $free_reports; fi; exit 0" +out=$(LAKE_ARTIFACT_CACHE=true LAKE="$stub/cache" bash scripts/check-lean-bridge.sh 2>&1); rc=$? +if [[ $rc -ne 0 ]] || ! grep -q '^PASS:' <<<"$out"; then + printf 'FAIL: cache: the script did not turn the artifact cache off (exit %s)\n%s\n' "$rc" "$out" >&2; fails=1 +else + echo "PASS: cache: the build runs with the artifact cache off" +fi + exit $fails diff --git a/tests/check_lean_leg_test.sh b/tests/check_lean_leg_test.sh new file mode 100755 index 0000000..ef3ad4f --- /dev/null +++ b/tests/check_lean_leg_test.sh @@ -0,0 +1,58 @@ +#!/usr/bin/env bash +# SPDX-License-Identifier: MPL-2.0 +# SPDX-FileCopyrightText: 2026 Jonathan D.A. Jewell +# scripts/check-lean-leg.sh must fail when a printed theorem depends on an +# axiom, when the build fails, when nothing is printed, and when the build +# rewrites lake-manifest.json. A stub lake (LAKE=) misreports the build, once +# each way, and each case must fail for the stated reason. +set -uo pipefail +cd -- "$(dirname -- "${BASH_SOURCE[0]}")/.." || exit 1 +stub=$(mktemp -d) || { echo "FAIL: mktemp could not make the stub directory" >&2; exit 1; } +trap 'rm -rf "$stub"' EXIT +n=$(grep -cE '^[[:space:]]*#print[[:space:]]+axioms[[:space:]]' verification/proofs/lean4/ResourceAlgebra.lean) + +# $1 name, $2 shell body of the stub, run in the build directory +make_stub() { printf '#!/usr/bin/env bash\n%s\n' "$2" > "$stub/$1"; chmod +x "$stub/$1"; } + +# n axiom-free reports, as lake prints them +free_reports="for i in \$(seq 1 $n); do echo \"info: ResourceAlgebra.lean:\$i:0: 'RA.t\$i' does not depend on any axioms\"; done" + +fails=0 +expect_fail() { # $1 stub, $2 message the script must give + out=$(LAKE="$stub/$1" bash scripts/check-lean-leg.sh 2>&1); rc=$? + if [[ $rc -eq 0 ]] || grep -q '^PASS:' <<<"$out"; then + printf 'FAIL: %s: the script passed (exit %s)\n%s\n' "$1" "$rc" "$out" >&2; fails=1; return + fi + if ! grep -q -- "$2" <<<"$out"; then + printf 'FAIL: %s: the script stopped for another reason (exit %s)\n%s\n' "$1" "$rc" "$out" >&2; fails=1; return + fi + echo "PASS: $1 makes the script fail ($2)" +} + +make_stub axiom "echo \"info: ResourceAlgebra.lean:1:0: 'RA.t' depends on axioms: [propext]\"; exit 0" +expect_fail axiom 'a printed theorem depends on axioms' + +make_stub broken "echo 'error: ResourceAlgebra.lean:1:0: unknown identifier'; exit 1" +expect_fail broken 'does not build under lake' + +make_stub silent "echo 'Build completed successfully (3 jobs).'; exit 0" +expect_fail silent 'printed theorems are axiom-free' + +make_stub short "$free_reports | head -n $((n - 1)); exit 0" +expect_fail short 'printed theorems are axiom-free' + +make_stub rewrite "$free_reports; echo '{}' > lake-manifest.json; exit 0" +expect_fail rewrite 'rewrote lake-manifest.json' + +# The census needs a full build. A lake that reuses cached artifacts prints no +# report, so the script must turn the artifact cache off whatever the caller +# has set: this stub reports only when it is off. +make_stub cache "if [ \"\${LAKE_ARTIFACT_CACHE:-}\" = false ]; then $free_reports; fi; exit 0" +out=$(LAKE_ARTIFACT_CACHE=true LAKE="$stub/cache" bash scripts/check-lean-leg.sh 2>&1); rc=$? +if [[ $rc -ne 0 ]] || ! grep -q '^PASS:' <<<"$out"; then + printf 'FAIL: cache: the script did not turn the artifact cache off (exit %s)\n%s\n' "$rc" "$out" >&2; fails=1 +else + echo "PASS: cache: the build runs with the artifact cache off" +fi + +exit $fails diff --git a/verification/bridges/tropical-types/lake-manifest.json b/verification/bridges/tropical-types/lake-manifest.json new file mode 100644 index 0000000..14613d9 --- /dev/null +++ b/verification/bridges/tropical-types/lake-manifest.json @@ -0,0 +1 @@ +{"fixedToolchain":false,"lakeDir":".lake","name":"resourceAlgebraTropicalBridge","packages":[],"packagesDir":".lake/packages","version":"1.3.0"} diff --git a/verification/bridges/tropical-types/lakefile.toml b/verification/bridges/tropical-types/lakefile.toml new file mode 100644 index 0000000..4cd983a --- /dev/null +++ b/verification/bridges/tropical-types/lakefile.toml @@ -0,0 +1,14 @@ +# SPDX-License-Identifier: MPL-2.0 +# SPDX-FileCopyrightText: 2026 Jonathan D.A. Jewell +# +# The M-2 bridge as a Lake package: scripts/check-lean-bridge.sh copies +# ResourceAlgebra.lean, the pinned TropicalSessionTypes.lean and +# TropicalBridge.lean into a work directory with this file and runs +# `lake build` there. No dependencies: the tropical-types pin lives in the +# script, not in a `require`. +name = "resourceAlgebraTropicalBridge" +defaultTargets = ["Bridge"] + +[[lean_lib]] +name = "Bridge" +roots = ["ResourceAlgebra", "TropicalSessionTypes", "TropicalBridge"] diff --git a/verification/proofs/lean4/lake-manifest.json b/verification/proofs/lean4/lake-manifest.json new file mode 100644 index 0000000..35b0575 --- /dev/null +++ b/verification/proofs/lean4/lake-manifest.json @@ -0,0 +1 @@ +{"fixedToolchain":false,"lakeDir":".lake","name":"resourceAlgebraLean","packages":[],"packagesDir":".lake/packages","version":"1.3.0"} diff --git a/verification/proofs/lean4/lakefile.toml b/verification/proofs/lean4/lakefile.toml new file mode 100644 index 0000000..305bc51 --- /dev/null +++ b/verification/proofs/lean4/lakefile.toml @@ -0,0 +1,12 @@ +# SPDX-License-Identifier: MPL-2.0 +# SPDX-FileCopyrightText: 2026 Jonathan D.A. Jewell +# +# The Lean recheck leg as a Lake package: scripts/check-lean-leg.sh runs +# `lake build` on a copy of this directory (PROOF-POLICY §8.2 names `lean` +# under `lake` as the qualifying kernel run). No dependencies, no Mathlib. +name = "resourceAlgebraLean" +defaultTargets = ["ResourceAlgebra"] + +[[lean_lib]] +name = "ResourceAlgebra" +roots = ["ResourceAlgebra"] diff --git a/verification/receipts/resource-algebra-proofs_praxis.deed b/verification/receipts/resource-algebra-proofs_praxis.deed index d62f69f..908a2e6 100644 --- a/verification/receipts/resource-algebra-proofs_praxis.deed +++ b/verification/receipts/resource-algebra-proofs_praxis.deed @@ -9,9 +9,10 @@ ;; Every :pwg is derived, and the pinned reader refuses one its legs and ;; receipts do not support. The rows and their statement correspondence are ;; in docs/status/PROOF-STATUS.adoc. -;; Only the Rocq receipts name an :image (pinned by digest), so no row is -;; PWG-1 (§8.2). The Lean job checks the leg and the M-2 bridge in one run, -;; so every Lean leg shares one receipt and its (import …) of tropical-types. +;; An :image is named only where the run's checker shipped in an image pinned +;; by digest, and a row is PWG-1 only when every counted receipt names one +;; (§8.2). Which runs are current, and why any other is not, is in each +;; (receipt …) below. (praxis-deed :schema-version "1.0.0" :canonical-name "resource-algebra-proof-receipt" @@ -24,7 +25,7 @@ (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-2ii :foundation-diverse #f + (claim :id "C-1" :pwg PWG-2i :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" @@ -66,17 +67,9 @@ :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)" - :inputs-sha256 "015e62121942646e938318c4015212bb32434493c238e3cef7168858c68d9cb6" - :state current - (inputs-manifest - (file :path "scripts/check-lean-bridge.sh" :sha256 "2bb154f8c4c197a79e6e536d6d52752166ac9bfb7f2e80b6efd6b7e709f60548") - (file :path "verification/bridges/tropical-types/TropicalBridge.lean" :sha256 "0bf2a24de5390eeb26ad33abc70c769a361d6028532ff4d24f1bbcc26e194a2c") - (file :path "verification/proofs/lean4/ResourceAlgebra.lean" :sha256 "d1f0ee39d9a8af1256ff2c219f3f15e6198acd8bfee5fc889275feacd521cc9b") - (file :path "verification/proofs/lean4/lean-toolchain" :sha256 "ca5f1f601d34c49079e38d7e7041eb0f2a9c227fbc1df0f404820069a052330c")) - (import :repository "hyperpolymath/tropical-types" :commit "f2e465c966d14d4986dfc492875cc54653d9751e" :inputs-sha256 "c176b35aaec8d21b891671ed0e0619e68f1413ace21a8078825069a3d3095e01" - (file :path "TropicalSessionTypes.lean" :sha256 "a7b04eef91cd9896ea292e9d42367695e1843eda4e7a8b67fc13c6f34a74a3c1")) - (axioms)))) - (claim :id "C-2" :pwg PWG-2ii :foundation-diverse #f + :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 (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" @@ -118,17 +111,9 @@ :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)" - :inputs-sha256 "015e62121942646e938318c4015212bb32434493c238e3cef7168858c68d9cb6" - :state current - (inputs-manifest - (file :path "scripts/check-lean-bridge.sh" :sha256 "2bb154f8c4c197a79e6e536d6d52752166ac9bfb7f2e80b6efd6b7e709f60548") - (file :path "verification/bridges/tropical-types/TropicalBridge.lean" :sha256 "0bf2a24de5390eeb26ad33abc70c769a361d6028532ff4d24f1bbcc26e194a2c") - (file :path "verification/proofs/lean4/ResourceAlgebra.lean" :sha256 "d1f0ee39d9a8af1256ff2c219f3f15e6198acd8bfee5fc889275feacd521cc9b") - (file :path "verification/proofs/lean4/lean-toolchain" :sha256 "ca5f1f601d34c49079e38d7e7041eb0f2a9c227fbc1df0f404820069a052330c")) - (import :repository "hyperpolymath/tropical-types" :commit "f2e465c966d14d4986dfc492875cc54653d9751e" :inputs-sha256 "c176b35aaec8d21b891671ed0e0619e68f1413ace21a8078825069a3d3095e01" - (file :path "TropicalSessionTypes.lean" :sha256 "a7b04eef91cd9896ea292e9d42367695e1843eda4e7a8b67fc13c6f34a74a3c1")) - (axioms)))) - (claim :id "C-3" :pwg PWG-2ii :foundation-diverse #f + :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 (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" @@ -170,17 +155,9 @@ :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)" - :inputs-sha256 "015e62121942646e938318c4015212bb32434493c238e3cef7168858c68d9cb6" - :state current - (inputs-manifest - (file :path "scripts/check-lean-bridge.sh" :sha256 "2bb154f8c4c197a79e6e536d6d52752166ac9bfb7f2e80b6efd6b7e709f60548") - (file :path "verification/bridges/tropical-types/TropicalBridge.lean" :sha256 "0bf2a24de5390eeb26ad33abc70c769a361d6028532ff4d24f1bbcc26e194a2c") - (file :path "verification/proofs/lean4/ResourceAlgebra.lean" :sha256 "d1f0ee39d9a8af1256ff2c219f3f15e6198acd8bfee5fc889275feacd521cc9b") - (file :path "verification/proofs/lean4/lean-toolchain" :sha256 "ca5f1f601d34c49079e38d7e7041eb0f2a9c227fbc1df0f404820069a052330c")) - (import :repository "hyperpolymath/tropical-types" :commit "f2e465c966d14d4986dfc492875cc54653d9751e" :inputs-sha256 "c176b35aaec8d21b891671ed0e0619e68f1413ace21a8078825069a3d3095e01" - (file :path "TropicalSessionTypes.lean" :sha256 "a7b04eef91cd9896ea292e9d42367695e1843eda4e7a8b67fc13c6f34a74a3c1")) - (axioms)))) - (claim :id "C-4a" :pwg PWG-2ii :foundation-diverse #f + :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 (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" @@ -222,17 +199,9 @@ :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)" - :inputs-sha256 "015e62121942646e938318c4015212bb32434493c238e3cef7168858c68d9cb6" - :state current - (inputs-manifest - (file :path "scripts/check-lean-bridge.sh" :sha256 "2bb154f8c4c197a79e6e536d6d52752166ac9bfb7f2e80b6efd6b7e709f60548") - (file :path "verification/bridges/tropical-types/TropicalBridge.lean" :sha256 "0bf2a24de5390eeb26ad33abc70c769a361d6028532ff4d24f1bbcc26e194a2c") - (file :path "verification/proofs/lean4/ResourceAlgebra.lean" :sha256 "d1f0ee39d9a8af1256ff2c219f3f15e6198acd8bfee5fc889275feacd521cc9b") - (file :path "verification/proofs/lean4/lean-toolchain" :sha256 "ca5f1f601d34c49079e38d7e7041eb0f2a9c227fbc1df0f404820069a052330c")) - (import :repository "hyperpolymath/tropical-types" :commit "f2e465c966d14d4986dfc492875cc54653d9751e" :inputs-sha256 "c176b35aaec8d21b891671ed0e0619e68f1413ace21a8078825069a3d3095e01" - (file :path "TropicalSessionTypes.lean" :sha256 "a7b04eef91cd9896ea292e9d42367695e1843eda4e7a8b67fc13c6f34a74a3c1")) - (axioms)))) - (claim :id "C-4b" :pwg PWG-2ii :foundation-diverse #f + :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 (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" @@ -274,17 +243,9 @@ :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)" - :inputs-sha256 "015e62121942646e938318c4015212bb32434493c238e3cef7168858c68d9cb6" - :state current - (inputs-manifest - (file :path "scripts/check-lean-bridge.sh" :sha256 "2bb154f8c4c197a79e6e536d6d52752166ac9bfb7f2e80b6efd6b7e709f60548") - (file :path "verification/bridges/tropical-types/TropicalBridge.lean" :sha256 "0bf2a24de5390eeb26ad33abc70c769a361d6028532ff4d24f1bbcc26e194a2c") - (file :path "verification/proofs/lean4/ResourceAlgebra.lean" :sha256 "d1f0ee39d9a8af1256ff2c219f3f15e6198acd8bfee5fc889275feacd521cc9b") - (file :path "verification/proofs/lean4/lean-toolchain" :sha256 "ca5f1f601d34c49079e38d7e7041eb0f2a9c227fbc1df0f404820069a052330c")) - (import :repository "hyperpolymath/tropical-types" :commit "f2e465c966d14d4986dfc492875cc54653d9751e" :inputs-sha256 "c176b35aaec8d21b891671ed0e0619e68f1413ace21a8078825069a3d3095e01" - (file :path "TropicalSessionTypes.lean" :sha256 "a7b04eef91cd9896ea292e9d42367695e1843eda4e7a8b67fc13c6f34a74a3c1")) - (axioms)))) - (claim :id "L-1" :pwg PWG-2ii :foundation-diverse #f + :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 (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" @@ -326,17 +287,9 @@ :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)" - :inputs-sha256 "015e62121942646e938318c4015212bb32434493c238e3cef7168858c68d9cb6" - :state current - (inputs-manifest - (file :path "scripts/check-lean-bridge.sh" :sha256 "2bb154f8c4c197a79e6e536d6d52752166ac9bfb7f2e80b6efd6b7e709f60548") - (file :path "verification/bridges/tropical-types/TropicalBridge.lean" :sha256 "0bf2a24de5390eeb26ad33abc70c769a361d6028532ff4d24f1bbcc26e194a2c") - (file :path "verification/proofs/lean4/ResourceAlgebra.lean" :sha256 "d1f0ee39d9a8af1256ff2c219f3f15e6198acd8bfee5fc889275feacd521cc9b") - (file :path "verification/proofs/lean4/lean-toolchain" :sha256 "ca5f1f601d34c49079e38d7e7041eb0f2a9c227fbc1df0f404820069a052330c")) - (import :repository "hyperpolymath/tropical-types" :commit "f2e465c966d14d4986dfc492875cc54653d9751e" :inputs-sha256 "c176b35aaec8d21b891671ed0e0619e68f1413ace21a8078825069a3d3095e01" - (file :path "TropicalSessionTypes.lean" :sha256 "a7b04eef91cd9896ea292e9d42367695e1843eda4e7a8b67fc13c6f34a74a3c1")) - (axioms)))) - (claim :id "M-1" :pwg PWG-2ii :foundation-diverse #f + :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 (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" @@ -378,16 +331,8 @@ :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)" - :inputs-sha256 "015e62121942646e938318c4015212bb32434493c238e3cef7168858c68d9cb6" - :state current - (inputs-manifest - (file :path "scripts/check-lean-bridge.sh" :sha256 "2bb154f8c4c197a79e6e536d6d52752166ac9bfb7f2e80b6efd6b7e709f60548") - (file :path "verification/bridges/tropical-types/TropicalBridge.lean" :sha256 "0bf2a24de5390eeb26ad33abc70c769a361d6028532ff4d24f1bbcc26e194a2c") - (file :path "verification/proofs/lean4/ResourceAlgebra.lean" :sha256 "d1f0ee39d9a8af1256ff2c219f3f15e6198acd8bfee5fc889275feacd521cc9b") - (file :path "verification/proofs/lean4/lean-toolchain" :sha256 "ca5f1f601d34c49079e38d7e7041eb0f2a9c227fbc1df0f404820069a052330c")) - (import :repository "hyperpolymath/tropical-types" :commit "f2e465c966d14d4986dfc492875cc54653d9751e" :inputs-sha256 "c176b35aaec8d21b891671ed0e0619e68f1413ace21a8078825069a3d3095e01" - (file :path "TropicalSessionTypes.lean" :sha256 "a7b04eef91cd9896ea292e9d42367695e1843eda4e7a8b67fc13c6f34a74a3c1")) - (axioms)))) + :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-2" :pwg ungraded :foundation-diverse #f (leg :prover agda :route source :token open :state AGDA-PENDING) (leg :prover rocq :route unavailable :reason "the statement names tropical-types' Lean instance, which Rocq cannot import") @@ -397,17 +342,9 @@ :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)" - :inputs-sha256 "015e62121942646e938318c4015212bb32434493c238e3cef7168858c68d9cb6" - :state current - (inputs-manifest - (file :path "scripts/check-lean-bridge.sh" :sha256 "2bb154f8c4c197a79e6e536d6d52752166ac9bfb7f2e80b6efd6b7e709f60548") - (file :path "verification/bridges/tropical-types/TropicalBridge.lean" :sha256 "0bf2a24de5390eeb26ad33abc70c769a361d6028532ff4d24f1bbcc26e194a2c") - (file :path "verification/proofs/lean4/ResourceAlgebra.lean" :sha256 "d1f0ee39d9a8af1256ff2c219f3f15e6198acd8bfee5fc889275feacd521cc9b") - (file :path "verification/proofs/lean4/lean-toolchain" :sha256 "ca5f1f601d34c49079e38d7e7041eb0f2a9c227fbc1df0f404820069a052330c")) - (import :repository "hyperpolymath/tropical-types" :commit "f2e465c966d14d4986dfc492875cc54653d9751e" :inputs-sha256 "c176b35aaec8d21b891671ed0e0619e68f1413ace21a8078825069a3d3095e01" - (file :path "TropicalSessionTypes.lean" :sha256 "a7b04eef91cd9896ea292e9d42367695e1843eda4e7a8b67fc13c6f34a74a3c1")) - (axioms)))) - (claim :id "H-1" :pwg PWG-2ii :foundation-diverse #f + :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 (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" @@ -449,17 +386,9 @@ :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)" - :inputs-sha256 "015e62121942646e938318c4015212bb32434493c238e3cef7168858c68d9cb6" - :state current - (inputs-manifest - (file :path "scripts/check-lean-bridge.sh" :sha256 "2bb154f8c4c197a79e6e536d6d52752166ac9bfb7f2e80b6efd6b7e709f60548") - (file :path "verification/bridges/tropical-types/TropicalBridge.lean" :sha256 "0bf2a24de5390eeb26ad33abc70c769a361d6028532ff4d24f1bbcc26e194a2c") - (file :path "verification/proofs/lean4/ResourceAlgebra.lean" :sha256 "d1f0ee39d9a8af1256ff2c219f3f15e6198acd8bfee5fc889275feacd521cc9b") - (file :path "verification/proofs/lean4/lean-toolchain" :sha256 "ca5f1f601d34c49079e38d7e7041eb0f2a9c227fbc1df0f404820069a052330c")) - (import :repository "hyperpolymath/tropical-types" :commit "f2e465c966d14d4986dfc492875cc54653d9751e" :inputs-sha256 "c176b35aaec8d21b891671ed0e0619e68f1413ace21a8078825069a3d3095e01" - (file :path "TropicalSessionTypes.lean" :sha256 "a7b04eef91cd9896ea292e9d42367695e1843eda4e7a8b67fc13c6f34a74a3c1")) - (axioms)))) - (claim :id "H-3" :pwg PWG-2ii :foundation-diverse #f + :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 (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" @@ -501,17 +430,9 @@ :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)" - :inputs-sha256 "015e62121942646e938318c4015212bb32434493c238e3cef7168858c68d9cb6" - :state current - (inputs-manifest - (file :path "scripts/check-lean-bridge.sh" :sha256 "2bb154f8c4c197a79e6e536d6d52752166ac9bfb7f2e80b6efd6b7e709f60548") - (file :path "verification/bridges/tropical-types/TropicalBridge.lean" :sha256 "0bf2a24de5390eeb26ad33abc70c769a361d6028532ff4d24f1bbcc26e194a2c") - (file :path "verification/proofs/lean4/ResourceAlgebra.lean" :sha256 "d1f0ee39d9a8af1256ff2c219f3f15e6198acd8bfee5fc889275feacd521cc9b") - (file :path "verification/proofs/lean4/lean-toolchain" :sha256 "ca5f1f601d34c49079e38d7e7041eb0f2a9c227fbc1df0f404820069a052330c")) - (import :repository "hyperpolymath/tropical-types" :commit "f2e465c966d14d4986dfc492875cc54653d9751e" :inputs-sha256 "c176b35aaec8d21b891671ed0e0619e68f1413ace21a8078825069a3d3095e01" - (file :path "TropicalSessionTypes.lean" :sha256 "a7b04eef91cd9896ea292e9d42367695e1843eda4e7a8b67fc13c6f34a74a3c1")) - (axioms)))) - (claim :id "N-1" :pwg PWG-2ii :foundation-diverse #f + :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 (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" @@ -553,17 +474,9 @@ :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)" - :inputs-sha256 "015e62121942646e938318c4015212bb32434493c238e3cef7168858c68d9cb6" - :state current - (inputs-manifest - (file :path "scripts/check-lean-bridge.sh" :sha256 "2bb154f8c4c197a79e6e536d6d52752166ac9bfb7f2e80b6efd6b7e709f60548") - (file :path "verification/bridges/tropical-types/TropicalBridge.lean" :sha256 "0bf2a24de5390eeb26ad33abc70c769a361d6028532ff4d24f1bbcc26e194a2c") - (file :path "verification/proofs/lean4/ResourceAlgebra.lean" :sha256 "d1f0ee39d9a8af1256ff2c219f3f15e6198acd8bfee5fc889275feacd521cc9b") - (file :path "verification/proofs/lean4/lean-toolchain" :sha256 "ca5f1f601d34c49079e38d7e7041eb0f2a9c227fbc1df0f404820069a052330c")) - (import :repository "hyperpolymath/tropical-types" :commit "f2e465c966d14d4986dfc492875cc54653d9751e" :inputs-sha256 "c176b35aaec8d21b891671ed0e0619e68f1413ace21a8078825069a3d3095e01" - (file :path "TropicalSessionTypes.lean" :sha256 "a7b04eef91cd9896ea292e9d42367695e1843eda4e7a8b67fc13c6f34a74a3c1")) - (axioms)))) - (claim :id "Q-1" :pwg PWG-2ii :foundation-diverse #f + :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 (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" @@ -605,17 +518,9 @@ :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)" - :inputs-sha256 "015e62121942646e938318c4015212bb32434493c238e3cef7168858c68d9cb6" - :state current - (inputs-manifest - (file :path "scripts/check-lean-bridge.sh" :sha256 "2bb154f8c4c197a79e6e536d6d52752166ac9bfb7f2e80b6efd6b7e709f60548") - (file :path "verification/bridges/tropical-types/TropicalBridge.lean" :sha256 "0bf2a24de5390eeb26ad33abc70c769a361d6028532ff4d24f1bbcc26e194a2c") - (file :path "verification/proofs/lean4/ResourceAlgebra.lean" :sha256 "d1f0ee39d9a8af1256ff2c219f3f15e6198acd8bfee5fc889275feacd521cc9b") - (file :path "verification/proofs/lean4/lean-toolchain" :sha256 "ca5f1f601d34c49079e38d7e7041eb0f2a9c227fbc1df0f404820069a052330c")) - (import :repository "hyperpolymath/tropical-types" :commit "f2e465c966d14d4986dfc492875cc54653d9751e" :inputs-sha256 "c176b35aaec8d21b891671ed0e0619e68f1413ace21a8078825069a3d3095e01" - (file :path "TropicalSessionTypes.lean" :sha256 "a7b04eef91cd9896ea292e9d42367695e1843eda4e7a8b67fc13c6f34a74a3c1")) - (axioms)))) - (claim :id "Q-2" :pwg PWG-2ii :foundation-diverse #f + :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 (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" @@ -657,17 +562,9 @@ :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)" - :inputs-sha256 "015e62121942646e938318c4015212bb32434493c238e3cef7168858c68d9cb6" - :state current - (inputs-manifest - (file :path "scripts/check-lean-bridge.sh" :sha256 "2bb154f8c4c197a79e6e536d6d52752166ac9bfb7f2e80b6efd6b7e709f60548") - (file :path "verification/bridges/tropical-types/TropicalBridge.lean" :sha256 "0bf2a24de5390eeb26ad33abc70c769a361d6028532ff4d24f1bbcc26e194a2c") - (file :path "verification/proofs/lean4/ResourceAlgebra.lean" :sha256 "d1f0ee39d9a8af1256ff2c219f3f15e6198acd8bfee5fc889275feacd521cc9b") - (file :path "verification/proofs/lean4/lean-toolchain" :sha256 "ca5f1f601d34c49079e38d7e7041eb0f2a9c227fbc1df0f404820069a052330c")) - (import :repository "hyperpolymath/tropical-types" :commit "f2e465c966d14d4986dfc492875cc54653d9751e" :inputs-sha256 "c176b35aaec8d21b891671ed0e0619e68f1413ace21a8078825069a3d3095e01" - (file :path "TropicalSessionTypes.lean" :sha256 "a7b04eef91cd9896ea292e9d42367695e1843eda4e7a8b67fc13c6f34a74a3c1")) - (axioms)))) - (claim :id "Q-3" :pwg PWG-2ii :foundation-diverse #f + :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 (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" @@ -709,17 +606,9 @@ :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)" - :inputs-sha256 "015e62121942646e938318c4015212bb32434493c238e3cef7168858c68d9cb6" - :state current - (inputs-manifest - (file :path "scripts/check-lean-bridge.sh" :sha256 "2bb154f8c4c197a79e6e536d6d52752166ac9bfb7f2e80b6efd6b7e709f60548") - (file :path "verification/bridges/tropical-types/TropicalBridge.lean" :sha256 "0bf2a24de5390eeb26ad33abc70c769a361d6028532ff4d24f1bbcc26e194a2c") - (file :path "verification/proofs/lean4/ResourceAlgebra.lean" :sha256 "d1f0ee39d9a8af1256ff2c219f3f15e6198acd8bfee5fc889275feacd521cc9b") - (file :path "verification/proofs/lean4/lean-toolchain" :sha256 "ca5f1f601d34c49079e38d7e7041eb0f2a9c227fbc1df0f404820069a052330c")) - (import :repository "hyperpolymath/tropical-types" :commit "f2e465c966d14d4986dfc492875cc54653d9751e" :inputs-sha256 "c176b35aaec8d21b891671ed0e0619e68f1413ace21a8078825069a3d3095e01" - (file :path "TropicalSessionTypes.lean" :sha256 "a7b04eef91cd9896ea292e9d42367695e1843eda4e7a8b67fc13c6f34a74a3c1")) - (axioms)))) - (claim :id "Q-4" :pwg PWG-2ii :foundation-diverse #f + :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 (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" @@ -761,17 +650,9 @@ :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)" - :inputs-sha256 "015e62121942646e938318c4015212bb32434493c238e3cef7168858c68d9cb6" - :state current - (inputs-manifest - (file :path "scripts/check-lean-bridge.sh" :sha256 "2bb154f8c4c197a79e6e536d6d52752166ac9bfb7f2e80b6efd6b7e709f60548") - (file :path "verification/bridges/tropical-types/TropicalBridge.lean" :sha256 "0bf2a24de5390eeb26ad33abc70c769a361d6028532ff4d24f1bbcc26e194a2c") - (file :path "verification/proofs/lean4/ResourceAlgebra.lean" :sha256 "d1f0ee39d9a8af1256ff2c219f3f15e6198acd8bfee5fc889275feacd521cc9b") - (file :path "verification/proofs/lean4/lean-toolchain" :sha256 "ca5f1f601d34c49079e38d7e7041eb0f2a9c227fbc1df0f404820069a052330c")) - (import :repository "hyperpolymath/tropical-types" :commit "f2e465c966d14d4986dfc492875cc54653d9751e" :inputs-sha256 "c176b35aaec8d21b891671ed0e0619e68f1413ace21a8078825069a3d3095e01" - (file :path "TropicalSessionTypes.lean" :sha256 "a7b04eef91cd9896ea292e9d42367695e1843eda4e7a8b67fc13c6f34a74a3c1")) - (axioms)))) - (claim :id "E-1" :pwg PWG-2ii :foundation-diverse #f + :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 (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" @@ -813,17 +694,9 @@ :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)" - :inputs-sha256 "015e62121942646e938318c4015212bb32434493c238e3cef7168858c68d9cb6" - :state current - (inputs-manifest - (file :path "scripts/check-lean-bridge.sh" :sha256 "2bb154f8c4c197a79e6e536d6d52752166ac9bfb7f2e80b6efd6b7e709f60548") - (file :path "verification/bridges/tropical-types/TropicalBridge.lean" :sha256 "0bf2a24de5390eeb26ad33abc70c769a361d6028532ff4d24f1bbcc26e194a2c") - (file :path "verification/proofs/lean4/ResourceAlgebra.lean" :sha256 "d1f0ee39d9a8af1256ff2c219f3f15e6198acd8bfee5fc889275feacd521cc9b") - (file :path "verification/proofs/lean4/lean-toolchain" :sha256 "ca5f1f601d34c49079e38d7e7041eb0f2a9c227fbc1df0f404820069a052330c")) - (import :repository "hyperpolymath/tropical-types" :commit "f2e465c966d14d4986dfc492875cc54653d9751e" :inputs-sha256 "c176b35aaec8d21b891671ed0e0619e68f1413ace21a8078825069a3d3095e01" - (file :path "TropicalSessionTypes.lean" :sha256 "a7b04eef91cd9896ea292e9d42367695e1843eda4e7a8b67fc13c6f34a74a3c1")) - (axioms)))) - (claim :id "E-2" :pwg PWG-2ii :foundation-diverse #f + :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 (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" @@ -865,17 +738,9 @@ :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)" - :inputs-sha256 "015e62121942646e938318c4015212bb32434493c238e3cef7168858c68d9cb6" - :state current - (inputs-manifest - (file :path "scripts/check-lean-bridge.sh" :sha256 "2bb154f8c4c197a79e6e536d6d52752166ac9bfb7f2e80b6efd6b7e709f60548") - (file :path "verification/bridges/tropical-types/TropicalBridge.lean" :sha256 "0bf2a24de5390eeb26ad33abc70c769a361d6028532ff4d24f1bbcc26e194a2c") - (file :path "verification/proofs/lean4/ResourceAlgebra.lean" :sha256 "d1f0ee39d9a8af1256ff2c219f3f15e6198acd8bfee5fc889275feacd521cc9b") - (file :path "verification/proofs/lean4/lean-toolchain" :sha256 "ca5f1f601d34c49079e38d7e7041eb0f2a9c227fbc1df0f404820069a052330c")) - (import :repository "hyperpolymath/tropical-types" :commit "f2e465c966d14d4986dfc492875cc54653d9751e" :inputs-sha256 "c176b35aaec8d21b891671ed0e0619e68f1413ace21a8078825069a3d3095e01" - (file :path "TropicalSessionTypes.lean" :sha256 "a7b04eef91cd9896ea292e9d42367695e1843eda4e7a8b67fc13c6f34a74a3c1")) - (axioms)))) - (claim :id "E-3" :pwg PWG-2ii :foundation-diverse #f + :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 (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" @@ -917,17 +782,9 @@ :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)" - :inputs-sha256 "015e62121942646e938318c4015212bb32434493c238e3cef7168858c68d9cb6" - :state current - (inputs-manifest - (file :path "scripts/check-lean-bridge.sh" :sha256 "2bb154f8c4c197a79e6e536d6d52752166ac9bfb7f2e80b6efd6b7e709f60548") - (file :path "verification/bridges/tropical-types/TropicalBridge.lean" :sha256 "0bf2a24de5390eeb26ad33abc70c769a361d6028532ff4d24f1bbcc26e194a2c") - (file :path "verification/proofs/lean4/ResourceAlgebra.lean" :sha256 "d1f0ee39d9a8af1256ff2c219f3f15e6198acd8bfee5fc889275feacd521cc9b") - (file :path "verification/proofs/lean4/lean-toolchain" :sha256 "ca5f1f601d34c49079e38d7e7041eb0f2a9c227fbc1df0f404820069a052330c")) - (import :repository "hyperpolymath/tropical-types" :commit "f2e465c966d14d4986dfc492875cc54653d9751e" :inputs-sha256 "c176b35aaec8d21b891671ed0e0619e68f1413ace21a8078825069a3d3095e01" - (file :path "TropicalSessionTypes.lean" :sha256 "a7b04eef91cd9896ea292e9d42367695e1843eda4e7a8b67fc13c6f34a74a3c1")) - (axioms)))) - (claim :id "F-1" :pwg PWG-2ii :foundation-diverse #f + :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 (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" @@ -969,17 +826,9 @@ :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)" - :inputs-sha256 "015e62121942646e938318c4015212bb32434493c238e3cef7168858c68d9cb6" - :state current - (inputs-manifest - (file :path "scripts/check-lean-bridge.sh" :sha256 "2bb154f8c4c197a79e6e536d6d52752166ac9bfb7f2e80b6efd6b7e709f60548") - (file :path "verification/bridges/tropical-types/TropicalBridge.lean" :sha256 "0bf2a24de5390eeb26ad33abc70c769a361d6028532ff4d24f1bbcc26e194a2c") - (file :path "verification/proofs/lean4/ResourceAlgebra.lean" :sha256 "d1f0ee39d9a8af1256ff2c219f3f15e6198acd8bfee5fc889275feacd521cc9b") - (file :path "verification/proofs/lean4/lean-toolchain" :sha256 "ca5f1f601d34c49079e38d7e7041eb0f2a9c227fbc1df0f404820069a052330c")) - (import :repository "hyperpolymath/tropical-types" :commit "f2e465c966d14d4986dfc492875cc54653d9751e" :inputs-sha256 "c176b35aaec8d21b891671ed0e0619e68f1413ace21a8078825069a3d3095e01" - (file :path "TropicalSessionTypes.lean" :sha256 "a7b04eef91cd9896ea292e9d42367695e1843eda4e7a8b67fc13c6f34a74a3c1")) - (axioms)))) - (claim :id "F-2" :pwg PWG-2ii :foundation-diverse #f + :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 (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" @@ -1021,17 +870,9 @@ :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)" - :inputs-sha256 "015e62121942646e938318c4015212bb32434493c238e3cef7168858c68d9cb6" - :state current - (inputs-manifest - (file :path "scripts/check-lean-bridge.sh" :sha256 "2bb154f8c4c197a79e6e536d6d52752166ac9bfb7f2e80b6efd6b7e709f60548") - (file :path "verification/bridges/tropical-types/TropicalBridge.lean" :sha256 "0bf2a24de5390eeb26ad33abc70c769a361d6028532ff4d24f1bbcc26e194a2c") - (file :path "verification/proofs/lean4/ResourceAlgebra.lean" :sha256 "d1f0ee39d9a8af1256ff2c219f3f15e6198acd8bfee5fc889275feacd521cc9b") - (file :path "verification/proofs/lean4/lean-toolchain" :sha256 "ca5f1f601d34c49079e38d7e7041eb0f2a9c227fbc1df0f404820069a052330c")) - (import :repository "hyperpolymath/tropical-types" :commit "f2e465c966d14d4986dfc492875cc54653d9751e" :inputs-sha256 "c176b35aaec8d21b891671ed0e0619e68f1413ace21a8078825069a3d3095e01" - (file :path "TropicalSessionTypes.lean" :sha256 "a7b04eef91cd9896ea292e9d42367695e1843eda4e7a8b67fc13c6f34a74a3c1")) - (axioms)))) - (claim :id "F-3" :pwg PWG-2ii :foundation-diverse #f + :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 (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" @@ -1073,17 +914,9 @@ :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)" - :inputs-sha256 "015e62121942646e938318c4015212bb32434493c238e3cef7168858c68d9cb6" - :state current - (inputs-manifest - (file :path "scripts/check-lean-bridge.sh" :sha256 "2bb154f8c4c197a79e6e536d6d52752166ac9bfb7f2e80b6efd6b7e709f60548") - (file :path "verification/bridges/tropical-types/TropicalBridge.lean" :sha256 "0bf2a24de5390eeb26ad33abc70c769a361d6028532ff4d24f1bbcc26e194a2c") - (file :path "verification/proofs/lean4/ResourceAlgebra.lean" :sha256 "d1f0ee39d9a8af1256ff2c219f3f15e6198acd8bfee5fc889275feacd521cc9b") - (file :path "verification/proofs/lean4/lean-toolchain" :sha256 "ca5f1f601d34c49079e38d7e7041eb0f2a9c227fbc1df0f404820069a052330c")) - (import :repository "hyperpolymath/tropical-types" :commit "f2e465c966d14d4986dfc492875cc54653d9751e" :inputs-sha256 "c176b35aaec8d21b891671ed0e0619e68f1413ace21a8078825069a3d3095e01" - (file :path "TropicalSessionTypes.lean" :sha256 "a7b04eef91cd9896ea292e9d42367695e1843eda4e7a8b67fc13c6f34a74a3c1")) - (axioms)))) - (claim :id "F-4" :pwg PWG-2ii :foundation-diverse #f + :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 (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" @@ -1125,17 +958,9 @@ :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)" - :inputs-sha256 "015e62121942646e938318c4015212bb32434493c238e3cef7168858c68d9cb6" - :state current - (inputs-manifest - (file :path "scripts/check-lean-bridge.sh" :sha256 "2bb154f8c4c197a79e6e536d6d52752166ac9bfb7f2e80b6efd6b7e709f60548") - (file :path "verification/bridges/tropical-types/TropicalBridge.lean" :sha256 "0bf2a24de5390eeb26ad33abc70c769a361d6028532ff4d24f1bbcc26e194a2c") - (file :path "verification/proofs/lean4/ResourceAlgebra.lean" :sha256 "d1f0ee39d9a8af1256ff2c219f3f15e6198acd8bfee5fc889275feacd521cc9b") - (file :path "verification/proofs/lean4/lean-toolchain" :sha256 "ca5f1f601d34c49079e38d7e7041eb0f2a9c227fbc1df0f404820069a052330c")) - (import :repository "hyperpolymath/tropical-types" :commit "f2e465c966d14d4986dfc492875cc54653d9751e" :inputs-sha256 "c176b35aaec8d21b891671ed0e0619e68f1413ace21a8078825069a3d3095e01" - (file :path "TropicalSessionTypes.lean" :sha256 "a7b04eef91cd9896ea292e9d42367695e1843eda4e7a8b67fc13c6f34a74a3c1")) - (axioms)))) - (claim :id "F-5" :pwg PWG-2ii :foundation-diverse #f + :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 (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" @@ -1177,17 +1002,9 @@ :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)" - :inputs-sha256 "015e62121942646e938318c4015212bb32434493c238e3cef7168858c68d9cb6" - :state current - (inputs-manifest - (file :path "scripts/check-lean-bridge.sh" :sha256 "2bb154f8c4c197a79e6e536d6d52752166ac9bfb7f2e80b6efd6b7e709f60548") - (file :path "verification/bridges/tropical-types/TropicalBridge.lean" :sha256 "0bf2a24de5390eeb26ad33abc70c769a361d6028532ff4d24f1bbcc26e194a2c") - (file :path "verification/proofs/lean4/ResourceAlgebra.lean" :sha256 "d1f0ee39d9a8af1256ff2c219f3f15e6198acd8bfee5fc889275feacd521cc9b") - (file :path "verification/proofs/lean4/lean-toolchain" :sha256 "ca5f1f601d34c49079e38d7e7041eb0f2a9c227fbc1df0f404820069a052330c")) - (import :repository "hyperpolymath/tropical-types" :commit "f2e465c966d14d4986dfc492875cc54653d9751e" :inputs-sha256 "c176b35aaec8d21b891671ed0e0619e68f1413ace21a8078825069a3d3095e01" - (file :path "TropicalSessionTypes.lean" :sha256 "a7b04eef91cd9896ea292e9d42367695e1843eda4e7a8b67fc13c6f34a74a3c1")) - (axioms)))) - (claim :id "F-6" :pwg PWG-2ii :foundation-diverse #f + :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 (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" @@ -1229,17 +1046,9 @@ :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)" - :inputs-sha256 "015e62121942646e938318c4015212bb32434493c238e3cef7168858c68d9cb6" - :state current - (inputs-manifest - (file :path "scripts/check-lean-bridge.sh" :sha256 "2bb154f8c4c197a79e6e536d6d52752166ac9bfb7f2e80b6efd6b7e709f60548") - (file :path "verification/bridges/tropical-types/TropicalBridge.lean" :sha256 "0bf2a24de5390eeb26ad33abc70c769a361d6028532ff4d24f1bbcc26e194a2c") - (file :path "verification/proofs/lean4/ResourceAlgebra.lean" :sha256 "d1f0ee39d9a8af1256ff2c219f3f15e6198acd8bfee5fc889275feacd521cc9b") - (file :path "verification/proofs/lean4/lean-toolchain" :sha256 "ca5f1f601d34c49079e38d7e7041eb0f2a9c227fbc1df0f404820069a052330c")) - (import :repository "hyperpolymath/tropical-types" :commit "f2e465c966d14d4986dfc492875cc54653d9751e" :inputs-sha256 "c176b35aaec8d21b891671ed0e0619e68f1413ace21a8078825069a3d3095e01" - (file :path "TropicalSessionTypes.lean" :sha256 "a7b04eef91cd9896ea292e9d42367695e1843eda4e7a8b67fc13c6f34a74a3c1")) - (axioms)))) - (claim :id "F-7" :pwg PWG-2ii :foundation-diverse #f + :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 (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" @@ -1281,17 +1090,9 @@ :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)" - :inputs-sha256 "015e62121942646e938318c4015212bb32434493c238e3cef7168858c68d9cb6" - :state current - (inputs-manifest - (file :path "scripts/check-lean-bridge.sh" :sha256 "2bb154f8c4c197a79e6e536d6d52752166ac9bfb7f2e80b6efd6b7e709f60548") - (file :path "verification/bridges/tropical-types/TropicalBridge.lean" :sha256 "0bf2a24de5390eeb26ad33abc70c769a361d6028532ff4d24f1bbcc26e194a2c") - (file :path "verification/proofs/lean4/ResourceAlgebra.lean" :sha256 "d1f0ee39d9a8af1256ff2c219f3f15e6198acd8bfee5fc889275feacd521cc9b") - (file :path "verification/proofs/lean4/lean-toolchain" :sha256 "ca5f1f601d34c49079e38d7e7041eb0f2a9c227fbc1df0f404820069a052330c")) - (import :repository "hyperpolymath/tropical-types" :commit "f2e465c966d14d4986dfc492875cc54653d9751e" :inputs-sha256 "c176b35aaec8d21b891671ed0e0619e68f1413ace21a8078825069a3d3095e01" - (file :path "TropicalSessionTypes.lean" :sha256 "a7b04eef91cd9896ea292e9d42367695e1843eda4e7a8b67fc13c6f34a74a3c1")) - (axioms)))) - (claim :id "F-8" :pwg PWG-2ii :foundation-diverse #f + :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 (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" @@ -1333,17 +1134,9 @@ :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)" - :inputs-sha256 "015e62121942646e938318c4015212bb32434493c238e3cef7168858c68d9cb6" - :state current - (inputs-manifest - (file :path "scripts/check-lean-bridge.sh" :sha256 "2bb154f8c4c197a79e6e536d6d52752166ac9bfb7f2e80b6efd6b7e709f60548") - (file :path "verification/bridges/tropical-types/TropicalBridge.lean" :sha256 "0bf2a24de5390eeb26ad33abc70c769a361d6028532ff4d24f1bbcc26e194a2c") - (file :path "verification/proofs/lean4/ResourceAlgebra.lean" :sha256 "d1f0ee39d9a8af1256ff2c219f3f15e6198acd8bfee5fc889275feacd521cc9b") - (file :path "verification/proofs/lean4/lean-toolchain" :sha256 "ca5f1f601d34c49079e38d7e7041eb0f2a9c227fbc1df0f404820069a052330c")) - (import :repository "hyperpolymath/tropical-types" :commit "f2e465c966d14d4986dfc492875cc54653d9751e" :inputs-sha256 "c176b35aaec8d21b891671ed0e0619e68f1413ace21a8078825069a3d3095e01" - (file :path "TropicalSessionTypes.lean" :sha256 "a7b04eef91cd9896ea292e9d42367695e1843eda4e7a8b67fc13c6f34a74a3c1")) - (axioms)))) - (claim :id "F-9" :pwg PWG-2ii :foundation-diverse #f + :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 (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" @@ -1385,17 +1178,9 @@ :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)" - :inputs-sha256 "015e62121942646e938318c4015212bb32434493c238e3cef7168858c68d9cb6" - :state current - (inputs-manifest - (file :path "scripts/check-lean-bridge.sh" :sha256 "2bb154f8c4c197a79e6e536d6d52752166ac9bfb7f2e80b6efd6b7e709f60548") - (file :path "verification/bridges/tropical-types/TropicalBridge.lean" :sha256 "0bf2a24de5390eeb26ad33abc70c769a361d6028532ff4d24f1bbcc26e194a2c") - (file :path "verification/proofs/lean4/ResourceAlgebra.lean" :sha256 "d1f0ee39d9a8af1256ff2c219f3f15e6198acd8bfee5fc889275feacd521cc9b") - (file :path "verification/proofs/lean4/lean-toolchain" :sha256 "ca5f1f601d34c49079e38d7e7041eb0f2a9c227fbc1df0f404820069a052330c")) - (import :repository "hyperpolymath/tropical-types" :commit "f2e465c966d14d4986dfc492875cc54653d9751e" :inputs-sha256 "c176b35aaec8d21b891671ed0e0619e68f1413ace21a8078825069a3d3095e01" - (file :path "TropicalSessionTypes.lean" :sha256 "a7b04eef91cd9896ea292e9d42367695e1843eda4e7a8b67fc13c6f34a74a3c1")) - (axioms)))) - (claim :id "F-10" :pwg PWG-2ii :foundation-diverse #f + :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 (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" @@ -1437,17 +1222,9 @@ :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)" - :inputs-sha256 "015e62121942646e938318c4015212bb32434493c238e3cef7168858c68d9cb6" - :state current - (inputs-manifest - (file :path "scripts/check-lean-bridge.sh" :sha256 "2bb154f8c4c197a79e6e536d6d52752166ac9bfb7f2e80b6efd6b7e709f60548") - (file :path "verification/bridges/tropical-types/TropicalBridge.lean" :sha256 "0bf2a24de5390eeb26ad33abc70c769a361d6028532ff4d24f1bbcc26e194a2c") - (file :path "verification/proofs/lean4/ResourceAlgebra.lean" :sha256 "d1f0ee39d9a8af1256ff2c219f3f15e6198acd8bfee5fc889275feacd521cc9b") - (file :path "verification/proofs/lean4/lean-toolchain" :sha256 "ca5f1f601d34c49079e38d7e7041eb0f2a9c227fbc1df0f404820069a052330c")) - (import :repository "hyperpolymath/tropical-types" :commit "f2e465c966d14d4986dfc492875cc54653d9751e" :inputs-sha256 "c176b35aaec8d21b891671ed0e0619e68f1413ace21a8078825069a3d3095e01" - (file :path "TropicalSessionTypes.lean" :sha256 "a7b04eef91cd9896ea292e9d42367695e1843eda4e7a8b67fc13c6f34a74a3c1")) - (axioms)))) - (claim :id "S-1" :pwg PWG-2ii :foundation-diverse #f + :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 (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" @@ -1489,17 +1266,9 @@ :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)" - :inputs-sha256 "015e62121942646e938318c4015212bb32434493c238e3cef7168858c68d9cb6" - :state current - (inputs-manifest - (file :path "scripts/check-lean-bridge.sh" :sha256 "2bb154f8c4c197a79e6e536d6d52752166ac9bfb7f2e80b6efd6b7e709f60548") - (file :path "verification/bridges/tropical-types/TropicalBridge.lean" :sha256 "0bf2a24de5390eeb26ad33abc70c769a361d6028532ff4d24f1bbcc26e194a2c") - (file :path "verification/proofs/lean4/ResourceAlgebra.lean" :sha256 "d1f0ee39d9a8af1256ff2c219f3f15e6198acd8bfee5fc889275feacd521cc9b") - (file :path "verification/proofs/lean4/lean-toolchain" :sha256 "ca5f1f601d34c49079e38d7e7041eb0f2a9c227fbc1df0f404820069a052330c")) - (import :repository "hyperpolymath/tropical-types" :commit "f2e465c966d14d4986dfc492875cc54653d9751e" :inputs-sha256 "c176b35aaec8d21b891671ed0e0619e68f1413ace21a8078825069a3d3095e01" - (file :path "TropicalSessionTypes.lean" :sha256 "a7b04eef91cd9896ea292e9d42367695e1843eda4e7a8b67fc13c6f34a74a3c1")) - (axioms)))) - (claim :id "S-2" :pwg PWG-2ii :foundation-diverse #f + :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 (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" @@ -1541,17 +1310,9 @@ :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)" - :inputs-sha256 "015e62121942646e938318c4015212bb32434493c238e3cef7168858c68d9cb6" - :state current - (inputs-manifest - (file :path "scripts/check-lean-bridge.sh" :sha256 "2bb154f8c4c197a79e6e536d6d52752166ac9bfb7f2e80b6efd6b7e709f60548") - (file :path "verification/bridges/tropical-types/TropicalBridge.lean" :sha256 "0bf2a24de5390eeb26ad33abc70c769a361d6028532ff4d24f1bbcc26e194a2c") - (file :path "verification/proofs/lean4/ResourceAlgebra.lean" :sha256 "d1f0ee39d9a8af1256ff2c219f3f15e6198acd8bfee5fc889275feacd521cc9b") - (file :path "verification/proofs/lean4/lean-toolchain" :sha256 "ca5f1f601d34c49079e38d7e7041eb0f2a9c227fbc1df0f404820069a052330c")) - (import :repository "hyperpolymath/tropical-types" :commit "f2e465c966d14d4986dfc492875cc54653d9751e" :inputs-sha256 "c176b35aaec8d21b891671ed0e0619e68f1413ace21a8078825069a3d3095e01" - (file :path "TropicalSessionTypes.lean" :sha256 "a7b04eef91cd9896ea292e9d42367695e1843eda4e7a8b67fc13c6f34a74a3c1")) - (axioms)))) - (claim :id "S-3" :pwg PWG-2ii :foundation-diverse #f + :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 (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" @@ -1593,17 +1354,9 @@ :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)" - :inputs-sha256 "015e62121942646e938318c4015212bb32434493c238e3cef7168858c68d9cb6" - :state current - (inputs-manifest - (file :path "scripts/check-lean-bridge.sh" :sha256 "2bb154f8c4c197a79e6e536d6d52752166ac9bfb7f2e80b6efd6b7e709f60548") - (file :path "verification/bridges/tropical-types/TropicalBridge.lean" :sha256 "0bf2a24de5390eeb26ad33abc70c769a361d6028532ff4d24f1bbcc26e194a2c") - (file :path "verification/proofs/lean4/ResourceAlgebra.lean" :sha256 "d1f0ee39d9a8af1256ff2c219f3f15e6198acd8bfee5fc889275feacd521cc9b") - (file :path "verification/proofs/lean4/lean-toolchain" :sha256 "ca5f1f601d34c49079e38d7e7041eb0f2a9c227fbc1df0f404820069a052330c")) - (import :repository "hyperpolymath/tropical-types" :commit "f2e465c966d14d4986dfc492875cc54653d9751e" :inputs-sha256 "c176b35aaec8d21b891671ed0e0619e68f1413ace21a8078825069a3d3095e01" - (file :path "TropicalSessionTypes.lean" :sha256 "a7b04eef91cd9896ea292e9d42367695e1843eda4e7a8b67fc13c6f34a74a3c1")) - (axioms)))) - (claim :id "S-4" :pwg PWG-2ii :foundation-diverse #f + :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 (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" @@ -1645,14 +1398,6 @@ :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)" - :inputs-sha256 "015e62121942646e938318c4015212bb32434493c238e3cef7168858c68d9cb6" - :state current - (inputs-manifest - (file :path "scripts/check-lean-bridge.sh" :sha256 "2bb154f8c4c197a79e6e536d6d52752166ac9bfb7f2e80b6efd6b7e709f60548") - (file :path "verification/bridges/tropical-types/TropicalBridge.lean" :sha256 "0bf2a24de5390eeb26ad33abc70c769a361d6028532ff4d24f1bbcc26e194a2c") - (file :path "verification/proofs/lean4/ResourceAlgebra.lean" :sha256 "d1f0ee39d9a8af1256ff2c219f3f15e6198acd8bfee5fc889275feacd521cc9b") - (file :path "verification/proofs/lean4/lean-toolchain" :sha256 "ca5f1f601d34c49079e38d7e7041eb0f2a9c227fbc1df0f404820069a052330c")) - (import :repository "hyperpolymath/tropical-types" :commit "f2e465c966d14d4986dfc492875cc54653d9751e" :inputs-sha256 "c176b35aaec8d21b891671ed0e0619e68f1413ace21a8078825069a3d3095e01" - (file :path "TropicalSessionTypes.lean" :sha256 "a7b04eef91cd9896ea292e9d42367695e1843eda4e7a8b67fc13c6f34a74a3c1")) - (axioms)))) + :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"))) )