Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions CHANGELOG.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,14 @@ https://semver.org/spec/v2.0.0.html[Semantic Versioning].

==== Fixed

* **`PWG-1` again: the first run on main with every leg in a pinned image is
recorded.** CI run 44224818557 checked all three witnesses on `89302d2`, the
Agda leg in `debian:13-slim@sha256:a29215f6…` and the Rocq and Lean legs in
`ubuntu:24.04@sha256:73b99939…`. Its three rows, copied from the run's
receipt job, are now current; the `7dfeab2` rows are superseded by it. The
receipt's `:source-commit` is `89302d2` on main, so no echo is needed, and
the reader derives `PWG-1` for N-1..N-3 and N-7..N-9.

* **The grade follows the image rule of PROOF-POLICY §8.2 (owner ruling
2026-11-16, standards #1625): `PWG-2ii` until the next recorded run.**
** The receipt tools are pinned at standards `940a27a`, whose reader counts a
Expand Down
22 changes: 8 additions & 14 deletions PROOF-STATUS.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -26,21 +26,15 @@ invocation, which this repository has met since waiver W-1 closed.
|===
| Claim | PWG | Why not higher

| N-1, N-2, N-3, N-7, N-8, N-9 | *`PWG-2ii`*
| Not `PWG-1`: PROOF-POLICY §8.2 (owner ruling 2026-11-16, standards #1625)
counts a witness toward PWG-1 only when its current receipt records the
digest-pinned image its checker ran in. The Agda leg of that run ran in
`debian:13-slim@sha256:a29215f6…`, and its receipt says so; the Rocq and
Lean legs ran on the bare `ubuntu-24.04` runner, which has no digest. The
legs job now runs in `ubuntu:24.04@sha256:73b99939…`, so the first run on
main that is recorded will carry an image for all three legs, and the reader
will derive `PWG-1` again. The pinned reader derives the grade from
| N-1, N-2, N-3, N-7, N-8, N-9 | *`PWG-1`*
| PWG-1 is the top grade. The pinned reader derives it from
link:verification/receipts/agda_praxis.deed[the receipt], whose
`:source-commit` is `292d566` on main. CI run
https://github.com/hyperpolymath/secret-types/actions/runs/43455458225[43455458225]
checked all three witnesses on commit `7dfeab2`. The squash merge of #40
replaced that commit by `292d566`, and an echo (§8.5.2) records that the
inputs of every leg are equal at both commits. The Agda proof is PROVEN
`:source-commit` is `89302d2` on main. CI run
https://github.com/hyperpolymath/secret-types/actions/runs/44224818557[44224818557]
checked all three witnesses on that commit, each in an image pinned by its
digest, as PROOF-POLICY §8.2 requires for PWG-1 (owner ruling 2026-11-16,
standards #1625): the Agda leg in `debian:13-slim@sha256:a29215f6…`, the
Rocq and Lean legs in `ubuntu:24.04@sha256:73b99939…`. The Agda proof is PROVEN
under the canonical invocation
`agda --safe --without-K --cubical-compatible`, with stronger flags besides
(`scripts/proof-flags.sh`). Both §2 legs are re-proved in Rocq and in Lean,
Expand Down
12 changes: 4 additions & 8 deletions README.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -79,14 +79,10 @@ Secret → Echo for `nextgen-typing/docs/TYPE-CONNECTIONS.adoc`.

*Grade.* The proof receipt
(link:verification/receipts/agda_praxis.deed[`verification/receipts/agda_praxis.deed`],
`PROOF-POLICY.adoc` §8.5.1 and §8.5.2) describes commit `292d566` on main. It
holds the receipts of CI run 43455458225 on commit `7dfeab2`, and an echo
records that the squash merge into `292d566` left every leg's inputs equal.
From them the pinned reader derives Proof Witness Grade **`PWG-2ii`** for each
proved claim. It is not `PWG-1` because the Rocq and Lean legs of that run ran
on a bare runner with no image digest, and PROOF-POLICY §8.2 counts a witness
toward `PWG-1` only with one; the legs job now runs in a digest-pinned image,
so the next recorded run restores `PWG-1`. The grade is what the reader
`PROOF-POLICY.adoc` §8.5.1) describes commit `89302d2` on main. It holds the
receipts of CI run 44224818557 on that commit, which checked every leg in an
image pinned by its digest (§8.2). From them the pinned reader derives Proof
Witness Grade **`PWG-1`** for each proved claim. The grade is what the reader
derives, never a value typed here. The proved claims type-check in Agda under the
canonical §2.1 invocation, `--cubical-compatible` included, with stronger flags
besides (`scripts/proof-flags.sh`). Each is also re-proved by hand in Rocq
Expand Down
8 changes: 3 additions & 5 deletions docs/proof-debt.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -81,11 +81,9 @@ that they are not mistaken for either:
and the receipt records them. The statement comparison was written by Claude
Code, and the owner reviewed it on 2026-11-13, so no obligation remains here.
The grade is what the pinned reader derives from the proof receipt
(`PROOF-POLICY` §8.5.1, §8.5.2): `PWG-2ii` at commit `292d566` on main, from
the receipts of CI run 43455458225 on commit `7dfeab2` and the echo that
joins the two commits. `PWG-1` also needs a digest-pinned image on every
counted leg (§8.2); the Rocq and Lean legs of that run had none, so it
returns with the first recorded run of the legs job in its pinned image.
(`PROOF-POLICY` §8.5.1): `PWG-1` at commit `89302d2` on main, from the
receipts of CI run 44224818557 on that commit, each leg checked in a
digest-pinned image (§8.2).
* *Termination-sensitive noninterference.*
`Noninterference.OutcomeVisibility.termination-sensitive-fails` refutes TSNI
for the current typing rules when finishing versus non-finishing is public.
Expand Down
26 changes: 13 additions & 13 deletions scripts/grade-receipt.sh
Original file line number Diff line number Diff line change
Expand Up @@ -116,21 +116,21 @@ ROWS
# imports no other) and the sha256 of the trusted base the run checked
# (PROOF-POLICY 8.4); any row may carry last the digest-pinned image its
# checker ran in (PROOF-POLICY 8.2: PWG-1 needs one on every counted leg).
# --run-row writes both. The current rows were recorded before the shared
# generator wrote them, so their values come from the run's own commit
# 7dfeab2:
# - the trusted base is the sha256 of proof_trusted_base in
# scripts/proof-flags.sh there, the list the run's trusted-base gate
# checked the cone against (its reported column); unchanged since;
# - the Agda image is the container proofs.yml pinned there for the Agda job;
# - the Rocq and Lean legs ran on the bare ubuntu-24.04 runner, which has no
# digest, so their rows carry none and the grade is PWG-2ii until a run in
# the legs job's pinned image is recorded.
# --run-row writes both; the current rows are copied unchanged from the
# receipt job of their run. The superseded 7dfeab2 rows were recorded
# before the shared generator wrote those fields, so their values come from
# that run's own commit: the trusted base is the sha256 of proof_trusted_base
# in scripts/proof-flags.sh there, and the Agda image is the container
# proofs.yml pinned there for the Agda job; its Rocq and Lean legs ran on the
# bare ubuntu-24.04 runner, which has no digest, so those rows carry none.
receipt_runs() {
cat <<'ROWS'
agda|https://github.com/hyperpolymath/secret-types/actions/runs/43455458225/attempts/1|7dfeab2dc13142fac476ee9c698cf009deb709c9|Agda version 2.6.4.3 (Debian 13 agda-bin=2.6.4.3-1+b2, container debian:13-slim)|agda --safe --without-K --cubical-compatible --no-libraries --ignore-interfaces --double-check -W error -i src src/SecretTypes/All.agda|96b2f0237fcc31a0ab60cc6952edbe4e9c1b3ca5f267d79bf6491f81432b0c9e|--safe; trusted base (no postulates under src/SecretTypes or tests); trusted base: 4 prover postulates in 6 prover-supplied modules of the cone, each BUILTIN-bound and listed; no other postulate|current||||0c1f64c3c7f0a26cbc92595168858485a9883f6196d287497dcc805faf5c58eb|debian:13-slim@sha256:a29215f6a35e51e22adffa17f89e9d2ef06214e64a2bad10d765c46aea49f11f
rocq|https://github.com/hyperpolymath/secret-types/actions/runs/43455458225/attempts/1|7dfeab2dc13142fac476ee9c698cf009deb709c9|The Coq Proof Assistant, version 8.18.0 (Ubuntu 24.04 coq=8.18.0+dfsg-1build2)|coqc -q SecretTypes.v (in verification/legs/rocq)|4c96fb9c7d22685ae08d71fc2f200e394e93f07711b2b0619d2a154dbd19bc60|Rocq leg (Coq 8.18.0), 11 theorems closed under the global context|current||
lean|https://github.com/hyperpolymath/secret-types/actions/runs/43455458225/attempts/1|7dfeab2dc13142fac476ee9c698cf009deb709c9|Lean (version 4.24.0, x86_64-unknown-linux-gnu, commit 797c613eb9b6d4ec95db23e3e00af9ac6657f24b, Release) (release tarball, sha256 b14f5e5159219dd1a1956c3b806813319f5e94ccd5bdfd56f54520609a5bb5ec)|lake build; lake env lean Axioms.lean (in verification/legs/lean)|7ed75659e1520a28b949c7b004609485605f1b9e017b810352be4285390a13d6|Lean leg (Lean 4.24.0, core only), 11 theorems depend on no axioms|current||
agda|https://github.com/hyperpolymath/secret-types/actions/runs/44224818557/attempts/1|89302d2d1104930a5ce039e101775bc5d36f2dd6|Agda version 2.6.4.3 (Debian 13 agda-bin=2.6.4.3-1+b2, container debian:13-slim)|agda --safe --without-K --cubical-compatible --no-libraries --ignore-interfaces --double-check -W error -i src src/SecretTypes/All.agda|96b2f0237fcc31a0ab60cc6952edbe4e9c1b3ca5f267d79bf6491f81432b0c9e|--safe; trusted base (no postulates under src/SecretTypes or tests); trusted base: 4 prover postulates in 6 prover-supplied modules of the cone, each BUILTIN-bound and listed; no other postulate|current||||0c1f64c3c7f0a26cbc92595168858485a9883f6196d287497dcc805faf5c58eb|debian:13-slim@sha256:a29215f6a35e51e22adffa17f89e9d2ef06214e64a2bad10d765c46aea49f11f
rocq|https://github.com/hyperpolymath/secret-types/actions/runs/44224818557/attempts/1|89302d2d1104930a5ce039e101775bc5d36f2dd6|The Coq Proof Assistant, version 8.18.0 (Ubuntu 24.04 coq=8.18.0+dfsg-1build2)|coqc -q SecretTypes.v (in verification/legs/rocq)|4c96fb9c7d22685ae08d71fc2f200e394e93f07711b2b0619d2a154dbd19bc60|Rocq leg (Coq 8.18.0), 11 theorems closed under the global context|current|||||ubuntu:24.04@sha256:73b999393d07f2bf65a40373778a44dc9a6d54ad7718d29247d8ff9413c4d6a8
lean|https://github.com/hyperpolymath/secret-types/actions/runs/44224818557/attempts/1|89302d2d1104930a5ce039e101775bc5d36f2dd6|Lean (version 4.24.0, x86_64-unknown-linux-gnu, commit 797c613eb9b6d4ec95db23e3e00af9ac6657f24b, Release) (release tarball, sha256 b14f5e5159219dd1a1956c3b806813319f5e94ccd5bdfd56f54520609a5bb5ec)|lake build; lake env lean Axioms.lean (in verification/legs/lean)|7ed75659e1520a28b949c7b004609485605f1b9e017b810352be4285390a13d6|Lean leg (Lean 4.24.0, core only), 11 theorems depend on no axioms|current|||||ubuntu:24.04@sha256:73b999393d07f2bf65a40373778a44dc9a6d54ad7718d29247d8ff9413c4d6a8
agda|https://github.com/hyperpolymath/secret-types/actions/runs/43455458225/attempts/1|7dfeab2dc13142fac476ee9c698cf009deb709c9|Agda version 2.6.4.3 (Debian 13 agda-bin=2.6.4.3-1+b2, container debian:13-slim)|agda --safe --without-K --cubical-compatible --no-libraries --ignore-interfaces --double-check -W error -i src src/SecretTypes/All.agda|96b2f0237fcc31a0ab60cc6952edbe4e9c1b3ca5f267d79bf6491f81432b0c9e|--safe; trusted base (no postulates under src/SecretTypes or tests); trusted base: 4 prover postulates in 6 prover-supplied modules of the cone, each BUILTIN-bound and listed; no other postulate|superseded|replaced by the later run https://github.com/hyperpolymath/secret-types/actions/runs/44224818557/attempts/1, which ran every leg in a digest-pinned image (PROOF-POLICY 8.2)|||0c1f64c3c7f0a26cbc92595168858485a9883f6196d287497dcc805faf5c58eb|debian:13-slim@sha256:a29215f6a35e51e22adffa17f89e9d2ef06214e64a2bad10d765c46aea49f11f
rocq|https://github.com/hyperpolymath/secret-types/actions/runs/43455458225/attempts/1|7dfeab2dc13142fac476ee9c698cf009deb709c9|The Coq Proof Assistant, version 8.18.0 (Ubuntu 24.04 coq=8.18.0+dfsg-1build2)|coqc -q SecretTypes.v (in verification/legs/rocq)|4c96fb9c7d22685ae08d71fc2f200e394e93f07711b2b0619d2a154dbd19bc60|Rocq leg (Coq 8.18.0), 11 theorems closed under the global context|superseded|replaced by the later run https://github.com/hyperpolymath/secret-types/actions/runs/44224818557/attempts/1, which ran every leg in a digest-pinned image (PROOF-POLICY 8.2)|
lean|https://github.com/hyperpolymath/secret-types/actions/runs/43455458225/attempts/1|7dfeab2dc13142fac476ee9c698cf009deb709c9|Lean (version 4.24.0, x86_64-unknown-linux-gnu, commit 797c613eb9b6d4ec95db23e3e00af9ac6657f24b, Release) (release tarball, sha256 b14f5e5159219dd1a1956c3b806813319f5e94ccd5bdfd56f54520609a5bb5ec)|lake build; lake env lean Axioms.lean (in verification/legs/lean)|7ed75659e1520a28b949c7b004609485605f1b9e017b810352be4285390a13d6|Lean leg (Lean 4.24.0, core only), 11 theorems depend on no axioms|superseded|replaced by the later run https://github.com/hyperpolymath/secret-types/actions/runs/44224818557/attempts/1, which ran every leg in a digest-pinned image (PROOF-POLICY 8.2)|
agda|https://github.com/hyperpolymath/secret-types/actions/runs/43448301280/attempts/1|88a763ac6101b8d9e59c71caa6959abb4bffe4bd|Agda version 2.6.4.3 (Debian 13 agda-bin=2.6.4.3-1+b2, container debian:13-slim)|agda --safe --without-K --cubical-compatible --no-libraries --ignore-interfaces --double-check -W error -i src src/SecretTypes/All.agda|a0a8d66d74bf9deb5beeba6739c377290ce7399cf8ef60dc6214da211d086cb4|--safe; trusted base (no postulates under src/SecretTypes or tests); trusted base: 4 prover postulates in 6 prover-supplied modules of the cone, each BUILTIN-bound and listed; no other postulate|superseded|the inputs of the Agda leg changed after this run (scanner hardening from review); the CI run of the hardened commit replaces it|
rocq|https://github.com/hyperpolymath/secret-types/actions/runs/43448301280/attempts/1|88a763ac6101b8d9e59c71caa6959abb4bffe4bd|The Coq Proof Assistant, version 8.18.0 (Ubuntu 24.04 coq=8.18.0+dfsg-1build2)|coqc -q SecretTypes.v (in verification/legs/rocq)|88cee666f75f94eea702abe967a25c10d3958988012da1300847c5c0a1372129|Rocq leg (Coq 8.18.0), 11 theorems closed under the global context|superseded|replaced by the later run https://github.com/hyperpolymath/secret-types/actions/runs/43455458225/attempts/1|
lean|https://github.com/hyperpolymath/secret-types/actions/runs/43448301280/attempts/1|88a763ac6101b8d9e59c71caa6959abb4bffe4bd|Lean (version 4.24.0, x86_64-unknown-linux-gnu, commit 797c613eb9b6d4ec95db23e3e00af9ac6657f24b, Release) (release tarball, sha256 b14f5e5159219dd1a1956c3b806813319f5e94ccd5bdfd56f54520609a5bb5ec)|lake build; lake env lean Axioms.lean (in verification/legs/lean)|d30ae3c6563e34c78ef98de43d52e9eebcedac1714c8e2be06c413871c6ac6ac|Lean leg (Lean 4.24.0, core only), 11 theorems depend on no axioms|superseded|replaced by the later run https://github.com/hyperpolymath/secret-types/actions/runs/43455458225/attempts/1|
Expand Down
12 changes: 5 additions & 7 deletions verification/legs/README.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -177,11 +177,9 @@ N-4, N-5 and N-6 have no leg. They are checked demonstrations, not theorems
independent of Agda's, but all three are dependent type theories. The tag
needs a witness in a different foundation, such as Isabelle/HOL, and none
exists.
* The grade, `PWG-2ii`, rests on the receipts of one CI run
(https://github.com/hyperpolymath/secret-types/actions/runs/43455458225[43455458225]
on commit `7dfeab2`), carried to `292d566` on main by an echo (§8.5.2).
It is not `PWG-1` because these legs ran on a bare runner, which has no
image digest (§8.2); they now run in a digest-pinned image, and the next
recorded run restores `PWG-1`. A change to any leg's inputs drops the grade
until a new run is recorded (§8.4);
* The grade, `PWG-1`, rests on the receipts of one CI run
(https://github.com/hyperpolymath/secret-types/actions/runs/44224818557[44224818557]
on commit `89302d2` on main), with every leg checked in a digest-pinned image
(§8.2). A change to any leg's inputs drops the grade until a new run is
recorded (§8.4);
link:../../PROOF-STATUS.adoc[`PROOF-STATUS.adoc`] gives the derivation.
Loading
Loading