From 629967f06093111fe0f5af0bc7b65466186c7d52 Mon Sep 17 00:00:00 2001 From: Claude Date: Mon, 30 Nov 2026 23:31:35 +0000 Subject: [PATCH 1/4] proof receipt: run ledger as an append-only data file; pin standards b598ae8 Moves the fifteen rows of receipt_runs into verification/receipts/runs.ledger, byte for byte as the function emitted them, with their typed state and reason, and sets RECEIPT_LEDGER. The pinned generator now checks that the ledger only grows against main, and --record appends a run. Standards is pinned at b598ae8, current main, which contains the ledger and derived states of standards#1675. The receipt regenerated at source commit 246b03d differs from main's only in its header comment, which now names the ledger file. Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_013CuBToxr5h9catptGiTsFX --- scripts/proof-receipt.sh | 94 +++++++--------------- verification/receipts/januskey_praxis.deed | 7 +- verification/receipts/runs.ledger | 36 +++++++++ 3 files changed, 71 insertions(+), 66 deletions(-) create mode 100644 verification/receipts/runs.ledger diff --git a/scripts/proof-receipt.sh b/scripts/proof-receipt.sh index d01c562..afb7ef9 100755 --- a/scripts/proof-receipt.sh +++ b/scripts/proof-receipt.sh @@ -6,28 +6,35 @@ # verification/receipts/januskey_praxis.deed (PROOF-POLICY §8.5.1, profile # proof-receipt), written and checked by the estate's shared generator # (standards scripts/proof-receipt.sh). This file holds only what is -# januskey's own: the claim list, the run ledger, the run scopes, and the -# hooks that name each leg's invocation and input set. The generator, the -# reader, the reference digest and the §8.5.3 git checker are fetched below -# at one standards commit, each checked against its sha256. +# januskey's own: the claim list, the run scopes, and the hooks that name +# each leg's invocation and input set. The run ledger is the data file +# verification/receipts/runs.ledger. The generator, the reader, the +# reference digest and the §8.5.3 git checker are fetched below at one +# standards commit, each checked against its sha256. # # --write write the receipt from the ledgers and git # --check regenerate it and refuse any difference, run the §8.5.3 git -# checks, check that each current receipt still describes the -# tree, and run the pinned reader with its negative control +# checks, check that the ledger only grew against main, and run +# the pinned reader with its negative control # --run-row PROVER --run URL --commit SHA --checker TEXT --reported TEXT # --axioms none [--image NAME@sha256:<64 hex>] # print the ledger row of a run that just passed. --axioms is # what the run's own report listed ("none" when it listed # none). Without --image the row cannot count toward PWG-1 +# --record ROWS +# check those rows against the tree, write the receipt they +# give, and append them to the ledger file # -# What is typed and what is derived. The claim list and the run ledger are -# typed here, each ledger row copied from the CI log of its run. Every -# digest is a git fact: a current row's digest is rechecked against the tree -# by the generator, and a superseded row's digest is the reference digest of -# its leg's input set at that row's commit (scripts/proof-inputs-sha256.sh -# COMMIT PATHS...). The grade is never typed: the generator derives it and -# the pinned reader derives it again, refusing a receipt that overstates it. +# What is typed and what is derived. The claim list is typed here. Each +# ledger row is printed by --run-row from the CI log of its run, and +# --record appends it. A receipt that is no longer current is derived as +# such: stale once its leg's inputs change, superseded once a newer run of +# the leg is recorded. Every digest is a git fact: a current row's digest +# is rechecked against the tree by the generator, and a superseded row's +# digest is the reference digest of its leg's input set at that row's +# commit (scripts/proof-inputs-sha256.sh COMMIT PATHS...). The grade is +# never typed: the generator derives it and the pinned reader derives it +# again, refusing a receipt that overstates it. # # Needs: git, sha256sum, curl, bun. # The receipt_* hooks below are called by the sourced generator, not here. @@ -37,12 +44,12 @@ cd -- "$(dirname -- "${BASH_SOURCE[0]}")/.." export LC_ALL=C.UTF-8 # ── The pinned standard ─────────────────────────────────────────────────────── -RECEIPT_STANDARDS_COMMIT=146fb8f8ccdf5cf9e697b9f488486e1fd2822330 +RECEIPT_STANDARDS_COMMIT=b598ae88adb3abc9d67a9c1e1e023b03ff76c256 RECEIPT_STD=_build/standards standards_raw="https://raw.githubusercontent.com/metadatastician/standards/$RECEIPT_STANDARDS_COMMIT" pinned_files=( - "scripts/proof-receipt.sh:b7e294e031fa3b17511746537f3dbde1d40f08f2188e7b5f8cd9f0265e5573d7" - "1-formats/deed/tools/deed_lint.js:de5b38d7752625ec665329e45b6d6bb244589b4e098dc2e63371088cd660678c" + "scripts/proof-receipt.sh:f56edf5eb5c78f510f65877a7f24c1fe099b4f60873d2804427fef6a52fd6f65" + "1-formats/deed/tools/deed_lint.js:bd276e4046066926bdfb65f474271e2ddba57467cc237e9e7ec56c894577b04d" "scripts/proof-inputs-sha256.sh:dfc6dde01a3a79df638eebe4cad0eae584d8f17280077e149174c0667e9508f4" "scripts/check-proof-receipt.sh:f2375747238464535d1b4a61f658f07cb2f8504c69bfb1812311c79429a4e23e" ) @@ -65,8 +72,12 @@ RECEIPT_REPOSITORY=hyperpolymath/januskey RECEIPT_DEFAULT_BRANCH=main RECEIPT_CANONICAL_NAME=januskey-proof-receipt RECEIPT_SCRIPT=scripts/proof-receipt.sh +# The run ledger is a data file, append-only (see its header). +RECEIPT_LEDGER=verification/receipts/runs.ledger sibling_repo=hyperpolymath/resource-algebra sibling_dir=_build/dependencies/resource-algebra +# The Agda gate's flags, as scripts/check-agda.sh passes them. +agda_flags='agda --safe --without-K --cubical-compatible --no-libraries --ignore-interfaces --double-check -i verification/proofs/agda -i _build/dependencies/resource-algebra/src' # ── The claim list ──────────────────────────────────────────────────────────── # The theory theorems of PROOF-NEEDS.adoc (PROOF-POLICY §1): id | §5 token of @@ -81,50 +92,6 @@ receipt_claims() { done } -# ── The run ledger ──────────────────────────────────────────────────────────── -# prover | run | commit | checker | invocation | inputs sha256 | what the run -# reported | state | reason | axioms [| imports [| trusted base]]. Copied -# from the logs of agda-proofs.yml; a current row is printed by --run-row. -# Every gate fails on any axiom (check-agda.sh: --safe and the cone scan; -# check-recheck.sh: every Print Assumptions closed, every #print axioms -# empty), so no row lists one. -agda_checker='Agda version 2.6.4.3 (Debian trixie agda-bin=2.6.4.3-1+b2, container debian:trixie-slim@sha256:a29215f6a35e51e22adffa17f89e9d2ef06214e64a2bad10d765c46aea49f11f)' -agda_flags='agda --safe --without-K --cubical-compatible --no-libraries --ignore-interfaces --double-check -i verification/proofs/agda -i _build/dependencies/resource-algebra/src' -rocq_checker='The Coq Proof Assistant, version 8.18.0 (Ubuntu 24.04 coq=8.18.0+dfsg-1build2)' -lean_checker='Lean (version 4.35.0, x86_64-unknown-linux-gnu, commit eb6cafb7290e8bd5f2937522d8d804f58f02bafc, Release) (release tarball, sha256 7289597a44543246c9227b8cae501767e095ce17f6d448b95fc4a8dc97268f6d)' -agda_said_cone='import cone 7 first-party modules and 8 supplied with the prover; postulate scan 7 files, 0 postulates; 7 fixtures refused as expected; [check-agda] OK' -receipt_runs() { - local u=https://github.com/hyperpolymath/januskey/actions/runs - local e=e8deeaf7bc7b70500d57c282828512c8f8ba81f9 - local agda_image=debian:trixie-slim@sha256:a29215f6a35e51e22adffa17f89e9d2ef06214e64a2bad10d765c46aea49f11f - # The invocation of an earlier run is typed here, not taken from the hook, - # so a later change to a hook cannot re-describe a run that is past. - local agda_inv4="$agda_flags verification/proofs/agda/{Reversibility,TransactionAtomicity,Epistemic,SingleActiveLog}.agda (scripts/check-agda.sh)" - local rocq_inv4='coqc -q -Q . JanusKey .v for each of Epistemic, Reversibility, Rollback, SingleActiveLog (copies of verification/proofs/rocq/*.v; scripts/check-recheck.sh)' - local agda_inv3="$agda_flags verification/proofs/agda/{Reversibility,TransactionAtomicity,Epistemic}.agda (scripts/check-agda.sh)" - local rocq_t1='coqc -q -Q . JanusKey Rollback.v (a copy of verification/proofs/rocq/Rollback.v; scripts/check-recheck.sh)' - local lean_t1='lean -o Rollback.olean verification/proofs/lean/Rollback.lean (scripts/check-recheck.sh)' - local rocq_said_t1='1 rocq leg checks with no assumptions (Rollback); the job refused its 2 fixtures (1 Rocq, 1 Lean) as expected; [check-recheck] OK' - local lean_said_t1='1 lean leg checks with no axioms (Rollback); the job refused its 2 fixtures (1 Rocq, 1 Lean) as expected; [check-recheck] OK' - cat <.olean verification/proofs/lean/.lean for each of Epistemic, Reversibility, Rollback, SingleActiveLog (scripts/check-recheck.sh)|7146f3dce43d6160bb2d902d56984ac5fbccf8880b7336127b4cb7568da5db1f|4 lean legs check with no axioms (Epistemic, Reversibility, Rollback, SingleActiveLog); every #print axioms none; [check-recheck] OK|superseded|ran lean directly, not under lake; PROOF-POLICY §8.2 names lean under lake, and the owner ruled on 2026-11-17 that a direct run does not qualify. It did run in a digest-pinned image (ubuntu:24.04@sha256:73b999393d07f2bf65a40373778a44dc9a6d54ad7718d29247d8ff9413c4d6a8), but hyperpolymath/januskey#191 graded PWG-1 from it before the legs moved under lake; the owner ruled by selector on 2026-11-21 that the merged tree stays PWG-3. To be replaced by the first run of the legs under lake| -lean|$u/43945986467|$e|$lean_checker|lean -o .olean verification/proofs/lean/.lean for each of Epistemic, Reversibility, Rollback, SingleActiveLog (scripts/check-recheck.sh)|7146f3dce43d6160bb2d902d56984ac5fbccf8880b7336127b4cb7568da5db1f|4 lean legs check with no axioms (Epistemic, Reversibility, Rollback, SingleActiveLog); the job refused its 8 fixtures (4 Rocq, 4 Lean) as expected; [check-recheck] OK|superseded|ran lean directly, not under lake (owner ruling 2026-11-17), and on a runner outside a digest-pinned image (owner ruling 2026-11-16, hyperpolymath/januskey#184); replaced in the ledger by run 44131609502, itself superseded| -lean|$u/43213340167|b5034884dbe945139d03b38fe80cfdf1106a77e1|$lean_checker|$lean_t1|2b89f7de00ec28537f8c1dd66d771048a3ee649183ed12c04f1d51b4246d37a8|$lean_said_t1|superseded|T-1's leg only, under the gate before hyperpolymath/januskey#180; replaced by the run at #180's merge| -lean|$u/42646851111|0834ce73717a1faafa23fc1df55d85d54ee1e2b7|$lean_checker|$lean_t1|2b89f7de00ec28537f8c1dd66d771048a3ee649183ed12c04f1d51b4246d37a8|$lean_said_t1|superseded|the first run on main (hyperpolymath/januskey#171); replaced by the run at the receipt's source commit| -ROWS -} - # ── Run scopes ──────────────────────────────────────────────────────────────── # A superseded run that did not check every claim with its leg is listed # under the claims it checked only. The three Agda runs before @@ -154,9 +121,10 @@ receipt_header() { ;; The proof receipt of januskey (PROOF-POLICY §8.5.1). ;; GENERATED by scripts/proof-receipt.sh with the shared standards generator: ;; regenerate with --write, check with --check. Each (receipt …) is a row of -;; the run ledger in that script, copied from the CI log of the run; every -;; digest is computed from git objects. The grade is derived, and the pinned -;; reader refuses a :pwg its legs do not support. Human record: PROOF-NEEDS.adoc. +;; the run ledger verification/receipts/runs.ledger, copied from the CI log of +;; the run; every digest is computed from git objects. The grade is derived, +;; and the pinned reader refuses a :pwg its legs do not support. Human +;; record: PROOF-NEEDS.adoc. EOF } # The prover's four universe-level primitives, each bound by its BUILTIN diff --git a/verification/receipts/januskey_praxis.deed b/verification/receipts/januskey_praxis.deed index 27e8a48..00fcb8a 100644 --- a/verification/receipts/januskey_praxis.deed +++ b/verification/receipts/januskey_praxis.deed @@ -3,9 +3,10 @@ ;; The proof receipt of januskey (PROOF-POLICY §8.5.1). ;; GENERATED by scripts/proof-receipt.sh with the shared standards generator: ;; regenerate with --write, check with --check. Each (receipt …) is a row of -;; the run ledger in that script, copied from the CI log of the run; every -;; digest is computed from git objects. The grade is derived, and the pinned -;; reader refuses a :pwg its legs do not support. Human record: PROOF-NEEDS.adoc. +;; the run ledger verification/receipts/runs.ledger, copied from the CI log of +;; the run; every digest is computed from git objects. The grade is derived, +;; and the pinned reader refuses a :pwg its legs do not support. Human +;; record: PROOF-NEEDS.adoc. (praxis-deed :schema-version "1.0.0" :canonical-name "januskey-proof-receipt" diff --git a/verification/receipts/runs.ledger b/verification/receipts/runs.ledger new file mode 100644 index 0000000..3c6eac5 --- /dev/null +++ b/verification/receipts/runs.ledger @@ -0,0 +1,36 @@ +# SPDX-License-Identifier: CC-BY-SA-4.0 +# SPDX-FileCopyrightText: 2026 Jonathan D.A. Jewell +# +# The run ledger of januskey's proof receipt (PROOF-POLICY §8.5.1). +# One run of one leg a line, as scripts/proof-receipt.sh --run-row prints it: +# prover | run | commit | checker | invocation | inputs sha256 | what the +# run reported | state | reason | axioms [| imports [| trusted base +# [| image]]] +# +# This file is data and it is append-only: a row is never edited, moved or +# removed, and scripts/proof-receipt.sh --check refuses a ledger that differs +# from the default branch's in any row that branch holds. A run is added +# with --record. The states of a receipt that is no longer current (stale, +# superseded) are derived by the generator from these rows and the tree, so +# no row needs an edit when a leg's inputs change or a newer run is recorded. +# +# The rows before this file existed were typed in the script's receipt_runs, +# each copied from the CI log of its run. They are here byte for byte, with +# the state and reason main recorded for them. Every gate fails on any +# axiom (check-agda.sh: --safe and the cone scan; check-recheck.sh: every +# Print Assumptions closed, every #print axioms empty), so no row lists one. +agda|https://github.com/hyperpolymath/januskey/actions/runs/44131609502|246b03d8888a08e9540611b3b7ddeb8052004f8e|Agda version 2.6.4.3 (Debian trixie agda-bin=2.6.4.3-1+b2, container debian:trixie-slim@sha256:a29215f6a35e51e22adffa17f89e9d2ef06214e64a2bad10d765c46aea49f11f)|agda --safe --without-K --cubical-compatible --no-libraries --ignore-interfaces --double-check -i verification/proofs/agda -i _build/dependencies/resource-algebra/src verification/proofs/agda/{Reversibility,TransactionAtomicity,Epistemic,SingleActiveLog}.agda (scripts/check-agda.sh)|6e17ce4ad8264cd09de228eaa06e212caeb4d090436a4d9373078ee7978800d8|import cone 7 first-party modules and 8 supplied with the prover; postulate scan 7 files, 0 postulates; 7 fixtures refused as expected; [check-agda] OK|current|||hyperpolymath/resource-algebra@cf9235c532712a783a404c359a1055f40134794a=adddbf38fe2ce754f50fc70f5743f381763fb6387e5f99ce8a7d0a38176df9c9|0c1f64c3c7f0a26cbc92595168858485a9883f6196d287497dcc805faf5c58eb|debian:trixie-slim@sha256:a29215f6a35e51e22adffa17f89e9d2ef06214e64a2bad10d765c46aea49f11f +agda|https://github.com/hyperpolymath/januskey/actions/runs/43945986467|e8deeaf7bc7b70500d57c282828512c8f8ba81f9|Agda version 2.6.4.3 (Debian trixie agda-bin=2.6.4.3-1+b2, container debian:trixie-slim@sha256:a29215f6a35e51e22adffa17f89e9d2ef06214e64a2bad10d765c46aea49f11f)|agda --safe --without-K --cubical-compatible --no-libraries --ignore-interfaces --double-check -i verification/proofs/agda -i _build/dependencies/resource-algebra/src verification/proofs/agda/{Reversibility,TransactionAtomicity,Epistemic,SingleActiveLog}.agda (scripts/check-agda.sh)|6e17ce4ad8264cd09de228eaa06e212caeb4d090436a4d9373078ee7978800d8|import cone 7 first-party modules and 8 supplied with the prover; postulate scan 7 files, 0 postulates; 7 fixtures refused as expected; [check-agda] OK|superseded|replaced by run 44131609502 at 246b03d, the first run of the Agda jobs recorded with its digest-pinned image (the Agda inputs are the same at both commits)| +agda|https://github.com/hyperpolymath/januskey/actions/runs/43213340167|b5034884dbe945139d03b38fe80cfdf1106a77e1|Agda version 2.6.4.3 (Debian trixie agda-bin=2.6.4.3-1+b2, container debian:trixie-slim@sha256:a29215f6a35e51e22adffa17f89e9d2ef06214e64a2bad10d765c46aea49f11f)|agda --safe --without-K --cubical-compatible --no-libraries --ignore-interfaces --double-check -i verification/proofs/agda -i _build/dependencies/resource-algebra/src verification/proofs/agda/{Reversibility,TransactionAtomicity,Epistemic,SingleActiveLog}.agda (scripts/check-agda.sh)|6e17ce4ad8264cd09de228eaa06e212caeb4d090436a4d9373078ee7978800d8|import cone 7 first-party modules and 8 supplied with the prover; postulate scan 7 files, 0 postulates; 7 fixtures refused as expected; [check-agda] OK|superseded|the run at hyperpolymath/januskey#179; replaced by the run at #180's merge, the receipt's source commit| +agda|https://github.com/hyperpolymath/januskey/actions/runs/42736066407|e16543866fa4fd31a94f3c7faa1fe0671b083a1b|Agda version 2.6.4.3 (Debian trixie agda-bin=2.6.4.3-1+b2, container debian:trixie-slim@sha256:a29215f6a35e51e22adffa17f89e9d2ef06214e64a2bad10d765c46aea49f11f)|agda --safe --without-K --cubical-compatible --no-libraries --ignore-interfaces --double-check -i verification/proofs/agda -i _build/dependencies/resource-algebra/src verification/proofs/agda/{Reversibility,TransactionAtomicity,Epistemic,SingleActiveLog}.agda (scripts/check-agda.sh)|6e17ce4ad8264cd09de228eaa06e212caeb4d090436a4d9373078ee7978800d8|import cone 7 first-party modules and 8 supplied with the prover; postulate scan 7 files, 0 postulates; 7 fixtures refused as expected; [check-agda] OK|superseded|the first green run on main of the gate as changed by hyperpolymath/januskey#174; replaced by the run at the receipt's source commit| +agda|https://github.com/hyperpolymath/januskey/actions/runs/42076969251|23bc8c38160a25c37917bce69cf05d91899b07e5|Agda version 2.6.4.3 (Debian trixie agda-bin=2.6.4.3-1+b2, container debian:trixie-slim@sha256:a29215f6a35e51e22adffa17f89e9d2ef06214e64a2bad10d765c46aea49f11f)|agda --safe --without-K --cubical-compatible --no-libraries --ignore-interfaces --double-check -i verification/proofs/agda -i _build/dependencies/resource-algebra/src verification/proofs/agda/{Reversibility,TransactionAtomicity,Epistemic}.agda (scripts/check-agda.sh)|a56ccfa9187aa5a285210ef380af91eb1d857e9f6e32c1275b87498923092787|6 fixtures refused as expected; [check-agda] OK|superseded|before the import-cone postulate scan (hyperpolymath/januskey#170) and before SingleActiveLog.agda (hyperpolymath/januskey#171), so it checked the earlier statements of T-2 and T-3 and is listed for G-1, T-1 and E-1m only| +agda|https://github.com/hyperpolymath/januskey/actions/runs/41687715055|fc188c44906faedfe91bfd414be3fda01ff4caf4|Agda version 2.6.4.3 (Debian trixie agda-bin=2.6.4.3-1+b2, container debian:trixie-slim@sha256:a29215f6a35e51e22adffa17f89e9d2ef06214e64a2bad10d765c46aea49f11f)|agda --safe --without-K --cubical-compatible --no-libraries --ignore-interfaces --double-check -i verification/proofs/agda -i _build/dependencies/resource-algebra/src verification/proofs/agda/{Reversibility,TransactionAtomicity,Epistemic}.agda (scripts/check-agda.sh)|a56ccfa9187aa5a285210ef380af91eb1d857e9f6e32c1275b87498923092787|6 fixtures refused as expected; [check-agda] OK|superseded|canonical flags and three modules, before SingleActiveLog.agda, so it is listed for G-1, T-1 and E-1m only; replaced by run 42076969251 at a later commit| +agda|https://github.com/hyperpolymath/januskey/actions/runs/40867211509|4afb710e86646658f667f10bd6274ee47416bfc7|Agda version 2.6.4.3 (Debian trixie agda-bin=2.6.4.3-1+b2, container debian:trixie-slim@sha256:a29215f6a35e51e22adffa17f89e9d2ef06214e64a2bad10d765c46aea49f11f)|agda --safe --without-K (before --cubical-compatible joined the gate)|14b816f8950f28250ca82e4c77c7b2771dce30b405fa55c23ac7d0ad0ebd4591|4 fixtures refused as expected; [check-agda] OK|superseded|before --cubical-compatible, before Epistemic.agda and before SingleActiveLog.agda; it never covered E-1m, nor T-2 and T-3 as now stated, so it is listed for G-1 and T-1 only| +rocq|https://github.com/hyperpolymath/januskey/actions/runs/44131609502|246b03d8888a08e9540611b3b7ddeb8052004f8e|The Coq Proof Assistant, version 8.18.0 (Ubuntu 24.04 coq=8.18.0+dfsg-1build2)|coqc -q -Q . JanusKey .v for each of Epistemic, Reversibility, Rollback, SingleActiveLog (copies of verification/proofs/rocq/*.v; scripts/check-recheck.sh)|2f9a91ec283573822579d64feb5db2faf4d028e5597578c25b14b8ff865e5824|4 rocq legs check with no assumptions (Epistemic, Reversibility, Rollback, SingleActiveLog); every Print Assumptions closed; [check-recheck] OK|superseded|ran in ubuntu:24.04@sha256:73b999393d07f2bf65a40373778a44dc9a6d54ad7718d29247d8ff9413c4d6a8 (recorded on main by hyperpolymath/januskey#191 as current) but at 246b03d, before the change that moves the Lean legs under lake; that change alters scripts/check-recheck.sh, the checker both legs run through, and a changed checker re-earns the receipt (docs/theory/PROOF-GRADES.adoc, reporting rules). To be replaced by the first run on main after that change| +rocq|https://github.com/hyperpolymath/januskey/actions/runs/43945986467|e8deeaf7bc7b70500d57c282828512c8f8ba81f9|The Coq Proof Assistant, version 8.18.0 (Ubuntu 24.04 coq=8.18.0+dfsg-1build2)|coqc -q -Q . JanusKey .v for each of Epistemic, Reversibility, Rollback, SingleActiveLog (copies of verification/proofs/rocq/*.v; scripts/check-recheck.sh)|2f9a91ec283573822579d64feb5db2faf4d028e5597578c25b14b8ff865e5824|4 rocq legs check with no assumptions (Epistemic, Reversibility, Rollback, SingleActiveLog); the job refused its 8 fixtures (4 Rocq, 4 Lean) as expected; [check-recheck] OK|superseded|its checker, scripts/check-recheck.sh, is changed by the change that moves the Lean legs under lake; a changed checker re-earns the receipt (docs/theory/PROOF-GRADES.adoc, reporting rules), although the Rocq steps of the script are byte-identical. To be replaced by the first run on main after that change. It also ran on a runner outside a digest-pinned image, which the owner ruled on 2026-11-16 is not enough for PWG-1 (hyperpolymath/januskey#184)| +rocq|https://github.com/hyperpolymath/januskey/actions/runs/43213340167|b5034884dbe945139d03b38fe80cfdf1106a77e1|The Coq Proof Assistant, version 8.18.0 (Ubuntu 24.04 coq=8.18.0+dfsg-1build2)|coqc -q -Q . JanusKey Rollback.v (a copy of verification/proofs/rocq/Rollback.v; scripts/check-recheck.sh)|2e86900da60f3e8cde1198f69fc6f7b0b9d73c5fe0ab2ae42f7b66ef1b7fd50d|1 rocq leg checks with no assumptions (Rollback); the job refused its 2 fixtures (1 Rocq, 1 Lean) as expected; [check-recheck] OK|superseded|T-1's leg only, under the gate before hyperpolymath/januskey#180; replaced by the run at #180's merge| +rocq|https://github.com/hyperpolymath/januskey/actions/runs/42646851111|0834ce73717a1faafa23fc1df55d85d54ee1e2b7|The Coq Proof Assistant, version 8.18.0 (Ubuntu 24.04 coq=8.18.0+dfsg-1build2)|coqc -q -Q . JanusKey Rollback.v (a copy of verification/proofs/rocq/Rollback.v; scripts/check-recheck.sh)|2e86900da60f3e8cde1198f69fc6f7b0b9d73c5fe0ab2ae42f7b66ef1b7fd50d|1 rocq leg checks with no assumptions (Rollback); the job refused its 2 fixtures (1 Rocq, 1 Lean) as expected; [check-recheck] OK|superseded|the first run on main (hyperpolymath/januskey#171); replaced by the run at the receipt's source commit| +lean|https://github.com/hyperpolymath/januskey/actions/runs/44131609502|246b03d8888a08e9540611b3b7ddeb8052004f8e|Lean (version 4.35.0, x86_64-unknown-linux-gnu, commit eb6cafb7290e8bd5f2937522d8d804f58f02bafc, Release) (release tarball, sha256 7289597a44543246c9227b8cae501767e095ce17f6d448b95fc4a8dc97268f6d)|lean -o .olean verification/proofs/lean/.lean for each of Epistemic, Reversibility, Rollback, SingleActiveLog (scripts/check-recheck.sh)|7146f3dce43d6160bb2d902d56984ac5fbccf8880b7336127b4cb7568da5db1f|4 lean legs check with no axioms (Epistemic, Reversibility, Rollback, SingleActiveLog); every #print axioms none; [check-recheck] OK|superseded|ran lean directly, not under lake; PROOF-POLICY §8.2 names lean under lake, and the owner ruled on 2026-11-17 that a direct run does not qualify. It did run in a digest-pinned image (ubuntu:24.04@sha256:73b999393d07f2bf65a40373778a44dc9a6d54ad7718d29247d8ff9413c4d6a8), but hyperpolymath/januskey#191 graded PWG-1 from it before the legs moved under lake; the owner ruled by selector on 2026-11-21 that the merged tree stays PWG-3. To be replaced by the first run of the legs under lake| +lean|https://github.com/hyperpolymath/januskey/actions/runs/43945986467|e8deeaf7bc7b70500d57c282828512c8f8ba81f9|Lean (version 4.35.0, x86_64-unknown-linux-gnu, commit eb6cafb7290e8bd5f2937522d8d804f58f02bafc, Release) (release tarball, sha256 7289597a44543246c9227b8cae501767e095ce17f6d448b95fc4a8dc97268f6d)|lean -o .olean verification/proofs/lean/.lean for each of Epistemic, Reversibility, Rollback, SingleActiveLog (scripts/check-recheck.sh)|7146f3dce43d6160bb2d902d56984ac5fbccf8880b7336127b4cb7568da5db1f|4 lean legs check with no axioms (Epistemic, Reversibility, Rollback, SingleActiveLog); the job refused its 8 fixtures (4 Rocq, 4 Lean) as expected; [check-recheck] OK|superseded|ran lean directly, not under lake (owner ruling 2026-11-17), and on a runner outside a digest-pinned image (owner ruling 2026-11-16, hyperpolymath/januskey#184); replaced in the ledger by run 44131609502, itself superseded| +lean|https://github.com/hyperpolymath/januskey/actions/runs/43213340167|b5034884dbe945139d03b38fe80cfdf1106a77e1|Lean (version 4.35.0, x86_64-unknown-linux-gnu, commit eb6cafb7290e8bd5f2937522d8d804f58f02bafc, Release) (release tarball, sha256 7289597a44543246c9227b8cae501767e095ce17f6d448b95fc4a8dc97268f6d)|lean -o Rollback.olean verification/proofs/lean/Rollback.lean (scripts/check-recheck.sh)|2b89f7de00ec28537f8c1dd66d771048a3ee649183ed12c04f1d51b4246d37a8|1 lean leg checks with no axioms (Rollback); the job refused its 2 fixtures (1 Rocq, 1 Lean) as expected; [check-recheck] OK|superseded|T-1's leg only, under the gate before hyperpolymath/januskey#180; replaced by the run at #180's merge| +lean|https://github.com/hyperpolymath/januskey/actions/runs/42646851111|0834ce73717a1faafa23fc1df55d85d54ee1e2b7|Lean (version 4.35.0, x86_64-unknown-linux-gnu, commit eb6cafb7290e8bd5f2937522d8d804f58f02bafc, Release) (release tarball, sha256 7289597a44543246c9227b8cae501767e095ce17f6d448b95fc4a8dc97268f6d)|lean -o Rollback.olean verification/proofs/lean/Rollback.lean (scripts/check-recheck.sh)|2b89f7de00ec28537f8c1dd66d771048a3ee649183ed12c04f1d51b4246d37a8|1 lean leg checks with no axioms (Rollback); the job refused its 2 fixtures (1 Rocq, 1 Lean) as expected; [check-recheck] OK|superseded|the first run on main (hyperpolymath/januskey#171); replaced by the run at the receipt's source commit| From 2218bca8c554c634ae40d412b0afd3f7bad45715 Mon Sep 17 00:00:00 2001 From: Claude Date: Mon, 30 Nov 2026 23:32:05 +0000 Subject: [PATCH 2/4] proof receipt: bind check-agda.sh and check-recheck.sh into the input sets The Agda input set gains scripts/check-agda.sh (the flags, the cone and postulate scans, the expected rejections) and the Rocq and Lean sets gain scripts/check-recheck.sh, the checker both recheck legs run through. A change to a gate now changes its leg's digest, so the receipt is re-earned, as PROOF-GRADES's reporting rules ask. The current Agda receipt at 246b03d no longer describes the tree under the wider set, so the generator derives it stale and the five rows are ungraded until the next commit records the run at d71bb76. Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_013CuBToxr5h9catptGiTsFX --- scripts/proof-receipt.sh | 22 ++++-- verification/receipts/januskey_praxis.deed | 90 ++++------------------ 2 files changed, 29 insertions(+), 83 deletions(-) diff --git a/scripts/proof-receipt.sh b/scripts/proof-receipt.sh index afb7ef9..2d77678 100755 --- a/scripts/proof-receipt.sh +++ b/scripts/proof-receipt.sh @@ -148,17 +148,23 @@ receipt_invocation() { # §8.5.1 input sets, from the tree. # agda: the modules of verification/proofs/agda (all four are graded roots; # check-agda.sh resolves the rest of the cone to the sibling or the -# prover), and scripts/fetch-siblings.sh, which holds the sibling's -# pin, so a repin changes this digest. No libraries file is read. +# prover); scripts/fetch-siblings.sh, which holds the sibling's pin, +# so a repin changes this digest; and scripts/check-agda.sh, the +# gate that holds the flags, the cone and postulate scans and the +# expected rejections, so a change to the gate re-earns the receipt. +# No libraries file is read. # rocq: the .v files directly in verification/proofs/rocq (check-recheck.sh -# copies that level only, so the pattern is a glob that stops at "/"). -# lean: the .lean files of verification/proofs/lean and its Lake package -# files (lakefile.toml, lean-toolchain), which the build reads. +# copies that level only, so the pattern is a glob that stops at "/"), +# and scripts/check-recheck.sh, the checker both recheck legs run +# through. +# lean: the .lean files of verification/proofs/lean, its Lake package +# files (lakefile.toml, lean-toolchain), which the build reads, and +# scripts/check-recheck.sh. receipt_inputs() { case "$1" in - agda) git ls-files -- 'verification/proofs/agda/*.agda'; printf '%s\n' scripts/fetch-siblings.sh ;; - rocq) git ls-files -- ':(glob)verification/proofs/rocq/*.v' ;; - lean) git ls-files -- ':(glob)verification/proofs/lean/*.lean' verification/proofs/lean/lakefile.toml verification/proofs/lean/lean-toolchain ;; + agda) git ls-files -- 'verification/proofs/agda/*.agda'; printf '%s\n' scripts/fetch-siblings.sh scripts/check-agda.sh ;; + rocq) git ls-files -- ':(glob)verification/proofs/rocq/*.v'; printf '%s\n' scripts/check-recheck.sh ;; + lean) git ls-files -- ':(glob)verification/proofs/lean/*.lean' verification/proofs/lean/lakefile.toml verification/proofs/lean/lean-toolchain; printf '%s\n' scripts/check-recheck.sh ;; *) receipt_die "unknown prover: $1" ;; esac } diff --git a/verification/receipts/januskey_praxis.deed b/verification/receipts/januskey_praxis.deed index 00fcb8a..24c125e 100644 --- a/verification/receipts/januskey_praxis.deed +++ b/verification/receipts/januskey_praxis.deed @@ -18,27 +18,15 @@ (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 "G-1" :pwg PWG-3 :foundation-diverse #f + (claim :id "G-1" :pwg ungraded :foundation-diverse #f (leg :prover agda :route source :token proven :state AGDA-VERIFIED ; the run reported: import cone 7 first-party modules and 8 supplied with the prover; postulate scan 7 files, 0 postulates; 7 fixtures refused as expected; [check-agda] OK (receipt :run "https://github.com/hyperpolymath/januskey/actions/runs/44131609502" :commit "246b03d8888a08e9540611b3b7ddeb8052004f8e" :checker "Agda version 2.6.4.3 (Debian trixie agda-bin=2.6.4.3-1+b2, container debian:trixie-slim@sha256:a29215f6a35e51e22adffa17f89e9d2ef06214e64a2bad10d765c46aea49f11f)" :invocation "agda --safe --without-K --cubical-compatible --no-libraries --ignore-interfaces --double-check -i verification/proofs/agda -i _build/dependencies/resource-algebra/src verification/proofs/agda/{Reversibility,TransactionAtomicity,Epistemic,SingleActiveLog}.agda (scripts/check-agda.sh)" - :image "debian:trixie-slim@sha256:a29215f6a35e51e22adffa17f89e9d2ef06214e64a2bad10d765c46aea49f11f" - :inputs-sha256 "6e17ce4ad8264cd09de228eaa06e212caeb4d090436a4d9373078ee7978800d8" - :state current - (inputs-manifest - (file :path "scripts/fetch-siblings.sh" :sha256 "9d42fe9e8fb27ef4f2a3eede1fd41e09cadf2760a8c8176abbcd3f33807bdd06") - (file :path "verification/proofs/agda/Epistemic.agda" :sha256 "7e73f7072b57f0f97a00bd358548bc86f14c8982817f846b1e0a92cfb1f9fcf3") - (file :path "verification/proofs/agda/Reversibility.agda" :sha256 "648fa11a656104d9ad970f14d50abc91761fcccfc9be6731ee9bb1e3cdb98e42") - (file :path "verification/proofs/agda/SingleActiveLog.agda" :sha256 "0c349e6e3edc1fdaf905ebfc12b5417aee1843f61ee2b5c52e44af3ba0a86dc7") - (file :path "verification/proofs/agda/TransactionAtomicity.agda" :sha256 "d5198612d6afdfd70b6ce4c85a552b88e59c75c3624f972365e3eed175fdc056")) - (import :repository "hyperpolymath/resource-algebra" :commit "cf9235c532712a783a404c359a1055f40134794a" :inputs-sha256 "adddbf38fe2ce754f50fc70f5743f381763fb6387e5f99ce8a7d0a38176df9c9" - (file :path "src/ResourceAlgebra/Core.agda" :sha256 "d2ecf2684597d223437a229b33b539a57252a56fbb24f28e70b1b5b3fd7d1b1d") - (file :path "src/ResourceAlgebra/Instances/Loss.agda" :sha256 "79863d1124d8fcb61a70f6a7710ec1b9ce44568b2f901d0efb875d24c2460563") - (file :path "src/ResourceAlgebra/Prelude.agda" :sha256 "9297839256b426b49a1059f58ac284e2e75304d1c58b0d619cabd9eb2198d8a8")) - (axioms)) + :state stale + :reason "the agda leg's inputs changed after commit 246b03d8888a, so this run no longer describes the tree; no run of the new inputs is recorded yet") ; the run reported: import cone 7 first-party modules and 8 supplied with the prover; postulate scan 7 files, 0 postulates; 7 fixtures refused as expected; [check-agda] OK (receipt :run "https://github.com/hyperpolymath/januskey/actions/runs/43945986467" :commit "e8deeaf7bc7b70500d57c282828512c8f8ba81f9" @@ -111,27 +99,15 @@ :invocation "lean -o .olean verification/proofs/lean/.lean for each of Epistemic, Reversibility, Rollback, SingleActiveLog (scripts/check-recheck.sh)" :state superseded :reason "ran lean directly, not under lake (owner ruling 2026-11-17), and on a runner outside a digest-pinned image (owner ruling 2026-11-16, hyperpolymath/januskey#184); replaced in the ledger by run 44131609502, itself superseded"))) - (claim :id "T-1" :pwg PWG-3 :foundation-diverse #f + (claim :id "T-1" :pwg ungraded :foundation-diverse #f (leg :prover agda :route source :token proven :state AGDA-VERIFIED ; the run reported: import cone 7 first-party modules and 8 supplied with the prover; postulate scan 7 files, 0 postulates; 7 fixtures refused as expected; [check-agda] OK (receipt :run "https://github.com/hyperpolymath/januskey/actions/runs/44131609502" :commit "246b03d8888a08e9540611b3b7ddeb8052004f8e" :checker "Agda version 2.6.4.3 (Debian trixie agda-bin=2.6.4.3-1+b2, container debian:trixie-slim@sha256:a29215f6a35e51e22adffa17f89e9d2ef06214e64a2bad10d765c46aea49f11f)" :invocation "agda --safe --without-K --cubical-compatible --no-libraries --ignore-interfaces --double-check -i verification/proofs/agda -i _build/dependencies/resource-algebra/src verification/proofs/agda/{Reversibility,TransactionAtomicity,Epistemic,SingleActiveLog}.agda (scripts/check-agda.sh)" - :image "debian:trixie-slim@sha256:a29215f6a35e51e22adffa17f89e9d2ef06214e64a2bad10d765c46aea49f11f" - :inputs-sha256 "6e17ce4ad8264cd09de228eaa06e212caeb4d090436a4d9373078ee7978800d8" - :state current - (inputs-manifest - (file :path "scripts/fetch-siblings.sh" :sha256 "9d42fe9e8fb27ef4f2a3eede1fd41e09cadf2760a8c8176abbcd3f33807bdd06") - (file :path "verification/proofs/agda/Epistemic.agda" :sha256 "7e73f7072b57f0f97a00bd358548bc86f14c8982817f846b1e0a92cfb1f9fcf3") - (file :path "verification/proofs/agda/Reversibility.agda" :sha256 "648fa11a656104d9ad970f14d50abc91761fcccfc9be6731ee9bb1e3cdb98e42") - (file :path "verification/proofs/agda/SingleActiveLog.agda" :sha256 "0c349e6e3edc1fdaf905ebfc12b5417aee1843f61ee2b5c52e44af3ba0a86dc7") - (file :path "verification/proofs/agda/TransactionAtomicity.agda" :sha256 "d5198612d6afdfd70b6ce4c85a552b88e59c75c3624f972365e3eed175fdc056")) - (import :repository "hyperpolymath/resource-algebra" :commit "cf9235c532712a783a404c359a1055f40134794a" :inputs-sha256 "adddbf38fe2ce754f50fc70f5743f381763fb6387e5f99ce8a7d0a38176df9c9" - (file :path "src/ResourceAlgebra/Core.agda" :sha256 "d2ecf2684597d223437a229b33b539a57252a56fbb24f28e70b1b5b3fd7d1b1d") - (file :path "src/ResourceAlgebra/Instances/Loss.agda" :sha256 "79863d1124d8fcb61a70f6a7710ec1b9ce44568b2f901d0efb875d24c2460563") - (file :path "src/ResourceAlgebra/Prelude.agda" :sha256 "9297839256b426b49a1059f58ac284e2e75304d1c58b0d619cabd9eb2198d8a8")) - (axioms)) + :state stale + :reason "the agda leg's inputs changed after commit 246b03d8888a, so this run no longer describes the tree; no run of the new inputs is recorded yet") ; the run reported: import cone 7 first-party modules and 8 supplied with the prover; postulate scan 7 files, 0 postulates; 7 fixtures refused as expected; [check-agda] OK (receipt :run "https://github.com/hyperpolymath/januskey/actions/runs/43945986467" :commit "e8deeaf7bc7b70500d57c282828512c8f8ba81f9" @@ -232,27 +208,15 @@ :invocation "lean -o Rollback.olean verification/proofs/lean/Rollback.lean (scripts/check-recheck.sh)" :state superseded :reason "the first run on main (hyperpolymath/januskey#171); replaced by the run at the receipt's source commit"))) - (claim :id "T-2" :pwg PWG-3 :foundation-diverse #f + (claim :id "T-2" :pwg ungraded :foundation-diverse #f (leg :prover agda :route source :token proven :state AGDA-VERIFIED ; the run reported: import cone 7 first-party modules and 8 supplied with the prover; postulate scan 7 files, 0 postulates; 7 fixtures refused as expected; [check-agda] OK (receipt :run "https://github.com/hyperpolymath/januskey/actions/runs/44131609502" :commit "246b03d8888a08e9540611b3b7ddeb8052004f8e" :checker "Agda version 2.6.4.3 (Debian trixie agda-bin=2.6.4.3-1+b2, container debian:trixie-slim@sha256:a29215f6a35e51e22adffa17f89e9d2ef06214e64a2bad10d765c46aea49f11f)" :invocation "agda --safe --without-K --cubical-compatible --no-libraries --ignore-interfaces --double-check -i verification/proofs/agda -i _build/dependencies/resource-algebra/src verification/proofs/agda/{Reversibility,TransactionAtomicity,Epistemic,SingleActiveLog}.agda (scripts/check-agda.sh)" - :image "debian:trixie-slim@sha256:a29215f6a35e51e22adffa17f89e9d2ef06214e64a2bad10d765c46aea49f11f" - :inputs-sha256 "6e17ce4ad8264cd09de228eaa06e212caeb4d090436a4d9373078ee7978800d8" - :state current - (inputs-manifest - (file :path "scripts/fetch-siblings.sh" :sha256 "9d42fe9e8fb27ef4f2a3eede1fd41e09cadf2760a8c8176abbcd3f33807bdd06") - (file :path "verification/proofs/agda/Epistemic.agda" :sha256 "7e73f7072b57f0f97a00bd358548bc86f14c8982817f846b1e0a92cfb1f9fcf3") - (file :path "verification/proofs/agda/Reversibility.agda" :sha256 "648fa11a656104d9ad970f14d50abc91761fcccfc9be6731ee9bb1e3cdb98e42") - (file :path "verification/proofs/agda/SingleActiveLog.agda" :sha256 "0c349e6e3edc1fdaf905ebfc12b5417aee1843f61ee2b5c52e44af3ba0a86dc7") - (file :path "verification/proofs/agda/TransactionAtomicity.agda" :sha256 "d5198612d6afdfd70b6ce4c85a552b88e59c75c3624f972365e3eed175fdc056")) - (import :repository "hyperpolymath/resource-algebra" :commit "cf9235c532712a783a404c359a1055f40134794a" :inputs-sha256 "adddbf38fe2ce754f50fc70f5743f381763fb6387e5f99ce8a7d0a38176df9c9" - (file :path "src/ResourceAlgebra/Core.agda" :sha256 "d2ecf2684597d223437a229b33b539a57252a56fbb24f28e70b1b5b3fd7d1b1d") - (file :path "src/ResourceAlgebra/Instances/Loss.agda" :sha256 "79863d1124d8fcb61a70f6a7710ec1b9ce44568b2f901d0efb875d24c2460563") - (file :path "src/ResourceAlgebra/Prelude.agda" :sha256 "9297839256b426b49a1059f58ac284e2e75304d1c58b0d619cabd9eb2198d8a8")) - (axioms)) + :state stale + :reason "the agda leg's inputs changed after commit 246b03d8888a, so this run no longer describes the tree; no run of the new inputs is recorded yet") ; the run reported: import cone 7 first-party modules and 8 supplied with the prover; postulate scan 7 files, 0 postulates; 7 fixtures refused as expected; [check-agda] OK (receipt :run "https://github.com/hyperpolymath/januskey/actions/runs/43945986467" :commit "e8deeaf7bc7b70500d57c282828512c8f8ba81f9" @@ -304,27 +268,15 @@ :invocation "lean -o .olean verification/proofs/lean/.lean for each of Epistemic, Reversibility, Rollback, SingleActiveLog (scripts/check-recheck.sh)" :state superseded :reason "ran lean directly, not under lake (owner ruling 2026-11-17), and on a runner outside a digest-pinned image (owner ruling 2026-11-16, hyperpolymath/januskey#184); replaced in the ledger by run 44131609502, itself superseded"))) - (claim :id "T-3" :pwg PWG-3 :foundation-diverse #f + (claim :id "T-3" :pwg ungraded :foundation-diverse #f (leg :prover agda :route source :token proven :state AGDA-VERIFIED ; the run reported: import cone 7 first-party modules and 8 supplied with the prover; postulate scan 7 files, 0 postulates; 7 fixtures refused as expected; [check-agda] OK (receipt :run "https://github.com/hyperpolymath/januskey/actions/runs/44131609502" :commit "246b03d8888a08e9540611b3b7ddeb8052004f8e" :checker "Agda version 2.6.4.3 (Debian trixie agda-bin=2.6.4.3-1+b2, container debian:trixie-slim@sha256:a29215f6a35e51e22adffa17f89e9d2ef06214e64a2bad10d765c46aea49f11f)" :invocation "agda --safe --without-K --cubical-compatible --no-libraries --ignore-interfaces --double-check -i verification/proofs/agda -i _build/dependencies/resource-algebra/src verification/proofs/agda/{Reversibility,TransactionAtomicity,Epistemic,SingleActiveLog}.agda (scripts/check-agda.sh)" - :image "debian:trixie-slim@sha256:a29215f6a35e51e22adffa17f89e9d2ef06214e64a2bad10d765c46aea49f11f" - :inputs-sha256 "6e17ce4ad8264cd09de228eaa06e212caeb4d090436a4d9373078ee7978800d8" - :state current - (inputs-manifest - (file :path "scripts/fetch-siblings.sh" :sha256 "9d42fe9e8fb27ef4f2a3eede1fd41e09cadf2760a8c8176abbcd3f33807bdd06") - (file :path "verification/proofs/agda/Epistemic.agda" :sha256 "7e73f7072b57f0f97a00bd358548bc86f14c8982817f846b1e0a92cfb1f9fcf3") - (file :path "verification/proofs/agda/Reversibility.agda" :sha256 "648fa11a656104d9ad970f14d50abc91761fcccfc9be6731ee9bb1e3cdb98e42") - (file :path "verification/proofs/agda/SingleActiveLog.agda" :sha256 "0c349e6e3edc1fdaf905ebfc12b5417aee1843f61ee2b5c52e44af3ba0a86dc7") - (file :path "verification/proofs/agda/TransactionAtomicity.agda" :sha256 "d5198612d6afdfd70b6ce4c85a552b88e59c75c3624f972365e3eed175fdc056")) - (import :repository "hyperpolymath/resource-algebra" :commit "cf9235c532712a783a404c359a1055f40134794a" :inputs-sha256 "adddbf38fe2ce754f50fc70f5743f381763fb6387e5f99ce8a7d0a38176df9c9" - (file :path "src/ResourceAlgebra/Core.agda" :sha256 "d2ecf2684597d223437a229b33b539a57252a56fbb24f28e70b1b5b3fd7d1b1d") - (file :path "src/ResourceAlgebra/Instances/Loss.agda" :sha256 "79863d1124d8fcb61a70f6a7710ec1b9ce44568b2f901d0efb875d24c2460563") - (file :path "src/ResourceAlgebra/Prelude.agda" :sha256 "9297839256b426b49a1059f58ac284e2e75304d1c58b0d619cabd9eb2198d8a8")) - (axioms)) + :state stale + :reason "the agda leg's inputs changed after commit 246b03d8888a, so this run no longer describes the tree; no run of the new inputs is recorded yet") ; the run reported: import cone 7 first-party modules and 8 supplied with the prover; postulate scan 7 files, 0 postulates; 7 fixtures refused as expected; [check-agda] OK (receipt :run "https://github.com/hyperpolymath/januskey/actions/runs/43945986467" :commit "e8deeaf7bc7b70500d57c282828512c8f8ba81f9" @@ -376,27 +328,15 @@ :invocation "lean -o .olean verification/proofs/lean/.lean for each of Epistemic, Reversibility, Rollback, SingleActiveLog (scripts/check-recheck.sh)" :state superseded :reason "ran lean directly, not under lake (owner ruling 2026-11-17), and on a runner outside a digest-pinned image (owner ruling 2026-11-16, hyperpolymath/januskey#184); replaced in the ledger by run 44131609502, itself superseded"))) - (claim :id "E-1m" :pwg PWG-3 :foundation-diverse #f + (claim :id "E-1m" :pwg ungraded :foundation-diverse #f (leg :prover agda :route source :token proven :state AGDA-VERIFIED ; the run reported: import cone 7 first-party modules and 8 supplied with the prover; postulate scan 7 files, 0 postulates; 7 fixtures refused as expected; [check-agda] OK (receipt :run "https://github.com/hyperpolymath/januskey/actions/runs/44131609502" :commit "246b03d8888a08e9540611b3b7ddeb8052004f8e" :checker "Agda version 2.6.4.3 (Debian trixie agda-bin=2.6.4.3-1+b2, container debian:trixie-slim@sha256:a29215f6a35e51e22adffa17f89e9d2ef06214e64a2bad10d765c46aea49f11f)" :invocation "agda --safe --without-K --cubical-compatible --no-libraries --ignore-interfaces --double-check -i verification/proofs/agda -i _build/dependencies/resource-algebra/src verification/proofs/agda/{Reversibility,TransactionAtomicity,Epistemic,SingleActiveLog}.agda (scripts/check-agda.sh)" - :image "debian:trixie-slim@sha256:a29215f6a35e51e22adffa17f89e9d2ef06214e64a2bad10d765c46aea49f11f" - :inputs-sha256 "6e17ce4ad8264cd09de228eaa06e212caeb4d090436a4d9373078ee7978800d8" - :state current - (inputs-manifest - (file :path "scripts/fetch-siblings.sh" :sha256 "9d42fe9e8fb27ef4f2a3eede1fd41e09cadf2760a8c8176abbcd3f33807bdd06") - (file :path "verification/proofs/agda/Epistemic.agda" :sha256 "7e73f7072b57f0f97a00bd358548bc86f14c8982817f846b1e0a92cfb1f9fcf3") - (file :path "verification/proofs/agda/Reversibility.agda" :sha256 "648fa11a656104d9ad970f14d50abc91761fcccfc9be6731ee9bb1e3cdb98e42") - (file :path "verification/proofs/agda/SingleActiveLog.agda" :sha256 "0c349e6e3edc1fdaf905ebfc12b5417aee1843f61ee2b5c52e44af3ba0a86dc7") - (file :path "verification/proofs/agda/TransactionAtomicity.agda" :sha256 "d5198612d6afdfd70b6ce4c85a552b88e59c75c3624f972365e3eed175fdc056")) - (import :repository "hyperpolymath/resource-algebra" :commit "cf9235c532712a783a404c359a1055f40134794a" :inputs-sha256 "adddbf38fe2ce754f50fc70f5743f381763fb6387e5f99ce8a7d0a38176df9c9" - (file :path "src/ResourceAlgebra/Core.agda" :sha256 "d2ecf2684597d223437a229b33b539a57252a56fbb24f28e70b1b5b3fd7d1b1d") - (file :path "src/ResourceAlgebra/Instances/Loss.agda" :sha256 "79863d1124d8fcb61a70f6a7710ec1b9ce44568b2f901d0efb875d24c2460563") - (file :path "src/ResourceAlgebra/Prelude.agda" :sha256 "9297839256b426b49a1059f58ac284e2e75304d1c58b0d619cabd9eb2198d8a8")) - (axioms)) + :state stale + :reason "the agda leg's inputs changed after commit 246b03d8888a, so this run no longer describes the tree; no run of the new inputs is recorded yet") ; the run reported: import cone 7 first-party modules and 8 supplied with the prover; postulate scan 7 files, 0 postulates; 7 fixtures refused as expected; [check-agda] OK (receipt :run "https://github.com/hyperpolymath/januskey/actions/runs/43945986467" :commit "e8deeaf7bc7b70500d57c282828512c8f8ba81f9" From 45a7e780f01d5aab0b8e34dfbba7a968a0b73deb Mon Sep 17 00:00:00 2001 From: Claude Date: Mon, 30 Nov 2026 23:37:13 +0000 Subject: [PATCH 3/4] proofs: record run 44931813652 at d71bb76; all five theory rows PWG-2ii Records the first CI run on main after the Lean legs moved under lake: run 44931813652 at d71bb76 (the merge of #186), Agda job 136929863193 and the Rocq and Lean recheck job 136929862932. Each row was printed by --run-row from the job's log and appended by --record. All five theory rows (G-1, T-1, T-2, T-3, E-1m) derive PWG-2ii. No row names an image. Each checker is installed at run time into a digest-pinned base image, which the owner ruled is not isolation (resource-algebra PN-7, applied estate-wide on 2026-11-30), so no row is PWG-1 until the legs run in prover images. PROOF-GRADES, PROOF-NEEDS and READINESS record the new receipt, the census and the isolation rule. Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_013CuBToxr5h9catptGiTsFX --- PROOF-NEEDS.adoc | 78 +++--- READINESS.adoc | 2 +- docs/theory/PROOF-GRADES.adoc | 147 ++++++----- verification/receipts/januskey_praxis.deed | 277 +++++++++++++++++++-- verification/receipts/runs.ledger | 3 + 5 files changed, 382 insertions(+), 125 deletions(-) diff --git a/PROOF-NEEDS.adoc b/PROOF-NEEDS.adoc index 392b852..6973d96 100644 --- a/PROOF-NEEDS.adoc +++ b/PROOF-NEEDS.adoc @@ -67,15 +67,15 @@ next free number in its series. | C-3 | A transaction containing an obliteration is not all-reversible | PROVEN | `+Layout.obliterateNotReversible+` | C-4 | Replacing a chain entry by one with a different hash breaks the link | PROVEN | `+Proofs.tamperBreaksLink+` | C-5 | Struct sizes 32/16/112 and 8-byte alignment as divisibility (statements about the literals) | PROVEN | `+Layout.{contentHashSize,keyIdSize,oblitProofSize,hashAligned,keyIdAligned,oblitAligned}+` -| G-1 | Reversibility as a Loss grade: lossless traces have only lossless steps; obliteration absorbs; a wrap/unwrap pair carries its cancellation law (its grade 𝟙 is assigned, not derived from that law) | PROVEN | `+verification/proofs/agda/Reversibility.agda+` (Agda kernel, resource-algebra pinned at `+cf9235c+`); `+tests/reject-agda/*+` refused; rechecked in Rocq and Lean (`+verification/proofs/{rocq,lean}/Reversibility+`, the Loss grade restated, `+PWG-3+`); the cancellation premise is the TESTED row `+execute_then_undo_is_identity+` +| G-1 | Reversibility as a Loss grade: lossless traces have only lossless steps; obliteration absorbs; a wrap/unwrap pair carries its cancellation law (its grade 𝟙 is assigned, not derived from that law) | PROVEN | `+verification/proofs/agda/Reversibility.agda+` (Agda kernel, resource-algebra pinned at `+cf9235c+`); `+tests/reject-agda/*+` refused; rechecked in Rocq and Lean (`+verification/proofs/{rocq,lean}/Reversibility+`, the Loss grade restated, `+PWG-2ii+`); the cancellation premise is the TESTED row `+execute_then_undo_is_identity+` | G-2 | The Idris2 `+IsCNO+`/`+ReversibleOp+` pair corresponds to Agda `+ReversiblePair+` (by transcription) | ASSUMED | no mechanical link claimed | G-3 | The FFI bridge preserves grade 𝟙 (homomorphism) | OPEN | resource-algebra lists homomorphisms OPEN; to file from JNK-01 | E-1 | An attacker cannot recover obliterated content or use a revoked key | OPEN | `+Types.adversaryCannotKnow+` holds only because `+Knows+` has no Adversary constructor; the *model-level* half is now proved in Agda as row E-1m (#145 item 3) -| E-1m | In a world model, an adversary whose observation excludes the store does not know what it holds; obliteration leaves nothing to recover; rotation to a different key leaves no agent able to use the old one (premise `+old ≠ new+`; true by the definition of `+rotate+` in the model; that an unusable key cannot decrypt is X-1) | PROVEN | `+verification/proofs/agda/Epistemic.agda+`; rechecked in Rocq and Lean (`+verification/proofs/{rocq,lean}/Epistemic+`, `+PWG-3+`); `+tests/reject-agda/{AdversaryKnows,OldKeyStillUsable}.agda+` refused +| E-1m | In a world model, an adversary whose observation excludes the store does not know what it holds; obliteration leaves nothing to recover; rotation to a different key leaves no agent able to use the old one (premise `+old ≠ new+`; true by the definition of `+rotate+` in the model; that an unusable key cannot decrypt is X-1) | PROVEN | `+verification/proofs/agda/Epistemic.agda+`; rechecked in Rocq and Lean (`+verification/proofs/{rocq,lean}/Epistemic+`, `+PWG-2ii+`); `+tests/reject-agda/{AdversaryKnows,OldKeyStillUsable}.agda+` refused | X-1 | Hash one-wayness; physical erasure (cryptographic and physical assumptions, external to this repository) | ASSUMED | not theorems of this repo -| T-1 | Undoing a fully executed transaction's operations in reverse order restores the state it began in, given each step's undo restores its execute (the sequential Theorem 3.4) | PROVEN | `+TransactionAtomicity.rollback-restores+`; rechecked in Rocq and Lean (`+verification/proofs/{rocq,lean}/Rollback+`, `+PWG-3+`); `+tests/reject-agda/ForwardRollback.agda+` refused -| T-2 | In any single-active log (records with a decidable key and an active or settled phase), opening a fresh active record, a key- and phase-preserving edit, and a settling transition each preserve the invariant and rewrite only the active record, so a settled one is never modified | PROVEN | `+SingleActiveLog.{begin-good,modify-good,finish-good,update-active}+`; rechecked in Rocq and Lean (`+verification/proofs/{rocq,lean}/SingleActiveLog+`, `+PWG-3+`); `+tests/reject-agda/SettleWithoutSettling.agda+` refused; januskey's instance is `+TransactionAtomicity.lifecycle-preserves-good+`; `+tests/reject-agda/CommitWhenIdle.agda+` refused -| T-3 | In any single-active log satisfying the invariant, at most one record is active, and exactly one when the pointer is set | PROVEN | `+SingleActiveLog.at-most-one-active+`; rechecked in Rocq and Lean (`+verification/proofs/{rocq,lean}/SingleActiveLog+`, `+PWG-3+`) (januskey's transactions are an instance) +| T-1 | Undoing a fully executed transaction's operations in reverse order restores the state it began in, given each step's undo restores its execute (the sequential Theorem 3.4) | PROVEN | `+TransactionAtomicity.rollback-restores+`; rechecked in Rocq and Lean (`+verification/proofs/{rocq,lean}/Rollback+`, `+PWG-2ii+`); `+tests/reject-agda/ForwardRollback.agda+` refused +| T-2 | In any single-active log (records with a decidable key and an active or settled phase), opening a fresh active record, a key- and phase-preserving edit, and a settling transition each preserve the invariant and rewrite only the active record, so a settled one is never modified | PROVEN | `+SingleActiveLog.{begin-good,modify-good,finish-good,update-active}+`; rechecked in Rocq and Lean (`+verification/proofs/{rocq,lean}/SingleActiveLog+`, `+PWG-2ii+`); `+tests/reject-agda/SettleWithoutSettling.agda+` refused; januskey's instance is `+TransactionAtomicity.lifecycle-preserves-good+`; `+tests/reject-agda/CommitWhenIdle.agda+` refused +| T-3 | In any single-active log satisfying the invariant, at most one record is active, and exactly one when the pointer is set | PROVEN | `+SingleActiveLog.at-most-one-active+`; rechecked in Rocq and Lean (`+verification/proofs/{rocq,lean}/SingleActiveLog+`, `+PWG-2ii+`) (januskey's transactions are an instance) | T-4 | A rollback that fails part-way can be retried to completion | TESTED | `+rollback_resume_test+` drives the real `+jk+`: after one undo error and a repair, `+jk rollback+` skips the already undone operation and finishes (before the fix the retry stopped at it every time, reproduced 2026-10-26); fixed in `+cmd_rollback+` | T-5 | The transaction log is never left disagreeing with memory by a failed save, and is replaced by rename rather than overwritten in place, with an fsync before the rename by construction (no test observes the fsync) (a randomly named temporary file opened with the old file's mode, removed only if this save created it) rather than overwritten in place | TESTED | `+transaction::tests::failed_save_*+`: a save that fails at the final step leaves begin, add_operation, commit and rollback unapplied in memory; mutants (memory first, plain `+fs::write+`, no temp cleanup, shared temp name, truncating open, no permission copy) each fail a test. Not claimed: crash-safety of the rename itself is by construction, not crash-injected; the directory fsync is best effort (owner decision 2026-11-09), because failing the save after the rename would leave disk new and memory old; concurrent writers are out of scope (each save's content is intact, the last rename wins) | T-6 | A failed execute leaves the filesystem unchanged, and each undo restores the state its execute started from (premises of T-1; single steps are TESTED by `+execute_then_undo_is_identity+`) | ASSUMED | not checked for the failure path @@ -138,26 +138,31 @@ link:verification/receipts/januskey_praxis.deed[`+verification/receipts/januskey (§8.5.1, profile `+proof-receipt+`), written by `+scripts/proof-receipt.sh+` and checked by `+just test-receipt+` and CI with the standards reader pinned by commit, which derives each grade and refuses one the receipts do not support. -It describes commit `+246b03d+` on `+main+`, where green CI run -https://github.com/hyperpolymath/januskey/actions/runs/44131609502[44131609502] -(the `+agda-proofs.yml+` Agda job, in `+debian:trixie-slim@sha256:a29215f6…+`, recorded as the receipt's `+:image+`) -checked `+Reversibility+`, `+TransactionAtomicity+`, `+Epistemic+` and -`+SingleActiveLog+` under `+--safe --without-K --cubical-compatible+` (Agda -2.6.4.3, `+resource-algebra+` pinned at `+cf9235c+`, import cone 7 first-party -modules and 8 supplied with the prover, 0 postulates) and the Rocq and Lean -legs of all five rows (the Rocq and Lean receipts of that run are superseded, below). Each of the five is `+PROVEN+` under the §2.1 invocation with -correspondence state `+AGDA-VERIFIED+`. The superseded Agda receipts (runs 43945986467 at `+e8deeaf+`, 43213340167 at `+b503488+`, 42736066407 -at `+e165438+`, 42076969251 at `+23bc8c3+`, 41687715055 at `+fc188c4+` and -40867211509 at `+4afb710+`; the last three predate `+SingleActiveLog+` and are -listed for the rows they checked), the superseded Rocq and Lean receipts -(runs 44131609502 at `+246b03d+`, 43945986467 at `+e8deeaf+`, 43213340167 at `+b503488+` and 42646851111 at -`+0834ce7+`), the cone and the axioms (none in the development; +It describes commit `+d71bb76+` on `+main+`, the merge of #186, where green CI +run https://github.com/hyperpolymath/januskey/actions/runs/44931813652[44931813652] +(`+ci.yml+`, which calls `+agda-proofs.yml+`) checked `+Reversibility+`, +`+TransactionAtomicity+`, `+Epistemic+` and `+SingleActiveLog+` under +`+--safe --without-K --cubical-compatible+` (Agda 2.6.4.3 in +`+debian:trixie-slim@sha256:a29215f6…+`, `+resource-algebra+` pinned at +`+cf9235c+`, import cone 7 first-party modules and 8 supplied with the prover, +0 postulates) and the Rocq and Lean legs of all five rows (Coq 8.18.0 and Lean +4.35.0 under `+lake+`, in `+ubuntu:24.04@sha256:73b99939…+`). Each of the five +is `+PROVEN+` under the §2.1 invocation with correspondence state +`+AGDA-VERIFIED+`. The run ledger is the append-only data file +link:verification/receipts/runs.ledger[`+verification/receipts/runs.ledger+`]. +The superseded Agda receipts (runs 44131609502 at `+246b03d+`, 43945986467 at +`+e8deeaf+`, 43213340167 at `+b503488+`, 42736066407 at `+e165438+`, +42076969251 at `+23bc8c3+`, 41687715055 at `+fc188c4+` and 40867211509 at +`+4afb710+`; the last three predate `+SingleActiveLog+` and are listed for the +rows they checked), the superseded Rocq and Lean receipts (runs 44131609502 at +`+246b03d+`, 43945986467 at `+e8deeaf+`, 43213340167 at `+b503488+` and +42646851111 at `+0834ce7+`), the cone and the axioms (none in the development; the prover's four universe-level primitives are checked by name and binding and listed as its trusted base) are recorded in the receipt and in link:docs/theory/PROOF-GRADES.adoc[`+docs/theory/PROOF-GRADES.adoc+`]. *PWG census, theory theorems of this repository (denominator 5):* `+PWG-1+` 0 -· `+PWG-2ii+` 0 · `+PWG-2i+` 0 · `+PWG-3+` 5 (G-1, T-1, T-2, T-3, E-1m) · +· `+PWG-2ii+` 5 (G-1, T-1, T-2, T-3, E-1m) · `+PWG-2i+` 0 · `+PWG-3+` 0 · `+ungraded+` 0. G-3 names this repository's FFI bridge, so PROOF-POLICY §1 classes it as engineering and it is outside the ladder. Every row has a Rocq leg and a Lean leg, re-proved by hand and reconciled statement by statement (`+docs/theory/PROOF-GRADES.adoc+`, §The recheck legs). A grade @@ -172,25 +177,20 @@ contracts, and **Verus** (PROOF-POLICY §1.2, owner ruling 2026-11-07; not SPARK and not Idris2); neither verifier has a contract or proof in this tree yet, which is why no Rust row is proved. -All five rows are `+PWG-3+`. Their Rocq and Lean legs are re-proved and -reconciled, but only the Agda witness has a current receipt. The Lean -receipt is `+superseded+`: that run used `+lean+` directly, and §8.2 names -`+lean+` under `+lake+` (owner ruling 2026-11-17). The legs now build under -`+lake+`. The Rocq receipt is `+superseded+` too: moving the Lean legs under -`+lake+` changed `+scripts/check-recheck.sh+`, the checker both legs run -through, and a changed checker re-earns the receipt. `+PWG-1+` needs all three -witnesses receipted at one source commit, so once one run on `+main+` that -checks Agda, Rocq and Lean together -is recorded as the new source commit, the reader derives `+PWG-1+` again. §8.2 accepts "a pinned -kernel run in CI" on the same terms as a checker service, and the owner ruled -on 2026-11-16 that pinned means a digest-pinned image: a fresh runner with -version pins is not enough (hyperpolymath/januskey#184). The Agda job has -always run in one, and the recheck job does since #184. The run at `+e8deeaf+` -predates that for Rocq and Lean, which is a further reason its receipts for -those legs are `+superseded+`. Run 44131609502 at `+246b03d+` (recorded on main by #191) -ran all three in digest-pinned images, but before the legs moved under `+lake+`, so its Rocq -and Lean receipts are `+superseded+` too and only its Agda receipt is current (owner ruling by -selector, 2026-11-21: the merged tree stays `+PWG-3+`). How the three provers are +All five rows are `+PWG-2ii+`. Their Rocq and Lean legs are re-proved and +reconciled, and run 44931813652 at `+d71bb76+` gives all three witnesses a +current receipt, with the Lean legs built under `+lake+` (§8.2 names `+lean+` +under `+lake+`, owner ruling 2026-11-17). No row is `+PWG-1+`. §8.2 accepts "a +pinned kernel run in CI" on the same terms as a checker service, and the owner +ruled on 2026-11-16 that pinned means a digest-pinned image: a fresh runner with +version pins is not enough (hyperpolymath/januskey#184). The owner then ruled +(resource-algebra PN-7, 2026-11-18, applied estate-wide on 2026-11-30) that the +image must ship the checker. Here every checker is installed at run time into a +digest-pinned base image, so no receipt names an image, and `+PWG-1+` waits for +prover images. Run 44131609502 at `+246b03d+` (recorded on main by #191) ran +all three legs, but before the Lean legs moved under `+lake+`, so its Rocq and +Lean receipts are `+superseded+` (owner ruling by selector, 2026-11-21: that +tree stays `+PWG-3+`). How the three provers are installed is a separate matter, §6's, recorded under "Toolchain deviations" below. A change to a leg's inputs fails the receipt gate until a run of the new inputs is recorded, or the current run is marked `+superseded+` or diff --git a/READINESS.adoc b/READINESS.adoc index 506c3c7..b283d9e 100644 --- a/READINESS.adoc +++ b/READINESS.adoc @@ -65,7 +65,7 @@ handling (run by idris-abi.yml, agda-proofs.yml and dashboard-check) |=== -*Total declared:* 153 tests + 5 benchmark groups; 12 proofs checked (PROVEN ledger rows; five are theory theorems under PROOF-POLICY §8, graded from the receipt: all five at PWG-3 (only the Agda witness has a current receipt; the Rocq and Lean receipts, including run 44131609502 at 246b03d, are superseded until a run on main after the checker change is recorded) — see `docs/theory/PROOF-GRADES.adoc`) *Total +*Total declared:* 153 tests + 5 benchmark groups; 12 proofs checked (PROVEN ledger rows; five are theory theorems under PROOF-POLICY §8, graded from the receipt: all five at PWG-2ii (run 44931813652 at d71bb76 gives all three witnesses a current receipt; none is PWG-1, because every checker is installed at run time rather than shipped in a prover image) — see `docs/theory/PROOF-GRADES.adoc`) *Total missing:* Fuzz, mutation, chaos, compatibility === Aspect Matrix diff --git a/docs/theory/PROOF-GRADES.adoc b/docs/theory/PROOF-GRADES.adoc index 7376dda..ea2107e 100644 --- a/docs/theory/PROOF-GRADES.adoc +++ b/docs/theory/PROOF-GRADES.adoc @@ -13,7 +13,7 @@ repository, and none is introduced here. [NOTE] ==== *PWG census, theory theorems of this repository (denominator 5):* -`PWG-1` 0 · `PWG-2ii` 0 · `PWG-2i` 0 · `PWG-3` 5 (G-1, T-1, T-2, T-3, E-1m) · +`PWG-1` 0 · `PWG-2ii` 5 (G-1, T-1, T-2, T-3, E-1m) · `PWG-2i` 0 · `PWG-3` 0 · `ungraded` 0. `+foundation-diverse`: none. Axioms: none, in any of the three provers. Derived by the pinned standards reader from `verification/receipts/januskey_praxis.deed` (§The machine-readable receipt @@ -121,43 +121,48 @@ deed with `:profile proof-receipt` (PROOF-POLICY §8.5.1). It is written by the estate's shared generator (standards `scripts/proof-receipt.sh`), which `scripts/proof-receipt.sh` here fetches with the reader, the reference digest and the §8.5.3 checker at one standards commit, each checked against its SHA-256. -The home script holds only januskey's own data: the claim list, the run ledger -(each run copied from its log), the run scopes (a superseded run is listed only -under the claims it checked), and the hooks naming each leg's invocation and -input set. Every file's SHA-256 and every §8.5.1 digest are computed from git, -never typed; a superseded run's digest is the reference digest of its leg's -inputs at that run's commit. `just test-receipt`, and the `agda-proofs.yml` job -"Proof receipt, derived grades, git checks", regenerate the receipt and refuse -any difference, run the §8.5.3 git checks (each manifest holds at its commit, -the `resource-algebra` import holds at its pin, and the source commit is on +The home script holds only januskey's own data: the claim list, the run scopes +(a superseded run is listed only under the claims it checked), and the hooks +naming each leg's invocation and input set. The run ledger is the data file +`verification/receipts/runs.ledger`, one row per run of a leg, each printed by +`--run-row` from its run's log. It is append-only: `--check` refuses a ledger +that changed or dropped a row `main` holds, and `--record` appends a run. Every +file's SHA-256 and every §8.5.1 digest are computed from git, never typed; a +superseded run's digest is the reference digest of its leg's inputs at that +run's commit. `just test-receipt`, and the `agda-proofs.yml` job "Proof +receipt, derived grades, git checks", regenerate the receipt and refuse any +difference, run the §8.5.3 git checks (each manifest holds at its commit, the +`resource-algebra` import holds at its pin, and the source commit is on `main`), and run the pinned reader, which derives every grade and refuses one -the receipts do not support, with a negative control. They also refuse a -receipt whose current runs no longer describe the tree: a change to a leg's -inputs must record a new run, or mark the current one `superseded` or -`regressed`, which drops the grade until a new run is recorded (§8.4). This -page is the human reading of that file. - -The receipt describes commit `246b03d8888a08e9540611b3b7ddeb8052004f8e` on `main`, where run 44131609502 -earned the current Agda receipt (the Agda inputs are the same as at `e8deeaf`, the merge of -hyperpolymath/januskey#180, which added the Rocq and Lean legs of -G-1, T-2, T-3 and E-1m and changed their checker, `scripts/check-recheck.sh`. -Before it, the gate changed in #170 (the import-cone postulate scan) and #174 (a -token may start after a skipped literal), and #171 changed the modules' bytes and -added `SingleActiveLog.agda`. A changed checker or changed inputs re-earn the -receipt (§8.4), so every receipt from before those changes is `superseded`, and -the current one is the run on `main` after all of them. +the receipts do not support, with a negative control. No row is edited when a +leg's inputs change. The generator derives the state: a receipt whose leg's +inputs no longer match the tree is `stale`, and an earlier run of a leg with a +newer one recorded is `superseded`. Either drops the grade until a new run is +recorded (§8.4). This page is the human reading of that file. + +The receipt describes commit `d71bb76c0ba204c6127658c501097926bd631dba` on +`main`, the merge of hyperpolymath/januskey#186, where run 44931813652 earned +the current receipt of all three legs. It is the first run on `main` after the +Lean legs moved under `lake`, which changed `scripts/check-recheck.sh`, the +checker both recheck legs run through. Each leg's input set includes its gate +script (`scripts/check-agda.sh` for Agda, `scripts/check-recheck.sh` for Rocq +and Lean), so a change to a gate re-earns its receipt. Earlier, the gate +changed in #170 (the import-cone postulate scan) and #174 (a token may start +after a skipped literal), and #171 changed the modules' bytes and added +`SingleActiveLog.agda`. A changed checker or changed inputs re-earn the receipt +(§8.4), so every receipt from before those changes is `superseded`. [cols="1,3",options="header"] |=== | Field | Value -| Workflow, run | `agda-proofs.yml`, run - https://github.com/hyperpolymath/januskey/actions/runs/44131609502[44131609502], +| Workflow, run | `ci.yml`, which calls `agda-proofs.yml`; run + https://github.com/hyperpolymath/januskey/actions/runs/44931813652[44931813652], branch `main`, conclusion **success**: job "Reversibility as a grade (Loss instance), expected rejections" (Agda), job "Rocq and Lean recheck legs, - expected rejections" (all ten legs and eight twins, §The recheck legs below) - and job "Proof receipt, derived grades, git checks" -| Commit | `246b03d8888a08e9540611b3b7ddeb8052004f8e` + expected rejections" (all ten legs and eight twins, §The recheck legs below), + job "Proof receipt, derived grades, git checks" and `CI/gate` +| Commit | `d71bb76c0ba204c6127658c501097926bd631dba` | Prover | `agda-bin=2.6.4.3-1+b2` on Debian trixie-slim (`@sha256:a29215f6…`), asserted by a passing step: `test "$(agda --version)" = 'Agda version 2.6.4.3'` @@ -200,6 +205,16 @@ Earlier receipts, kept with their lineage (§8.4) here and in the receipt file: |=== | Run, commit | State | Why +| https://github.com/hyperpolymath/januskey/actions/runs/44131609502[44131609502], `246b03d` +| `superseded` +| All three legs, recorded by #191. Its Lean legs ran `lean` directly, and its + Rocq and Lean legs predate the change to `scripts/check-recheck.sh` that + moved the Lean legs under `lake`. Its Agda receipt is superseded by run + 44931813652, which the generator derives +| https://github.com/hyperpolymath/januskey/actions/runs/43945986467[43945986467], `e8deeaf` +| `superseded` +| All three legs at #180's merge; its Rocq and Lean checkers ran outside a + pinned image; replaced by run 44131609502 | https://github.com/hyperpolymath/januskey/actions/runs/43213340167[43213340167], `b503488` | `superseded` | Agda and T-1's legs only, under the recheck gate before #180; replaced by the @@ -227,24 +242,12 @@ Earlier receipts, kept with their lineage (§8.4) here and in the receipt file: Those are the facts the grades rest on. The propositions type-check in Agda under the §2.1 invocation, in CI, at a named commit, with the prover version pinned and the import cone recorded (`PWG-3`). Each of the five rows has a Rocq -leg and a Lean leg, re-proved and reconciled (§The recheck legs below), and each -of the three provers has a receipt from a pinned CI checker run on the -receipt's source commit itself. Only the Agda receipt is still current. The -Lean receipt from that run is now -`superseded`: the legs ran `lean` directly, and the owner ruled on 2026-11-17 -that §8.2's "`lean` under `lake`" means what it says (§What the grade rests on -below). The Rocq receipt from that run is `superseded` as well. The change -that moved the Lean legs under `lake` edited `scripts/check-recheck.sh`, the -checker both legs run through, and a changed checker re-earns the receipt -(§Reporting rules below). The Rocq steps of the script are byte-identical, but -the rule is about the checker, not about which of its lines changed. With no -current Rocq or Lean receipt neither leg counts, so the reader derives `PWG-3` -(Agda only). `PWG-1` needs all three witnesses receipted at one source commit. -So the first run on `main` after that change that checks Agda, Rocq and Lean -together will be recorded as the receipt's new source commit, and the reader -will derive `PWG-1` again. Recording only the Rocq and Lean legs of a later run -would leave Agda receipted at `246b03d`, and the reader would not derive `PWG-1`. No witness in -another foundation exists, so +leg and a Lean leg, re-proved and reconciled (§The recheck legs below), and +each of the three provers has a current receipt from one pinned CI run on the +receipt's source commit itself, with the Lean legs built under `lake`. So the +reader derives `PWG-2ii` for all five. It does not derive `PWG-1`: no receipt +names an image, because every checker is installed at run time (§What the +grade rests on below). No witness in another foundation exists, so `foundation_diverse` is false throughout. === What the grade rests on @@ -255,14 +258,18 @@ run in CI (`agda`, `rocq compile` or `coqc`, `lean` under `lake`) qualifies on the same terms." The owner ruled on 2026-11-16 what "pinned" and "isolated" require (hyperpolymath/januskey#184, which answers the question left open in hyperpolymath/januskey#181): the checker must run in a digest-pinned image. -A fresh runner with version and SHA-256 pins is not enough. - -The Agda checker has always run in a container pinned by digest. At `e8deeaf` -the Rocq and Lean checkers ran on an ephemeral `ubuntu-24.04` runner, outside -any pinned image, so that run cannot earn `PWG-1` for those legs. Since #184 -the recheck job runs in `ubuntu:24.04` pinned by digest, with -`coq=8.18.0+dfsg-1build2` and the Lean release tarball checked by SHA-256 -inside it. +A fresh runner with version and SHA-256 pins is not enough. The owner ruled +again on 2026-11-18 (resource-algebra PN-7) and on 2026-11-30 that this holds +estate-wide: the image must ship the checker. A base image pinned by digest, +with the checker installed into it at run time, is not isolation. + +Every leg here runs in a base image pinned by digest and installs its checker +at run time: Agda as `agda-bin=2.6.4.3-1+b2` in `debian:trixie-slim`, Rocq as +`coq=8.18.0+dfsg-1build2` and Lean as the release tarball checked by SHA-256, +both in `ubuntu:24.04`. So no receipt names an image, and no row can be +`PWG-1` until the legs run in prover images that ship their checkers. +Receipts recorded before 2026-11-30 name such base images; they are all +`superseded`, and the reader derives nothing from them. Lean has a second condition. Until 2026-11-17 the legs ran `lean` directly on single files, and §8.2 names `lean` under `lake`. The owner ruled that a direct @@ -273,12 +280,12 @@ builds with `lake build`. So the Rocq and Lean rows of the run at `e8deeaf` are both `superseded` in the receipt: the run was outside a pinned image, the Lean legs ran directly, and the change that moved them under `lake` edited the script both legs run -through. The rows of run 44131609502 at `246b03d` (recorded by #191, in pinned -images) are `superseded` for the same last two reasons: its Lean legs ran directly -and it predates the changed checker. #191 graded `PWG-1` from that run; the owner -ruled by selector on 2026-11-21 that the merged tree stays `PWG-3`. The grade is `PWG-3` until one run on `main` of all three witnesses, -with the Rocq and Lean legs in the pinned -image and under `lake`, is recorded. +through. The rows of run 44131609502 at `246b03d` (recorded by #191) are +`superseded` for the same last two reasons: its Lean legs ran directly and it +predates the changed checker. #191 graded `PWG-1` from that run; the owner +ruled by selector on 2026-11-21 that the merged tree stays `PWG-3`. Run +44931813652 at `d71bb76` checks all three witnesses with the Lean legs under +`lake`, so the grade is `PWG-2ii`. How the provers are installed is §6's concern, not §8.2's. None is installed through a Guix manifest or the repo's own container, so each is a recorded @@ -407,10 +414,12 @@ repeated the counts, and the two copies drifted apart. ==== Leg records (PROOF-POLICY §8.5) Every theory row now has both recheck legs, re-proved by hand, so one record -serves all five. `pwg: 3` for each, derived by the reader. Run 44131609502 at -`246b03d` (in digest-pinned images) and run 43945986467 at `e8deeaf` checked all three witnesses of every row, but their Rocq and Lean -receipts are `superseded` (§What the grade rests on above), so only the Agda -leg counts. +serves all five. `pwg: 2ii` for each, derived by the reader. Run 44931813652 +at `d71bb76` checked all three witnesses of every row, with the Lean legs +under `lake`, and its three receipts are current, so both recheck legs count. +The earlier runs 44131609502 at `246b03d` and 43945986467 at `e8deeaf` +checked them too, but their Rocq and Lean receipts are `superseded` (§What the +grade rests on above). `foundation_diverse: false` throughout. [cols="1,1,1,1,3",options="header"] @@ -427,9 +436,9 @@ leg counts. | `re-proved` | `PROVEN` | `RECONCILED` -| runs 44131609502 at `246b03d` and 43945986467 at `e8deeaf`, job "Rocq and Lean recheck legs", in the - receipt (§The machine-readable receipt above). That receipt is `superseded`, - so the leg does not count toward the grade until a new run is recorded +| `current`: run 44931813652 at `d71bb76`, job "Rocq and Lean recheck legs", + in the receipt (§The machine-readable receipt above); the receipts of runs + 44131609502 at `246b03d` and 43945986467 at `e8deeaf` are `superseded` | Lean | `re-proved` diff --git a/verification/receipts/januskey_praxis.deed b/verification/receipts/januskey_praxis.deed index 24c125e..2ebf899 100644 --- a/verification/receipts/januskey_praxis.deed +++ b/verification/receipts/januskey_praxis.deed @@ -12,21 +12,40 @@ :canonical-name "januskey-proof-receipt" :profile proof-receipt :repository "hyperpolymath/januskey" - :source-commit "246b03d8888a08e9540611b3b7ddeb8052004f8e" + :source-commit "d71bb76c0ba204c6127658c501097926bd631dba" (trusted-base (primitive :prover agda :module "Agda.Primitive" :name "Level" :binding "BUILTIN LEVEL") (primitive :prover agda :module "Agda.Primitive" :name "lzero" :binding "BUILTIN LEVELZERO") (primitive :prover agda :module "Agda.Primitive" :name "lsuc" :binding "BUILTIN LEVELSUC") (primitive :prover agda :module "Agda.Primitive" :name "_⊔_" :binding "BUILTIN LEVELMAX")) - (claim :id "G-1" :pwg ungraded :foundation-diverse #f + (claim :id "G-1" :pwg PWG-2ii :foundation-diverse #f (leg :prover agda :route source :token proven :state AGDA-VERIFIED ; the run reported: import cone 7 first-party modules and 8 supplied with the prover; postulate scan 7 files, 0 postulates; 7 fixtures refused as expected; [check-agda] OK + (receipt :run "https://github.com/hyperpolymath/januskey/actions/runs/44931813652/job/136929863193" + :commit "d71bb76c0ba204c6127658c501097926bd631dba" + :checker "Agda version 2.6.4.3 (Debian trixie agda-bin=2.6.4.3-1+b2, installed at run time in debian:trixie-slim@sha256:a29215f6a35e51e22adffa17f89e9d2ef06214e64a2bad10d765c46aea49f11f; a run-time install is not an image that ships the checker, resource-algebra PN-7)" + :invocation "agda --safe --without-K --cubical-compatible --no-libraries --ignore-interfaces --double-check -i verification/proofs/agda -i _build/dependencies/resource-algebra/src verification/proofs/agda/{Reversibility,TransactionAtomicity,Epistemic,SingleActiveLog}.agda (scripts/check-agda.sh)" + :inputs-sha256 "6da5b9ec18463bb9f48d8d7c430b0de200cdd47916fe3aab3023bb19aeeb9e0d" + :state current + (inputs-manifest + (file :path "scripts/check-agda.sh" :sha256 "45aff7b730e4bc105eea1d90d9628cd2295019ec1374732c954489d4c7213511") + (file :path "scripts/fetch-siblings.sh" :sha256 "9d42fe9e8fb27ef4f2a3eede1fd41e09cadf2760a8c8176abbcd3f33807bdd06") + (file :path "verification/proofs/agda/Epistemic.agda" :sha256 "7e73f7072b57f0f97a00bd358548bc86f14c8982817f846b1e0a92cfb1f9fcf3") + (file :path "verification/proofs/agda/Reversibility.agda" :sha256 "648fa11a656104d9ad970f14d50abc91761fcccfc9be6731ee9bb1e3cdb98e42") + (file :path "verification/proofs/agda/SingleActiveLog.agda" :sha256 "0c349e6e3edc1fdaf905ebfc12b5417aee1843f61ee2b5c52e44af3ba0a86dc7") + (file :path "verification/proofs/agda/TransactionAtomicity.agda" :sha256 "d5198612d6afdfd70b6ce4c85a552b88e59c75c3624f972365e3eed175fdc056")) + (import :repository "hyperpolymath/resource-algebra" :commit "cf9235c532712a783a404c359a1055f40134794a" :inputs-sha256 "adddbf38fe2ce754f50fc70f5743f381763fb6387e5f99ce8a7d0a38176df9c9" + (file :path "src/ResourceAlgebra/Core.agda" :sha256 "d2ecf2684597d223437a229b33b539a57252a56fbb24f28e70b1b5b3fd7d1b1d") + (file :path "src/ResourceAlgebra/Instances/Loss.agda" :sha256 "79863d1124d8fcb61a70f6a7710ec1b9ce44568b2f901d0efb875d24c2460563") + (file :path "src/ResourceAlgebra/Prelude.agda" :sha256 "9297839256b426b49a1059f58ac284e2e75304d1c58b0d619cabd9eb2198d8a8")) + (axioms)) + ; the run reported: import cone 7 first-party modules and 8 supplied with the prover; postulate scan 7 files, 0 postulates; 7 fixtures refused as expected; [check-agda] OK (receipt :run "https://github.com/hyperpolymath/januskey/actions/runs/44131609502" :commit "246b03d8888a08e9540611b3b7ddeb8052004f8e" :checker "Agda version 2.6.4.3 (Debian trixie agda-bin=2.6.4.3-1+b2, container debian:trixie-slim@sha256:a29215f6a35e51e22adffa17f89e9d2ef06214e64a2bad10d765c46aea49f11f)" :invocation "agda --safe --without-K --cubical-compatible --no-libraries --ignore-interfaces --double-check -i verification/proofs/agda -i _build/dependencies/resource-algebra/src verification/proofs/agda/{Reversibility,TransactionAtomicity,Epistemic,SingleActiveLog}.agda (scripts/check-agda.sh)" - :state stale - :reason "the agda leg's inputs changed after commit 246b03d8888a, so this run no longer describes the tree; no run of the new inputs is recorded yet") + :state superseded + :reason "replaced by the later run https://github.com/hyperpolymath/januskey/actions/runs/44931813652/job/136929863193") ; the run reported: import cone 7 first-party modules and 8 supplied with the prover; postulate scan 7 files, 0 postulates; 7 fixtures refused as expected; [check-agda] OK (receipt :run "https://github.com/hyperpolymath/januskey/actions/runs/43945986467" :commit "e8deeaf7bc7b70500d57c282828512c8f8ba81f9" @@ -70,6 +89,20 @@ :state superseded :reason "before --cubical-compatible, before Epistemic.agda and before SingleActiveLog.agda; it never covered E-1m, nor T-2 and T-3 as now stated, so it is listed for G-1 and T-1 only")) (leg :prover rocq :route re-proved :token proven :state RECONCILED + ; the run reported: 4 rocq legs check with no assumptions (Epistemic, Reversibility, Rollback, SingleActiveLog: 8, 6, 1 and 7 theorems); every Print Assumptions closed; the job refused its 8 fixtures (4 Rocq, 4 Lean) as expected; [check-recheck] OK + (receipt :run "https://github.com/hyperpolymath/januskey/actions/runs/44931813652/job/136929862932" + :commit "d71bb76c0ba204c6127658c501097926bd631dba" + :checker "The Coq Proof Assistant, version 8.18.0 (Ubuntu 24.04 coq=8.18.0+dfsg-1build2, installed at run time in ubuntu:24.04@sha256:73b999393d07f2bf65a40373778a44dc9a6d54ad7718d29247d8ff9413c4d6a8; a run-time install is not an image that ships the checker, resource-algebra PN-7)" + :invocation "coqc -q -Q . JanusKey .v for each of Epistemic, Reversibility, Rollback, SingleActiveLog (copies of verification/proofs/rocq/*.v; scripts/check-recheck.sh)" + :inputs-sha256 "878abdbcb527b940cf35897f9baec9c27517b2c11da0d4055de4098d841b8546" + :state current + (inputs-manifest + (file :path "scripts/check-recheck.sh" :sha256 "82a05497a696ef22a6680f1d5c757ea31081251b91306a6dce3415802fe889a1") + (file :path "verification/proofs/rocq/Epistemic.v" :sha256 "c9dfd029515bb69381c34bbc45b0a1c7c8e5954f4c5945bc5c0864a7cf6baab9") + (file :path "verification/proofs/rocq/Reversibility.v" :sha256 "0ea2b17813b0f13a93164a1b9a9c3814031823d91bc815095f663fdae7194d36") + (file :path "verification/proofs/rocq/Rollback.v" :sha256 "662d51bf0b642ac28f816853c7d2c6a851583487a15e9f79c3b8184a53ff28e2") + (file :path "verification/proofs/rocq/SingleActiveLog.v" :sha256 "abebcca2a94c1cf7d51d53e76ed1000b67afb44dd21cf4926830b4727f3db900")) + (axioms)) ; the run reported: 4 rocq legs check with no assumptions (Epistemic, Reversibility, Rollback, SingleActiveLog); every Print Assumptions closed; [check-recheck] OK (receipt :run "https://github.com/hyperpolymath/januskey/actions/runs/44131609502" :commit "246b03d8888a08e9540611b3b7ddeb8052004f8e" @@ -85,6 +118,22 @@ :state superseded :reason "its checker, scripts/check-recheck.sh, is changed by the change that moves the Lean legs under lake; a changed checker re-earns the receipt (docs/theory/PROOF-GRADES.adoc, reporting rules), although the Rocq steps of the script are byte-identical. To be replaced by the first run on main after that change. It also ran on a runner outside a digest-pinned image, which the owner ruled on 2026-11-16 is not enough for PWG-1 (hyperpolymath/januskey#184)")) (leg :prover lean :route re-proved :token proven :state RECONCILED + ; the run reported: 4 lean legs check under lake with no axioms (Epistemic, Reversibility, Rollback, SingleActiveLog: 8, 6, 1 and 7 theorems); every #print axioms none; the job refused its 8 fixtures (4 Rocq, 4 Lean) as expected; [check-recheck] OK + (receipt :run "https://github.com/hyperpolymath/januskey/actions/runs/44931813652/job/136929862932" + :commit "d71bb76c0ba204c6127658c501097926bd631dba" + :checker "Lean (version 4.35.0, x86_64-unknown-linux-gnu, commit eb6cafb7290e8bd5f2937522d8d804f58f02bafc, Release) with Lake 5.0.0-src+eb6cafb (release tarball, sha256 7289597a44543246c9227b8cae501767e095ce17f6d448b95fc4a8dc97268f6d, installed at run time in ubuntu:24.04@sha256:73b999393d07f2bf65a40373778a44dc9a6d54ad7718d29247d8ff9413c4d6a8; a run-time install is not an image that ships the checker, resource-algebra PN-7)" + :invocation "lake build in a copy of verification/proofs/lean (lakefile.toml, lean-toolchain and Epistemic, Reversibility, Rollback, SingleActiveLog; scripts/check-recheck.sh)" + :inputs-sha256 "95a3a921ccd6ad43d2e334efdf70bceeb17d41e9db8fe1694f12a0db177d2d7a" + :state current + (inputs-manifest + (file :path "scripts/check-recheck.sh" :sha256 "82a05497a696ef22a6680f1d5c757ea31081251b91306a6dce3415802fe889a1") + (file :path "verification/proofs/lean/Epistemic.lean" :sha256 "9b0d5d88aa7c557b5bf909a78d9acf9391e157ff9e2fbc598dbe5cb70039002f") + (file :path "verification/proofs/lean/Reversibility.lean" :sha256 "6c13052c4c47f34097ae268ea31f8755ea75dab550892240e508dd176621ccb1") + (file :path "verification/proofs/lean/Rollback.lean" :sha256 "808c32585ad582fced7497b93607668f92d9140b36ae4bd90b14f6b26bcd36c6") + (file :path "verification/proofs/lean/SingleActiveLog.lean" :sha256 "f04648e47d7006d213d21ba2d6c08fabc66d9bb3cc14875a38df02579298c9f9") + (file :path "verification/proofs/lean/lakefile.toml" :sha256 "d4ac98282b7cd67d690d070a0bb52d50636c9a70a1b7e76483ef75716d8b7efd") + (file :path "verification/proofs/lean/lean-toolchain" :sha256 "ca5f1f601d34c49079e38d7e7041eb0f2a9c227fbc1df0f404820069a052330c")) + (axioms)) ; the run reported: 4 lean legs check with no axioms (Epistemic, Reversibility, Rollback, SingleActiveLog); every #print axioms none; [check-recheck] OK (receipt :run "https://github.com/hyperpolymath/januskey/actions/runs/44131609502" :commit "246b03d8888a08e9540611b3b7ddeb8052004f8e" @@ -99,15 +148,34 @@ :invocation "lean -o .olean verification/proofs/lean/.lean for each of Epistemic, Reversibility, Rollback, SingleActiveLog (scripts/check-recheck.sh)" :state superseded :reason "ran lean directly, not under lake (owner ruling 2026-11-17), and on a runner outside a digest-pinned image (owner ruling 2026-11-16, hyperpolymath/januskey#184); replaced in the ledger by run 44131609502, itself superseded"))) - (claim :id "T-1" :pwg ungraded :foundation-diverse #f + (claim :id "T-1" :pwg PWG-2ii :foundation-diverse #f (leg :prover agda :route source :token proven :state AGDA-VERIFIED ; the run reported: import cone 7 first-party modules and 8 supplied with the prover; postulate scan 7 files, 0 postulates; 7 fixtures refused as expected; [check-agda] OK + (receipt :run "https://github.com/hyperpolymath/januskey/actions/runs/44931813652/job/136929863193" + :commit "d71bb76c0ba204c6127658c501097926bd631dba" + :checker "Agda version 2.6.4.3 (Debian trixie agda-bin=2.6.4.3-1+b2, installed at run time in debian:trixie-slim@sha256:a29215f6a35e51e22adffa17f89e9d2ef06214e64a2bad10d765c46aea49f11f; a run-time install is not an image that ships the checker, resource-algebra PN-7)" + :invocation "agda --safe --without-K --cubical-compatible --no-libraries --ignore-interfaces --double-check -i verification/proofs/agda -i _build/dependencies/resource-algebra/src verification/proofs/agda/{Reversibility,TransactionAtomicity,Epistemic,SingleActiveLog}.agda (scripts/check-agda.sh)" + :inputs-sha256 "6da5b9ec18463bb9f48d8d7c430b0de200cdd47916fe3aab3023bb19aeeb9e0d" + :state current + (inputs-manifest + (file :path "scripts/check-agda.sh" :sha256 "45aff7b730e4bc105eea1d90d9628cd2295019ec1374732c954489d4c7213511") + (file :path "scripts/fetch-siblings.sh" :sha256 "9d42fe9e8fb27ef4f2a3eede1fd41e09cadf2760a8c8176abbcd3f33807bdd06") + (file :path "verification/proofs/agda/Epistemic.agda" :sha256 "7e73f7072b57f0f97a00bd358548bc86f14c8982817f846b1e0a92cfb1f9fcf3") + (file :path "verification/proofs/agda/Reversibility.agda" :sha256 "648fa11a656104d9ad970f14d50abc91761fcccfc9be6731ee9bb1e3cdb98e42") + (file :path "verification/proofs/agda/SingleActiveLog.agda" :sha256 "0c349e6e3edc1fdaf905ebfc12b5417aee1843f61ee2b5c52e44af3ba0a86dc7") + (file :path "verification/proofs/agda/TransactionAtomicity.agda" :sha256 "d5198612d6afdfd70b6ce4c85a552b88e59c75c3624f972365e3eed175fdc056")) + (import :repository "hyperpolymath/resource-algebra" :commit "cf9235c532712a783a404c359a1055f40134794a" :inputs-sha256 "adddbf38fe2ce754f50fc70f5743f381763fb6387e5f99ce8a7d0a38176df9c9" + (file :path "src/ResourceAlgebra/Core.agda" :sha256 "d2ecf2684597d223437a229b33b539a57252a56fbb24f28e70b1b5b3fd7d1b1d") + (file :path "src/ResourceAlgebra/Instances/Loss.agda" :sha256 "79863d1124d8fcb61a70f6a7710ec1b9ce44568b2f901d0efb875d24c2460563") + (file :path "src/ResourceAlgebra/Prelude.agda" :sha256 "9297839256b426b49a1059f58ac284e2e75304d1c58b0d619cabd9eb2198d8a8")) + (axioms)) + ; the run reported: import cone 7 first-party modules and 8 supplied with the prover; postulate scan 7 files, 0 postulates; 7 fixtures refused as expected; [check-agda] OK (receipt :run "https://github.com/hyperpolymath/januskey/actions/runs/44131609502" :commit "246b03d8888a08e9540611b3b7ddeb8052004f8e" :checker "Agda version 2.6.4.3 (Debian trixie agda-bin=2.6.4.3-1+b2, container debian:trixie-slim@sha256:a29215f6a35e51e22adffa17f89e9d2ef06214e64a2bad10d765c46aea49f11f)" :invocation "agda --safe --without-K --cubical-compatible --no-libraries --ignore-interfaces --double-check -i verification/proofs/agda -i _build/dependencies/resource-algebra/src verification/proofs/agda/{Reversibility,TransactionAtomicity,Epistemic,SingleActiveLog}.agda (scripts/check-agda.sh)" - :state stale - :reason "the agda leg's inputs changed after commit 246b03d8888a, so this run no longer describes the tree; no run of the new inputs is recorded yet") + :state superseded + :reason "replaced by the later run https://github.com/hyperpolymath/januskey/actions/runs/44931813652/job/136929863193") ; the run reported: import cone 7 first-party modules and 8 supplied with the prover; postulate scan 7 files, 0 postulates; 7 fixtures refused as expected; [check-agda] OK (receipt :run "https://github.com/hyperpolymath/januskey/actions/runs/43945986467" :commit "e8deeaf7bc7b70500d57c282828512c8f8ba81f9" @@ -151,6 +219,20 @@ :state superseded :reason "before --cubical-compatible, before Epistemic.agda and before SingleActiveLog.agda; it never covered E-1m, nor T-2 and T-3 as now stated, so it is listed for G-1 and T-1 only")) (leg :prover rocq :route re-proved :token proven :state RECONCILED + ; the run reported: 4 rocq legs check with no assumptions (Epistemic, Reversibility, Rollback, SingleActiveLog: 8, 6, 1 and 7 theorems); every Print Assumptions closed; the job refused its 8 fixtures (4 Rocq, 4 Lean) as expected; [check-recheck] OK + (receipt :run "https://github.com/hyperpolymath/januskey/actions/runs/44931813652/job/136929862932" + :commit "d71bb76c0ba204c6127658c501097926bd631dba" + :checker "The Coq Proof Assistant, version 8.18.0 (Ubuntu 24.04 coq=8.18.0+dfsg-1build2, installed at run time in ubuntu:24.04@sha256:73b999393d07f2bf65a40373778a44dc9a6d54ad7718d29247d8ff9413c4d6a8; a run-time install is not an image that ships the checker, resource-algebra PN-7)" + :invocation "coqc -q -Q . JanusKey .v for each of Epistemic, Reversibility, Rollback, SingleActiveLog (copies of verification/proofs/rocq/*.v; scripts/check-recheck.sh)" + :inputs-sha256 "878abdbcb527b940cf35897f9baec9c27517b2c11da0d4055de4098d841b8546" + :state current + (inputs-manifest + (file :path "scripts/check-recheck.sh" :sha256 "82a05497a696ef22a6680f1d5c757ea31081251b91306a6dce3415802fe889a1") + (file :path "verification/proofs/rocq/Epistemic.v" :sha256 "c9dfd029515bb69381c34bbc45b0a1c7c8e5954f4c5945bc5c0864a7cf6baab9") + (file :path "verification/proofs/rocq/Reversibility.v" :sha256 "0ea2b17813b0f13a93164a1b9a9c3814031823d91bc815095f663fdae7194d36") + (file :path "verification/proofs/rocq/Rollback.v" :sha256 "662d51bf0b642ac28f816853c7d2c6a851583487a15e9f79c3b8184a53ff28e2") + (file :path "verification/proofs/rocq/SingleActiveLog.v" :sha256 "abebcca2a94c1cf7d51d53e76ed1000b67afb44dd21cf4926830b4727f3db900")) + (axioms)) ; the run reported: 4 rocq legs check with no assumptions (Epistemic, Reversibility, Rollback, SingleActiveLog); every Print Assumptions closed; [check-recheck] OK (receipt :run "https://github.com/hyperpolymath/januskey/actions/runs/44131609502" :commit "246b03d8888a08e9540611b3b7ddeb8052004f8e" @@ -180,6 +262,22 @@ :state superseded :reason "the first run on main (hyperpolymath/januskey#171); replaced by the run at the receipt's source commit")) (leg :prover lean :route re-proved :token proven :state RECONCILED + ; the run reported: 4 lean legs check under lake with no axioms (Epistemic, Reversibility, Rollback, SingleActiveLog: 8, 6, 1 and 7 theorems); every #print axioms none; the job refused its 8 fixtures (4 Rocq, 4 Lean) as expected; [check-recheck] OK + (receipt :run "https://github.com/hyperpolymath/januskey/actions/runs/44931813652/job/136929862932" + :commit "d71bb76c0ba204c6127658c501097926bd631dba" + :checker "Lean (version 4.35.0, x86_64-unknown-linux-gnu, commit eb6cafb7290e8bd5f2937522d8d804f58f02bafc, Release) with Lake 5.0.0-src+eb6cafb (release tarball, sha256 7289597a44543246c9227b8cae501767e095ce17f6d448b95fc4a8dc97268f6d, installed at run time in ubuntu:24.04@sha256:73b999393d07f2bf65a40373778a44dc9a6d54ad7718d29247d8ff9413c4d6a8; a run-time install is not an image that ships the checker, resource-algebra PN-7)" + :invocation "lake build in a copy of verification/proofs/lean (lakefile.toml, lean-toolchain and Epistemic, Reversibility, Rollback, SingleActiveLog; scripts/check-recheck.sh)" + :inputs-sha256 "95a3a921ccd6ad43d2e334efdf70bceeb17d41e9db8fe1694f12a0db177d2d7a" + :state current + (inputs-manifest + (file :path "scripts/check-recheck.sh" :sha256 "82a05497a696ef22a6680f1d5c757ea31081251b91306a6dce3415802fe889a1") + (file :path "verification/proofs/lean/Epistemic.lean" :sha256 "9b0d5d88aa7c557b5bf909a78d9acf9391e157ff9e2fbc598dbe5cb70039002f") + (file :path "verification/proofs/lean/Reversibility.lean" :sha256 "6c13052c4c47f34097ae268ea31f8755ea75dab550892240e508dd176621ccb1") + (file :path "verification/proofs/lean/Rollback.lean" :sha256 "808c32585ad582fced7497b93607668f92d9140b36ae4bd90b14f6b26bcd36c6") + (file :path "verification/proofs/lean/SingleActiveLog.lean" :sha256 "f04648e47d7006d213d21ba2d6c08fabc66d9bb3cc14875a38df02579298c9f9") + (file :path "verification/proofs/lean/lakefile.toml" :sha256 "d4ac98282b7cd67d690d070a0bb52d50636c9a70a1b7e76483ef75716d8b7efd") + (file :path "verification/proofs/lean/lean-toolchain" :sha256 "ca5f1f601d34c49079e38d7e7041eb0f2a9c227fbc1df0f404820069a052330c")) + (axioms)) ; the run reported: 4 lean legs check with no axioms (Epistemic, Reversibility, Rollback, SingleActiveLog); every #print axioms none; [check-recheck] OK (receipt :run "https://github.com/hyperpolymath/januskey/actions/runs/44131609502" :commit "246b03d8888a08e9540611b3b7ddeb8052004f8e" @@ -208,15 +306,34 @@ :invocation "lean -o Rollback.olean verification/proofs/lean/Rollback.lean (scripts/check-recheck.sh)" :state superseded :reason "the first run on main (hyperpolymath/januskey#171); replaced by the run at the receipt's source commit"))) - (claim :id "T-2" :pwg ungraded :foundation-diverse #f + (claim :id "T-2" :pwg PWG-2ii :foundation-diverse #f (leg :prover agda :route source :token proven :state AGDA-VERIFIED ; the run reported: import cone 7 first-party modules and 8 supplied with the prover; postulate scan 7 files, 0 postulates; 7 fixtures refused as expected; [check-agda] OK + (receipt :run "https://github.com/hyperpolymath/januskey/actions/runs/44931813652/job/136929863193" + :commit "d71bb76c0ba204c6127658c501097926bd631dba" + :checker "Agda version 2.6.4.3 (Debian trixie agda-bin=2.6.4.3-1+b2, installed at run time in debian:trixie-slim@sha256:a29215f6a35e51e22adffa17f89e9d2ef06214e64a2bad10d765c46aea49f11f; a run-time install is not an image that ships the checker, resource-algebra PN-7)" + :invocation "agda --safe --without-K --cubical-compatible --no-libraries --ignore-interfaces --double-check -i verification/proofs/agda -i _build/dependencies/resource-algebra/src verification/proofs/agda/{Reversibility,TransactionAtomicity,Epistemic,SingleActiveLog}.agda (scripts/check-agda.sh)" + :inputs-sha256 "6da5b9ec18463bb9f48d8d7c430b0de200cdd47916fe3aab3023bb19aeeb9e0d" + :state current + (inputs-manifest + (file :path "scripts/check-agda.sh" :sha256 "45aff7b730e4bc105eea1d90d9628cd2295019ec1374732c954489d4c7213511") + (file :path "scripts/fetch-siblings.sh" :sha256 "9d42fe9e8fb27ef4f2a3eede1fd41e09cadf2760a8c8176abbcd3f33807bdd06") + (file :path "verification/proofs/agda/Epistemic.agda" :sha256 "7e73f7072b57f0f97a00bd358548bc86f14c8982817f846b1e0a92cfb1f9fcf3") + (file :path "verification/proofs/agda/Reversibility.agda" :sha256 "648fa11a656104d9ad970f14d50abc91761fcccfc9be6731ee9bb1e3cdb98e42") + (file :path "verification/proofs/agda/SingleActiveLog.agda" :sha256 "0c349e6e3edc1fdaf905ebfc12b5417aee1843f61ee2b5c52e44af3ba0a86dc7") + (file :path "verification/proofs/agda/TransactionAtomicity.agda" :sha256 "d5198612d6afdfd70b6ce4c85a552b88e59c75c3624f972365e3eed175fdc056")) + (import :repository "hyperpolymath/resource-algebra" :commit "cf9235c532712a783a404c359a1055f40134794a" :inputs-sha256 "adddbf38fe2ce754f50fc70f5743f381763fb6387e5f99ce8a7d0a38176df9c9" + (file :path "src/ResourceAlgebra/Core.agda" :sha256 "d2ecf2684597d223437a229b33b539a57252a56fbb24f28e70b1b5b3fd7d1b1d") + (file :path "src/ResourceAlgebra/Instances/Loss.agda" :sha256 "79863d1124d8fcb61a70f6a7710ec1b9ce44568b2f901d0efb875d24c2460563") + (file :path "src/ResourceAlgebra/Prelude.agda" :sha256 "9297839256b426b49a1059f58ac284e2e75304d1c58b0d619cabd9eb2198d8a8")) + (axioms)) + ; the run reported: import cone 7 first-party modules and 8 supplied with the prover; postulate scan 7 files, 0 postulates; 7 fixtures refused as expected; [check-agda] OK (receipt :run "https://github.com/hyperpolymath/januskey/actions/runs/44131609502" :commit "246b03d8888a08e9540611b3b7ddeb8052004f8e" :checker "Agda version 2.6.4.3 (Debian trixie agda-bin=2.6.4.3-1+b2, container debian:trixie-slim@sha256:a29215f6a35e51e22adffa17f89e9d2ef06214e64a2bad10d765c46aea49f11f)" :invocation "agda --safe --without-K --cubical-compatible --no-libraries --ignore-interfaces --double-check -i verification/proofs/agda -i _build/dependencies/resource-algebra/src verification/proofs/agda/{Reversibility,TransactionAtomicity,Epistemic,SingleActiveLog}.agda (scripts/check-agda.sh)" - :state stale - :reason "the agda leg's inputs changed after commit 246b03d8888a, so this run no longer describes the tree; no run of the new inputs is recorded yet") + :state superseded + :reason "replaced by the later run https://github.com/hyperpolymath/januskey/actions/runs/44931813652/job/136929863193") ; the run reported: import cone 7 first-party modules and 8 supplied with the prover; postulate scan 7 files, 0 postulates; 7 fixtures refused as expected; [check-agda] OK (receipt :run "https://github.com/hyperpolymath/januskey/actions/runs/43945986467" :commit "e8deeaf7bc7b70500d57c282828512c8f8ba81f9" @@ -239,6 +356,20 @@ :state superseded :reason "the first green run on main of the gate as changed by hyperpolymath/januskey#174; replaced by the run at the receipt's source commit")) (leg :prover rocq :route re-proved :token proven :state RECONCILED + ; the run reported: 4 rocq legs check with no assumptions (Epistemic, Reversibility, Rollback, SingleActiveLog: 8, 6, 1 and 7 theorems); every Print Assumptions closed; the job refused its 8 fixtures (4 Rocq, 4 Lean) as expected; [check-recheck] OK + (receipt :run "https://github.com/hyperpolymath/januskey/actions/runs/44931813652/job/136929862932" + :commit "d71bb76c0ba204c6127658c501097926bd631dba" + :checker "The Coq Proof Assistant, version 8.18.0 (Ubuntu 24.04 coq=8.18.0+dfsg-1build2, installed at run time in ubuntu:24.04@sha256:73b999393d07f2bf65a40373778a44dc9a6d54ad7718d29247d8ff9413c4d6a8; a run-time install is not an image that ships the checker, resource-algebra PN-7)" + :invocation "coqc -q -Q . JanusKey .v for each of Epistemic, Reversibility, Rollback, SingleActiveLog (copies of verification/proofs/rocq/*.v; scripts/check-recheck.sh)" + :inputs-sha256 "878abdbcb527b940cf35897f9baec9c27517b2c11da0d4055de4098d841b8546" + :state current + (inputs-manifest + (file :path "scripts/check-recheck.sh" :sha256 "82a05497a696ef22a6680f1d5c757ea31081251b91306a6dce3415802fe889a1") + (file :path "verification/proofs/rocq/Epistemic.v" :sha256 "c9dfd029515bb69381c34bbc45b0a1c7c8e5954f4c5945bc5c0864a7cf6baab9") + (file :path "verification/proofs/rocq/Reversibility.v" :sha256 "0ea2b17813b0f13a93164a1b9a9c3814031823d91bc815095f663fdae7194d36") + (file :path "verification/proofs/rocq/Rollback.v" :sha256 "662d51bf0b642ac28f816853c7d2c6a851583487a15e9f79c3b8184a53ff28e2") + (file :path "verification/proofs/rocq/SingleActiveLog.v" :sha256 "abebcca2a94c1cf7d51d53e76ed1000b67afb44dd21cf4926830b4727f3db900")) + (axioms)) ; the run reported: 4 rocq legs check with no assumptions (Epistemic, Reversibility, Rollback, SingleActiveLog); every Print Assumptions closed; [check-recheck] OK (receipt :run "https://github.com/hyperpolymath/januskey/actions/runs/44131609502" :commit "246b03d8888a08e9540611b3b7ddeb8052004f8e" @@ -254,6 +385,22 @@ :state superseded :reason "its checker, scripts/check-recheck.sh, is changed by the change that moves the Lean legs under lake; a changed checker re-earns the receipt (docs/theory/PROOF-GRADES.adoc, reporting rules), although the Rocq steps of the script are byte-identical. To be replaced by the first run on main after that change. It also ran on a runner outside a digest-pinned image, which the owner ruled on 2026-11-16 is not enough for PWG-1 (hyperpolymath/januskey#184)")) (leg :prover lean :route re-proved :token proven :state RECONCILED + ; the run reported: 4 lean legs check under lake with no axioms (Epistemic, Reversibility, Rollback, SingleActiveLog: 8, 6, 1 and 7 theorems); every #print axioms none; the job refused its 8 fixtures (4 Rocq, 4 Lean) as expected; [check-recheck] OK + (receipt :run "https://github.com/hyperpolymath/januskey/actions/runs/44931813652/job/136929862932" + :commit "d71bb76c0ba204c6127658c501097926bd631dba" + :checker "Lean (version 4.35.0, x86_64-unknown-linux-gnu, commit eb6cafb7290e8bd5f2937522d8d804f58f02bafc, Release) with Lake 5.0.0-src+eb6cafb (release tarball, sha256 7289597a44543246c9227b8cae501767e095ce17f6d448b95fc4a8dc97268f6d, installed at run time in ubuntu:24.04@sha256:73b999393d07f2bf65a40373778a44dc9a6d54ad7718d29247d8ff9413c4d6a8; a run-time install is not an image that ships the checker, resource-algebra PN-7)" + :invocation "lake build in a copy of verification/proofs/lean (lakefile.toml, lean-toolchain and Epistemic, Reversibility, Rollback, SingleActiveLog; scripts/check-recheck.sh)" + :inputs-sha256 "95a3a921ccd6ad43d2e334efdf70bceeb17d41e9db8fe1694f12a0db177d2d7a" + :state current + (inputs-manifest + (file :path "scripts/check-recheck.sh" :sha256 "82a05497a696ef22a6680f1d5c757ea31081251b91306a6dce3415802fe889a1") + (file :path "verification/proofs/lean/Epistemic.lean" :sha256 "9b0d5d88aa7c557b5bf909a78d9acf9391e157ff9e2fbc598dbe5cb70039002f") + (file :path "verification/proofs/lean/Reversibility.lean" :sha256 "6c13052c4c47f34097ae268ea31f8755ea75dab550892240e508dd176621ccb1") + (file :path "verification/proofs/lean/Rollback.lean" :sha256 "808c32585ad582fced7497b93607668f92d9140b36ae4bd90b14f6b26bcd36c6") + (file :path "verification/proofs/lean/SingleActiveLog.lean" :sha256 "f04648e47d7006d213d21ba2d6c08fabc66d9bb3cc14875a38df02579298c9f9") + (file :path "verification/proofs/lean/lakefile.toml" :sha256 "d4ac98282b7cd67d690d070a0bb52d50636c9a70a1b7e76483ef75716d8b7efd") + (file :path "verification/proofs/lean/lean-toolchain" :sha256 "ca5f1f601d34c49079e38d7e7041eb0f2a9c227fbc1df0f404820069a052330c")) + (axioms)) ; the run reported: 4 lean legs check with no axioms (Epistemic, Reversibility, Rollback, SingleActiveLog); every #print axioms none; [check-recheck] OK (receipt :run "https://github.com/hyperpolymath/januskey/actions/runs/44131609502" :commit "246b03d8888a08e9540611b3b7ddeb8052004f8e" @@ -268,15 +415,34 @@ :invocation "lean -o .olean verification/proofs/lean/.lean for each of Epistemic, Reversibility, Rollback, SingleActiveLog (scripts/check-recheck.sh)" :state superseded :reason "ran lean directly, not under lake (owner ruling 2026-11-17), and on a runner outside a digest-pinned image (owner ruling 2026-11-16, hyperpolymath/januskey#184); replaced in the ledger by run 44131609502, itself superseded"))) - (claim :id "T-3" :pwg ungraded :foundation-diverse #f + (claim :id "T-3" :pwg PWG-2ii :foundation-diverse #f (leg :prover agda :route source :token proven :state AGDA-VERIFIED ; the run reported: import cone 7 first-party modules and 8 supplied with the prover; postulate scan 7 files, 0 postulates; 7 fixtures refused as expected; [check-agda] OK + (receipt :run "https://github.com/hyperpolymath/januskey/actions/runs/44931813652/job/136929863193" + :commit "d71bb76c0ba204c6127658c501097926bd631dba" + :checker "Agda version 2.6.4.3 (Debian trixie agda-bin=2.6.4.3-1+b2, installed at run time in debian:trixie-slim@sha256:a29215f6a35e51e22adffa17f89e9d2ef06214e64a2bad10d765c46aea49f11f; a run-time install is not an image that ships the checker, resource-algebra PN-7)" + :invocation "agda --safe --without-K --cubical-compatible --no-libraries --ignore-interfaces --double-check -i verification/proofs/agda -i _build/dependencies/resource-algebra/src verification/proofs/agda/{Reversibility,TransactionAtomicity,Epistemic,SingleActiveLog}.agda (scripts/check-agda.sh)" + :inputs-sha256 "6da5b9ec18463bb9f48d8d7c430b0de200cdd47916fe3aab3023bb19aeeb9e0d" + :state current + (inputs-manifest + (file :path "scripts/check-agda.sh" :sha256 "45aff7b730e4bc105eea1d90d9628cd2295019ec1374732c954489d4c7213511") + (file :path "scripts/fetch-siblings.sh" :sha256 "9d42fe9e8fb27ef4f2a3eede1fd41e09cadf2760a8c8176abbcd3f33807bdd06") + (file :path "verification/proofs/agda/Epistemic.agda" :sha256 "7e73f7072b57f0f97a00bd358548bc86f14c8982817f846b1e0a92cfb1f9fcf3") + (file :path "verification/proofs/agda/Reversibility.agda" :sha256 "648fa11a656104d9ad970f14d50abc91761fcccfc9be6731ee9bb1e3cdb98e42") + (file :path "verification/proofs/agda/SingleActiveLog.agda" :sha256 "0c349e6e3edc1fdaf905ebfc12b5417aee1843f61ee2b5c52e44af3ba0a86dc7") + (file :path "verification/proofs/agda/TransactionAtomicity.agda" :sha256 "d5198612d6afdfd70b6ce4c85a552b88e59c75c3624f972365e3eed175fdc056")) + (import :repository "hyperpolymath/resource-algebra" :commit "cf9235c532712a783a404c359a1055f40134794a" :inputs-sha256 "adddbf38fe2ce754f50fc70f5743f381763fb6387e5f99ce8a7d0a38176df9c9" + (file :path "src/ResourceAlgebra/Core.agda" :sha256 "d2ecf2684597d223437a229b33b539a57252a56fbb24f28e70b1b5b3fd7d1b1d") + (file :path "src/ResourceAlgebra/Instances/Loss.agda" :sha256 "79863d1124d8fcb61a70f6a7710ec1b9ce44568b2f901d0efb875d24c2460563") + (file :path "src/ResourceAlgebra/Prelude.agda" :sha256 "9297839256b426b49a1059f58ac284e2e75304d1c58b0d619cabd9eb2198d8a8")) + (axioms)) + ; the run reported: import cone 7 first-party modules and 8 supplied with the prover; postulate scan 7 files, 0 postulates; 7 fixtures refused as expected; [check-agda] OK (receipt :run "https://github.com/hyperpolymath/januskey/actions/runs/44131609502" :commit "246b03d8888a08e9540611b3b7ddeb8052004f8e" :checker "Agda version 2.6.4.3 (Debian trixie agda-bin=2.6.4.3-1+b2, container debian:trixie-slim@sha256:a29215f6a35e51e22adffa17f89e9d2ef06214e64a2bad10d765c46aea49f11f)" :invocation "agda --safe --without-K --cubical-compatible --no-libraries --ignore-interfaces --double-check -i verification/proofs/agda -i _build/dependencies/resource-algebra/src verification/proofs/agda/{Reversibility,TransactionAtomicity,Epistemic,SingleActiveLog}.agda (scripts/check-agda.sh)" - :state stale - :reason "the agda leg's inputs changed after commit 246b03d8888a, so this run no longer describes the tree; no run of the new inputs is recorded yet") + :state superseded + :reason "replaced by the later run https://github.com/hyperpolymath/januskey/actions/runs/44931813652/job/136929863193") ; the run reported: import cone 7 first-party modules and 8 supplied with the prover; postulate scan 7 files, 0 postulates; 7 fixtures refused as expected; [check-agda] OK (receipt :run "https://github.com/hyperpolymath/januskey/actions/runs/43945986467" :commit "e8deeaf7bc7b70500d57c282828512c8f8ba81f9" @@ -299,6 +465,20 @@ :state superseded :reason "the first green run on main of the gate as changed by hyperpolymath/januskey#174; replaced by the run at the receipt's source commit")) (leg :prover rocq :route re-proved :token proven :state RECONCILED + ; the run reported: 4 rocq legs check with no assumptions (Epistemic, Reversibility, Rollback, SingleActiveLog: 8, 6, 1 and 7 theorems); every Print Assumptions closed; the job refused its 8 fixtures (4 Rocq, 4 Lean) as expected; [check-recheck] OK + (receipt :run "https://github.com/hyperpolymath/januskey/actions/runs/44931813652/job/136929862932" + :commit "d71bb76c0ba204c6127658c501097926bd631dba" + :checker "The Coq Proof Assistant, version 8.18.0 (Ubuntu 24.04 coq=8.18.0+dfsg-1build2, installed at run time in ubuntu:24.04@sha256:73b999393d07f2bf65a40373778a44dc9a6d54ad7718d29247d8ff9413c4d6a8; a run-time install is not an image that ships the checker, resource-algebra PN-7)" + :invocation "coqc -q -Q . JanusKey .v for each of Epistemic, Reversibility, Rollback, SingleActiveLog (copies of verification/proofs/rocq/*.v; scripts/check-recheck.sh)" + :inputs-sha256 "878abdbcb527b940cf35897f9baec9c27517b2c11da0d4055de4098d841b8546" + :state current + (inputs-manifest + (file :path "scripts/check-recheck.sh" :sha256 "82a05497a696ef22a6680f1d5c757ea31081251b91306a6dce3415802fe889a1") + (file :path "verification/proofs/rocq/Epistemic.v" :sha256 "c9dfd029515bb69381c34bbc45b0a1c7c8e5954f4c5945bc5c0864a7cf6baab9") + (file :path "verification/proofs/rocq/Reversibility.v" :sha256 "0ea2b17813b0f13a93164a1b9a9c3814031823d91bc815095f663fdae7194d36") + (file :path "verification/proofs/rocq/Rollback.v" :sha256 "662d51bf0b642ac28f816853c7d2c6a851583487a15e9f79c3b8184a53ff28e2") + (file :path "verification/proofs/rocq/SingleActiveLog.v" :sha256 "abebcca2a94c1cf7d51d53e76ed1000b67afb44dd21cf4926830b4727f3db900")) + (axioms)) ; the run reported: 4 rocq legs check with no assumptions (Epistemic, Reversibility, Rollback, SingleActiveLog); every Print Assumptions closed; [check-recheck] OK (receipt :run "https://github.com/hyperpolymath/januskey/actions/runs/44131609502" :commit "246b03d8888a08e9540611b3b7ddeb8052004f8e" @@ -314,6 +494,22 @@ :state superseded :reason "its checker, scripts/check-recheck.sh, is changed by the change that moves the Lean legs under lake; a changed checker re-earns the receipt (docs/theory/PROOF-GRADES.adoc, reporting rules), although the Rocq steps of the script are byte-identical. To be replaced by the first run on main after that change. It also ran on a runner outside a digest-pinned image, which the owner ruled on 2026-11-16 is not enough for PWG-1 (hyperpolymath/januskey#184)")) (leg :prover lean :route re-proved :token proven :state RECONCILED + ; the run reported: 4 lean legs check under lake with no axioms (Epistemic, Reversibility, Rollback, SingleActiveLog: 8, 6, 1 and 7 theorems); every #print axioms none; the job refused its 8 fixtures (4 Rocq, 4 Lean) as expected; [check-recheck] OK + (receipt :run "https://github.com/hyperpolymath/januskey/actions/runs/44931813652/job/136929862932" + :commit "d71bb76c0ba204c6127658c501097926bd631dba" + :checker "Lean (version 4.35.0, x86_64-unknown-linux-gnu, commit eb6cafb7290e8bd5f2937522d8d804f58f02bafc, Release) with Lake 5.0.0-src+eb6cafb (release tarball, sha256 7289597a44543246c9227b8cae501767e095ce17f6d448b95fc4a8dc97268f6d, installed at run time in ubuntu:24.04@sha256:73b999393d07f2bf65a40373778a44dc9a6d54ad7718d29247d8ff9413c4d6a8; a run-time install is not an image that ships the checker, resource-algebra PN-7)" + :invocation "lake build in a copy of verification/proofs/lean (lakefile.toml, lean-toolchain and Epistemic, Reversibility, Rollback, SingleActiveLog; scripts/check-recheck.sh)" + :inputs-sha256 "95a3a921ccd6ad43d2e334efdf70bceeb17d41e9db8fe1694f12a0db177d2d7a" + :state current + (inputs-manifest + (file :path "scripts/check-recheck.sh" :sha256 "82a05497a696ef22a6680f1d5c757ea31081251b91306a6dce3415802fe889a1") + (file :path "verification/proofs/lean/Epistemic.lean" :sha256 "9b0d5d88aa7c557b5bf909a78d9acf9391e157ff9e2fbc598dbe5cb70039002f") + (file :path "verification/proofs/lean/Reversibility.lean" :sha256 "6c13052c4c47f34097ae268ea31f8755ea75dab550892240e508dd176621ccb1") + (file :path "verification/proofs/lean/Rollback.lean" :sha256 "808c32585ad582fced7497b93607668f92d9140b36ae4bd90b14f6b26bcd36c6") + (file :path "verification/proofs/lean/SingleActiveLog.lean" :sha256 "f04648e47d7006d213d21ba2d6c08fabc66d9bb3cc14875a38df02579298c9f9") + (file :path "verification/proofs/lean/lakefile.toml" :sha256 "d4ac98282b7cd67d690d070a0bb52d50636c9a70a1b7e76483ef75716d8b7efd") + (file :path "verification/proofs/lean/lean-toolchain" :sha256 "ca5f1f601d34c49079e38d7e7041eb0f2a9c227fbc1df0f404820069a052330c")) + (axioms)) ; the run reported: 4 lean legs check with no axioms (Epistemic, Reversibility, Rollback, SingleActiveLog); every #print axioms none; [check-recheck] OK (receipt :run "https://github.com/hyperpolymath/januskey/actions/runs/44131609502" :commit "246b03d8888a08e9540611b3b7ddeb8052004f8e" @@ -328,15 +524,34 @@ :invocation "lean -o .olean verification/proofs/lean/.lean for each of Epistemic, Reversibility, Rollback, SingleActiveLog (scripts/check-recheck.sh)" :state superseded :reason "ran lean directly, not under lake (owner ruling 2026-11-17), and on a runner outside a digest-pinned image (owner ruling 2026-11-16, hyperpolymath/januskey#184); replaced in the ledger by run 44131609502, itself superseded"))) - (claim :id "E-1m" :pwg ungraded :foundation-diverse #f + (claim :id "E-1m" :pwg PWG-2ii :foundation-diverse #f (leg :prover agda :route source :token proven :state AGDA-VERIFIED ; the run reported: import cone 7 first-party modules and 8 supplied with the prover; postulate scan 7 files, 0 postulates; 7 fixtures refused as expected; [check-agda] OK + (receipt :run "https://github.com/hyperpolymath/januskey/actions/runs/44931813652/job/136929863193" + :commit "d71bb76c0ba204c6127658c501097926bd631dba" + :checker "Agda version 2.6.4.3 (Debian trixie agda-bin=2.6.4.3-1+b2, installed at run time in debian:trixie-slim@sha256:a29215f6a35e51e22adffa17f89e9d2ef06214e64a2bad10d765c46aea49f11f; a run-time install is not an image that ships the checker, resource-algebra PN-7)" + :invocation "agda --safe --without-K --cubical-compatible --no-libraries --ignore-interfaces --double-check -i verification/proofs/agda -i _build/dependencies/resource-algebra/src verification/proofs/agda/{Reversibility,TransactionAtomicity,Epistemic,SingleActiveLog}.agda (scripts/check-agda.sh)" + :inputs-sha256 "6da5b9ec18463bb9f48d8d7c430b0de200cdd47916fe3aab3023bb19aeeb9e0d" + :state current + (inputs-manifest + (file :path "scripts/check-agda.sh" :sha256 "45aff7b730e4bc105eea1d90d9628cd2295019ec1374732c954489d4c7213511") + (file :path "scripts/fetch-siblings.sh" :sha256 "9d42fe9e8fb27ef4f2a3eede1fd41e09cadf2760a8c8176abbcd3f33807bdd06") + (file :path "verification/proofs/agda/Epistemic.agda" :sha256 "7e73f7072b57f0f97a00bd358548bc86f14c8982817f846b1e0a92cfb1f9fcf3") + (file :path "verification/proofs/agda/Reversibility.agda" :sha256 "648fa11a656104d9ad970f14d50abc91761fcccfc9be6731ee9bb1e3cdb98e42") + (file :path "verification/proofs/agda/SingleActiveLog.agda" :sha256 "0c349e6e3edc1fdaf905ebfc12b5417aee1843f61ee2b5c52e44af3ba0a86dc7") + (file :path "verification/proofs/agda/TransactionAtomicity.agda" :sha256 "d5198612d6afdfd70b6ce4c85a552b88e59c75c3624f972365e3eed175fdc056")) + (import :repository "hyperpolymath/resource-algebra" :commit "cf9235c532712a783a404c359a1055f40134794a" :inputs-sha256 "adddbf38fe2ce754f50fc70f5743f381763fb6387e5f99ce8a7d0a38176df9c9" + (file :path "src/ResourceAlgebra/Core.agda" :sha256 "d2ecf2684597d223437a229b33b539a57252a56fbb24f28e70b1b5b3fd7d1b1d") + (file :path "src/ResourceAlgebra/Instances/Loss.agda" :sha256 "79863d1124d8fcb61a70f6a7710ec1b9ce44568b2f901d0efb875d24c2460563") + (file :path "src/ResourceAlgebra/Prelude.agda" :sha256 "9297839256b426b49a1059f58ac284e2e75304d1c58b0d619cabd9eb2198d8a8")) + (axioms)) + ; the run reported: import cone 7 first-party modules and 8 supplied with the prover; postulate scan 7 files, 0 postulates; 7 fixtures refused as expected; [check-agda] OK (receipt :run "https://github.com/hyperpolymath/januskey/actions/runs/44131609502" :commit "246b03d8888a08e9540611b3b7ddeb8052004f8e" :checker "Agda version 2.6.4.3 (Debian trixie agda-bin=2.6.4.3-1+b2, container debian:trixie-slim@sha256:a29215f6a35e51e22adffa17f89e9d2ef06214e64a2bad10d765c46aea49f11f)" :invocation "agda --safe --without-K --cubical-compatible --no-libraries --ignore-interfaces --double-check -i verification/proofs/agda -i _build/dependencies/resource-algebra/src verification/proofs/agda/{Reversibility,TransactionAtomicity,Epistemic,SingleActiveLog}.agda (scripts/check-agda.sh)" - :state stale - :reason "the agda leg's inputs changed after commit 246b03d8888a, so this run no longer describes the tree; no run of the new inputs is recorded yet") + :state superseded + :reason "replaced by the later run https://github.com/hyperpolymath/januskey/actions/runs/44931813652/job/136929863193") ; the run reported: import cone 7 first-party modules and 8 supplied with the prover; postulate scan 7 files, 0 postulates; 7 fixtures refused as expected; [check-agda] OK (receipt :run "https://github.com/hyperpolymath/januskey/actions/runs/43945986467" :commit "e8deeaf7bc7b70500d57c282828512c8f8ba81f9" @@ -373,6 +588,20 @@ :state superseded :reason "canonical flags and three modules, before SingleActiveLog.agda, so it is listed for G-1, T-1 and E-1m only; replaced by run 42076969251 at a later commit")) (leg :prover rocq :route re-proved :token proven :state RECONCILED + ; the run reported: 4 rocq legs check with no assumptions (Epistemic, Reversibility, Rollback, SingleActiveLog: 8, 6, 1 and 7 theorems); every Print Assumptions closed; the job refused its 8 fixtures (4 Rocq, 4 Lean) as expected; [check-recheck] OK + (receipt :run "https://github.com/hyperpolymath/januskey/actions/runs/44931813652/job/136929862932" + :commit "d71bb76c0ba204c6127658c501097926bd631dba" + :checker "The Coq Proof Assistant, version 8.18.0 (Ubuntu 24.04 coq=8.18.0+dfsg-1build2, installed at run time in ubuntu:24.04@sha256:73b999393d07f2bf65a40373778a44dc9a6d54ad7718d29247d8ff9413c4d6a8; a run-time install is not an image that ships the checker, resource-algebra PN-7)" + :invocation "coqc -q -Q . JanusKey .v for each of Epistemic, Reversibility, Rollback, SingleActiveLog (copies of verification/proofs/rocq/*.v; scripts/check-recheck.sh)" + :inputs-sha256 "878abdbcb527b940cf35897f9baec9c27517b2c11da0d4055de4098d841b8546" + :state current + (inputs-manifest + (file :path "scripts/check-recheck.sh" :sha256 "82a05497a696ef22a6680f1d5c757ea31081251b91306a6dce3415802fe889a1") + (file :path "verification/proofs/rocq/Epistemic.v" :sha256 "c9dfd029515bb69381c34bbc45b0a1c7c8e5954f4c5945bc5c0864a7cf6baab9") + (file :path "verification/proofs/rocq/Reversibility.v" :sha256 "0ea2b17813b0f13a93164a1b9a9c3814031823d91bc815095f663fdae7194d36") + (file :path "verification/proofs/rocq/Rollback.v" :sha256 "662d51bf0b642ac28f816853c7d2c6a851583487a15e9f79c3b8184a53ff28e2") + (file :path "verification/proofs/rocq/SingleActiveLog.v" :sha256 "abebcca2a94c1cf7d51d53e76ed1000b67afb44dd21cf4926830b4727f3db900")) + (axioms)) ; the run reported: 4 rocq legs check with no assumptions (Epistemic, Reversibility, Rollback, SingleActiveLog); every Print Assumptions closed; [check-recheck] OK (receipt :run "https://github.com/hyperpolymath/januskey/actions/runs/44131609502" :commit "246b03d8888a08e9540611b3b7ddeb8052004f8e" @@ -388,6 +617,22 @@ :state superseded :reason "its checker, scripts/check-recheck.sh, is changed by the change that moves the Lean legs under lake; a changed checker re-earns the receipt (docs/theory/PROOF-GRADES.adoc, reporting rules), although the Rocq steps of the script are byte-identical. To be replaced by the first run on main after that change. It also ran on a runner outside a digest-pinned image, which the owner ruled on 2026-11-16 is not enough for PWG-1 (hyperpolymath/januskey#184)")) (leg :prover lean :route re-proved :token proven :state RECONCILED + ; the run reported: 4 lean legs check under lake with no axioms (Epistemic, Reversibility, Rollback, SingleActiveLog: 8, 6, 1 and 7 theorems); every #print axioms none; the job refused its 8 fixtures (4 Rocq, 4 Lean) as expected; [check-recheck] OK + (receipt :run "https://github.com/hyperpolymath/januskey/actions/runs/44931813652/job/136929862932" + :commit "d71bb76c0ba204c6127658c501097926bd631dba" + :checker "Lean (version 4.35.0, x86_64-unknown-linux-gnu, commit eb6cafb7290e8bd5f2937522d8d804f58f02bafc, Release) with Lake 5.0.0-src+eb6cafb (release tarball, sha256 7289597a44543246c9227b8cae501767e095ce17f6d448b95fc4a8dc97268f6d, installed at run time in ubuntu:24.04@sha256:73b999393d07f2bf65a40373778a44dc9a6d54ad7718d29247d8ff9413c4d6a8; a run-time install is not an image that ships the checker, resource-algebra PN-7)" + :invocation "lake build in a copy of verification/proofs/lean (lakefile.toml, lean-toolchain and Epistemic, Reversibility, Rollback, SingleActiveLog; scripts/check-recheck.sh)" + :inputs-sha256 "95a3a921ccd6ad43d2e334efdf70bceeb17d41e9db8fe1694f12a0db177d2d7a" + :state current + (inputs-manifest + (file :path "scripts/check-recheck.sh" :sha256 "82a05497a696ef22a6680f1d5c757ea31081251b91306a6dce3415802fe889a1") + (file :path "verification/proofs/lean/Epistemic.lean" :sha256 "9b0d5d88aa7c557b5bf909a78d9acf9391e157ff9e2fbc598dbe5cb70039002f") + (file :path "verification/proofs/lean/Reversibility.lean" :sha256 "6c13052c4c47f34097ae268ea31f8755ea75dab550892240e508dd176621ccb1") + (file :path "verification/proofs/lean/Rollback.lean" :sha256 "808c32585ad582fced7497b93607668f92d9140b36ae4bd90b14f6b26bcd36c6") + (file :path "verification/proofs/lean/SingleActiveLog.lean" :sha256 "f04648e47d7006d213d21ba2d6c08fabc66d9bb3cc14875a38df02579298c9f9") + (file :path "verification/proofs/lean/lakefile.toml" :sha256 "d4ac98282b7cd67d690d070a0bb52d50636c9a70a1b7e76483ef75716d8b7efd") + (file :path "verification/proofs/lean/lean-toolchain" :sha256 "ca5f1f601d34c49079e38d7e7041eb0f2a9c227fbc1df0f404820069a052330c")) + (axioms)) ; the run reported: 4 lean legs check with no axioms (Epistemic, Reversibility, Rollback, SingleActiveLog); every #print axioms none; [check-recheck] OK (receipt :run "https://github.com/hyperpolymath/januskey/actions/runs/44131609502" :commit "246b03d8888a08e9540611b3b7ddeb8052004f8e" diff --git a/verification/receipts/runs.ledger b/verification/receipts/runs.ledger index 3c6eac5..be7fedb 100644 --- a/verification/receipts/runs.ledger +++ b/verification/receipts/runs.ledger @@ -34,3 +34,6 @@ lean|https://github.com/hyperpolymath/januskey/actions/runs/44131609502|246b03d8 lean|https://github.com/hyperpolymath/januskey/actions/runs/43945986467|e8deeaf7bc7b70500d57c282828512c8f8ba81f9|Lean (version 4.35.0, x86_64-unknown-linux-gnu, commit eb6cafb7290e8bd5f2937522d8d804f58f02bafc, Release) (release tarball, sha256 7289597a44543246c9227b8cae501767e095ce17f6d448b95fc4a8dc97268f6d)|lean -o .olean verification/proofs/lean/.lean for each of Epistemic, Reversibility, Rollback, SingleActiveLog (scripts/check-recheck.sh)|7146f3dce43d6160bb2d902d56984ac5fbccf8880b7336127b4cb7568da5db1f|4 lean legs check with no axioms (Epistemic, Reversibility, Rollback, SingleActiveLog); the job refused its 8 fixtures (4 Rocq, 4 Lean) as expected; [check-recheck] OK|superseded|ran lean directly, not under lake (owner ruling 2026-11-17), and on a runner outside a digest-pinned image (owner ruling 2026-11-16, hyperpolymath/januskey#184); replaced in the ledger by run 44131609502, itself superseded| lean|https://github.com/hyperpolymath/januskey/actions/runs/43213340167|b5034884dbe945139d03b38fe80cfdf1106a77e1|Lean (version 4.35.0, x86_64-unknown-linux-gnu, commit eb6cafb7290e8bd5f2937522d8d804f58f02bafc, Release) (release tarball, sha256 7289597a44543246c9227b8cae501767e095ce17f6d448b95fc4a8dc97268f6d)|lean -o Rollback.olean verification/proofs/lean/Rollback.lean (scripts/check-recheck.sh)|2b89f7de00ec28537f8c1dd66d771048a3ee649183ed12c04f1d51b4246d37a8|1 lean leg checks with no axioms (Rollback); the job refused its 2 fixtures (1 Rocq, 1 Lean) as expected; [check-recheck] OK|superseded|T-1's leg only, under the gate before hyperpolymath/januskey#180; replaced by the run at #180's merge| lean|https://github.com/hyperpolymath/januskey/actions/runs/42646851111|0834ce73717a1faafa23fc1df55d85d54ee1e2b7|Lean (version 4.35.0, x86_64-unknown-linux-gnu, commit eb6cafb7290e8bd5f2937522d8d804f58f02bafc, Release) (release tarball, sha256 7289597a44543246c9227b8cae501767e095ce17f6d448b95fc4a8dc97268f6d)|lean -o Rollback.olean verification/proofs/lean/Rollback.lean (scripts/check-recheck.sh)|2b89f7de00ec28537f8c1dd66d771048a3ee649183ed12c04f1d51b4246d37a8|1 lean leg checks with no axioms (Rollback); the job refused its 2 fixtures (1 Rocq, 1 Lean) as expected; [check-recheck] OK|superseded|the first run on main (hyperpolymath/januskey#171); replaced by the run at the receipt's source commit| +agda|https://github.com/hyperpolymath/januskey/actions/runs/44931813652/job/136929863193|d71bb76c0ba204c6127658c501097926bd631dba|Agda version 2.6.4.3 (Debian trixie agda-bin=2.6.4.3-1+b2, installed at run time in debian:trixie-slim@sha256:a29215f6a35e51e22adffa17f89e9d2ef06214e64a2bad10d765c46aea49f11f; a run-time install is not an image that ships the checker, resource-algebra PN-7)|agda --safe --without-K --cubical-compatible --no-libraries --ignore-interfaces --double-check -i verification/proofs/agda -i _build/dependencies/resource-algebra/src verification/proofs/agda/{Reversibility,TransactionAtomicity,Epistemic,SingleActiveLog}.agda (scripts/check-agda.sh)|6da5b9ec18463bb9f48d8d7c430b0de200cdd47916fe3aab3023bb19aeeb9e0d|import cone 7 first-party modules and 8 supplied with the prover; postulate scan 7 files, 0 postulates; 7 fixtures refused as expected; [check-agda] OK|current|||hyperpolymath/resource-algebra@cf9235c532712a783a404c359a1055f40134794a=adddbf38fe2ce754f50fc70f5743f381763fb6387e5f99ce8a7d0a38176df9c9|0c1f64c3c7f0a26cbc92595168858485a9883f6196d287497dcc805faf5c58eb +rocq|https://github.com/hyperpolymath/januskey/actions/runs/44931813652/job/136929862932|d71bb76c0ba204c6127658c501097926bd631dba|The Coq Proof Assistant, version 8.18.0 (Ubuntu 24.04 coq=8.18.0+dfsg-1build2, installed at run time in ubuntu:24.04@sha256:73b999393d07f2bf65a40373778a44dc9a6d54ad7718d29247d8ff9413c4d6a8; a run-time install is not an image that ships the checker, resource-algebra PN-7)|coqc -q -Q . JanusKey .v for each of Epistemic, Reversibility, Rollback, SingleActiveLog (copies of verification/proofs/rocq/*.v; scripts/check-recheck.sh)|878abdbcb527b940cf35897f9baec9c27517b2c11da0d4055de4098d841b8546|4 rocq legs check with no assumptions (Epistemic, Reversibility, Rollback, SingleActiveLog: 8, 6, 1 and 7 theorems); every Print Assumptions closed; the job refused its 8 fixtures (4 Rocq, 4 Lean) as expected; [check-recheck] OK|current|| +lean|https://github.com/hyperpolymath/januskey/actions/runs/44931813652/job/136929862932|d71bb76c0ba204c6127658c501097926bd631dba|Lean (version 4.35.0, x86_64-unknown-linux-gnu, commit eb6cafb7290e8bd5f2937522d8d804f58f02bafc, Release) with Lake 5.0.0-src+eb6cafb (release tarball, sha256 7289597a44543246c9227b8cae501767e095ce17f6d448b95fc4a8dc97268f6d, installed at run time in ubuntu:24.04@sha256:73b999393d07f2bf65a40373778a44dc9a6d54ad7718d29247d8ff9413c4d6a8; a run-time install is not an image that ships the checker, resource-algebra PN-7)|lake build in a copy of verification/proofs/lean (lakefile.toml, lean-toolchain and Epistemic, Reversibility, Rollback, SingleActiveLog; scripts/check-recheck.sh)|95a3a921ccd6ad43d2e334efdf70bceeb17d41e9db8fe1694f12a0db177d2d7a|4 lean legs check under lake with no axioms (Epistemic, Reversibility, Rollback, SingleActiveLog: 8, 6, 1 and 7 theorems); every #print axioms none; the job refused its 8 fixtures (4 Rocq, 4 Lean) as expected; [check-recheck] OK|current|| From 5ccea04408d6faff852228bc54df30bed5e216c2 Mon Sep 17 00:00:00 2001 From: Claude Date: Mon, 30 Nov 2026 23:44:34 +0000 Subject: [PATCH 4/4] docs(theory): PROOF-GRADES reporting rules name the current receipts The reporting rule on RECONCILED legs still said their receipts were superseded; run 44931813652's receipts are current and count toward PWG-2ii. The receipt-state rule now names the derived stale state beside superseded and regressed. (CodeRabbit review on #197.) Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_013CuBToxr5h9catptGiTsFX --- docs/theory/PROOF-GRADES.adoc | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/docs/theory/PROOF-GRADES.adoc b/docs/theory/PROOF-GRADES.adoc index ea2107e..3da9bdf 100644 --- a/docs/theory/PROOF-GRADES.adoc +++ b/docs/theory/PROOF-GRADES.adoc @@ -778,15 +778,19 @@ PROOF-POLICY §1 and the ABI belongs in Idris2. sibling pin. The receipt above is the only one of its kind here. * A receipt is invalidated by a change to a graded artefact, to its checker or to its pin, and is then re-earned by the next run, not carried forward. -* A receipt that is no longer current carries `state: superseded` (a newer - receipt replaced it) or `state: regressed` (the source no longer checks), with - the reason (PROOF-POLICY §8.4). These are receipt states, not status tokens, - and neither receipt is deleted from the history. +* A receipt that is no longer current carries `state: stale` (its leg's inputs + changed after the run), `state: superseded` (a newer run of the leg replaced + it) or `state: regressed` (the source no longer checks), with the reason + (PROOF-POLICY §8.4). The generator derives `stale` and `superseded` from the + ledger and the tree; `regressed` is typed in the ledger. These are receipt + states, not status tokens, and no receipt is deleted from the history. * `AGDA-PENDING` is the correct correspondence state for a module committed but not yet checked. No row in this repository is in that state today: the five graded rows are `AGDA-VERIFIED` at the commit above, and each of their Rocq - and Lean legs is `re-proved` and `RECONCILED` (a statement about the leg; the - receipts of those legs are `superseded`, §Leg records). No leg is `unavailable`: + and Lean legs is `re-proved` and `RECONCILED`. That is a statement about the + leg's correspondence, not about its receipt: the receipts of run 44931813652 + are `current` and count toward `PWG-2ii`, and the earlier runs' receipts stay + `superseded` (§Leg records). No leg is `unavailable`: under §2 that route means a leg that cannot be built, and a hand re-proof was available for all ten. * Grade counts appear only as the census at the top of this page: a count per