diff --git a/.github/workflows/agda-proof-policy.yml b/.github/workflows/agda-proof-policy.yml index eb81f75e..28766c85 100644 --- a/.github/workflows/agda-proof-policy.yml +++ b/.github/workflows/agda-proof-policy.yml @@ -80,21 +80,21 @@ jobs: if: ${{ !cancelled() && steps.toolchain.outcome == 'success' }} run: | guix time-machine -C build/channels.scm -- shell -m build/manifest.scm -- sh -euc ' - bash scripts/check-proofs.sh agda + PROOF_REPORT_DIR="$RUNNER_TEMP/proof-report" bash scripts/check-proofs.sh agda bash tests/proofs/gate_controls_test.sh agda' - name: Rocq lane (gate, then planted controls) if: ${{ !cancelled() && steps.toolchain.outcome == 'success' }} run: | guix time-machine -C build/channels.scm -- shell -m build/manifest.scm -- sh -euc ' - bash scripts/check-proofs.sh coq + PROOF_REPORT_DIR="$RUNNER_TEMP/proof-report" bash scripts/check-proofs.sh coq bash tests/proofs/gate_controls_test.sh coq' - name: Lean lane (gate, then planted controls) if: ${{ !cancelled() && steps.toolchain.outcome == 'success' }} run: | guix time-machine -C build/channels.scm -- shell -m build/manifest.scm -- sh -euc ' - bash scripts/check-proofs.sh lean4 + PROOF_REPORT_DIR="$RUNNER_TEMP/proof-report" bash scripts/check-proofs.sh lean4 bash tests/proofs/gate_controls_test.sh lean4' # The golden path (re-anchoring plan WO 2.5): `just check` runs the view @@ -125,8 +125,8 @@ jobs: git init -q "$r" git -C "$r" remote add origin https://github.com/metadatastician/standards.git git -C "$r" config core.sparseCheckout true - printf '1-formats/deed/tools/\nscripts/check-proof-receipt.sh\nscripts/proof-inputs-sha256.sh\n' > "$r/.git/info/sparse-checkout" - git -C "$r" fetch -q --depth 1 origin 940a27af1e25a73a2d55daa78d0763e6749fd935 + printf '1-formats/deed/tools/\nscripts/check-proof-receipt.sh\nscripts/proof-inputs-sha256.sh\nscripts/proof-receipt.sh\n' > "$r/.git/info/sparse-checkout" + git -C "$r" fetch -q --depth 1 origin 84c2d1c1b040c9d7b8924532fa77e71e63d72c66 git -C "$r" checkout -q FETCH_HEAD - name: Golden path (just check), then its controls @@ -142,3 +142,50 @@ jobs: bun --version just check bash tests/golden/check_controls_test.sh' + + # The ledger rows of this run (PROOF-POLICY §8.5.1; standards + # scripts/proof-receipt.sh, which scripts/grade-receipt.sh sources). On + # main only: a receipt names a commit on the default branch (§8.5.3). Each + # lane's gate wrote its own report above (check-proofs.sh, + # PROOF_REPORT_DIR), and only a run that passed writes one; nothing is read + # back from the log. --emit-run checks the rows with the ledger and reads + # the receipt they give with the pinned reader and its negative control. + # The rows go to the job summary. `bash scripts/grade-receipt.sh --record + # ROWS` adds them to the ledger and rewrites the receipt, in a pull request + # that --check and review accept: CI does not write to the repository. + - name: Ledger rows of this run (main only) + if: ${{ success() && github.ref == 'refs/heads/main' && github.event_name != 'pull_request' }} + env: + MATHESIS_STANDARDS: ${{ runner.temp }}/receipt-reader + run: | + set -euo pipefail + report="$RUNNER_TEMP/proof-report" + # The one channel pin, read with the Scheme comments removed, so an old + # pin quoted in a comment is never taken for the active one. + guix="$(sed 's/;.*//' build/channels.scm | grep -oE '\(commit "[0-9a-f]{40}"\)' | grep -oE '[0-9a-f]{40}' || true)" + if [ -z "$guix" ] || [ "$(grep -c . <<<"$guix")" -ne 1 ]; then + echo "::error::build/channels.scm must pin exactly one 40-hex Guix commit outside its comments"; exit 1 + fi + run="$GITHUB_SERVER_URL/$GITHUB_REPOSITORY/actions/runs/$GITHUB_RUN_ID/attempts/$GITHUB_RUN_ATTEMPT" + rows="$RUNNER_TEMP/ledger-rows" + : > "$rows" + for lane in agda:agda coq:rocq lean4:lean; do + gate="${lane%%:*}"; prover="${lane#*:}"; f="$report/$gate" + if [ ! -f "$f" ] || [ "$(wc -l < "$f")" -ne 3 ]; then + echo "::error::the $gate gate wrote no receipt report"; exit 1 + fi + [ "$(sed -n 2p "$f")" = none ] || { echo "::error::the $gate gate reported axioms: $(sed -n 2p "$f")"; exit 1; } + bash scripts/grade-receipt.sh --run-row "$prover" --run "$run" --commit "$GITHUB_SHA" \ + --checker "$(sed -n 1p "$f") (Guix ${guix:0:7})" --reported "$(sed -n 3p "$f")" --axioms none >> "$rows" + done + bash scripts/grade-receipt.sh --emit-run "$rows" --out "$RUNNER_TEMP/receipt/theory_praxis.deed" + { + echo "### Ledger rows of this run" + echo + echo "Record them in a pull request: put these lines in a file ROWS, then run" + echo "\`bash scripts/grade-receipt.sh --record ROWS\`." + echo + echo '```' + cat "$rows" + echo '```' + } >> "$GITHUB_STEP_SUMMARY" diff --git a/.github/workflows/proven-tests.yml b/.github/workflows/proven-tests.yml index 83d37193..73c4797b 100644 --- a/.github/workflows/proven-tests.yml +++ b/.github/workflows/proven-tests.yml @@ -56,8 +56,8 @@ jobs: git init -q "$r" git -C "$r" remote add origin https://github.com/metadatastician/standards.git git -C "$r" config core.sparseCheckout true - printf '1-formats/deed/tools/\nscripts/check-proof-receipt.sh\nscripts/proof-inputs-sha256.sh\n' > "$r/.git/info/sparse-checkout" - git -C "$r" fetch -q --depth 1 origin 940a27af1e25a73a2d55daa78d0763e6749fd935 + printf '1-formats/deed/tools/\nscripts/check-proof-receipt.sh\nscripts/proof-inputs-sha256.sh\nscripts/proof-receipt.sh\n' > "$r/.git/info/sparse-checkout" + git -C "$r" fetch -q --depth 1 origin 84c2d1c1b040c9d7b8924532fa77e71e63d72c66 git -C "$r" checkout -q FETCH_HEAD for f in verification/receipts/*_praxis.deed; do bun "$r/1-formats/deed/tools/deed_lint.js" --proof-receipt-json "$f" diff --git a/CHANGELOG.adoc b/CHANGELOG.adoc index 0dec532e..61ca01d8 100644 --- a/CHANGELOG.adoc +++ b/CHANGELOG.adoc @@ -186,6 +186,23 @@ https://semver.org/spec/v2.0.0.html[Semantic Versioning]. ==== Changed +* **The receipt of Mathesis is generated from a run ledger.** Mathesis adopts + the shared generator of standards (`scripts/proof-receipt.sh`, PROOF-POLICY + §8.5.1) through `scripts/grade-receipt.sh`, a file of hooks, and + `verification/receipts/theory_runs.ledger`, one row a run and prover. + `just receipt-check` now regenerates the receipt and refuses a difference, + then runs the git checks of §8.5.3 and the pinned reader with a negative + control. `just receipt-record ROWS` records a run. The Proof Policy Gate writes + the ledger rows of each green run on main to its job summary, from a report + that `scripts/check-proofs.sh` writes when `PROOF_REPORT_DIR` is set; no log + is read, and a run that fails, a missing prover included, leaves no report. + The current receipts and grades are unchanged. Superseded receipts + keep their run's inputs digest and axioms, and the inputs manifest where it + can be rebuilt (`RECEIPT_KEEP_LINEAGE_DETAIL=1`, standards#1705). The canon + reader, the git checker and the generator are pinned at standards `84c2d1c` + (was `940a27af`); `claims-registry.mjs receipt` is removed, and + `claims-registry.mjs standards` checks the four pinned files for the home + script. * `CI/gate` now also starts on `pull_request`, and a tamper guard is added. `.github/workflows/ci-gate.yml` is rewritten from the suite's `templates/ci-gate-caller.yml`: a same-repository `gate-pr` job on diff --git a/Justfile b/Justfile index 7419326c..e4d6155d 100644 --- a/Justfile +++ b/Justfile @@ -772,13 +772,22 @@ registry-check: bun scripts/registry/theory-ledger.mjs verify bun test tests/registry/ -# The git checks of PROOF-POLICY §8.5.3 on the receipt of Mathesis: its -# :source-commit is on origin/main, each current receipt's inputs manifest holds -# at its commit, and each echo's witness holds. The shared checker of the pinned -# standards commit runs them (MATHESIS_STANDARDS, as above). Needs origin/main -# with its history. +# The receipt of Mathesis (PROOF-POLICY §8.5.1) against its run ledger: the +# shared generator of the pinned standards commit (scripts/grade-receipt.sh) +# regenerates it from verification/receipts/theory_runs.ledger and the tree and +# refuses any difference, runs the git checks of §8.5.3 (the :source-commit is +# on origin/main, each current receipt's inputs manifest holds at its commit), +# and reads it with the pinned reader and a negative control +# (MATHESIS_STANDARDS, as above). Needs origin/main with its history. receipt-check: - bun scripts/registry/claims-registry.mjs receipt + bash scripts/grade-receipt.sh --check + +# Record a green Proof Policy Gate run on main: ROWS is a file holding the +# ledger rows that the run's job summary lists ("Ledger rows of this run"). +# The generator checks them with the ledger, appends them, and rewrites the +# receipt; commit both in a pull request, which receipt-check then holds. +receipt-record rows: + bash scripts/grade-receipt.sh --record {{ quote(rows) }} # Append each change of the theory shelf to docs/theory/ledger.jsonl, the only # way the ledger changes (needs MATHESIS_STANDARDS, as above). A note tells the diff --git a/docs/atlas/generated/registry.adoc b/docs/atlas/generated/registry.adoc index 32184144..d300c1f0 100644 --- a/docs/atlas/generated/registry.adoc +++ b/docs/atlas/generated/registry.adoc @@ -5,7 +5,7 @@ Each row is a claim in its home repository at a pinned commit. The grade is *derived* here from that repository's receipt by the canon reader of -PROOF-POLICY §8.5.1 (`metadatastician/standards` at `940a27af1e25`), never +PROOF-POLICY §8.5.1 (`metadatastician/standards` at `84c2d1c1b040`), never assigned (§8.5). A grade is not a discharge (§8.4): `PWG-3` theorems still owe their Rocq and Lean legs. Status of this slice: accepted in link:../../decisions/0004-claims-registry.adoc[ADR 0004], ratified by the owner. diff --git a/docs/status/PROOF-STATUS.adoc b/docs/status/PROOF-STATUS.adoc index 08742a68..d9300f43 100644 --- a/docs/status/PROOF-STATUS.adoc +++ b/docs/status/PROOF-STATUS.adoc @@ -238,8 +238,10 @@ same hypotheses and conclusions. The differences are encoding only: Residual assumptions: none in any leg. |Machine receipt (§8.5.1) -|`verification/receipts/theory_praxis.deed`. The canon reader -(`deed_lint.js --proof-receipt-json`, standards `940a27af`) derives +|`verification/receipts/theory_praxis.deed`, generated by the shared +generator of standards (`scripts/grade-receipt.sh`) from the run ledger +`verification/receipts/theory_runs.ledger`. The canon reader +(`deed_lint.js --proof-receipt-json`, standards `84c2d1c`) derives `PWG-2ii` from it, the grade below, and CI runs that reader on each change. The claims registry lists the claim as `hyperpolymath/mathesis#THY-1` and shows the grade that the same reader derives @@ -337,9 +339,10 @@ Residual assumptions: none in any leg. come from CI run 44190913019 on main `8c55804` (Agda 2.7.0.1, Rocq 8.18.0, Lean 4.29.0, pinned Guix `8edb9da`), the first under the gate of #107; the receipts of run 43498592499 on main `034f215` are superseded. Each records the inputs manifest of its -prover and no axiom. The canon reader at standards `940a27af` derives `PWG-2ii` -for each of APP-1 to APP-4 (no digest-pinned checker image, standards#1625), and the shared git checker (`just receipt-check`) -passes. The Rocq and Lean legs are `RECONCILED` by the comparison above, done +prover and no axiom. The canon reader at standards `84c2d1c` derives `PWG-2ii` +for each of APP-1 to APP-4 (no digest-pinned checker image, standards#1625), and `just receipt-check` +(the shared generator: the receipt regenerated from the run ledger, the git +checks of §8.5.3, the reader with a negative control) passes. The Rocq and Lean legs are `RECONCILED` by the comparison above, done by reading. The trusted base gains `Char` and `String`, the postulates that `Applied/IntLaws` reaches through `Agda.Builtin.Int`. |=== @@ -354,6 +357,14 @@ guix time-machine -C build/channels.scm -- shell -m build/manifest.scm -- just c # The planted controls: each must fail the gate bash tests/proofs/gate_controls_test.sh agda + +# The receipt against its run ledger (MATHESIS_STANDARDS: a standards checkout +# at the pinned commit; needs origin/main with its history) +just receipt-check + +# Record a green Proof Policy Gate run on main: ROWS holds the ledger rows that +# its job summary lists ("Ledger rows of this run") +just receipt-record ROWS ---- == Changelog @@ -362,6 +373,29 @@ bash tests/proofs/gate_controls_test.sh agda |=== |Date |Change +|2026-11-23 +|The receipt is generated, not written: Mathesis adopts the shared generator +of standards (`scripts/proof-receipt.sh`, PROOF-POLICY §8.5.1) through +`scripts/grade-receipt.sh` and a run ledger, +`verification/receipts/theory_runs.ledger`, one row a run and prover. The +ledger holds the 12 rows behind the receipt (the local run of 2026-11-09 and +runs 42896264290, 43498592499 and 44190913019). The 15 current receipts keep +their run, commit, checker, inputs digest, inputs manifest and axioms, and the +reader derives `PWG-2ii` for all five claims, as before. Two things change. +The receipts of runs 43498592499 and 44190913019, which checked all five +claims, name the gate's invocation for their prover, which is what the gate +runs, not each claim's root module. The superseded receipts are +written oldest first and, with `RECEIPT_KEEP_LINEAGE_DETAIL=1` (standards#1705), +keep what their run read: the inputs digest and the axioms of their ledger row, +and the inputs manifest where it can be rebuilt to that digest. That holds for +the receipts of run 43498592499; the two runs before it predate their input set, +so their receipts carry no manifest, and the generator says so. None of it +counts toward a grade. The canon reader, the git checker and the generator are +pinned at standards `84c2d1c` (was `940a27af`). The Proof Policy Gate now writes the ledger rows of each +green run on main to its job summary, from a report the gate script writes +itself (`check-proofs.sh`, `PROOF_REPORT_DIR`), and `just receipt-record` +adds them. + |2026-11-18 |The claim pins of THY-1 and APP-1 to APP-4 name the receipt at main `10f9f46` (PR 115). The registry catalogues `PWG-2ii` for all five, and diff --git a/docs/status/ROADMAP.adoc b/docs/status/ROADMAP.adoc index f2ff26d4..f06bf026 100644 --- a/docs/status/ROADMAP.adoc +++ b/docs/status/ROADMAP.adoc @@ -377,6 +377,19 @@ One pull request that changes census rows is open at a time (atlas README, secret-types' and lintel's: the new reader refuses their receipts (a `#u5` identity literal, and secret-types' recorded `PWG-1` that the image rule no longer supports) until they are recorded again. +** Seventh change (2026-11-23): the receipt is generated by the shared + generator of standards (`scripts/proof-receipt.sh`, pinned with the + reader at standards `84c2d1c`) through `scripts/grade-receipt.sh`, from + a run ledger, `verification/receipts/theory_runs.ledger`. `just + receipt-check` regenerates it and refuses a difference. The Proof Policy + Gate writes the ledger rows of each green run on main to its job summary; + `just receipt-record ROWS` adds them in a pull request. The current + receipts and the grades are unchanged (`PWG-2ii` for all five). + Superseded receipts keep their run's inputs digest and axioms, and the + inputs manifest where it can be rebuilt (`RECEIPT_KEEP_LINEAGE_DETAIL=1`). + Open: CI does not write the rows to the repository. A recorder that does + (a trusted publisher) is the piece standards PR 1675 leaves open, in + standards, not here. [[stages]] == Stages diff --git a/scripts/check-proofs.sh b/scripts/check-proofs.sh index d9f12046..cb67b516 100755 --- a/scripts/check-proofs.sh +++ b/scripts/check-proofs.sh @@ -140,8 +140,9 @@ check_one() { # each gated module: the SHA-256 of the file and the axioms reported. audit_one() { # $1 source-root, $2 module; sets LAST_OUT on failure; returns 0 iff clean. - # On success AUDIT_NOTE holds the axiom report that a receipt records (PWG-1). - AUDIT_NOTE="" + # On success AUDIT_NOTE holds the axiom report that a receipt records (PWG-1), + # and AUDIT_SUMMARY the same report without the list of names it covers. + AUDIT_NOTE=""; AUDIT_SUMMARY="" local root="$1" rel="$2" dir out rc base copy names expect got dir="$(mktemp -d)" case "$PROVER" in @@ -161,7 +162,8 @@ audit_one() { done [ -s "$dir/own" ] || { LAST_OUT="axiom audit: no first-party module in the import cone"; rm -rf "$dir"; return 1; } set +e; mapfile -t own <"$dir/own"; out="$(bash "$ROOT/scripts/scan-postulates.sh" "${own[@]}" 2>&1)"; rc=$?; set -e - AUDIT_NOTE="postulates: none in the ${#own[@]} first-party module(s) of the import cone: $(sed -n 's/.*label="\([^"]*\)".*/\1/p' "$dir/cone.dot" | LC_ALL=C sort -u | tr '\n' ' ')" + AUDIT_SUMMARY="postulates: none in the ${#own[@]} first-party module(s) of the import cone" + AUDIT_NOTE="$AUDIT_SUMMARY: $(sed -n 's/.*label="\([^"]*\)".*/\1/p' "$dir/cone.dot" | LC_ALL=C sort -u | tr '\n' ' ')" ;; coq) if ! command -v coqchk >/dev/null 2>&1; then @@ -217,7 +219,8 @@ audit_one() { grep -qxF "* Theory: Set is predicative" <<<"$summary" || kernel_ok=0 fi if [ "$rc" -eq 0 ] && [ "$got" -eq "$expect" ] && [ "$kernel_ok" -eq 1 ]; then rc=0 - AUDIT_NOTE="coqchk -o: no axiom, type-in-type, unsafe (co)fixpoint or assumed positivity in the library or its import cone; Print Assumptions: closed under the global context for $expect declaration(s): $(tr '\n' ' ' <<<"$names")" + AUDIT_SUMMARY="coqchk -o: no axiom, type-in-type, unsafe (co)fixpoint or assumed positivity in the library or its import cone; Print Assumptions: closed under the global context for $expect declaration(s)" + AUDIT_NOTE="$AUDIT_SUMMARY: $(tr '\n' ' ' <<<"$names")" elif [ "$rc" -eq 0 ] && [ "$got" -eq "$expect" ]; then rc=1 out="axiom audit: the kernel checker (coqchk -o) reports an assumption, or did not run (exit $chk_rc)"$'\n'"${summary:-$chk}" else rc=1; out="axiom audit: $got of $expect declaration(s) closed under the global context"$'\n'"$out"; fi @@ -257,7 +260,7 @@ LEAN elif [ $((thms + defs)) -eq 0 ]; then rc=1; out="axiom audit: no theorem or definition declared, so nothing was audited" fi - [ "$rc" -eq 0 ] && AUDIT_NOTE="axioms: none for $thms theorem(s) and $defs definition(s) with a source range" + [ "$rc" -eq 0 ] && AUDIT_NOTE="axioms: none for $thms theorem(s) and $defs definition(s) with a source range" && AUDIT_SUMMARY="$AUDIT_NOTE" ;; *) rc=0; out="" ;; esac @@ -268,6 +271,23 @@ LEAN echo "=== $PROVER proof check ===" +# --- the receipt report: what a ledger row of this run records ----------------- +# With PROOF_REPORT_DIR set, a run that passes writes $PROOF_REPORT_DIR/$PROVER, +# three lines that scripts/grade-receipt.sh --run-row takes as they are (the +# Proof Policy Gate does, on main; PROOF-POLICY §8.5.1): +# 1. the checker, " ", from the version line printed below; +# 2. the axioms the run reported: "none", since a run passes only when every +# gated module's audit found none; +# 3. what the run reported: the result, then each gated module and the +# summary of its audit (AUDIT_SUMMARY), in MANIFEST order. +# The file is removed here, before anything can fail (the toolchain check +# included), so a run that fails leaves none behind: a report exists only for +# a run that passed. Nothing is read back from the log. +if [ -n "${PROOF_REPORT_DIR:-}" ]; then + mkdir -p "$PROOF_REPORT_DIR" + rm -f -- "${PROOF_REPORT_DIR:?}/${PROVER:?}" +fi + # --- toolchain: absent means FAIL, never skip --------------------------------- if ! command -v "$CMD" >/dev/null 2>&1; then { @@ -280,7 +300,8 @@ if ! command -v "$CMD" >/dev/null 2>&1; then } >&2 exit 1 fi -"$CMD" --version 2>/dev/null | head -1 || true +TOOL_VERSION="$("$CMD" --version 2>/dev/null | head -1 || true)" +printf '%s\n' "$TOOL_VERSION" # --- Agda: a data directory it can write --------------------------------------- # Agda keeps the interfaces of its own primitive modules (Agda.Primitive and the @@ -314,6 +335,7 @@ if [ ! -f "$MANIFEST_FILE" ]; then fi fails=0 +reported="" unexpected_pass=0 listed_tmp="$(mktemp)" trap 'rm -f "$listed_tmp"' EXIT @@ -334,6 +356,7 @@ while IFS='|' read -r root rel status note; do # The receipt fields of PWG-1: a digest of the input and the axioms reported. echo " sha256 $(sha256sum "$ROOT/$root/$rel" | cut -d' ' -f1)" echo " $AUDIT_NOTE" + reported+="; $rel: $AUDIT_SUMMARY" else echo "PASS -- UNEXPECTED (quarantined module now compiles)" echo " Promote '$rel' to 'gated' in $MANIFEST_FILE and update docs/status/ROADMAP.adoc." @@ -381,3 +404,10 @@ if [ "$fails" -gt 0 ] || [ "$unexpected_pass" -gt 0 ]; then exit 1 fi echo "RESULT: PASS -- gated modules compile; quarantined modules still fail as recorded" +if [ -n "${PROOF_REPORT_DIR:-}" ]; then + version="$(grep -oE '[0-9]+(\.[0-9]+)+' <<<"$TOOL_VERSION" | head -1 || true)" + [ -n "$version" ] || { echo "FAIL: no version in '$TOOL_VERSION', so the receipt report cannot name the checker" >&2; exit 1; } + [ -n "$reported" ] || { echo "FAIL: no gated module passed, so there is nothing for a receipt to record" >&2; exit 1; } + printf '%s %s\nnone\ncheck-proofs.sh %s: RESULT: PASS%s\n' "$CMD" "$version" "$PROVER" "$reported" >"$PROOF_REPORT_DIR/$PROVER" + echo "receipt report: $PROOF_REPORT_DIR/$PROVER" +fi diff --git a/scripts/grade-receipt.sh b/scripts/grade-receipt.sh new file mode 100644 index 00000000..43d795c2 --- /dev/null +++ b/scripts/grade-receipt.sh @@ -0,0 +1,170 @@ +#!/usr/bin/env bash +# SPDX-License-Identifier: MPL-2.0 +# SPDX-FileCopyrightText: 2026 Jonathan D.A. Jewell (hyperpolymath) +# +# grade-receipt.sh: the receipt of Mathesis, written and checked by the shared +# generator of PROOF-POLICY §8.5.1 (standards scripts/proof-receipt.sh). +# +# This file holds only Mathesis's data and hooks: its claims, the input set and +# invocation of each prover, the Agda trusted base, and where the proof-status +# file records the claim ids and the reconciled legs. The runs are in the run +# ledger, verification/receipts/theory_runs.ledger, one row a run and prover. +# The receipt (verification/receipts/theory_praxis.deed) is generated from them: +# nothing in it is typed, the grade least of all. +# +# bash scripts/grade-receipt.sh --check regenerate, refuse a difference, +# run the §8.5.3 git checks and the +# pinned reader (just receipt-check) +# bash scripts/grade-receipt.sh --write write the receipt from the ledger +# bash scripts/grade-receipt.sh --run-row PROVER --run URL --commit SHA \ +# --checker TEXT --reported TEXT --axioms none +# print one ledger row for a run +# that just passed (the gate job) +# bash scripts/grade-receipt.sh --record ROWS +# check ROWS, write the receipt and +# append them to the ledger +# +# MATHESIS_STANDARDS names a checkout of metadatastician/standards at the +# commit that scripts/registry/claims-registry.mjs pins; that script checks the +# SHA-256 of the four files the generator needs before this one sources them. +# The RECEIPT_* variables are read by the generator sourced at the end, whose +# path (the pinned standards checkout) a static check cannot follow. +# shellcheck disable=SC2034 +set -euo pipefail +cd -- "$(dirname -- "${BASH_SOURCE[0]}")/.." +export LC_ALL=C.UTF-8 + +RECEIPT_STD="$(bun scripts/registry/claims-registry.mjs standards)" \ + || { echo "ERROR: the standards checkout (MATHESIS_STANDARDS) is not at the pinned commit" >&2; exit 2; } +RECEIPT_STANDARDS_COMMIT="$(bun -e 'import {READER} from "./scripts/registry/claims-registry.mjs"; console.log(READER.commit)')" +RECEIPT_OUT=verification/receipts/theory_praxis.deed +RECEIPT_LEDGER=verification/receipts/theory_runs.ledger +RECEIPT_REPOSITORY=hyperpolymath/mathesis +RECEIPT_DEFAULT_BRANCH=main +RECEIPT_CANONICAL_NAME=mathesis-theory-receipt +RECEIPT_BEHOLDING_CHORA='#u8"chora:estate/github.com/hyperpolymath"' +RECEIPT_SCRIPT=scripts/grade-receipt.sh +# A receipt that is not current keeps what its run read: its inputs digest and +# axioms from the ledger row, and its inputs manifest when that can be rebuilt to +# the same digest (PROOF-POLICY §8.5.1; owner ruling 2026-11-24). None of it +# counts toward a grade. Set here, it is the same for --write and --check. +RECEIPT_KEEP_LINEAGE_DETAIL=1 + +AGDA=verification/proofs/agda +COQ=verification/proofs/coq +LEAN=verification/proofs/lean4 +# The graded Agda roots: THY-1 (FeatureReachability), APP-1 and APP-4 +# (Applied.Missing), APP-2 and APP-3 (Applied.Cash, through Applied.IntLaws, +# which proves the integer instance and imports Cash). +AGDA_ROOTS=("$AGDA/FeatureReachability.agda" "$AGDA/Applied/Missing.agda" "$AGDA/Applied/IntLaws.agda") + +# id | §5 token of the Agda proof | kind | Rocq route | Rocq §2.2 state | +# Lean route | Lean §2.2 state | Rocq reason | Lean reason +receipt_claims() { + local id + for id in THY-1 APP-1 APP-2 APP-3 APP-4; do + printf '%s|proven|theorem|re-proved|RECONCILED|re-proved|RECONCILED||\n' "$id" + done +} + +# The runs before 2026-11-10 were local, and the run of 2026-11-10 was on +# THY-1 alone: their receipts belong to THY-1 only (APP-1 to APP-4 came later). +receipt_run_scope() { + local p + for p in agda rocq lean; do + printf '%s|local run, 2026-11-09|THY-1\n' "$p" + printf '%s|https://github.com/hyperpolymath/mathesis/actions/runs/42896264290/job/130110238086|THY-1\n' "$p" + done +} + +receipt_echoes() { :; } + +receipt_header() { + cat <<'EOF' +;; SPDX-License-Identifier: CC-BY-SA-4.0 +;; SPDX-FileCopyrightText: 2026 Jonathan D.A. Jewell (hyperpolymath) +;; The proof receipt of Mathesis (PROOF-POLICY §8.5.1), for THY-1 and APP-1 to +;; APP-4 in docs/status/PROOF-STATUS.adoc. GENERATED by scripts/grade-receipt.sh +;; with the shared generator of standards (scripts/proof-receipt.sh, at the +;; commit scripts/registry/claims-registry.mjs pins) from the run ledger +;; verification/receipts/theory_runs.ledger; do not hand-edit. Each run of the +;; proof lanes in the pinned Guix shell is one row a prover; its current +;; receipt carries the inputs manifest of that prover and the axioms the run +;; reported (none). No row names a container image pinned by digest, so no +;; claim is PWG-1 (§8.2, standards#1625): the generator and the reader derive +;; PWG-2ii. Earlier receipts stay as superseded receipts, each with a reason. +;; The trusted base is each prover-supplied postulate that the Agda import +;; cones reach (agda --dependency-graph): the four of Agda.Primitive, and Char +;; and String, which Applied/IntLaws reaches through Agda.Builtin.Int. Agda +;; 2.7.0.1 postulates these six (its lib/prim sources, read 2026-11-13). +EOF +} + +receipt_trusted_base() { + printf '%s\n' \ + 'Agda.Primitive|Level|BUILTIN LEVEL' \ + 'Agda.Primitive|lzero|BUILTIN LEVELZERO' \ + 'Agda.Primitive|lsuc|BUILTIN LEVELSUC' \ + 'Agda.Primitive|_⊔_|BUILTIN LEVELMAX' \ + 'Agda.Builtin.Char|Char|BUILTIN CHAR' \ + 'Agda.Builtin.String|String|BUILTIN STRING' +} + +# What each lane of the Proof Policy Gate runs (.github/workflows/agda-proof-policy.yml), +# in the pinned Guix shell. +receipt_invocation() { + case "$1" in + agda) printf 'bash scripts/check-proofs.sh agda: agda --safe --without-K --cubical-compatible on each gated module of %s\n' "$AGDA" ;; + rocq) printf 'bash scripts/check-proofs.sh coq: coqc, Print Assumptions and coqchk -o on each gated module of %s\n' "$COQ" ;; + lean) printf 'bash scripts/check-proofs.sh lean4: lean and the axiom audit on each gated module of %s\n' "$LEAN" ;; + esac +} + +# The gated modules of a prover, from its MANIFEST (dir|module|gated|note). +gated() { awk -F'|' '!/^[[:space:]]*#/ && $3=="gated"{print $1 "/" $2}' "$1/MANIFEST"; } + +# §8.5.1 input sets. Agda: the first-party cone of the graded roots. Rocq: each +# file the gate compiles. Lean: each file the gate checks, and lean-toolchain. +receipt_inputs() { + local r + case "$1" in + agda) for r in "${AGDA_ROOTS[@]}"; do receipt_agda_cone "$r" "$AGDA"; done ;; + rocq) gated "$COQ" ;; + lean) gated "$LEAN"; printf '%s/lean-toolchain\n' "$LEAN" ;; + esac +} + +# The claim ids of the proof-status file: those its "===" headings name, with +# a range such as "APP-1 to APP-4" written out. +status_sections() { + awk ' + function ids(h, out, a, b, p, n, i) { + out = "" + while (match(h, /[A-Z]+-[0-9]+( to [A-Z]+-[0-9]+)?/)) { + p = substr(h, RSTART, RLENGTH); h = substr(h, RSTART + RLENGTH) + if (p ~ / to /) { + split(p, a, / to /); n = a[1]; sub(/-[0-9]+$/, "", n) + for (i = substr(a[1], length(n) + 2) + 0; i <= substr(a[2], length(n) + 2) + 0; i++) out = out " " n "-" i + } else out = out " " p + } + return out + } + function flush() { if (cur != "") print cur "|" rec "|" both } + /^=== / { flush(); h = $0; sub(/:.*/, "", h); cur = ids(h); rec = 0; both = 0; next } + /^== / { flush(); cur = ""; next } + cur != "" && /correspondence `RECONCILED`/ { rec++ } + cur != "" && /Rocq and Lean legs are `RECONCILED`/ { both = 1 } + END { flush() } + ' docs/status/PROOF-STATUS.adoc +} +receipt_status_ids() { status_sections | cut -d'|' -f1 | tr ' ' '\n' | grep . || true; } +# A claim's legs are recorded as RECONCILED when its section says so of the +# Rocq and the Lean leg: two "correspondence `RECONCILED`" rows, or one sentence +# for both. +receipt_recorded_legs() { + status_sections | awk -F'|' '$2 >= 2 || $3 == 1 {print $1}' | tr ' ' '\n' | grep . || true +} + +# shellcheck source=/dev/null +. "$RECEIPT_STD/scripts/proof-receipt.sh" +receipt_main "$@" diff --git a/scripts/registry/claims-registry.mjs b/scripts/registry/claims-registry.mjs index 1347a13c..beeb059b 100644 --- a/scripts/registry/claims-registry.mjs +++ b/scripts/registry/claims-registry.mjs @@ -78,9 +78,9 @@ const closed = (object, allowed, label, where) => { // that is not this file is refused, so a grade never comes from an unpinned rule. export const READER = { repository: 'metadatastician/standards', - commit: '940a27af1e25a73a2d55daa78d0763e6749fd935', + commit: '84c2d1c1b040c9d7b8924532fa77e71e63d72c66', path: '1-formats/deed/tools/deed_lint.js', - sha256: '29278b46654bdee70e8e1ff4a7ff8cb810e04b618c9ca1520a6979d6c4c91f18', + sha256: 'bd276e4046066926bdfb65f474271e2ddba57467cc237e9e7ec56c894577b04d', }; // The git checks of PROOF-POLICY §8.5.3, from the same standards commit as the @@ -93,6 +93,14 @@ export const CHECKER = { digestSha256: 'dfc6dde01a3a79df638eebe4cad0eae584d8f17280077e149174c0667e9508f4', }; +// The shared receipt generator (PROOF-POLICY §8.5.1), from the same standards +// commit: scripts/grade-receipt.sh sources it to write and check the receipt +// of Mathesis. One commit pins all four files, as the generator requires. +export const GENERATOR = { + path: 'scripts/proof-receipt.sh', + sha256: 'f56edf5eb5c78f510f65877a7f24c1fe099b4f60873d2804427fef6a52fd6f65', +}; + // ── Validation of the registry rows ────────────────────────────────────────── // A claim id is OWNER/REPO#CLAIM. The claim uses the characters of a repository @@ -249,7 +257,8 @@ const run = (cmd, args) => { // The path of the pinned checker, after the digest checks of both pinned // scripts and of the canon reader that the checker runs, in the standards -// checkout. The `receipt` home gate runs the checker without loadReader(). +// checkout. scripts/grade-receipt.sh (through the `standards` command) checks them +// before it sources the generator, which runs the checker itself. export async function checkerScript(standardsDir = process.env.MATHESIS_STANDARDS) { const pinned = async (rel, sha) => { const file = path.resolve(standardsDir, rel); @@ -259,6 +268,7 @@ export async function checkerScript(standardsDir = process.env.MATHESIS_STANDARD }; await pinned(READER.path, READER.sha256); await pinned(CHECKER.digest, CHECKER.digestSha256); + await pinned(GENERATOR.path, GENERATOR.sha256); return pinned(CHECKER.path, CHECKER.sha256); } @@ -385,15 +395,15 @@ export function render(derived) { async function main() { const [cmd, ...args] = process.argv.slice(2); - if (cmd === 'receipt') { - // The home gate (§8.5.3): the git checks on the receipt of Mathesis itself, - // against this clone. origin/main needs its history (CI fetches it). - const receipt = path.join(root, 'verification/receipts/theory_praxis.deed'); - const r = spawnSync(findTool('bash'), [await checkerScript(), '--branch', 'origin/main', receipt, root], {stdio: 'inherit'}); - process.exit(r.status ?? 2); + if (cmd === 'standards') { + // For scripts/grade-receipt.sh: check the four pinned files of the + // standards checkout, then print its path (the generator's RECEIPT_STD). + await checkerScript(); + console.log(path.resolve(process.env.MATHESIS_STANDARDS)); + return; } if (!['build', 'check', 'ledger'].includes(cmd)) { - console.error('usage: claims-registry.mjs build|check|ledger|receipt [--receipts-dir DIR] [--note TEXT]'); + console.error('usage: claims-registry.mjs build|check|ledger|standards [--receipts-dir DIR] [--note TEXT]'); process.exit(2); } const i = args.indexOf('--receipts-dir'); diff --git a/tests/golden/check_controls_test.sh b/tests/golden/check_controls_test.sh index 30914dbd..2e5feefc 100644 --- a/tests/golden/check_controls_test.sh +++ b/tests/golden/check_controls_test.sh @@ -50,4 +50,22 @@ sed -i 's/{"evidence_status":"missing","id":"closing","kind":"expected","period" (cd "$d" && just --quiet applied-build >/dev/null) expect_fail "missing read as zero" "$d" check-proofs "Applied/Example/Approximate.agda FAIL" +# A receipt report outlives no failed run: a report left by an earlier passing +# run is removed when a later run fails, even when it fails at once because its +# prover is not on PATH. The PATH holds only the tools the script needs before +# its toolchain check, so no prover is on it. +bin=$t/report-bin; reports=$t/reports +mkdir -p "$bin" "$reports" +for tool in bash dirname mkdir rm; do ln -s "$(type -P "$tool")" "$bin/$tool"; done +for prover in agda coq lean4 idris2; do + printf 'an earlier PASS report\n' >"$reports/$prover" + if PATH=$bin PROOF_REPORT_DIR=$reports "$bin/bash" "$root/scripts/check-proofs.sh" "$prover" >/dev/null 2>&1; then + echo "FAIL: stale report: check-proofs.sh $prover passed with no prover on PATH"; fail=1 + elif [ -e "$reports/$prover" ]; then + echo "FAIL: stale report: a failed $prover run left the earlier report"; fail=1 + else + echo "PASS: stale report: a failed $prover run removes the earlier report" + fi +done + exit "$fail" diff --git a/tests/registry/claims-registry.test.mjs b/tests/registry/claims-registry.test.mjs index 1fb54a8e..d5f1b668 100644 --- a/tests/registry/claims-registry.test.mjs +++ b/tests/registry/claims-registry.test.mjs @@ -9,7 +9,7 @@ import {readFileSync, mkdtempSync, mkdirSync, writeFileSync, copyFileSync} from import {createHash} from 'node:crypto'; import {tmpdir} from 'node:os'; import path from 'node:path'; -import {isClaimId, validate, loadReader, derive, deriveAll, withGitCheck, findTool, gitChecker, checkerScript, render, READER, CHECKER} from '../../scripts/registry/claims-registry.mjs'; +import {isClaimId, validate, loadReader, derive, deriveAll, withGitCheck, findTool, gitChecker, checkerScript, render, READER, CHECKER, GENERATOR} from '../../scripts/registry/claims-registry.mjs'; import {parseJsonl} from '../../scripts/atlas/census-atlas.mjs'; const rows = parseJsonl(readFileSync(new URL('../../docs/atlas/claims/claims.jsonl', import.meta.url), 'utf8')); @@ -217,13 +217,18 @@ test('a git check that cannot run gives a failed result, not a crash', async () } }); -test('the checker runs only beside the pinned canon reader', async () => { +test('the checker runs only beside the pinned canon reader and generator', async () => { const std = mkdtempSync(path.join(tmpdir(), 'mathesis-std-')); - for (const rel of [READER.path, CHECKER.path, CHECKER.digest]) { + for (const rel of [READER.path, CHECKER.path, CHECKER.digest, GENERATOR.path]) { mkdirSync(path.dirname(path.join(std, rel)), {recursive: true}); copyFileSync(path.join(process.env.MATHESIS_STANDARDS, rel), path.join(std, rel)); } expect(await checkerScript(std)).toBe(path.resolve(std, CHECKER.path)); + // scripts/grade-receipt.sh sources the generator, so a changed one is refused too. + writeFileSync(path.join(std, GENERATOR.path), '# changed\n', {flag: 'a'}); + await expect(checkerScript(std)).rejects.toThrow(/proof-receipt\.sh is not the pinned file/); + copyFileSync(path.join(process.env.MATHESIS_STANDARDS, GENERATOR.path), path.join(std, GENERATOR.path)); + expect(await checkerScript(std)).toBe(path.resolve(std, CHECKER.path)); writeFileSync(path.join(std, READER.path), '// changed\n', {flag: 'a'}); await expect(checkerScript(std)).rejects.toThrow(/is not the pinned file/); }); diff --git a/verification/receipts/theory_praxis.deed b/verification/receipts/theory_praxis.deed index 665853ad..5b6924be 100644 --- a/verification/receipts/theory_praxis.deed +++ b/verification/receipts/theory_praxis.deed @@ -1,25 +1,15 @@ ;; SPDX-License-Identifier: CC-BY-SA-4.0 ;; SPDX-FileCopyrightText: 2026 Jonathan D.A. Jewell (hyperpolymath) -;; The proof receipt of Mathesis (PROOF-POLICY §8.5.1, standards 940a27af), -;; written from the records of THY-1 and APP-1 to APP-4 in -;; docs/status/PROOF-STATUS.adoc. The current receipts come from one CI run of -;; the proof lanes in the pinned Guix (Guix 8edb9da) on main 8c55804: run -;; 44190913019. Its log records, for each gated module, the checker and its -;; version, the SHA-256 of the file, the result and the axioms reported (none). -;; It is the first run under the gate that audits definitions as well as -;; theorems, refuses an empty audit and a declared Lean axiom, and audits each -;; Rocq library and its import cone with the kernel checker coqchk -o (#107). -;; Each current receipt carries the inputs manifest of its prover: the union of -;; the first-party files that the graded roots read, from -;; standards scripts/proof-inputs-sha256.sh --manifest 8c55804 PATH... -;; One manifest per prover, because §8.5.1 allows one digest for one commit and -;; one prover. Earlier receipts stay as superseded receipts, each with a reason. -;; No row is PWG-1: the lanes run in the pinned Guix shell, not a container -;; image pinned by digest (§8.2, standards#1625), so the reader derives PWG-2ii. -;; The reader derives the grade, and the shared git checker does the §8.5.3 -;; checks (just receipt-check): -;; bun deed_lint.js --proof-receipt-json verification/receipts/theory_praxis.deed -;; check-proof-receipt.sh --branch origin/main verification/receipts/theory_praxis.deed . +;; The proof receipt of Mathesis (PROOF-POLICY §8.5.1), for THY-1 and APP-1 to +;; APP-4 in docs/status/PROOF-STATUS.adoc. GENERATED by scripts/grade-receipt.sh +;; with the shared generator of standards (scripts/proof-receipt.sh, at the +;; commit scripts/registry/claims-registry.mjs pins) from the run ledger +;; verification/receipts/theory_runs.ledger; do not hand-edit. Each run of the +;; proof lanes in the pinned Guix shell is one row a prover; its current +;; receipt carries the inputs manifest of that prover and the axioms the run +;; reported (none). No row names a container image pinned by digest, so no +;; claim is PWG-1 (§8.2, standards#1625): the generator and the reader derive +;; PWG-2ii. Earlier receipts stay as superseded receipts, each with a reason. ;; The trusted base is each prover-supplied postulate that the Agda import ;; cones reach (agda --dependency-graph): the four of Agda.Primitive, and Char ;; and String, which Applied/IntLaws reaches through Agda.Builtin.Int. Agda @@ -40,13 +30,13 @@ (primitive :prover agda :module "Agda.Builtin.String" :name "String" :binding "BUILTIN STRING")) (claim :id "THY-1" :pwg PWG-2ii :foundation-diverse #f (leg :prover agda :route source :token proven :state AGDA-VERIFIED + ; the run reported: check-proofs.sh agda: RESULT: PASS; postulates: none in the first-party cones of FeatureReachability (1 module), Applied/Missing (3) and Applied/IntLaws (6) (receipt :run "https://github.com/hyperpolymath/mathesis/actions/runs/44190913019/job/134419742986" :commit "8c55804163fd15deb1e89f0630a72d4ba8588001" :checker "agda 2.7.0.1 (Guix 8edb9da)" - :invocation "agda --safe --without-K --cubical-compatible FeatureReachability.agda" + :invocation "bash scripts/check-proofs.sh agda: agda --safe --without-K --cubical-compatible on each gated module of verification/proofs/agda" :inputs-sha256 "445160a6f857efe1a4a43ad3757df941ae29b98c988b9e5f51ec36ca81f5c4d3" :state current - (axioms) (inputs-manifest (file :path "verification/proofs/agda/Applied/Cash.agda" :sha256 "fe231a7679529e7998385d8acdcaf8cde6880e44a5cc5d5cc3c03fd4ac2eea12") (file :path "verification/proofs/agda/Applied/Cohort.agda" :sha256 "5a485d5fd5329939aa85909e65bc200d886316ebb69e9786b2764dd17eba8d56") @@ -54,15 +44,34 @@ (file :path "verification/proofs/agda/Applied/IntNumber.agda" :sha256 "0ba5ca46fd22d0abb4f7ceb0ff73a7857f7a3acc6143a43a68cf5932e8868959") (file :path "verification/proofs/agda/Applied/Missing.agda" :sha256 "b2d01609be9419e8cbca8578dc128c3251cc947a8c6c10e0b6f16ac5c6ad332c") (file :path "verification/proofs/agda/Applied/Status.agda" :sha256 "d059344565a55b897824b83b4f676b9a7326ba50a5b35a6da49ab72bb40e8a97") - (file :path "verification/proofs/agda/FeatureReachability.agda" :sha256 "4e39d6ae751d97d3edf57720ccf844d90de3e9ee6603901a04f5eb6494d94564"))) + (file :path "verification/proofs/agda/FeatureReachability.agda" :sha256 "4e39d6ae751d97d3edf57720ccf844d90de3e9ee6603901a04f5eb6494d94564")) + (axioms)) + ; the run reported: local run: the module checks; --safe refuses postulates, and a comment-aware scan finds none in the module + (receipt :run "local run, 2026-11-09" + :commit "f68b78d6ceb8d3c83f96f5ab8e57779442a8834f" + :checker "agda 2.6.3 (Ubuntu 24.04 agda package)" + :invocation "agda --safe --without-K --cubical-compatible FeatureReachability.agda" + :inputs-sha256 "35199233097c51127dd8a94440cae7a0c2507a920ba744207732b7c8b0932666" + :state superseded + :reason "replaced by the CI receipt in the pinned Guix, Agda 2.7.0.1" + (axioms)) + ; the run reported: check-proofs.sh agda: RESULT: PASS; FeatureReachability.agda: postulates: none in the 1 first-party module(s) of the import cone + (receipt :run "https://github.com/hyperpolymath/mathesis/actions/runs/42896264290/job/130110238086" + :commit "336768958d01257caae14cb81fb54197c2617d97" + :checker "agda 2.7.0.1 (Guix 8edb9da)" + :invocation "agda --safe --without-K --cubical-compatible FeatureReachability.agda" + :inputs-sha256 "35199233097c51127dd8a94440cae7a0c2507a920ba744207732b7c8b0932666" + :state superseded + :reason "replaced by the CI receipt of run 43498592499 on 034f215, which records the inputs digest and the axioms (PROOF-POLICY 8.5.1, standards d9b03a3)" + (axioms)) + ; the run reported: check-proofs.sh agda: RESULT: PASS; postulates: none in the first-party cones of FeatureReachability (1 module), Applied/Missing (3) and Applied/IntLaws (6) (receipt :run "https://github.com/hyperpolymath/mathesis/actions/runs/43498592499/job/132138258520" :commit "034f215b3b601aa6bdde7471bdc650bc62c0f56c" :checker "agda 2.7.0.1 (Guix 8edb9da)" - :invocation "agda --safe --without-K --cubical-compatible FeatureReachability.agda" + :invocation "bash scripts/check-proofs.sh agda: agda --safe --without-K --cubical-compatible on each gated module of verification/proofs/agda" :inputs-sha256 "4db97b78050ef622485ceb179e80ad9f39dbd986cdd6f45af0fd5b32a410c643" :state superseded :reason "replaced by the CI receipt of run 44190913019 on main 8c55804, whose inputs add APP-1's middle clause and THY-1's propositional theorems, checked under the gate that audits definitions as well as theorems (PROOF-POLICY 8.4)" - (axioms) (inputs-manifest (file :path "verification/proofs/agda/Applied/Cash.agda" :sha256 "fe231a7679529e7998385d8acdcaf8cde6880e44a5cc5d5cc3c03fd4ac2eea12") (file :path "verification/proofs/agda/Applied/Cohort.agda" :sha256 "5a485d5fd5329939aa85909e65bc200d886316ebb69e9786b2764dd17eba8d56") @@ -70,98 +79,103 @@ (file :path "verification/proofs/agda/Applied/IntNumber.agda" :sha256 "0ba5ca46fd22d0abb4f7ceb0ff73a7857f7a3acc6143a43a68cf5932e8868959") (file :path "verification/proofs/agda/Applied/Missing.agda" :sha256 "4afb4c82e84bf6411b0f0c19eb6d34869a42bee7d5616624147d1881c78b6fe9") (file :path "verification/proofs/agda/Applied/Status.agda" :sha256 "d059344565a55b897824b83b4f676b9a7326ba50a5b35a6da49ab72bb40e8a97") - (file :path "verification/proofs/agda/FeatureReachability.agda" :sha256 "4e39d6ae751d97d3edf57720ccf844d90de3e9ee6603901a04f5eb6494d94564"))) - (receipt :run "https://github.com/hyperpolymath/mathesis/actions/runs/42896264290/job/130110238086" - :commit "336768958d01257caae14cb81fb54197c2617d97" - :checker "agda 2.7.0.1 (Guix 8edb9da)" - :invocation "agda --safe --without-K --cubical-compatible FeatureReachability.agda" - :state superseded - :reason "replaced by the CI receipt of run 43498592499 on 034f215, which records the inputs digest and the axioms (PROOF-POLICY 8.5.1, standards d9b03a3)") - (receipt :run "local run, 2026-11-09" - :commit "f68b78d6ceb8d3c83f96f5ab8e57779442a8834f" - :checker "agda 2.6.3 (Ubuntu 24.04 agda package)" - :invocation "agda --safe --without-K --cubical-compatible FeatureReachability.agda" - :state superseded - :reason "replaced by the CI receipt in the pinned Guix, Agda 2.7.0.1")) + (file :path "verification/proofs/agda/FeatureReachability.agda" :sha256 "4e39d6ae751d97d3edf57720ccf844d90de3e9ee6603901a04f5eb6494d94564")) + (axioms))) (leg :prover rocq :route re-proved :token proven :state RECONCILED + ; the run reported: check-proofs.sh coq: RESULT: PASS; coqchk -o: no axiom, type-in-type, unsafe (co)fixpoint or assumed positivity; Print Assumptions: closed under the global context for 11 declaration(s) of FeatureReachability.v and 134 of Cohort.v (receipt :run "https://github.com/hyperpolymath/mathesis/actions/runs/44190913019/job/134419742986" :commit "8c55804163fd15deb1e89f0630a72d4ba8588001" :checker "coqc 8.18.0 (Guix 8edb9da)" - :invocation "coqc FeatureReachability.v" + :invocation "bash scripts/check-proofs.sh coq: coqc, Print Assumptions and coqchk -o on each gated module of verification/proofs/coq" :inputs-sha256 "212ebaa375caa0cd2259cfd337ddcaae769c0bd0a14d4f169ad31581c74a15c9" :state current - (axioms) (inputs-manifest (file :path "verification/proofs/coq/Cohort.v" :sha256 "1ff2d86001e2d62c759cdc15ec3affbf352bf690d736cefd6fb7a4ce8771269f") - (file :path "verification/proofs/coq/FeatureReachability.v" :sha256 "e2f90043366fb8061784da4cd12af3278e8a9ea0af78fdba4490f96f28b68cb1"))) - (receipt :run "https://github.com/hyperpolymath/mathesis/actions/runs/43498592499/job/132138258520" - :commit "034f215b3b601aa6bdde7471bdc650bc62c0f56c" - :checker "coqc 8.18.0 (Guix 8edb9da)" + (file :path "verification/proofs/coq/FeatureReachability.v" :sha256 "e2f90043366fb8061784da4cd12af3278e8a9ea0af78fdba4490f96f28b68cb1")) + (axioms)) + ; the run reported: local run: compiles; Print Assumptions: closed under the global context for absent_under_all_features, reach_mono and edge_mono + (receipt :run "local run, 2026-11-09" + :commit "f1be654e69b23873ea40651cb40e0e095ac53680" + :checker "coqc 8.18.0 (Ubuntu 24.04 coq package)" :invocation "coqc FeatureReachability.v" - :inputs-sha256 "1c5814d6040f119382ebeccffe477cbd7d8485a45cf9e8877782316378e28709" + :inputs-sha256 "21dbe44f56ee4442247715b50d8a384b834b3232ba1ff2de9201bbbfbff92915" :state superseded - :reason "replaced by the CI receipt of run 44190913019 on main 8c55804, whose inputs add APP-1's middle clause and THY-1's propositional theorems, checked under the gate that audits definitions as well as theorems (PROOF-POLICY 8.4)" - (axioms) - (inputs-manifest - (file :path "verification/proofs/coq/Cohort.v" :sha256 "2519cdbdb3b22ee5132e5708bbbeb9e87e3b2d8c2c318329c96c0545863b6260") - (file :path "verification/proofs/coq/FeatureReachability.v" :sha256 "e2f90043366fb8061784da4cd12af3278e8a9ea0af78fdba4490f96f28b68cb1"))) + :reason "replaced by the CI receipt in the pinned Guix" + (axioms)) + ; the run reported: check-proofs.sh coq: RESULT: PASS; FeatureReachability.v: Print Assumptions: closed under the global context for 1 theorem(s): absent_under_all_features (receipt :run "https://github.com/hyperpolymath/mathesis/actions/runs/42896264290/job/130110238086" :commit "336768958d01257caae14cb81fb54197c2617d97" :checker "coqc 8.18.0 (Guix 8edb9da)" :invocation "coqc FeatureReachability.v" + :inputs-sha256 "794ed1c5179384913e037570a9490eb003c320a3aae2df2efcf4066ed5f57ae4" :state superseded - :reason "replaced by the CI receipt of run 43498592499 on 034f215, which records the inputs digest and the axioms (PROOF-POLICY 8.5.1, standards d9b03a3)") - (receipt :run "local run, 2026-11-09" - :commit "f1be654e69b23873ea40651cb40e0e095ac53680" - :checker "coqc 8.18.0 (Ubuntu 24.04 coq package)" - :invocation "coqc FeatureReachability.v" + :reason "replaced by the CI receipt of run 43498592499 on 034f215, which records the inputs digest and the axioms (PROOF-POLICY 8.5.1, standards d9b03a3)" + (axioms)) + ; the run reported: check-proofs.sh coq: RESULT: PASS; Print Assumptions: closed under the global context for 1 theorem(s) of FeatureReachability.v and 82 of Cohort.v + (receipt :run "https://github.com/hyperpolymath/mathesis/actions/runs/43498592499/job/132138258520" + :commit "034f215b3b601aa6bdde7471bdc650bc62c0f56c" + :checker "coqc 8.18.0 (Guix 8edb9da)" + :invocation "bash scripts/check-proofs.sh coq: coqc and Print Assumptions on each gated module of verification/proofs/coq" + :inputs-sha256 "1c5814d6040f119382ebeccffe477cbd7d8485a45cf9e8877782316378e28709" :state superseded - :reason "replaced by the CI receipt in the pinned Guix")) + :reason "replaced by the CI receipt of run 44190913019 on main 8c55804, whose inputs add APP-1's middle clause and THY-1's propositional theorems, checked under the gate that audits definitions as well as theorems (PROOF-POLICY 8.4)" + (inputs-manifest + (file :path "verification/proofs/coq/Cohort.v" :sha256 "2519cdbdb3b22ee5132e5708bbbeb9e87e3b2d8c2c318329c96c0545863b6260") + (file :path "verification/proofs/coq/FeatureReachability.v" :sha256 "e2f90043366fb8061784da4cd12af3278e8a9ea0af78fdba4490f96f28b68cb1")) + (axioms))) (leg :prover lean :route re-proved :token proven :state RECONCILED + ; the run reported: check-proofs.sh lean4: RESULT: PASS; axioms: none for 8 theorem(s) and 48 definition(s) of FeatureReachability.lean, and 102 theorem(s) and 128 definition(s) of Cohort.lean (receipt :run "https://github.com/hyperpolymath/mathesis/actions/runs/44190913019/job/134419742986" :commit "8c55804163fd15deb1e89f0630a72d4ba8588001" :checker "lean 4.29.0 (Guix 8edb9da)" - :invocation "lean FeatureReachability.lean" + :invocation "bash scripts/check-proofs.sh lean4: lean and the axiom audit on each gated module of verification/proofs/lean4" :inputs-sha256 "24d292acc71fd0f7ece8dd21a0f355f101b63513a66f41b0ba4a9364ac64aa0b" :state current - (axioms) (inputs-manifest (file :path "verification/proofs/lean4/Cohort.lean" :sha256 "e3ff1d650c4ee0dc732ec0c028403476050885fe7e2b51eb8bf24fa9eafe0052") (file :path "verification/proofs/lean4/FeatureReachability.lean" :sha256 "55a4116e84cb8d6a230bcc3d85fa9cef1e74fe1520b652830f6e2cb1ce26e39b") - (file :path "verification/proofs/lean4/lean-toolchain" :sha256 "651c8accb402b0c071cd336e9d3dc0a55516b1bfb434ddc4801f14936785b1d2"))) - (receipt :run "https://github.com/hyperpolymath/mathesis/actions/runs/43498592499/job/132138258520" - :commit "034f215b3b601aa6bdde7471bdc650bc62c0f56c" - :checker "lean 4.29.0 (Guix 8edb9da)" + (file :path "verification/proofs/lean4/lean-toolchain" :sha256 "651c8accb402b0c071cd336e9d3dc0a55516b1bfb434ddc4801f14936785b1d2")) + (axioms)) + ; the run reported: local run: compiles; #print axioms: none for absentUnderAllFeatures, reachMono and onMono + (receipt :run "local run, 2026-11-09" + :commit "f1be654e69b23873ea40651cb40e0e095ac53680" + :checker "lean 4.15.0 (11651562caae, release archive)" :invocation "lean FeatureReachability.lean" - :inputs-sha256 "de2e3324f91b25f4a05658dfcfb435c7417709667b8766f7aeaa832fa874c4c1" + :inputs-sha256 "c105ee55e8ea57b9c11d6a1ff9245e0a550a5bd7301eddbb056e8719e4c47724" :state superseded - :reason "replaced by the CI receipt of run 44190913019 on main 8c55804, the first under the gate that audits definitions as well as theorems and fails on an empty audit: this receipt's empty axiom list came from an audit that inspected none of THY-1's results, which are definitions (proof audit 2026-11-16, finding 31)" - (axioms) - (inputs-manifest - (file :path "verification/proofs/lean4/Cohort.lean" :sha256 "b91e2aa7b1322284d67710ea918858497bc1245a6b941448df2deba4b521ce10") - (file :path "verification/proofs/lean4/FeatureReachability.lean" :sha256 "4158e54f85c8e83e49789869a4e9b12fe4b8d7460981f5c8442479268f17d55a") - (file :path "verification/proofs/lean4/lean-toolchain" :sha256 "651c8accb402b0c071cd336e9d3dc0a55516b1bfb434ddc4801f14936785b1d2"))) + :reason "replaced by the CI receipt in the pinned Guix, Lean 4.29.0" + (axioms)) + ; the run reported: check-proofs.sh lean4: RESULT: PASS; FeatureReachability.lean: axioms: none for 2 declared theorem(s) (receipt :run "https://github.com/hyperpolymath/mathesis/actions/runs/42896264290/job/130110238086" :commit "336768958d01257caae14cb81fb54197c2617d97" :checker "lean 4.29.0 (Guix 8edb9da)" :invocation "lean FeatureReachability.lean" + :inputs-sha256 "ee5e7b1347a394a9050d815f30915aacdd85ffa9219811b29b0faa341c7d8e97" :state superseded - :reason "replaced by the CI receipt of run 43498592499 on 034f215, which records the inputs digest and the axioms (PROOF-POLICY 8.5.1, standards d9b03a3)") - (receipt :run "local run, 2026-11-09" - :commit "f1be654e69b23873ea40651cb40e0e095ac53680" - :checker "lean 4.15.0 (11651562caae, release archive)" - :invocation "lean FeatureReachability.lean" + :reason "replaced by the CI receipt of run 43498592499 on 034f215, which records the inputs digest and the axioms (PROOF-POLICY 8.5.1, standards d9b03a3)" + (axioms)) + ; the run reported: check-proofs.sh lean4: RESULT: PASS; axioms: none for 2 declared theorem(s) of FeatureReachability.lean and 95 of Cohort.lean + (receipt :run "https://github.com/hyperpolymath/mathesis/actions/runs/43498592499/job/132138258520" + :commit "034f215b3b601aa6bdde7471bdc650bc62c0f56c" + :checker "lean 4.29.0 (Guix 8edb9da)" + :invocation "bash scripts/check-proofs.sh lean4: lean and the axiom audit of declared theorems on each gated module of verification/proofs/lean4" + :inputs-sha256 "de2e3324f91b25f4a05658dfcfb435c7417709667b8766f7aeaa832fa874c4c1" :state superseded - :reason "replaced by the CI receipt in the pinned Guix, Lean 4.29.0"))) + :reason "replaced by the CI receipt of run 44190913019 on main 8c55804, whose inputs add APP-1's middle clause and THY-1's propositional theorems, checked under the gate that audits definitions as well as theorems (PROOF-POLICY 8.4); for THY-1 it is also the first under the gate that fails on an empty audit: this receipt's empty axiom list came from an audit that inspected none of THY-1's results, which are definitions (proof audit 2026-11-16, finding 31)" + (inputs-manifest + (file :path "verification/proofs/lean4/Cohort.lean" :sha256 "b91e2aa7b1322284d67710ea918858497bc1245a6b941448df2deba4b521ce10") + (file :path "verification/proofs/lean4/FeatureReachability.lean" :sha256 "4158e54f85c8e83e49789869a4e9b12fe4b8d7460981f5c8442479268f17d55a") + (file :path "verification/proofs/lean4/lean-toolchain" :sha256 "651c8accb402b0c071cd336e9d3dc0a55516b1bfb434ddc4801f14936785b1d2")) + (axioms)))) (claim :id "APP-1" :pwg PWG-2ii :foundation-diverse #f (leg :prover agda :route source :token proven :state AGDA-VERIFIED + ; the run reported: check-proofs.sh agda: RESULT: PASS; postulates: none in the first-party cones of FeatureReachability (1 module), Applied/Missing (3) and Applied/IntLaws (6) (receipt :run "https://github.com/hyperpolymath/mathesis/actions/runs/44190913019/job/134419742986" :commit "8c55804163fd15deb1e89f0630a72d4ba8588001" :checker "agda 2.7.0.1 (Guix 8edb9da)" - :invocation "agda --safe --without-K --cubical-compatible Applied/Missing.agda" + :invocation "bash scripts/check-proofs.sh agda: agda --safe --without-K --cubical-compatible on each gated module of verification/proofs/agda" :inputs-sha256 "445160a6f857efe1a4a43ad3757df941ae29b98c988b9e5f51ec36ca81f5c4d3" :state current - (axioms) (inputs-manifest (file :path "verification/proofs/agda/Applied/Cash.agda" :sha256 "fe231a7679529e7998385d8acdcaf8cde6880e44a5cc5d5cc3c03fd4ac2eea12") (file :path "verification/proofs/agda/Applied/Cohort.agda" :sha256 "5a485d5fd5329939aa85909e65bc200d886316ebb69e9786b2764dd17eba8d56") @@ -169,15 +183,16 @@ (file :path "verification/proofs/agda/Applied/IntNumber.agda" :sha256 "0ba5ca46fd22d0abb4f7ceb0ff73a7857f7a3acc6143a43a68cf5932e8868959") (file :path "verification/proofs/agda/Applied/Missing.agda" :sha256 "b2d01609be9419e8cbca8578dc128c3251cc947a8c6c10e0b6f16ac5c6ad332c") (file :path "verification/proofs/agda/Applied/Status.agda" :sha256 "d059344565a55b897824b83b4f676b9a7326ba50a5b35a6da49ab72bb40e8a97") - (file :path "verification/proofs/agda/FeatureReachability.agda" :sha256 "4e39d6ae751d97d3edf57720ccf844d90de3e9ee6603901a04f5eb6494d94564"))) + (file :path "verification/proofs/agda/FeatureReachability.agda" :sha256 "4e39d6ae751d97d3edf57720ccf844d90de3e9ee6603901a04f5eb6494d94564")) + (axioms)) + ; the run reported: check-proofs.sh agda: RESULT: PASS; postulates: none in the first-party cones of FeatureReachability (1 module), Applied/Missing (3) and Applied/IntLaws (6) (receipt :run "https://github.com/hyperpolymath/mathesis/actions/runs/43498592499/job/132138258520" :commit "034f215b3b601aa6bdde7471bdc650bc62c0f56c" :checker "agda 2.7.0.1 (Guix 8edb9da)" - :invocation "agda --safe --without-K --cubical-compatible Applied/Missing.agda" + :invocation "bash scripts/check-proofs.sh agda: agda --safe --without-K --cubical-compatible on each gated module of verification/proofs/agda" :inputs-sha256 "4db97b78050ef622485ceb179e80ad9f39dbd986cdd6f45af0fd5b32a410c643" :state superseded :reason "replaced by the CI receipt of run 44190913019 on main 8c55804, whose inputs add APP-1's middle clause and THY-1's propositional theorems, checked under the gate that audits definitions as well as theorems (PROOF-POLICY 8.4)" - (axioms) (inputs-manifest (file :path "verification/proofs/agda/Applied/Cash.agda" :sha256 "fe231a7679529e7998385d8acdcaf8cde6880e44a5cc5d5cc3c03fd4ac2eea12") (file :path "verification/proofs/agda/Applied/Cohort.agda" :sha256 "5a485d5fd5329939aa85909e65bc200d886316ebb69e9786b2764dd17eba8d56") @@ -185,62 +200,67 @@ (file :path "verification/proofs/agda/Applied/IntNumber.agda" :sha256 "0ba5ca46fd22d0abb4f7ceb0ff73a7857f7a3acc6143a43a68cf5932e8868959") (file :path "verification/proofs/agda/Applied/Missing.agda" :sha256 "4afb4c82e84bf6411b0f0c19eb6d34869a42bee7d5616624147d1881c78b6fe9") (file :path "verification/proofs/agda/Applied/Status.agda" :sha256 "d059344565a55b897824b83b4f676b9a7326ba50a5b35a6da49ab72bb40e8a97") - (file :path "verification/proofs/agda/FeatureReachability.agda" :sha256 "4e39d6ae751d97d3edf57720ccf844d90de3e9ee6603901a04f5eb6494d94564")))) + (file :path "verification/proofs/agda/FeatureReachability.agda" :sha256 "4e39d6ae751d97d3edf57720ccf844d90de3e9ee6603901a04f5eb6494d94564")) + (axioms))) (leg :prover rocq :route re-proved :token proven :state RECONCILED + ; the run reported: check-proofs.sh coq: RESULT: PASS; coqchk -o: no axiom, type-in-type, unsafe (co)fixpoint or assumed positivity; Print Assumptions: closed under the global context for 11 declaration(s) of FeatureReachability.v and 134 of Cohort.v (receipt :run "https://github.com/hyperpolymath/mathesis/actions/runs/44190913019/job/134419742986" :commit "8c55804163fd15deb1e89f0630a72d4ba8588001" :checker "coqc 8.18.0 (Guix 8edb9da)" - :invocation "coqc Cohort.v" + :invocation "bash scripts/check-proofs.sh coq: coqc, Print Assumptions and coqchk -o on each gated module of verification/proofs/coq" :inputs-sha256 "212ebaa375caa0cd2259cfd337ddcaae769c0bd0a14d4f169ad31581c74a15c9" :state current - (axioms) (inputs-manifest (file :path "verification/proofs/coq/Cohort.v" :sha256 "1ff2d86001e2d62c759cdc15ec3affbf352bf690d736cefd6fb7a4ce8771269f") - (file :path "verification/proofs/coq/FeatureReachability.v" :sha256 "e2f90043366fb8061784da4cd12af3278e8a9ea0af78fdba4490f96f28b68cb1"))) + (file :path "verification/proofs/coq/FeatureReachability.v" :sha256 "e2f90043366fb8061784da4cd12af3278e8a9ea0af78fdba4490f96f28b68cb1")) + (axioms)) + ; the run reported: check-proofs.sh coq: RESULT: PASS; Print Assumptions: closed under the global context for 1 theorem(s) of FeatureReachability.v and 82 of Cohort.v (receipt :run "https://github.com/hyperpolymath/mathesis/actions/runs/43498592499/job/132138258520" :commit "034f215b3b601aa6bdde7471bdc650bc62c0f56c" :checker "coqc 8.18.0 (Guix 8edb9da)" - :invocation "coqc Cohort.v" + :invocation "bash scripts/check-proofs.sh coq: coqc and Print Assumptions on each gated module of verification/proofs/coq" :inputs-sha256 "1c5814d6040f119382ebeccffe477cbd7d8485a45cf9e8877782316378e28709" :state superseded :reason "replaced by the CI receipt of run 44190913019 on main 8c55804, whose inputs add APP-1's middle clause and THY-1's propositional theorems, checked under the gate that audits definitions as well as theorems (PROOF-POLICY 8.4)" - (axioms) (inputs-manifest (file :path "verification/proofs/coq/Cohort.v" :sha256 "2519cdbdb3b22ee5132e5708bbbeb9e87e3b2d8c2c318329c96c0545863b6260") - (file :path "verification/proofs/coq/FeatureReachability.v" :sha256 "e2f90043366fb8061784da4cd12af3278e8a9ea0af78fdba4490f96f28b68cb1")))) + (file :path "verification/proofs/coq/FeatureReachability.v" :sha256 "e2f90043366fb8061784da4cd12af3278e8a9ea0af78fdba4490f96f28b68cb1")) + (axioms))) (leg :prover lean :route re-proved :token proven :state RECONCILED + ; the run reported: check-proofs.sh lean4: RESULT: PASS; axioms: none for 8 theorem(s) and 48 definition(s) of FeatureReachability.lean, and 102 theorem(s) and 128 definition(s) of Cohort.lean (receipt :run "https://github.com/hyperpolymath/mathesis/actions/runs/44190913019/job/134419742986" :commit "8c55804163fd15deb1e89f0630a72d4ba8588001" :checker "lean 4.29.0 (Guix 8edb9da)" - :invocation "lean Cohort.lean" + :invocation "bash scripts/check-proofs.sh lean4: lean and the axiom audit on each gated module of verification/proofs/lean4" :inputs-sha256 "24d292acc71fd0f7ece8dd21a0f355f101b63513a66f41b0ba4a9364ac64aa0b" :state current - (axioms) (inputs-manifest (file :path "verification/proofs/lean4/Cohort.lean" :sha256 "e3ff1d650c4ee0dc732ec0c028403476050885fe7e2b51eb8bf24fa9eafe0052") (file :path "verification/proofs/lean4/FeatureReachability.lean" :sha256 "55a4116e84cb8d6a230bcc3d85fa9cef1e74fe1520b652830f6e2cb1ce26e39b") - (file :path "verification/proofs/lean4/lean-toolchain" :sha256 "651c8accb402b0c071cd336e9d3dc0a55516b1bfb434ddc4801f14936785b1d2"))) + (file :path "verification/proofs/lean4/lean-toolchain" :sha256 "651c8accb402b0c071cd336e9d3dc0a55516b1bfb434ddc4801f14936785b1d2")) + (axioms)) + ; the run reported: check-proofs.sh lean4: RESULT: PASS; axioms: none for 2 declared theorem(s) of FeatureReachability.lean and 95 of Cohort.lean (receipt :run "https://github.com/hyperpolymath/mathesis/actions/runs/43498592499/job/132138258520" :commit "034f215b3b601aa6bdde7471bdc650bc62c0f56c" :checker "lean 4.29.0 (Guix 8edb9da)" - :invocation "lean Cohort.lean" + :invocation "bash scripts/check-proofs.sh lean4: lean and the axiom audit of declared theorems on each gated module of verification/proofs/lean4" :inputs-sha256 "de2e3324f91b25f4a05658dfcfb435c7417709667b8766f7aeaa832fa874c4c1" :state superseded - :reason "replaced by the CI receipt of run 44190913019 on main 8c55804, whose inputs add APP-1's middle clause and THY-1's propositional theorems, checked under the gate that audits definitions as well as theorems (PROOF-POLICY 8.4)" - (axioms) + :reason "replaced by the CI receipt of run 44190913019 on main 8c55804, whose inputs add APP-1's middle clause and THY-1's propositional theorems, checked under the gate that audits definitions as well as theorems (PROOF-POLICY 8.4); for THY-1 it is also the first under the gate that fails on an empty audit: this receipt's empty axiom list came from an audit that inspected none of THY-1's results, which are definitions (proof audit 2026-11-16, finding 31)" (inputs-manifest (file :path "verification/proofs/lean4/Cohort.lean" :sha256 "b91e2aa7b1322284d67710ea918858497bc1245a6b941448df2deba4b521ce10") (file :path "verification/proofs/lean4/FeatureReachability.lean" :sha256 "4158e54f85c8e83e49789869a4e9b12fe4b8d7460981f5c8442479268f17d55a") - (file :path "verification/proofs/lean4/lean-toolchain" :sha256 "651c8accb402b0c071cd336e9d3dc0a55516b1bfb434ddc4801f14936785b1d2"))))) + (file :path "verification/proofs/lean4/lean-toolchain" :sha256 "651c8accb402b0c071cd336e9d3dc0a55516b1bfb434ddc4801f14936785b1d2")) + (axioms)))) (claim :id "APP-2" :pwg PWG-2ii :foundation-diverse #f (leg :prover agda :route source :token proven :state AGDA-VERIFIED + ; the run reported: check-proofs.sh agda: RESULT: PASS; postulates: none in the first-party cones of FeatureReachability (1 module), Applied/Missing (3) and Applied/IntLaws (6) (receipt :run "https://github.com/hyperpolymath/mathesis/actions/runs/44190913019/job/134419742986" :commit "8c55804163fd15deb1e89f0630a72d4ba8588001" :checker "agda 2.7.0.1 (Guix 8edb9da)" - :invocation "agda --safe --without-K --cubical-compatible Applied/IntLaws.agda" + :invocation "bash scripts/check-proofs.sh agda: agda --safe --without-K --cubical-compatible on each gated module of verification/proofs/agda" :inputs-sha256 "445160a6f857efe1a4a43ad3757df941ae29b98c988b9e5f51ec36ca81f5c4d3" :state current - (axioms) (inputs-manifest (file :path "verification/proofs/agda/Applied/Cash.agda" :sha256 "fe231a7679529e7998385d8acdcaf8cde6880e44a5cc5d5cc3c03fd4ac2eea12") (file :path "verification/proofs/agda/Applied/Cohort.agda" :sha256 "5a485d5fd5329939aa85909e65bc200d886316ebb69e9786b2764dd17eba8d56") @@ -248,15 +268,16 @@ (file :path "verification/proofs/agda/Applied/IntNumber.agda" :sha256 "0ba5ca46fd22d0abb4f7ceb0ff73a7857f7a3acc6143a43a68cf5932e8868959") (file :path "verification/proofs/agda/Applied/Missing.agda" :sha256 "b2d01609be9419e8cbca8578dc128c3251cc947a8c6c10e0b6f16ac5c6ad332c") (file :path "verification/proofs/agda/Applied/Status.agda" :sha256 "d059344565a55b897824b83b4f676b9a7326ba50a5b35a6da49ab72bb40e8a97") - (file :path "verification/proofs/agda/FeatureReachability.agda" :sha256 "4e39d6ae751d97d3edf57720ccf844d90de3e9ee6603901a04f5eb6494d94564"))) + (file :path "verification/proofs/agda/FeatureReachability.agda" :sha256 "4e39d6ae751d97d3edf57720ccf844d90de3e9ee6603901a04f5eb6494d94564")) + (axioms)) + ; the run reported: check-proofs.sh agda: RESULT: PASS; postulates: none in the first-party cones of FeatureReachability (1 module), Applied/Missing (3) and Applied/IntLaws (6) (receipt :run "https://github.com/hyperpolymath/mathesis/actions/runs/43498592499/job/132138258520" :commit "034f215b3b601aa6bdde7471bdc650bc62c0f56c" :checker "agda 2.7.0.1 (Guix 8edb9da)" - :invocation "agda --safe --without-K --cubical-compatible Applied/IntLaws.agda" + :invocation "bash scripts/check-proofs.sh agda: agda --safe --without-K --cubical-compatible on each gated module of verification/proofs/agda" :inputs-sha256 "4db97b78050ef622485ceb179e80ad9f39dbd986cdd6f45af0fd5b32a410c643" :state superseded :reason "replaced by the CI receipt of run 44190913019 on main 8c55804, whose inputs add APP-1's middle clause and THY-1's propositional theorems, checked under the gate that audits definitions as well as theorems (PROOF-POLICY 8.4)" - (axioms) (inputs-manifest (file :path "verification/proofs/agda/Applied/Cash.agda" :sha256 "fe231a7679529e7998385d8acdcaf8cde6880e44a5cc5d5cc3c03fd4ac2eea12") (file :path "verification/proofs/agda/Applied/Cohort.agda" :sha256 "5a485d5fd5329939aa85909e65bc200d886316ebb69e9786b2764dd17eba8d56") @@ -264,62 +285,67 @@ (file :path "verification/proofs/agda/Applied/IntNumber.agda" :sha256 "0ba5ca46fd22d0abb4f7ceb0ff73a7857f7a3acc6143a43a68cf5932e8868959") (file :path "verification/proofs/agda/Applied/Missing.agda" :sha256 "4afb4c82e84bf6411b0f0c19eb6d34869a42bee7d5616624147d1881c78b6fe9") (file :path "verification/proofs/agda/Applied/Status.agda" :sha256 "d059344565a55b897824b83b4f676b9a7326ba50a5b35a6da49ab72bb40e8a97") - (file :path "verification/proofs/agda/FeatureReachability.agda" :sha256 "4e39d6ae751d97d3edf57720ccf844d90de3e9ee6603901a04f5eb6494d94564")))) + (file :path "verification/proofs/agda/FeatureReachability.agda" :sha256 "4e39d6ae751d97d3edf57720ccf844d90de3e9ee6603901a04f5eb6494d94564")) + (axioms))) (leg :prover rocq :route re-proved :token proven :state RECONCILED + ; the run reported: check-proofs.sh coq: RESULT: PASS; coqchk -o: no axiom, type-in-type, unsafe (co)fixpoint or assumed positivity; Print Assumptions: closed under the global context for 11 declaration(s) of FeatureReachability.v and 134 of Cohort.v (receipt :run "https://github.com/hyperpolymath/mathesis/actions/runs/44190913019/job/134419742986" :commit "8c55804163fd15deb1e89f0630a72d4ba8588001" :checker "coqc 8.18.0 (Guix 8edb9da)" - :invocation "coqc Cohort.v" + :invocation "bash scripts/check-proofs.sh coq: coqc, Print Assumptions and coqchk -o on each gated module of verification/proofs/coq" :inputs-sha256 "212ebaa375caa0cd2259cfd337ddcaae769c0bd0a14d4f169ad31581c74a15c9" :state current - (axioms) (inputs-manifest (file :path "verification/proofs/coq/Cohort.v" :sha256 "1ff2d86001e2d62c759cdc15ec3affbf352bf690d736cefd6fb7a4ce8771269f") - (file :path "verification/proofs/coq/FeatureReachability.v" :sha256 "e2f90043366fb8061784da4cd12af3278e8a9ea0af78fdba4490f96f28b68cb1"))) + (file :path "verification/proofs/coq/FeatureReachability.v" :sha256 "e2f90043366fb8061784da4cd12af3278e8a9ea0af78fdba4490f96f28b68cb1")) + (axioms)) + ; the run reported: check-proofs.sh coq: RESULT: PASS; Print Assumptions: closed under the global context for 1 theorem(s) of FeatureReachability.v and 82 of Cohort.v (receipt :run "https://github.com/hyperpolymath/mathesis/actions/runs/43498592499/job/132138258520" :commit "034f215b3b601aa6bdde7471bdc650bc62c0f56c" :checker "coqc 8.18.0 (Guix 8edb9da)" - :invocation "coqc Cohort.v" + :invocation "bash scripts/check-proofs.sh coq: coqc and Print Assumptions on each gated module of verification/proofs/coq" :inputs-sha256 "1c5814d6040f119382ebeccffe477cbd7d8485a45cf9e8877782316378e28709" :state superseded :reason "replaced by the CI receipt of run 44190913019 on main 8c55804, whose inputs add APP-1's middle clause and THY-1's propositional theorems, checked under the gate that audits definitions as well as theorems (PROOF-POLICY 8.4)" - (axioms) (inputs-manifest (file :path "verification/proofs/coq/Cohort.v" :sha256 "2519cdbdb3b22ee5132e5708bbbeb9e87e3b2d8c2c318329c96c0545863b6260") - (file :path "verification/proofs/coq/FeatureReachability.v" :sha256 "e2f90043366fb8061784da4cd12af3278e8a9ea0af78fdba4490f96f28b68cb1")))) + (file :path "verification/proofs/coq/FeatureReachability.v" :sha256 "e2f90043366fb8061784da4cd12af3278e8a9ea0af78fdba4490f96f28b68cb1")) + (axioms))) (leg :prover lean :route re-proved :token proven :state RECONCILED + ; the run reported: check-proofs.sh lean4: RESULT: PASS; axioms: none for 8 theorem(s) and 48 definition(s) of FeatureReachability.lean, and 102 theorem(s) and 128 definition(s) of Cohort.lean (receipt :run "https://github.com/hyperpolymath/mathesis/actions/runs/44190913019/job/134419742986" :commit "8c55804163fd15deb1e89f0630a72d4ba8588001" :checker "lean 4.29.0 (Guix 8edb9da)" - :invocation "lean Cohort.lean" + :invocation "bash scripts/check-proofs.sh lean4: lean and the axiom audit on each gated module of verification/proofs/lean4" :inputs-sha256 "24d292acc71fd0f7ece8dd21a0f355f101b63513a66f41b0ba4a9364ac64aa0b" :state current - (axioms) (inputs-manifest (file :path "verification/proofs/lean4/Cohort.lean" :sha256 "e3ff1d650c4ee0dc732ec0c028403476050885fe7e2b51eb8bf24fa9eafe0052") (file :path "verification/proofs/lean4/FeatureReachability.lean" :sha256 "55a4116e84cb8d6a230bcc3d85fa9cef1e74fe1520b652830f6e2cb1ce26e39b") - (file :path "verification/proofs/lean4/lean-toolchain" :sha256 "651c8accb402b0c071cd336e9d3dc0a55516b1bfb434ddc4801f14936785b1d2"))) + (file :path "verification/proofs/lean4/lean-toolchain" :sha256 "651c8accb402b0c071cd336e9d3dc0a55516b1bfb434ddc4801f14936785b1d2")) + (axioms)) + ; the run reported: check-proofs.sh lean4: RESULT: PASS; axioms: none for 2 declared theorem(s) of FeatureReachability.lean and 95 of Cohort.lean (receipt :run "https://github.com/hyperpolymath/mathesis/actions/runs/43498592499/job/132138258520" :commit "034f215b3b601aa6bdde7471bdc650bc62c0f56c" :checker "lean 4.29.0 (Guix 8edb9da)" - :invocation "lean Cohort.lean" + :invocation "bash scripts/check-proofs.sh lean4: lean and the axiom audit of declared theorems on each gated module of verification/proofs/lean4" :inputs-sha256 "de2e3324f91b25f4a05658dfcfb435c7417709667b8766f7aeaa832fa874c4c1" :state superseded - :reason "replaced by the CI receipt of run 44190913019 on main 8c55804, whose inputs add APP-1's middle clause and THY-1's propositional theorems, checked under the gate that audits definitions as well as theorems (PROOF-POLICY 8.4)" - (axioms) + :reason "replaced by the CI receipt of run 44190913019 on main 8c55804, whose inputs add APP-1's middle clause and THY-1's propositional theorems, checked under the gate that audits definitions as well as theorems (PROOF-POLICY 8.4); for THY-1 it is also the first under the gate that fails on an empty audit: this receipt's empty axiom list came from an audit that inspected none of THY-1's results, which are definitions (proof audit 2026-11-16, finding 31)" (inputs-manifest (file :path "verification/proofs/lean4/Cohort.lean" :sha256 "b91e2aa7b1322284d67710ea918858497bc1245a6b941448df2deba4b521ce10") (file :path "verification/proofs/lean4/FeatureReachability.lean" :sha256 "4158e54f85c8e83e49789869a4e9b12fe4b8d7460981f5c8442479268f17d55a") - (file :path "verification/proofs/lean4/lean-toolchain" :sha256 "651c8accb402b0c071cd336e9d3dc0a55516b1bfb434ddc4801f14936785b1d2"))))) + (file :path "verification/proofs/lean4/lean-toolchain" :sha256 "651c8accb402b0c071cd336e9d3dc0a55516b1bfb434ddc4801f14936785b1d2")) + (axioms)))) (claim :id "APP-3" :pwg PWG-2ii :foundation-diverse #f (leg :prover agda :route source :token proven :state AGDA-VERIFIED + ; the run reported: check-proofs.sh agda: RESULT: PASS; postulates: none in the first-party cones of FeatureReachability (1 module), Applied/Missing (3) and Applied/IntLaws (6) (receipt :run "https://github.com/hyperpolymath/mathesis/actions/runs/44190913019/job/134419742986" :commit "8c55804163fd15deb1e89f0630a72d4ba8588001" :checker "agda 2.7.0.1 (Guix 8edb9da)" - :invocation "agda --safe --without-K --cubical-compatible Applied/IntLaws.agda" + :invocation "bash scripts/check-proofs.sh agda: agda --safe --without-K --cubical-compatible on each gated module of verification/proofs/agda" :inputs-sha256 "445160a6f857efe1a4a43ad3757df941ae29b98c988b9e5f51ec36ca81f5c4d3" :state current - (axioms) (inputs-manifest (file :path "verification/proofs/agda/Applied/Cash.agda" :sha256 "fe231a7679529e7998385d8acdcaf8cde6880e44a5cc5d5cc3c03fd4ac2eea12") (file :path "verification/proofs/agda/Applied/Cohort.agda" :sha256 "5a485d5fd5329939aa85909e65bc200d886316ebb69e9786b2764dd17eba8d56") @@ -327,15 +353,16 @@ (file :path "verification/proofs/agda/Applied/IntNumber.agda" :sha256 "0ba5ca46fd22d0abb4f7ceb0ff73a7857f7a3acc6143a43a68cf5932e8868959") (file :path "verification/proofs/agda/Applied/Missing.agda" :sha256 "b2d01609be9419e8cbca8578dc128c3251cc947a8c6c10e0b6f16ac5c6ad332c") (file :path "verification/proofs/agda/Applied/Status.agda" :sha256 "d059344565a55b897824b83b4f676b9a7326ba50a5b35a6da49ab72bb40e8a97") - (file :path "verification/proofs/agda/FeatureReachability.agda" :sha256 "4e39d6ae751d97d3edf57720ccf844d90de3e9ee6603901a04f5eb6494d94564"))) + (file :path "verification/proofs/agda/FeatureReachability.agda" :sha256 "4e39d6ae751d97d3edf57720ccf844d90de3e9ee6603901a04f5eb6494d94564")) + (axioms)) + ; the run reported: check-proofs.sh agda: RESULT: PASS; postulates: none in the first-party cones of FeatureReachability (1 module), Applied/Missing (3) and Applied/IntLaws (6) (receipt :run "https://github.com/hyperpolymath/mathesis/actions/runs/43498592499/job/132138258520" :commit "034f215b3b601aa6bdde7471bdc650bc62c0f56c" :checker "agda 2.7.0.1 (Guix 8edb9da)" - :invocation "agda --safe --without-K --cubical-compatible Applied/IntLaws.agda" + :invocation "bash scripts/check-proofs.sh agda: agda --safe --without-K --cubical-compatible on each gated module of verification/proofs/agda" :inputs-sha256 "4db97b78050ef622485ceb179e80ad9f39dbd986cdd6f45af0fd5b32a410c643" :state superseded :reason "replaced by the CI receipt of run 44190913019 on main 8c55804, whose inputs add APP-1's middle clause and THY-1's propositional theorems, checked under the gate that audits definitions as well as theorems (PROOF-POLICY 8.4)" - (axioms) (inputs-manifest (file :path "verification/proofs/agda/Applied/Cash.agda" :sha256 "fe231a7679529e7998385d8acdcaf8cde6880e44a5cc5d5cc3c03fd4ac2eea12") (file :path "verification/proofs/agda/Applied/Cohort.agda" :sha256 "5a485d5fd5329939aa85909e65bc200d886316ebb69e9786b2764dd17eba8d56") @@ -343,62 +370,67 @@ (file :path "verification/proofs/agda/Applied/IntNumber.agda" :sha256 "0ba5ca46fd22d0abb4f7ceb0ff73a7857f7a3acc6143a43a68cf5932e8868959") (file :path "verification/proofs/agda/Applied/Missing.agda" :sha256 "4afb4c82e84bf6411b0f0c19eb6d34869a42bee7d5616624147d1881c78b6fe9") (file :path "verification/proofs/agda/Applied/Status.agda" :sha256 "d059344565a55b897824b83b4f676b9a7326ba50a5b35a6da49ab72bb40e8a97") - (file :path "verification/proofs/agda/FeatureReachability.agda" :sha256 "4e39d6ae751d97d3edf57720ccf844d90de3e9ee6603901a04f5eb6494d94564")))) + (file :path "verification/proofs/agda/FeatureReachability.agda" :sha256 "4e39d6ae751d97d3edf57720ccf844d90de3e9ee6603901a04f5eb6494d94564")) + (axioms))) (leg :prover rocq :route re-proved :token proven :state RECONCILED + ; the run reported: check-proofs.sh coq: RESULT: PASS; coqchk -o: no axiom, type-in-type, unsafe (co)fixpoint or assumed positivity; Print Assumptions: closed under the global context for 11 declaration(s) of FeatureReachability.v and 134 of Cohort.v (receipt :run "https://github.com/hyperpolymath/mathesis/actions/runs/44190913019/job/134419742986" :commit "8c55804163fd15deb1e89f0630a72d4ba8588001" :checker "coqc 8.18.0 (Guix 8edb9da)" - :invocation "coqc Cohort.v" + :invocation "bash scripts/check-proofs.sh coq: coqc, Print Assumptions and coqchk -o on each gated module of verification/proofs/coq" :inputs-sha256 "212ebaa375caa0cd2259cfd337ddcaae769c0bd0a14d4f169ad31581c74a15c9" :state current - (axioms) (inputs-manifest (file :path "verification/proofs/coq/Cohort.v" :sha256 "1ff2d86001e2d62c759cdc15ec3affbf352bf690d736cefd6fb7a4ce8771269f") - (file :path "verification/proofs/coq/FeatureReachability.v" :sha256 "e2f90043366fb8061784da4cd12af3278e8a9ea0af78fdba4490f96f28b68cb1"))) + (file :path "verification/proofs/coq/FeatureReachability.v" :sha256 "e2f90043366fb8061784da4cd12af3278e8a9ea0af78fdba4490f96f28b68cb1")) + (axioms)) + ; the run reported: check-proofs.sh coq: RESULT: PASS; Print Assumptions: closed under the global context for 1 theorem(s) of FeatureReachability.v and 82 of Cohort.v (receipt :run "https://github.com/hyperpolymath/mathesis/actions/runs/43498592499/job/132138258520" :commit "034f215b3b601aa6bdde7471bdc650bc62c0f56c" :checker "coqc 8.18.0 (Guix 8edb9da)" - :invocation "coqc Cohort.v" + :invocation "bash scripts/check-proofs.sh coq: coqc and Print Assumptions on each gated module of verification/proofs/coq" :inputs-sha256 "1c5814d6040f119382ebeccffe477cbd7d8485a45cf9e8877782316378e28709" :state superseded :reason "replaced by the CI receipt of run 44190913019 on main 8c55804, whose inputs add APP-1's middle clause and THY-1's propositional theorems, checked under the gate that audits definitions as well as theorems (PROOF-POLICY 8.4)" - (axioms) (inputs-manifest (file :path "verification/proofs/coq/Cohort.v" :sha256 "2519cdbdb3b22ee5132e5708bbbeb9e87e3b2d8c2c318329c96c0545863b6260") - (file :path "verification/proofs/coq/FeatureReachability.v" :sha256 "e2f90043366fb8061784da4cd12af3278e8a9ea0af78fdba4490f96f28b68cb1")))) + (file :path "verification/proofs/coq/FeatureReachability.v" :sha256 "e2f90043366fb8061784da4cd12af3278e8a9ea0af78fdba4490f96f28b68cb1")) + (axioms))) (leg :prover lean :route re-proved :token proven :state RECONCILED + ; the run reported: check-proofs.sh lean4: RESULT: PASS; axioms: none for 8 theorem(s) and 48 definition(s) of FeatureReachability.lean, and 102 theorem(s) and 128 definition(s) of Cohort.lean (receipt :run "https://github.com/hyperpolymath/mathesis/actions/runs/44190913019/job/134419742986" :commit "8c55804163fd15deb1e89f0630a72d4ba8588001" :checker "lean 4.29.0 (Guix 8edb9da)" - :invocation "lean Cohort.lean" + :invocation "bash scripts/check-proofs.sh lean4: lean and the axiom audit on each gated module of verification/proofs/lean4" :inputs-sha256 "24d292acc71fd0f7ece8dd21a0f355f101b63513a66f41b0ba4a9364ac64aa0b" :state current - (axioms) (inputs-manifest (file :path "verification/proofs/lean4/Cohort.lean" :sha256 "e3ff1d650c4ee0dc732ec0c028403476050885fe7e2b51eb8bf24fa9eafe0052") (file :path "verification/proofs/lean4/FeatureReachability.lean" :sha256 "55a4116e84cb8d6a230bcc3d85fa9cef1e74fe1520b652830f6e2cb1ce26e39b") - (file :path "verification/proofs/lean4/lean-toolchain" :sha256 "651c8accb402b0c071cd336e9d3dc0a55516b1bfb434ddc4801f14936785b1d2"))) + (file :path "verification/proofs/lean4/lean-toolchain" :sha256 "651c8accb402b0c071cd336e9d3dc0a55516b1bfb434ddc4801f14936785b1d2")) + (axioms)) + ; the run reported: check-proofs.sh lean4: RESULT: PASS; axioms: none for 2 declared theorem(s) of FeatureReachability.lean and 95 of Cohort.lean (receipt :run "https://github.com/hyperpolymath/mathesis/actions/runs/43498592499/job/132138258520" :commit "034f215b3b601aa6bdde7471bdc650bc62c0f56c" :checker "lean 4.29.0 (Guix 8edb9da)" - :invocation "lean Cohort.lean" + :invocation "bash scripts/check-proofs.sh lean4: lean and the axiom audit of declared theorems on each gated module of verification/proofs/lean4" :inputs-sha256 "de2e3324f91b25f4a05658dfcfb435c7417709667b8766f7aeaa832fa874c4c1" :state superseded - :reason "replaced by the CI receipt of run 44190913019 on main 8c55804, whose inputs add APP-1's middle clause and THY-1's propositional theorems, checked under the gate that audits definitions as well as theorems (PROOF-POLICY 8.4)" - (axioms) + :reason "replaced by the CI receipt of run 44190913019 on main 8c55804, whose inputs add APP-1's middle clause and THY-1's propositional theorems, checked under the gate that audits definitions as well as theorems (PROOF-POLICY 8.4); for THY-1 it is also the first under the gate that fails on an empty audit: this receipt's empty axiom list came from an audit that inspected none of THY-1's results, which are definitions (proof audit 2026-11-16, finding 31)" (inputs-manifest (file :path "verification/proofs/lean4/Cohort.lean" :sha256 "b91e2aa7b1322284d67710ea918858497bc1245a6b941448df2deba4b521ce10") (file :path "verification/proofs/lean4/FeatureReachability.lean" :sha256 "4158e54f85c8e83e49789869a4e9b12fe4b8d7460981f5c8442479268f17d55a") - (file :path "verification/proofs/lean4/lean-toolchain" :sha256 "651c8accb402b0c071cd336e9d3dc0a55516b1bfb434ddc4801f14936785b1d2"))))) + (file :path "verification/proofs/lean4/lean-toolchain" :sha256 "651c8accb402b0c071cd336e9d3dc0a55516b1bfb434ddc4801f14936785b1d2")) + (axioms)))) (claim :id "APP-4" :pwg PWG-2ii :foundation-diverse #f (leg :prover agda :route source :token proven :state AGDA-VERIFIED + ; the run reported: check-proofs.sh agda: RESULT: PASS; postulates: none in the first-party cones of FeatureReachability (1 module), Applied/Missing (3) and Applied/IntLaws (6) (receipt :run "https://github.com/hyperpolymath/mathesis/actions/runs/44190913019/job/134419742986" :commit "8c55804163fd15deb1e89f0630a72d4ba8588001" :checker "agda 2.7.0.1 (Guix 8edb9da)" - :invocation "agda --safe --without-K --cubical-compatible Applied/Missing.agda" + :invocation "bash scripts/check-proofs.sh agda: agda --safe --without-K --cubical-compatible on each gated module of verification/proofs/agda" :inputs-sha256 "445160a6f857efe1a4a43ad3757df941ae29b98c988b9e5f51ec36ca81f5c4d3" :state current - (axioms) (inputs-manifest (file :path "verification/proofs/agda/Applied/Cash.agda" :sha256 "fe231a7679529e7998385d8acdcaf8cde6880e44a5cc5d5cc3c03fd4ac2eea12") (file :path "verification/proofs/agda/Applied/Cohort.agda" :sha256 "5a485d5fd5329939aa85909e65bc200d886316ebb69e9786b2764dd17eba8d56") @@ -406,15 +438,16 @@ (file :path "verification/proofs/agda/Applied/IntNumber.agda" :sha256 "0ba5ca46fd22d0abb4f7ceb0ff73a7857f7a3acc6143a43a68cf5932e8868959") (file :path "verification/proofs/agda/Applied/Missing.agda" :sha256 "b2d01609be9419e8cbca8578dc128c3251cc947a8c6c10e0b6f16ac5c6ad332c") (file :path "verification/proofs/agda/Applied/Status.agda" :sha256 "d059344565a55b897824b83b4f676b9a7326ba50a5b35a6da49ab72bb40e8a97") - (file :path "verification/proofs/agda/FeatureReachability.agda" :sha256 "4e39d6ae751d97d3edf57720ccf844d90de3e9ee6603901a04f5eb6494d94564"))) + (file :path "verification/proofs/agda/FeatureReachability.agda" :sha256 "4e39d6ae751d97d3edf57720ccf844d90de3e9ee6603901a04f5eb6494d94564")) + (axioms)) + ; the run reported: check-proofs.sh agda: RESULT: PASS; postulates: none in the first-party cones of FeatureReachability (1 module), Applied/Missing (3) and Applied/IntLaws (6) (receipt :run "https://github.com/hyperpolymath/mathesis/actions/runs/43498592499/job/132138258520" :commit "034f215b3b601aa6bdde7471bdc650bc62c0f56c" :checker "agda 2.7.0.1 (Guix 8edb9da)" - :invocation "agda --safe --without-K --cubical-compatible Applied/Missing.agda" + :invocation "bash scripts/check-proofs.sh agda: agda --safe --without-K --cubical-compatible on each gated module of verification/proofs/agda" :inputs-sha256 "4db97b78050ef622485ceb179e80ad9f39dbd986cdd6f45af0fd5b32a410c643" :state superseded :reason "replaced by the CI receipt of run 44190913019 on main 8c55804, whose inputs add APP-1's middle clause and THY-1's propositional theorems, checked under the gate that audits definitions as well as theorems (PROOF-POLICY 8.4)" - (axioms) (inputs-manifest (file :path "verification/proofs/agda/Applied/Cash.agda" :sha256 "fe231a7679529e7998385d8acdcaf8cde6880e44a5cc5d5cc3c03fd4ac2eea12") (file :path "verification/proofs/agda/Applied/Cohort.agda" :sha256 "5a485d5fd5329939aa85909e65bc200d886316ebb69e9786b2764dd17eba8d56") @@ -422,50 +455,56 @@ (file :path "verification/proofs/agda/Applied/IntNumber.agda" :sha256 "0ba5ca46fd22d0abb4f7ceb0ff73a7857f7a3acc6143a43a68cf5932e8868959") (file :path "verification/proofs/agda/Applied/Missing.agda" :sha256 "4afb4c82e84bf6411b0f0c19eb6d34869a42bee7d5616624147d1881c78b6fe9") (file :path "verification/proofs/agda/Applied/Status.agda" :sha256 "d059344565a55b897824b83b4f676b9a7326ba50a5b35a6da49ab72bb40e8a97") - (file :path "verification/proofs/agda/FeatureReachability.agda" :sha256 "4e39d6ae751d97d3edf57720ccf844d90de3e9ee6603901a04f5eb6494d94564")))) + (file :path "verification/proofs/agda/FeatureReachability.agda" :sha256 "4e39d6ae751d97d3edf57720ccf844d90de3e9ee6603901a04f5eb6494d94564")) + (axioms))) (leg :prover rocq :route re-proved :token proven :state RECONCILED + ; the run reported: check-proofs.sh coq: RESULT: PASS; coqchk -o: no axiom, type-in-type, unsafe (co)fixpoint or assumed positivity; Print Assumptions: closed under the global context for 11 declaration(s) of FeatureReachability.v and 134 of Cohort.v (receipt :run "https://github.com/hyperpolymath/mathesis/actions/runs/44190913019/job/134419742986" :commit "8c55804163fd15deb1e89f0630a72d4ba8588001" :checker "coqc 8.18.0 (Guix 8edb9da)" - :invocation "coqc Cohort.v" + :invocation "bash scripts/check-proofs.sh coq: coqc, Print Assumptions and coqchk -o on each gated module of verification/proofs/coq" :inputs-sha256 "212ebaa375caa0cd2259cfd337ddcaae769c0bd0a14d4f169ad31581c74a15c9" :state current - (axioms) (inputs-manifest (file :path "verification/proofs/coq/Cohort.v" :sha256 "1ff2d86001e2d62c759cdc15ec3affbf352bf690d736cefd6fb7a4ce8771269f") - (file :path "verification/proofs/coq/FeatureReachability.v" :sha256 "e2f90043366fb8061784da4cd12af3278e8a9ea0af78fdba4490f96f28b68cb1"))) + (file :path "verification/proofs/coq/FeatureReachability.v" :sha256 "e2f90043366fb8061784da4cd12af3278e8a9ea0af78fdba4490f96f28b68cb1")) + (axioms)) + ; the run reported: check-proofs.sh coq: RESULT: PASS; Print Assumptions: closed under the global context for 1 theorem(s) of FeatureReachability.v and 82 of Cohort.v (receipt :run "https://github.com/hyperpolymath/mathesis/actions/runs/43498592499/job/132138258520" :commit "034f215b3b601aa6bdde7471bdc650bc62c0f56c" :checker "coqc 8.18.0 (Guix 8edb9da)" - :invocation "coqc Cohort.v" + :invocation "bash scripts/check-proofs.sh coq: coqc and Print Assumptions on each gated module of verification/proofs/coq" :inputs-sha256 "1c5814d6040f119382ebeccffe477cbd7d8485a45cf9e8877782316378e28709" :state superseded :reason "replaced by the CI receipt of run 44190913019 on main 8c55804, whose inputs add APP-1's middle clause and THY-1's propositional theorems, checked under the gate that audits definitions as well as theorems (PROOF-POLICY 8.4)" - (axioms) (inputs-manifest (file :path "verification/proofs/coq/Cohort.v" :sha256 "2519cdbdb3b22ee5132e5708bbbeb9e87e3b2d8c2c318329c96c0545863b6260") - (file :path "verification/proofs/coq/FeatureReachability.v" :sha256 "e2f90043366fb8061784da4cd12af3278e8a9ea0af78fdba4490f96f28b68cb1")))) + (file :path "verification/proofs/coq/FeatureReachability.v" :sha256 "e2f90043366fb8061784da4cd12af3278e8a9ea0af78fdba4490f96f28b68cb1")) + (axioms))) (leg :prover lean :route re-proved :token proven :state RECONCILED + ; the run reported: check-proofs.sh lean4: RESULT: PASS; axioms: none for 8 theorem(s) and 48 definition(s) of FeatureReachability.lean, and 102 theorem(s) and 128 definition(s) of Cohort.lean (receipt :run "https://github.com/hyperpolymath/mathesis/actions/runs/44190913019/job/134419742986" :commit "8c55804163fd15deb1e89f0630a72d4ba8588001" :checker "lean 4.29.0 (Guix 8edb9da)" - :invocation "lean Cohort.lean" + :invocation "bash scripts/check-proofs.sh lean4: lean and the axiom audit on each gated module of verification/proofs/lean4" :inputs-sha256 "24d292acc71fd0f7ece8dd21a0f355f101b63513a66f41b0ba4a9364ac64aa0b" :state current - (axioms) (inputs-manifest (file :path "verification/proofs/lean4/Cohort.lean" :sha256 "e3ff1d650c4ee0dc732ec0c028403476050885fe7e2b51eb8bf24fa9eafe0052") (file :path "verification/proofs/lean4/FeatureReachability.lean" :sha256 "55a4116e84cb8d6a230bcc3d85fa9cef1e74fe1520b652830f6e2cb1ce26e39b") - (file :path "verification/proofs/lean4/lean-toolchain" :sha256 "651c8accb402b0c071cd336e9d3dc0a55516b1bfb434ddc4801f14936785b1d2"))) + (file :path "verification/proofs/lean4/lean-toolchain" :sha256 "651c8accb402b0c071cd336e9d3dc0a55516b1bfb434ddc4801f14936785b1d2")) + (axioms)) + ; the run reported: check-proofs.sh lean4: RESULT: PASS; axioms: none for 2 declared theorem(s) of FeatureReachability.lean and 95 of Cohort.lean (receipt :run "https://github.com/hyperpolymath/mathesis/actions/runs/43498592499/job/132138258520" :commit "034f215b3b601aa6bdde7471bdc650bc62c0f56c" :checker "lean 4.29.0 (Guix 8edb9da)" - :invocation "lean Cohort.lean" + :invocation "bash scripts/check-proofs.sh lean4: lean and the axiom audit of declared theorems on each gated module of verification/proofs/lean4" :inputs-sha256 "de2e3324f91b25f4a05658dfcfb435c7417709667b8766f7aeaa832fa874c4c1" :state superseded - :reason "replaced by the CI receipt of run 44190913019 on main 8c55804, whose inputs add APP-1's middle clause and THY-1's propositional theorems, checked under the gate that audits definitions as well as theorems (PROOF-POLICY 8.4)" - (axioms) + :reason "replaced by the CI receipt of run 44190913019 on main 8c55804, whose inputs add APP-1's middle clause and THY-1's propositional theorems, checked under the gate that audits definitions as well as theorems (PROOF-POLICY 8.4); for THY-1 it is also the first under the gate that fails on an empty audit: this receipt's empty axiom list came from an audit that inspected none of THY-1's results, which are definitions (proof audit 2026-11-16, finding 31)" (inputs-manifest (file :path "verification/proofs/lean4/Cohort.lean" :sha256 "b91e2aa7b1322284d67710ea918858497bc1245a6b941448df2deba4b521ce10") (file :path "verification/proofs/lean4/FeatureReachability.lean" :sha256 "4158e54f85c8e83e49789869a4e9b12fe4b8d7460981f5c8442479268f17d55a") - (file :path "verification/proofs/lean4/lean-toolchain" :sha256 "651c8accb402b0c071cd336e9d3dc0a55516b1bfb434ddc4801f14936785b1d2")))))) + (file :path "verification/proofs/lean4/lean-toolchain" :sha256 "651c8accb402b0c071cd336e9d3dc0a55516b1bfb434ddc4801f14936785b1d2")) + (axioms)))) +) diff --git a/verification/receipts/theory_runs.ledger b/verification/receipts/theory_runs.ledger new file mode 100644 index 00000000..2fc8e6b2 --- /dev/null +++ b/verification/receipts/theory_runs.ledger @@ -0,0 +1,28 @@ +# SPDX-License-Identifier: CC-BY-SA-4.0 +# SPDX-FileCopyrightText: 2026 Jonathan D.A. Jewell (hyperpolymath) +# The run ledger of the receipt of Mathesis (verification/receipts/theory_praxis.deed), +# read by scripts/grade-receipt.sh through the shared generator of standards +# (scripts/proof-receipt.sh). One row a run and prover: +# prover|run|commit|checker|invocation|inputs sha256|what the run reported|state|reason|axioms[|imports|trusted base] +# Append-only: a new run is a new row (grade-receipt.sh --record), and a row the +# default branch holds is never changed or dropped. +# The rows before run 43498592499 predate the inputs digest (PROOF-POLICY 8.5.1): +# their digest is computed from git at the row's commit with the pinned +# proof-inputs-sha256.sh, over the input set the same rules give for that run +# (Agda: the cone of THY-1's root; Rocq and Lean: each file the run compiled, +# and lean-toolchain). Those runs checked THY-1 only (grade-receipt.sh, +# receipt_run_scope). Their invocations are the ones the receipt recorded; the +# runs from 43498592499 on checked every claim through the gate, whose +# invocation each row names. +agda|local run, 2026-11-09|f68b78d6ceb8d3c83f96f5ab8e57779442a8834f|agda 2.6.3 (Ubuntu 24.04 agda package)|agda --safe --without-K --cubical-compatible FeatureReachability.agda|35199233097c51127dd8a94440cae7a0c2507a920ba744207732b7c8b0932666|local run: the module checks; --safe refuses postulates, and a comment-aware scan finds none in the module|superseded|replaced by the CI receipt in the pinned Guix, Agda 2.7.0.1| +rocq|local run, 2026-11-09|f1be654e69b23873ea40651cb40e0e095ac53680|coqc 8.18.0 (Ubuntu 24.04 coq package)|coqc FeatureReachability.v|21dbe44f56ee4442247715b50d8a384b834b3232ba1ff2de9201bbbfbff92915|local run: compiles; Print Assumptions: closed under the global context for absent_under_all_features, reach_mono and edge_mono|superseded|replaced by the CI receipt in the pinned Guix| +lean|local run, 2026-11-09|f1be654e69b23873ea40651cb40e0e095ac53680|lean 4.15.0 (11651562caae, release archive)|lean FeatureReachability.lean|c105ee55e8ea57b9c11d6a1ff9245e0a550a5bd7301eddbb056e8719e4c47724|local run: compiles; #print axioms: none for absentUnderAllFeatures, reachMono and onMono|superseded|replaced by the CI receipt in the pinned Guix, Lean 4.29.0| +agda|https://github.com/hyperpolymath/mathesis/actions/runs/42896264290/job/130110238086|336768958d01257caae14cb81fb54197c2617d97|agda 2.7.0.1 (Guix 8edb9da)|agda --safe --without-K --cubical-compatible FeatureReachability.agda|35199233097c51127dd8a94440cae7a0c2507a920ba744207732b7c8b0932666|check-proofs.sh agda: RESULT: PASS; FeatureReachability.agda: postulates: none in the 1 first-party module(s) of the import cone|superseded|replaced by the CI receipt of run 43498592499 on 034f215, which records the inputs digest and the axioms (PROOF-POLICY 8.5.1, standards d9b03a3)| +rocq|https://github.com/hyperpolymath/mathesis/actions/runs/42896264290/job/130110238086|336768958d01257caae14cb81fb54197c2617d97|coqc 8.18.0 (Guix 8edb9da)|coqc FeatureReachability.v|794ed1c5179384913e037570a9490eb003c320a3aae2df2efcf4066ed5f57ae4|check-proofs.sh coq: RESULT: PASS; FeatureReachability.v: Print Assumptions: closed under the global context for 1 theorem(s): absent_under_all_features|superseded|replaced by the CI receipt of run 43498592499 on 034f215, which records the inputs digest and the axioms (PROOF-POLICY 8.5.1, standards d9b03a3)| +lean|https://github.com/hyperpolymath/mathesis/actions/runs/42896264290/job/130110238086|336768958d01257caae14cb81fb54197c2617d97|lean 4.29.0 (Guix 8edb9da)|lean FeatureReachability.lean|ee5e7b1347a394a9050d815f30915aacdd85ffa9219811b29b0faa341c7d8e97|check-proofs.sh lean4: RESULT: PASS; FeatureReachability.lean: axioms: none for 2 declared theorem(s)|superseded|replaced by the CI receipt of run 43498592499 on 034f215, which records the inputs digest and the axioms (PROOF-POLICY 8.5.1, standards d9b03a3)| +agda|https://github.com/hyperpolymath/mathesis/actions/runs/43498592499/job/132138258520|034f215b3b601aa6bdde7471bdc650bc62c0f56c|agda 2.7.0.1 (Guix 8edb9da)|bash scripts/check-proofs.sh agda: agda --safe --without-K --cubical-compatible on each gated module of verification/proofs/agda|4db97b78050ef622485ceb179e80ad9f39dbd986cdd6f45af0fd5b32a410c643|check-proofs.sh agda: RESULT: PASS; postulates: none in the first-party cones of FeatureReachability (1 module), Applied/Missing (3) and Applied/IntLaws (6)|superseded|replaced by the CI receipt of run 44190913019 on main 8c55804, whose inputs add APP-1's middle clause and THY-1's propositional theorems, checked under the gate that audits definitions as well as theorems (PROOF-POLICY 8.4)| +rocq|https://github.com/hyperpolymath/mathesis/actions/runs/43498592499/job/132138258520|034f215b3b601aa6bdde7471bdc650bc62c0f56c|coqc 8.18.0 (Guix 8edb9da)|bash scripts/check-proofs.sh coq: coqc and Print Assumptions on each gated module of verification/proofs/coq|1c5814d6040f119382ebeccffe477cbd7d8485a45cf9e8877782316378e28709|check-proofs.sh coq: RESULT: PASS; Print Assumptions: closed under the global context for 1 theorem(s) of FeatureReachability.v and 82 of Cohort.v|superseded|replaced by the CI receipt of run 44190913019 on main 8c55804, whose inputs add APP-1's middle clause and THY-1's propositional theorems, checked under the gate that audits definitions as well as theorems (PROOF-POLICY 8.4)| +lean|https://github.com/hyperpolymath/mathesis/actions/runs/43498592499/job/132138258520|034f215b3b601aa6bdde7471bdc650bc62c0f56c|lean 4.29.0 (Guix 8edb9da)|bash scripts/check-proofs.sh lean4: lean and the axiom audit of declared theorems on each gated module of verification/proofs/lean4|de2e3324f91b25f4a05658dfcfb435c7417709667b8766f7aeaa832fa874c4c1|check-proofs.sh lean4: RESULT: PASS; axioms: none for 2 declared theorem(s) of FeatureReachability.lean and 95 of Cohort.lean|superseded|replaced by the CI receipt of run 44190913019 on main 8c55804, whose inputs add APP-1's middle clause and THY-1's propositional theorems, checked under the gate that audits definitions as well as theorems (PROOF-POLICY 8.4); for THY-1 it is also the first under the gate that fails on an empty audit: this receipt's empty axiom list came from an audit that inspected none of THY-1's results, which are definitions (proof audit 2026-11-16, finding 31)| +agda|https://github.com/hyperpolymath/mathesis/actions/runs/44190913019/job/134419742986|8c55804163fd15deb1e89f0630a72d4ba8588001|agda 2.7.0.1 (Guix 8edb9da)|bash scripts/check-proofs.sh agda: agda --safe --without-K --cubical-compatible on each gated module of verification/proofs/agda|445160a6f857efe1a4a43ad3757df941ae29b98c988b9e5f51ec36ca81f5c4d3|check-proofs.sh agda: RESULT: PASS; postulates: none in the first-party cones of FeatureReachability (1 module), Applied/Missing (3) and Applied/IntLaws (6)|current||||53dbf4287873164cf21340398e5f729486fb550e1c884b6e907892d63fa4a954 +rocq|https://github.com/hyperpolymath/mathesis/actions/runs/44190913019/job/134419742986|8c55804163fd15deb1e89f0630a72d4ba8588001|coqc 8.18.0 (Guix 8edb9da)|bash scripts/check-proofs.sh coq: coqc, Print Assumptions and coqchk -o on each gated module of verification/proofs/coq|212ebaa375caa0cd2259cfd337ddcaae769c0bd0a14d4f169ad31581c74a15c9|check-proofs.sh coq: RESULT: PASS; coqchk -o: no axiom, type-in-type, unsafe (co)fixpoint or assumed positivity; Print Assumptions: closed under the global context for 11 declaration(s) of FeatureReachability.v and 134 of Cohort.v|current|| +lean|https://github.com/hyperpolymath/mathesis/actions/runs/44190913019/job/134419742986|8c55804163fd15deb1e89f0630a72d4ba8588001|lean 4.29.0 (Guix 8edb9da)|bash scripts/check-proofs.sh lean4: lean and the axiom audit on each gated module of verification/proofs/lean4|24d292acc71fd0f7ece8dd21a0f355f101b63513a66f41b0ba4a9364ac64aa0b|check-proofs.sh lean4: RESULT: PASS; axioms: none for 8 theorem(s) and 48 definition(s) of FeatureReachability.lean, and 102 theorem(s) and 128 definition(s) of Cohort.lean|current||