Polish release docs and add CI checks
- Correct stale references and headline-path wording in READMEs and Lean docstrings - Document build steps, comparator requirements, sweep scope, and coverage - Unify Apache headers across Lean and C++ sources - Add a bwrap-free axiom audit for the headline theorems - Add a Gitea workflow running lake build, the axiom audit, C++ tests, and coverage - Match LLVM coverage tool versions to the compiler and recreate stale build dirs
This commit is contained in:
1 parent
73e371fb40
commit
273ad72f0c
34 files changed
+431
-133
No files matched your search
Executable
+21
@@ -0,0 +1,21 @@
|
||||
#!/usr/bin/env bash
|
||||
# Verify that the headline theorems depend only on the permitted axioms.
|
||||
# This is a bwrap-free complement to `lake comparator`: it catches `sorry`
|
||||
# (`sorryAx`) and any newly introduced axiom.
|
||||
set -euo pipefail
|
||||
|
||||
here="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
|
||||
cd "$here/.."
|
||||
|
||||
output="$(lake env lean CheckAxioms.lean)"
|
||||
printf '%s\n' "$output"
|
||||
|
||||
expected="[propext, Classical.choice, Quot.sound]"
|
||||
matches="$(printf '%s\n' "$output" |
|
||||
grep -c "depends on axioms: \[propext, Classical.choice, Quot.sound\]$" || true)"
|
||||
|
||||
if [[ "$matches" -ne 2 ]]; then
|
||||
echo "expected both headline theorems to depend on exactly $expected" >&2
|
||||
exit 1
|
||||
fi
|
||||
echo "axiom audit: both headlines use exactly $expected"
|
||||
Reference in new issue
Block a user