Skip to content

Commit c527480

Browse files
Merge pull request #58 from hyperpolymath/marina/eager-dijkstra-wlmapg
feat(proofs): write the machine receipt of THY-1 (WO 1.5)
2 parents e438060 + a26f66e commit c527480

3 files changed

Lines changed: 69 additions & 3 deletions

File tree

‎.github/workflows/proven-tests.yml‎

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,23 @@ jobs:
4545
4646
- name: Set up Bun
4747
uses: oven-sh/setup-bun@0c5077e51419868618aeaa5fe8019c62421857d6 # v2.2.0
48+
# PROOF-POLICY 8.5.1: the receipt must read, and the grade it records must
49+
# be the grade the canon reader derives (re-anchoring plan WO 1.5). The
50+
# canon pin above (8e48b1c) predates the reader, so the reader has its own
51+
# pinned, sparse checkout.
52+
- name: Proof receipt reads and derives its recorded grade
53+
run: |
54+
set -euo pipefail
55+
r="$RUNNER_TEMP/receipt-reader"
56+
git init -q "$r"
57+
git -C "$r" remote add origin https://github.com/metadatastician/standards.git
58+
git -C "$r" config core.sparseCheckout true
59+
printf '1-formats/deed/tools/\n' > "$r/.git/info/sparse-checkout"
60+
git -C "$r" fetch -q --depth 1 origin be39f900665fb7c042c05d1165da018adc1860f4
61+
git -C "$r" checkout -q FETCH_HEAD
62+
for f in verification/receipts/*_praxis.deed; do
63+
bun "$r/1-formats/deed/tools/deed_lint.js" --proof-receipt-json "$f"
64+
done
4865
- name: Mathesis census atlas integrity and tests
4966
run: |
5067
bun scripts/atlas/census-atlas.mjs check

‎docs/status/PROOF-STATUS.adoc‎

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -106,9 +106,12 @@ missing crate as missing from every build.
106106
`scripts/check-proofs.sh agda`, which passes.
107107
* Source: `f68b78d6ceb8d3c83f96f5ab8e57779442a8834f`; file SHA-256
108108
`4e39d6ae751d97d3edf57720ccf844d90de3e9ee6603901a04f5eb6494d94564`.
109-
* Import cone: the module alone. It imports nothing, the standard
110-
library included, and contains no postulate (comment-aware scan).
111-
`--safe` refuses postulates.
109+
* Import cone: the module and `Agda.Primitive`, which the prover supplies
110+
(`agda --dependency-graph`, checked 2026-11-10). The module imports
111+
nothing, the standard library included, and contains no postulate
112+
(comment-aware scan). `--safe` refuses postulates. `Agda.Primitive`
113+
postulates exactly `Level`, `lzero`, `lsuc` and `_⊔_`, each bound by its
114+
`BUILTIN` pragma: the trusted base the receipt records (§8.4).
112115
* Negative controls, all rejected: a planted postulate, a planted false
113116
claim, a non-terminating definition, and a `reach-mono` that skips the
114117
monotonicity step.
@@ -203,6 +206,11 @@ same hypotheses and conclusions. The differences are encoding only:
203206

204207
Residual assumptions: none in any leg.
205208

209+
|Machine receipt (§8.5.1)
210+
|`verification/receipts/theory_praxis.deed`. The canon reader
211+
(`deed_lint.js --proof-receipt-json`) derives `PWG-2ii` from it, the grade
212+
below, and CI runs that reader on each change.
213+
206214
|`pwg`
207215
|`2ii`: the Agda leg checks, and both recheck legs count (kernel-checked
208216
and `RECONCILED`). It is not `PWG-1`, because no leg has a per-commit CI
Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
;; SPDX-License-Identifier: CC-BY-SA-4.0
2+
;; SPDX-FileCopyrightText: 2026 Jonathan D.A. Jewell (hyperpolymath)
3+
;; The proof receipt of Mathesis (PROOF-POLICY §8.5.1), written from the THY-1
4+
;; record in docs/status/PROOF-STATUS.adoc (re-anchoring plan WO 1.5). Every
5+
;; receipt below is a local run, because no CI lane has given one yet: the run
6+
;; field says so instead of naming a run that does not exist. The reader in
7+
;; standards 1-formats/deed/tools/deed_lint.js derives the grade:
8+
;; bun deed_lint.js --proof-receipt-json verification/receipts/theory_praxis.deed
9+
;; The trusted base is the Agda.Primitive block of the import cone that
10+
;; agda --dependency-graph reports for FeatureReachability (2026-11-10).
11+
(praxis-deed
12+
:schema-version "1.0.0"
13+
:canonical-name "mathesis-theory-receipt"
14+
:beholding-chora #u5"estate/chora"
15+
:profile proof-receipt
16+
:repository "hyperpolymath/mathesis"
17+
:source-commit "f1be654e69b23873ea40651cb40e0e095ac53680"
18+
(trusted-base
19+
(primitive :prover agda :module "Agda.Primitive" :name "Level" :binding "BUILTIN LEVEL")
20+
(primitive :prover agda :module "Agda.Primitive" :name "lzero" :binding "BUILTIN LEVELZERO")
21+
(primitive :prover agda :module "Agda.Primitive" :name "lsuc" :binding "BUILTIN LEVELSUC")
22+
(primitive :prover agda :module "Agda.Primitive" :name "_⊔_" :binding "BUILTIN LEVELMAX"))
23+
(claim :id "THY-1" :pwg PWG-2ii :foundation-diverse #f
24+
(leg :prover agda :route source :token proven :state AGDA-VERIFIED
25+
(receipt :run "local run, 2026-11-09; no CI receipt yet"
26+
:commit "f68b78d6ceb8d3c83f96f5ab8e57779442a8834f"
27+
:checker "agda 2.6.3 (Ubuntu 24.04 agda package)"
28+
:invocation "agda --safe --without-K --cubical-compatible FeatureReachability.agda"
29+
:state current))
30+
(leg :prover rocq :route re-proved :token proven :state RECONCILED
31+
(receipt :run "local run, 2026-11-09; no CI lane runs Rocq yet"
32+
:commit "f1be654e69b23873ea40651cb40e0e095ac53680"
33+
:checker "coqc 8.18.0 (Ubuntu 24.04 coq package)"
34+
:invocation "coqc FeatureReachability.v"
35+
:state current))
36+
(leg :prover lean :route re-proved :token proven :state RECONCILED
37+
(receipt :run "local run, 2026-11-09; no CI lane runs Lean yet"
38+
:commit "f1be654e69b23873ea40651cb40e0e095ac53680"
39+
:checker "lean 4.15.0 (11651562caae, release archive)"
40+
:invocation "lean FeatureReachability.lean"
41+
:state current))))

0 commit comments

Comments
 (0)