diff --git a/.gitattributes b/.gitattributes index 1d29c9d..a628a7f 100644 --- a/.gitattributes +++ b/.gitattributes @@ -117,6 +117,3 @@ package-lock.json text eol=lf -diff linguist-generated=true *.nix text eol=lf flake.lock text eol=lf -diff linguist-generated=true -# Scanner refusal control: its CRLF line ends are the test, so git must keep -# the bytes as they are (scripts/check-trusted-base.sh). -tests/trusted-base/CarriageReturn.txt -text diff --git a/.github/workflows/proofs.yml b/.github/workflows/proofs.yml index 6896968..a596853 100644 --- a/.github/workflows/proofs.yml +++ b/.github/workflows/proofs.yml @@ -45,7 +45,7 @@ jobs: - name: Install the pinned prover run: | apt-get update - apt-get install --no-install-recommends -y ca-certificates curl git agda-bin=2.6.4.3-1+b2 + apt-get install --no-install-recommends -y ca-certificates curl unzip git agda-bin=2.6.4.3-1+b2 - name: Checkout uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 with: @@ -92,8 +92,15 @@ jobs: # check-trusted-base.sh below already calls it (--inputs agda). - name: Fetch the pinned receipt tools (sha256-checked) run: bash scripts/grade-receipt.sh --fetch-reader + # The standard's shared trusted-base gate reads Agda's report with + # agda-postulates.js, so this job needs Bun (as the receipt job does). + - name: Setup Bun + uses: oven-sh/setup-bun@0c5077e51419868618aeaa5fe8019c62421857d6 # v2.2.0 + with: + bun-version: '1.3.12' # PROOF-POLICY §8.4: the prover-supplied postulates of the import cone - # are exactly the trusted base the receipt lists (scripts/proof-flags.sh). + # are exactly the trusted base the receipt lists (scripts/proof-flags.sh), + # read by the standard's shared gate (scripts/check-agda-trusted-base.sh). - name: Trusted base of the import cone run: bash scripts/check-trusted-base.sh 2>&1 | tee /tmp/trusted-base.log - name: Which laws generic TINI uses diff --git a/PROOF-STATUS.adoc b/PROOF-STATUS.adoc index 6168a33..eadcf2d 100644 --- a/PROOF-STATUS.adoc +++ b/PROOF-STATUS.adoc @@ -141,10 +141,14 @@ ways). W-1 is kept, closed, in link:docs/proof-debt.adoc#waivers[`docs/proof-deb * `(trusted-base ...)`: the four postulates of `Agda.Primitive` (`Level`, `lzero`, `lsuc`, `_⊔_`) with their `BUILTIN` bindings. These are the only postulates in the prover-supplied modules of the import cone of - `SecretTypes.All`. `scripts/check-trusted-base.sh` asks Agda for the cone - (`--dependency-graph`), scans those modules with a comment-aware scanner - (`scripts/scan-agda-postulates.awk`, with controls in `tests/trusted-base/`) - and compares the result with the one list in `scripts/proof-flags.sh`; + `SecretTypes.All`. `scripts/check-trusted-base.sh` runs the standard's + shared gate (`scripts/check-agda-trusted-base.sh`, pinned with the receipt + tools). It asks Agda for the cone (`--dependency-graph`) and reads the + postulates Agda itself reports in it (`--html`, not a lexical scan of the + source; its controls, including two postulates on one line split by a + semicolon, live in the standard). It compares the prover's postulates with + the one list in `scripts/proof-flags.sh`, as the receipt writes it + (`grade-receipt.sh --trusted-base`); * one `(echo ...)` per history rewrite of a commit that a receipt names (§8.5.2): the source commit, its image on main, and the inputs digest of each leg, equal at both; diff --git a/scripts/check-trusted-base.sh b/scripts/check-trusted-base.sh index 8f217e7..72aa0d3 100755 --- a/scripts/check-trusted-base.sh +++ b/scripts/check-trusted-base.sh @@ -9,80 +9,47 @@ # declare primitives by postulate, and --safe accepts them. Such a postulate # is admissible only if the receipt lists it by name with its binding, and the # gate checks that exact list. This script is that check: -# 1. run the scanner's controls (tests/trusted-base), so a scanner that -# stops finding postulates fails here first; -# 2. ask Agda for the cone (--dependency-graph, the gate's own flags); -# 3. scan every prover-supplied module of the cone; -# 4. compare the result, as a set, with proof_trusted_base. +# 1. run the standard's shared gate, scripts/check-agda-trusted-base.sh +# (pinned with scripts/agda-postulates.js by scripts/grade-receipt.sh). +# It type-checks the root under the gate's own flags, reads the +# postulates Agda itself reports for the cone (no lexical scan of Agda +# source), refuses any postulate in a module under src/, and requires +# the prover's postulates to be exactly the receipt's trusted base +# (`grade-receipt.sh --trusted-base`, from proof_trusted_base). Its +# controls run in the standard; a live control runs here on every call; +# 2. require the Agda input set of the receipt to be exactly the +# repository's part of the cone that gate reported. # Any difference fails. A prover pin bump that changes the list fails here # until proof_trusted_base is updated and the receipt is earned again. +# +# Needs agda (the pinned version), bun, and the pinned standards files +# (scripts/grade-receipt.sh --fetch-reader). set -euo pipefail cd -- "$(dirname -- "${BASH_SOURCE[0]}")/.." export LC_ALL=C . scripts/proof-flags.sh -prover="${AGDA:-agda}" -scan=scripts/scan-agda-postulates.awk +gate="${RECEIPT_STD_OVERRIDE:-_build/standards}/scripts/check-agda-trusted-base.sh" work="$(mktemp -d)"; trap 'rm -rf "$work"' EXIT +[[ -f "$gate" ]] || { echo "ERROR: $gate is missing (run bash scripts/grade-receipt.sh --fetch-reader)" >&2; exit 1; } -# 1. Controls. Positive and comment-only fixtures must give their expected -# lists; the refusal fixtures must be refused (exit 3), never passed. -for f in tests/trusted-base/*.txt; do - name="$(basename -- "$f" .txt)" - set +e; awk -v "module=Fixture.$name" -f "$scan" "$f" > "$work/$name.out" 2> "$work/$name.err"; rc=$?; set -e - if [[ -f "tests/trusted-base/$name.expected" ]]; then - if (( rc != 0 )) || ! diff -u "tests/trusted-base/$name.expected" "$work/$name.out"; then - cat "$work/$name.err" >&2 - echo "FAIL: scanner control $name (rc=$rc)" >&2; exit 1 - fi - elif (( rc != 3 )); then - cat "$work/$name.out" >&2 - echo "FAIL: scanner control $name was not refused (rc=$rc)" >&2; exit 1 - fi -done -echo "PASS: scanner controls ($(ls tests/trusted-base/*.txt | wc -l | tr -d ' ') fixtures)" - -# 2. The cone, as Agda reports it under the gate's flags. +# 1. The shared gate, on the list the receipt writes. grade-receipt.sh checks +# the sha256 of every pinned standards file before it runs. +bash scripts/grade-receipt.sh --trusted-base > "$work/declared" \ + || { echo 'FAIL: grade-receipt.sh --trusted-base failed' >&2; exit 1; } mapfile -t flags < <(proof_flags) -"$prover" "${flags[@]}" -i src --dependency-graph="$work/cone.dot" "$(proof_agda_root)" > "$work/agda.log" 2>&1 \ - || { cat "$work/agda.log" >&2; echo 'FAIL: agda could not produce the dependency graph' >&2; exit 1; } -mapfile -t cone < <(sed -n 's/.*label="\([^"]*\)".*/\1/p' "$work/cone.dot" | sort -u) -(( ${#cone[@]} > 0 )) || { echo 'FAIL: empty dependency graph' >&2; exit 1; } -agda_dir="$("$prover" --print-agda-dir)" +bash "$gate" --root "$(proof_agda_root)" --include src \ + --expect "$work/declared" --cone-out "$work/cone" -- "${flags[@]}" -# The repository's part of the cone is the Agda input set of the receipt +# 2. The repository's part of the cone is the Agda input set of the receipt # (PROOF-POLICY §8.5.1). scripts/grade-receipt.sh computes it by a text scan # of import statements; it must be exactly the set Agda reports. -for m in "${cone[@]}"; do +while IFS= read -r m; do rel="src/${m//.//}.agda" [[ -f "$rel" ]] && printf '%s\n' "$rel" -done | LC_ALL=C sort > "$work/cone-repo" +done < "$work/cone" | LC_ALL=C sort > "$work/cone-repo" bash scripts/grade-receipt.sh --inputs agda > "$work/cone-scan" if ! diff -u "$work/cone-repo" "$work/cone-scan"; then echo 'FAIL: the Agda input set of scripts/grade-receipt.sh differs from the cone agda --dependency-graph reports' >&2 exit 1 fi echo "PASS: Agda input set ($(wc -l < "$work/cone-repo" | tr -d ' ') repository modules) equals the cone Agda reports" - -# 3. Scan the prover-supplied modules. Every module of the cone is either the -# development's (under src/) or Agda's (under the prover's lib/prim); a module -# in neither place fails, so nothing in the cone goes unscanned. -supplied=0 -: > "$work/found" -for m in "${cone[@]}"; do - rel="${m//.//}.agda" - if [[ -f "src/$rel" ]]; then continue; fi - path="$agda_dir/lib/prim/$rel" - [[ -f "$path" ]] || { echo "FAIL: module $m of the cone is neither under src/ nor under $agda_dir/lib/prim" >&2; exit 1; } - supplied=$((supplied + 1)) - awk -v "module=$m" -f "$scan" "$path" >> "$work/found" -done - -# 4. Compare with the declared list. -sort -u "$work/found" > "$work/found.sorted" -proof_trusted_base | sort -u > "$work/declared.sorted" -if ! diff -u "$work/declared.sorted" "$work/found.sorted" > "$work/diff"; then - cat "$work/diff" >&2 - echo 'FAIL: the prover-supplied postulates of the cone differ from proof_trusted_base (scripts/proof-flags.sh)' >&2 - exit 1 -fi -echo "PASS: trusted base: $(wc -l < "$work/found.sorted" | tr -d ' ') prover postulates in $supplied prover-supplied modules of the cone, each BUILTIN-bound and listed; no other postulate" diff --git a/scripts/grade-receipt.sh b/scripts/grade-receipt.sh index 8187953..9a851a4 100755 --- a/scripts/grade-receipt.sh +++ b/scripts/grade-receipt.sh @@ -42,22 +42,28 @@ RECEIPT_SCRIPT=scripts/grade-receipt.sh # sha256: the generator (scripts/proof-receipt.sh), the reader readProofReceipt # (1-formats/deed/tools/deed_lint.js), the reference digest # (scripts/proof-inputs-sha256.sh) and the shared git checker of §8.5.3 -# (scripts/check-proof-receipt.sh). They keep the standards layout under +# (scripts/check-proof-receipt.sh), and the shared trusted-base gate of +# §8.4 (scripts/check-agda-trusted-base.sh with scripts/agda-postulates.js, +# run by scripts/check-trusted-base.sh). They keep the standards layout under # _build/standards, because the checker finds the reader and the digest # script by their paths. Mathesis pins the same reader and runs the same # checker. -RECEIPT_STANDARDS_COMMIT="${RECEIPT_STANDARDS_COMMIT_OVERRIDE:-940a27af1e25a73a2d55daa78d0763e6749fd935}" -GENERATOR_SHA256=47e9e5596e69574440260e4372c4b400f6c5f97192ff04292a59bffc4c215fe8 -READER_SHA256=29278b46654bdee70e8e1ff4a7ff8cb810e04b618c9ca1520a6979d6c4c91f18 +RECEIPT_STANDARDS_COMMIT="${RECEIPT_STANDARDS_COMMIT_OVERRIDE:-5addf98b2531feb7d65a27f52ca229992f26dfea}" +GENERATOR_SHA256=d496cefa0da322d36df6307aac08abda6af62fc4d4faa8091ca744ecd7d4a898 +READER_SHA256=bd276e4046066926bdfb65f474271e2ddba57467cc237e9e7ec56c894577b04d DIGEST_SHA256=dfc6dde01a3a79df638eebe4cad0eae584d8f17280077e149174c0667e9508f4 CHECKER_SHA256=f2375747238464535d1b4a61f658f07cb2f8504c69bfb1812311c79429a4e23e +TB_GATE_SHA256=20bf3a8ddf0864d8ac731a6b6593f032d449067387d45abe821fbc516c1e03ed +TB_READER_SHA256=fe5c49cc36e3e3b7606d94cadfc390eb4c806139e1238785c803ab56a80a9fa8 RECEIPT_STD="${RECEIPT_STD_OVERRIDE:-_build/standards}" pinned_files() { printf '%s %s\n' scripts/proof-receipt.sh "$GENERATOR_SHA256" \ 1-formats/deed/tools/deed_lint.js "$READER_SHA256" \ scripts/proof-inputs-sha256.sh "$DIGEST_SHA256" \ - scripts/check-proof-receipt.sh "$CHECKER_SHA256" + scripts/check-proof-receipt.sh "$CHECKER_SHA256" \ + scripts/check-agda-trusted-base.sh "$TB_GATE_SHA256" \ + scripts/agda-postulates.js "$TB_READER_SHA256" } fetch_pinned() { local path sum dest raw="https://raw.githubusercontent.com/metadatastician/standards/$RECEIPT_STANDARDS_COMMIT" diff --git a/scripts/scan-agda-postulates.awk b/scripts/scan-agda-postulates.awk deleted file mode 100644 index ec3f973..0000000 --- a/scripts/scan-agda-postulates.awk +++ /dev/null @@ -1,151 +0,0 @@ -# SPDX-License-Identifier: MPL-2.0 -# Copyright (c) 2026 Jonathan D.A. Jewell (hyperpolymath) -# -# scan-agda-postulates.awk: list every postulate that one Agda source file -# declares, with the BUILTIN binding that gives it its meaning -# (standards/3-practice/PROOF-POLICY.adoc §8.4). -# -# LC_ALL=C awk -v module=Agda.Primitive -f scripts/scan-agda-postulates.awk FILE -# -# Output: one line per postulated name, "module|name|binding", where binding -# is "BUILTIN " from a {-# BUILTIN #-} pragma in FILE. -# -# The scan lexes as Agda does where a mistake could HIDE a postulate: -# * nested block comments {- ... -} are blanked (newlines are kept); -# * pragma bodies {-# ... #-} are blanked, and BUILTIN pragmas are read; -# * a line comment starts at a run of two or more dashes that begins a token -# and is followed by a space, a letter, a digit or the end of the line. -# Any other dash run (for example an operator such as -->) stays code, so -# a doubtful case can only find MORE postulates, never fewer. -# It refuses (exit 3) what it does not lex: a string literal, a character -# literal, a tab, a carriage return, a nested module, explicit layout braces -# after postulate, a declaration with no type signature, and a postulate with -# no BUILTIN binding. A refusal is a -# gate failure: extend the scanner, never weaken it. -# Positive and negative controls: tests/trusted-base/ (run by -# scripts/check-trusted-base.sh on every gate run). - -function refuse(msg) { - printf "REFUSE %s (%s): %s\n", FILENAME, module, msg > "/dev/stderr" - refused = 1 - exit 3 -} - -function idchar(c) { - # A character that can continue an Agda name. Any non-ASCII byte counts. - return c !~ /^[ \n(){};.@"]$/ && c != "" -} - -{ src = src $0 "\n" } - -END { - if (refused) exit 3 - if (module == "") { print "scan-agda-postulates.awk: set -v module=NAME" > "/dev/stderr"; exit 2 } - if (index(src, "\t")) refuse("a tab character") - if (index(src, "\r")) refuse("a carriage return (CRLF line ends are not lexed)") - n = length(src); out = ""; i = 1; npragma = 0 - while (i <= n) { - c = substr(src, i, 1); c2 = substr(src, i, 2); c3 = substr(src, i, 3) - if (c3 == "{-#") { - j = index(substr(src, i + 3), "#-}") - if (j == 0) refuse("an unterminated pragma") - body = substr(src, i + 3, j - 1) - pragma[++npragma] = body - blank = body; gsub(/[^\n]/, " ", blank) - out = out " " blank " " - i += 3 + j - 1 + 3 - continue - } - if (c2 == "{-") { - depth = 1; k = i + 2 - while (k <= n && depth > 0) { - d2 = substr(src, k, 2) - if (d2 == "{-") { depth++; k += 2; continue } - if (d2 == "-}") { depth--; k += 2; continue } - k++ - } - if (depth > 0) refuse("an unterminated block comment") - blank = substr(src, i, k - i); gsub(/[^\n]/, " ", blank) - out = out blank; i = k - continue - } - if (c2 == "--") { - prev = (i == 1) ? "\n" : substr(src, i - 1, 1) - k = i; while (substr(src, k, 1) == "-") k++ - after = substr(src, k, 1) - if (prev ~ /^[ \n(){};]$/ && (after == "\n" || after == " " || after ~ /^[A-Za-z0-9]$/ || k > n)) { - while (k <= n && substr(src, k, 1) != "\n") k++ - blank = substr(src, i, k - i); gsub(/./, " ", blank) - out = out blank; i = k - continue - } - } - if (c == "\"") refuse("a string literal (this scanner does not lex strings)") - if (c == "'") { - prev = (i == 1) ? "\n" : substr(src, i - 1, 1) - if (!idchar(prev)) refuse("a character literal (this scanner does not lex them)") - } - out = out c; i++ - } - - # BUILTIN bindings: name -> "BUILTIN THING". - for (p = 1; p <= npragma; p++) { - body = pragma[p]; gsub(/\n/, " ", body) - m = split(body, w, / +/); t = 0 - for (q = 1; q <= m; q++) if (w[q] != "") tok[++t] = w[q] - if (t == 3 && tok[1] == "BUILTIN") binding[tok[3]] = "BUILTIN " tok[2] - delete tok - } - - nl = split(out, line, "\n") - # One module per file: a BUILTIN binding is keyed by its short name, so a - # nested module could reuse a bound name for an unbound postulate. Refuse - # any module declaration after the first, until the scan tracks scopes. - nmod = 0 - for (l = 1; l <= nl; l++) if (line[l] ~ /(^|[ ;{])module( |$)/ && ++nmod > 1) refuse("a nested module on line " l) - for (l = 1; l <= nl; l++) { - s = line[l] - if (!match(s, /(^|[ (){};])postulate([ (){};]|$)/)) continue - pos = RSTART + (substr(s, RSTART, 1) == "p" ? 0 : 1) - prefix = substr(s, 1, pos - 1) - if (prefix ~ /[\200-\377]/) refuse("non-ASCII text before postulate on line " l) - match(s, /^ */); indent = RLENGTH - rest = substr(s, pos + 9) - if (rest ~ /^ *\{/) refuse("explicit layout braces after postulate on line " l) - ndecl = 0 - if (rest ~ /[^ ]/) { - match(rest, /^ */); col = pos + 9 + RLENGTH - 1 - decl[++ndecl] = rest - start = l + 1 - } else { - col = -1; start = l + 1 - } - for (k = start; k <= nl; k++) { - t2 = line[k] - if (t2 !~ /[^ ]/) continue - match(t2, /^ */); ind = RLENGTH - if (ind <= indent) break - if (col < 0) col = ind - if (ind < col) break - if (ind == col) decl[++ndecl] = t2 - else decl[ndecl] = decl[ndecl] " " t2 - } - l = k - 1 - if (ndecl == 0) refuse("an empty postulate block on line " l) - for (d = 1; d <= ndecl; d++) { - m = split(decl[d], w, / +/); colon = 0; nn = 0 - for (q = 1; q <= m; q++) { - if (w[q] == "") continue - if (w[q] == ":") { colon = 1; break } - names[++nn] = w[q] - } - if (!colon || nn == 0) refuse("a postulate with no type signature: " decl[d]) - for (q = 1; q <= nn; q++) { - if (!(names[q] in binding)) refuse("postulate " names[q] " has no BUILTIN binding") - printf "%s|%s|%s\n", module, names[q], binding[names[q]] - } - delete names - } - delete decl - } -} diff --git a/tests/trusted-base/CarriageReturn.txt b/tests/trusted-base/CarriageReturn.txt deleted file mode 100644 index f45c5cc..0000000 --- a/tests/trusted-base/CarriageReturn.txt +++ /dev/null @@ -1,6 +0,0 @@ --- SPDX-License-Identifier: MPL-2.0 --- Refusal control: CRLF line ends. Agda reads a carriage return as --- whitespace, but the scan does not lex it, so it refuses the file. -module Fixture.CarriageReturn where -postulate - Hidden : Set diff --git a/tests/trusted-base/CommentsOnly.expected b/tests/trusted-base/CommentsOnly.expected deleted file mode 100644 index e69de29..0000000 diff --git a/tests/trusted-base/CommentsOnly.txt b/tests/trusted-base/CommentsOnly.txt deleted file mode 100644 index b3a834e..0000000 --- a/tests/trusted-base/CommentsOnly.txt +++ /dev/null @@ -1,8 +0,0 @@ --- SPDX-License-Identifier: MPL-2.0 --- Negative control: postulate appears only in comments and a pragma body, --- so a scan finds no postulate. Not an Agda module of the development. -module Fixture.CommentsOnly where --- postulate X : Set -{- postulate Y : Set {- postulate Z : Set -} -} -{-# BUILTIN NOTHING postulate #-} -data T : Set where t : T diff --git a/tests/trusted-base/NestedModule.txt b/tests/trusted-base/NestedModule.txt deleted file mode 100644 index ded1981..0000000 --- a/tests/trusted-base/NestedModule.txt +++ /dev/null @@ -1,11 +0,0 @@ --- SPDX-License-Identifier: MPL-2.0 --- Refusal control: a nested module reuses the short name of a bound --- postulate for an unbound one. BUILTIN bindings are keyed by short name, --- so the scan refuses any module after the first. -module Fixture.NestedModule where -postulate - A : Set -{-# BUILTIN ONE A #-} -module Inner where - postulate - A : Set diff --git a/tests/trusted-base/Positive.expected b/tests/trusted-base/Positive.expected deleted file mode 100644 index 8b6c382..0000000 --- a/tests/trusted-base/Positive.expected +++ /dev/null @@ -1,5 +0,0 @@ -Fixture.Positive|A|BUILTIN ONE -Fixture.Positive|b|BUILTIN TWO -Fixture.Positive|c|BUILTIN THREE -Fixture.Positive|d|BUILTIN FOUR -Fixture.Positive|e|BUILTIN FIVE diff --git a/tests/trusted-base/Positive.txt b/tests/trusted-base/Positive.txt deleted file mode 100644 index cee6961..0000000 --- a/tests/trusted-base/Positive.txt +++ /dev/null @@ -1,28 +0,0 @@ --- SPDX-License-Identifier: MPL-2.0 --- Positive control for scripts/scan-agda-postulates.awk: a scan must find --- every postulate below, in every layout, and nothing in the comments. --- Not an Agda module of the development (.txt, so no gate checks it). -{-# OPTIONS --without-K #-} -module Fixture.Positive where - -{- A block comment that names a postulate: - postulate Hidden : Set - {- nested: postulate Deeper : Set -} --} - -postulate - A : Set - b c : A - -{-# BUILTIN ONE A #-} -{-# BUILTIN TWO b #-} -{-# BUILTIN THREE c #-} - -private postulate d : A -{-# BUILTIN FOUR d #-} - -postulate - e : A → - A --- postulate NotThis : Set -{-# BUILTIN FIVE e #-} diff --git a/tests/trusted-base/StringLiteral.txt b/tests/trusted-base/StringLiteral.txt deleted file mode 100644 index 71c0921..0000000 --- a/tests/trusted-base/StringLiteral.txt +++ /dev/null @@ -1,7 +0,0 @@ --- SPDX-License-Identifier: MPL-2.0 --- Refusal control: the scan does not lex string literals, so it refuses a --- file that has one (a "{-" inside a string could hide a postulate). -module Fixture.StringLiteral where -s = "{-" -postulate - Hidden : Set diff --git a/tests/trusted-base/Unbound.txt b/tests/trusted-base/Unbound.txt deleted file mode 100644 index 508c8f6..0000000 --- a/tests/trusted-base/Unbound.txt +++ /dev/null @@ -1,6 +0,0 @@ --- SPDX-License-Identifier: MPL-2.0 --- Refusal control: a postulate with no BUILTIN binding is an axiom of the --- development, not part of the prover's trusted base. The scan refuses it. -module Fixture.Unbound where -postulate - Bad : Set diff --git a/verification/receipts/agda_praxis.deed b/verification/receipts/agda_praxis.deed index bb7cc85..bc34ddb 100644 --- a/verification/receipts/agda_praxis.deed +++ b/verification/receipts/agda_praxis.deed @@ -7,7 +7,7 @@ ;; checked with the reference script of the standard. The grade is derived, ;; never typed: ;; bun deed_lint.js --proof-receipt-json verification/receipts/agda_praxis.deed -;; with the reader at standards 940a27af1e25a73a2d55daa78d0763e6749fd935. +;; with the reader at standards 5addf98b2531feb7d65a27f52ca229992f26dfea. ;; Demonstrations N-4, N-5 and N-6 are not theorems (§8.1) and have no claim here. ;; The trusted base is what scripts/check-trusted-base.sh finds in the ;; prover-supplied modules of the import cone of src/SecretTypes/All.agda.