Add builds (2026-11-10)
Browse files- README.md +10 -6
- builds/v4.26.0/x86_64-unknown-linux-gnu/80fc9124841a-2aec6c85f995c917/SHA256SUMS.txt +3 -0
- builds/v4.26.0/x86_64-unknown-linux-gnu/80fc9124841a-2aec6c85f995c917/reports/axiom_audit.0000.lean +55 -0
- builds/v4.26.0/x86_64-unknown-linux-gnu/80fc9124841a-2aec6c85f995c917/reports/axiom_audit.0001.lean +55 -0
- builds/v4.26.0/x86_64-unknown-linux-gnu/80fc9124841a-2aec6c85f995c917/reports/axiom_audit.lean +56 -0
README.md
CHANGED
|
@@ -28,20 +28,24 @@ Every value below is read from the build folder's own reports; "not run" and "no
|
|
| 28 |
|
| 29 |
| commit | Lean | packed | modules | `sorry` warnings | other warnings | axiom audit | round trip |
|
| 30 |
|---|---|---|---|---|---|---|---|
|
| 31 |
-
| `80fc9124841a` | v4.26.0 | 2026-11-08 | 2 | 6 | 376 |
|
| 32 |
|
| 33 |
**Build `80fc9124841a-2aec6c85f995c917`** (source commit `80fc9124841a1f37a167d227d00780479d04f701`)
|
| 34 |
|
| 35 |
-
- `sorry` warnings: 6, in `Deadends/problem.lean`.
|
| 36 |
-
- Axiom audit: 393 declarations
|
| 37 |
-
- Declarations that depend on them (first ones listed by the audit): `jointSquarefreeDensity_convergent` (sorryAx), `baseBDeadEnd_density_exists` (sorryAx), `baseBDeadEndDensity` (sorryAx), `baseBDeadEndDensity_spec` (sorryAx), `baseBDeadEnd_density_unique` (sorryAx), `jointSquarefreeDensity_is_asymptotic_density` (sorryAx), `explicitDensityFormula_correct` (sorryAx), `baseBDeadEnd_density_formula` (sorryAx).
|
| 38 |
- Round trip on a clean machine: passed. Restored on a clean machine; AxiomMath/dead-ends: Lake reported every target up to date (7745 jobs). (1 of 1 projects using it passed; checked 2026-11-09)
|
| 39 |
|
| 40 |
What the columns mean:
|
| 41 |
- **`sorry` warnings:** declarations the build reported as using `sorry`. Anything depending on them is not proved.
|
|
|
|
|
|
|
|
|
|
| 42 |
- **Axiom audit:** every declaration in the package's modules traced to the axioms it uses. "passed" means only
|
| 43 |
-
`propext`, `Classical.choice` and `Quot.sound`.
|
| 44 |
-
|
|
|
|
|
|
|
| 45 |
- **Round trip:** a separate user with empty Lean and Lake caches restored the build from the archive and Lake reported
|
| 46 |
every target up to date. It shows the archive is complete, not that the proofs are right.
|
| 47 |
|
|
|
|
| 28 |
|
| 29 |
| commit | Lean | packed | modules | `sorry` warnings | other warnings | axiom audit | round trip |
|
| 30 |
|---|---|---|---|---|---|---|---|
|
| 31 |
+
| `80fc9124841a` | v4.26.0 | 2026-11-08 | 2 | 6 (problem statements only) | 376 | passed outside problem statements | passed |
|
| 32 |
|
| 33 |
**Build `80fc9124841a-2aec6c85f995c917`** (source commit `80fc9124841a1f37a167d227d00780479d04f701`)
|
| 34 |
|
| 35 |
+
- `sorry` warnings: 6, all in problem or challenge statement files: `Deadends/problem.lean`. In this layout each statement file states the theorems with `sorry` and the matching solution file proves them; the axiom audit line below says whether the proofs themselves are clean.
|
| 36 |
+
- Axiom audit: 393 declarations, audited module by module. The only non-standard axiom is `sorryAx`, and every declaration using it is in a problem or challenge statement module (1: `Deadends.problem`). The other 1 modules, including every solution, depend only on propext, Classical.choice, Quot.sound.
|
|
|
|
| 37 |
- Round trip on a clean machine: passed. Restored on a clean machine; AxiomMath/dead-ends: Lake reported every target up to date (7745 jobs). (1 of 1 projects using it passed; checked 2026-11-09)
|
| 38 |
|
| 39 |
What the columns mean:
|
| 40 |
- **`sorry` warnings:** declarations the build reported as using `sorry`. Anything depending on them is not proved.
|
| 41 |
+
"problem statements only" means every one is in a `problem.lean` or challenge file: in that layout the
|
| 42 |
+
statement file states the theorems with `sorry`, a matching solution file proves them, and a comparator checks
|
| 43 |
+
that the two match. The axiom audit then shows whether the solutions are clean.
|
| 44 |
- **Axiom audit:** every declaration in the package's modules traced to the axioms it uses. "passed" means only
|
| 45 |
+
`propext`, `Classical.choice` and `Quot.sound`. "passed outside problem statements" means a module-by-module audit
|
| 46 |
+
found `sorryAx` only in problem or challenge statement modules, and every other module, including every solution,
|
| 47 |
+
uses only those three. Neither says a statement is the intended one: a theorem that takes a hard fact as a
|
| 48 |
+
hypothesis passes.
|
| 49 |
- **Round trip:** a separate user with empty Lean and Lake caches restored the build from the archive and Lake reported
|
| 50 |
every target up to date. It shows the archive is complete, not that the proofs are right.
|
| 51 |
|
builds/v4.26.0/x86_64-unknown-linux-gnu/80fc9124841a-2aec6c85f995c917/SHA256SUMS.txt
CHANGED
|
@@ -1,5 +1,8 @@
|
|
| 1 |
009594c8c8b24fc8322ef8cedec3ffccceba8097b97d3f88c25415590eefa9d3 lake-manifest.json
|
| 2 |
5249decf680432ebc67205b5a39073b5f364c2a026b958ed44cc69e7234336c2 manifest.json
|
|
|
|
|
|
|
|
|
|
| 3 |
16e116ba19911ac0e8f6b524c89f19c1d32fde37e325a251e9132e4952edff4c reports/axiom_audit.txt
|
| 4 |
896154d03e34de4cbc971192940478edd4e332e8c59e6a587bedcd902bd41f5c reports/axiom_audit_result.json
|
| 5 |
294b2406c6d6fea0e17b74f3b3524954ec4b51e2783d6e1dbd9732d767c39ec2 reports/build.log
|
|
|
|
| 1 |
009594c8c8b24fc8322ef8cedec3ffccceba8097b97d3f88c25415590eefa9d3 lake-manifest.json
|
| 2 |
5249decf680432ebc67205b5a39073b5f364c2a026b958ed44cc69e7234336c2 manifest.json
|
| 3 |
+
7c62a863662d96b0ebf45c6822327aa0e34124064bdc94753b6091bbc9750e99 reports/axiom_audit.0000.lean
|
| 4 |
+
a05ace0e64d7aed9b8d998e6f3dab21264a039386bc8c83d3eed7cf7690213e0 reports/axiom_audit.0001.lean
|
| 5 |
+
3bc75113e9b2fc2cc022af920d9be4debdc1d3eaf575e344a1941f00df68accd reports/axiom_audit.lean
|
| 6 |
16e116ba19911ac0e8f6b524c89f19c1d32fde37e325a251e9132e4952edff4c reports/axiom_audit.txt
|
| 7 |
896154d03e34de4cbc971192940478edd4e332e8c59e6a587bedcd902bd41f5c reports/axiom_audit_result.json
|
| 8 |
294b2406c6d6fea0e17b74f3b3524954ec4b51e2783d6e1dbd9732d767c39ec2 reports/build.log
|
builds/v4.26.0/x86_64-unknown-linux-gnu/80fc9124841a-2aec6c85f995c917/reports/axiom_audit.0000.lean
ADDED
|
@@ -0,0 +1,55 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
import Lean
|
| 2 |
+
import Deadends.problem
|
| 3 |
+
|
| 4 |
+
open Lean Elab Command
|
| 5 |
+
|
| 6 |
+
namespace AxAudit
|
| 7 |
+
structure St where
|
| 8 |
+
seen : NameMap (Array Name) := {}
|
| 9 |
+
axioms : NameSet := {}
|
| 10 |
+
abbrev M := ReaderT Environment (StateM St)
|
| 11 |
+
|
| 12 |
+
partial def collect (c : Name) : M Unit := do
|
| 13 |
+
let env ← read
|
| 14 |
+
let s ← get
|
| 15 |
+
if let some axs := s.seen.find? c then
|
| 16 |
+
modify fun s => { s with axioms := axs.foldl (fun a x => a.insert x) s.axioms }
|
| 17 |
+
return
|
| 18 |
+
let saved := s.axioms
|
| 19 |
+
modify fun s => { s with axioms := {}, seen := s.seen.insert c #[] }
|
| 20 |
+
let ce (e : Expr) : M Unit := e.getUsedConstants.forM collect
|
| 21 |
+
match env.find? c with
|
| 22 |
+
| some (.axiomInfo v) => modify (fun s => { s with axioms := s.axioms.insert c }); ce v.type
|
| 23 |
+
| some (.defnInfo v) => ce v.type *> ce v.value
|
| 24 |
+
| some (.thmInfo v) => ce v.type *> ce v.value
|
| 25 |
+
| some (.opaqueInfo v) => ce v.type *> ce v.value
|
| 26 |
+
| some (.quotInfo _) => pure ()
|
| 27 |
+
| some (.ctorInfo v) => ce v.type
|
| 28 |
+
| some (.recInfo v) => ce v.type
|
| 29 |
+
| some (.inductInfo v) => ce v.type *> v.ctors.forM collect
|
| 30 |
+
| none => pure ()
|
| 31 |
+
let res := (← get).axioms.toArray.qsort Name.lt
|
| 32 |
+
modify fun s => { s with seen := s.seen.insert c res, axioms := res.foldl (fun a x => a.insert x) saved }
|
| 33 |
+
end AxAudit
|
| 34 |
+
|
| 35 |
+
run_cmd do
|
| 36 |
+
let env ← getEnv
|
| 37 |
+
let penv := env.setExporting false
|
| 38 |
+
let mods : NameSet := (#[`Deadends.problem] : Array Name).foldl (fun s n => s.insert n) {}
|
| 39 |
+
let std : NameSet := (#[``propext, ``Classical.choice, ``Quot.sound] : Array Name).foldl (fun s n => s.insert n) {}
|
| 40 |
+
let mut roots : Array Name := #[]
|
| 41 |
+
let mut declared : Array Name := #[]
|
| 42 |
+
for (c, ci) in env.constants.map₁.toList do
|
| 43 |
+
let some idx := env.getModuleIdxFor? c | continue
|
| 44 |
+
unless mods.contains env.header.moduleNames[idx.toNat]! do continue
|
| 45 |
+
roots := roots.push c
|
| 46 |
+
if let .axiomInfo _ := ci then declared := declared.push c
|
| 47 |
+
let (_, st) := ((roots.forM AxAudit.collect).run penv).run {}
|
| 48 |
+
let mut used : NameSet := {}
|
| 49 |
+
let mut nonstd : Array (Name × Array Name) := #[]
|
| 50 |
+
for c in roots do
|
| 51 |
+
let axs := (st.seen.find? c).getD #[]
|
| 52 |
+
for a in axs do used := used.insert a
|
| 53 |
+
let bad := axs.filter (fun a => !std.contains a)
|
| 54 |
+
unless bad.isEmpty do nonstd := nonstd.push (c, bad)
|
| 55 |
+
logInfo m!"AXIOM-AUDIT decls={roots.size} declared_axioms={declared.toList} axioms_used={used.toList} nonstandard_count={nonstd.size} nonstandard_first={nonstd.toList.take 10} constants_walked={st.seen.size} AXIOM-AUDIT-END"
|
builds/v4.26.0/x86_64-unknown-linux-gnu/80fc9124841a-2aec6c85f995c917/reports/axiom_audit.0001.lean
ADDED
|
@@ -0,0 +1,55 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
import Lean
|
| 2 |
+
import Deadends.solution
|
| 3 |
+
|
| 4 |
+
open Lean Elab Command
|
| 5 |
+
|
| 6 |
+
namespace AxAudit
|
| 7 |
+
structure St where
|
| 8 |
+
seen : NameMap (Array Name) := {}
|
| 9 |
+
axioms : NameSet := {}
|
| 10 |
+
abbrev M := ReaderT Environment (StateM St)
|
| 11 |
+
|
| 12 |
+
partial def collect (c : Name) : M Unit := do
|
| 13 |
+
let env ← read
|
| 14 |
+
let s ← get
|
| 15 |
+
if let some axs := s.seen.find? c then
|
| 16 |
+
modify fun s => { s with axioms := axs.foldl (fun a x => a.insert x) s.axioms }
|
| 17 |
+
return
|
| 18 |
+
let saved := s.axioms
|
| 19 |
+
modify fun s => { s with axioms := {}, seen := s.seen.insert c #[] }
|
| 20 |
+
let ce (e : Expr) : M Unit := e.getUsedConstants.forM collect
|
| 21 |
+
match env.find? c with
|
| 22 |
+
| some (.axiomInfo v) => modify (fun s => { s with axioms := s.axioms.insert c }); ce v.type
|
| 23 |
+
| some (.defnInfo v) => ce v.type *> ce v.value
|
| 24 |
+
| some (.thmInfo v) => ce v.type *> ce v.value
|
| 25 |
+
| some (.opaqueInfo v) => ce v.type *> ce v.value
|
| 26 |
+
| some (.quotInfo _) => pure ()
|
| 27 |
+
| some (.ctorInfo v) => ce v.type
|
| 28 |
+
| some (.recInfo v) => ce v.type
|
| 29 |
+
| some (.inductInfo v) => ce v.type *> v.ctors.forM collect
|
| 30 |
+
| none => pure ()
|
| 31 |
+
let res := (← get).axioms.toArray.qsort Name.lt
|
| 32 |
+
modify fun s => { s with seen := s.seen.insert c res, axioms := res.foldl (fun a x => a.insert x) saved }
|
| 33 |
+
end AxAudit
|
| 34 |
+
|
| 35 |
+
run_cmd do
|
| 36 |
+
let env ← getEnv
|
| 37 |
+
let penv := env.setExporting false
|
| 38 |
+
let mods : NameSet := (#[`Deadends.solution] : Array Name).foldl (fun s n => s.insert n) {}
|
| 39 |
+
let std : NameSet := (#[``propext, ``Classical.choice, ``Quot.sound] : Array Name).foldl (fun s n => s.insert n) {}
|
| 40 |
+
let mut roots : Array Name := #[]
|
| 41 |
+
let mut declared : Array Name := #[]
|
| 42 |
+
for (c, ci) in env.constants.map₁.toList do
|
| 43 |
+
let some idx := env.getModuleIdxFor? c | continue
|
| 44 |
+
unless mods.contains env.header.moduleNames[idx.toNat]! do continue
|
| 45 |
+
roots := roots.push c
|
| 46 |
+
if let .axiomInfo _ := ci then declared := declared.push c
|
| 47 |
+
let (_, st) := ((roots.forM AxAudit.collect).run penv).run {}
|
| 48 |
+
let mut used : NameSet := {}
|
| 49 |
+
let mut nonstd : Array (Name × Array Name) := #[]
|
| 50 |
+
for c in roots do
|
| 51 |
+
let axs := (st.seen.find? c).getD #[]
|
| 52 |
+
for a in axs do used := used.insert a
|
| 53 |
+
let bad := axs.filter (fun a => !std.contains a)
|
| 54 |
+
unless bad.isEmpty do nonstd := nonstd.push (c, bad)
|
| 55 |
+
logInfo m!"AXIOM-AUDIT decls={roots.size} declared_axioms={declared.toList} axioms_used={used.toList} nonstandard_count={nonstd.size} nonstandard_first={nonstd.toList.take 10} constants_walked={st.seen.size} AXIOM-AUDIT-END"
|
builds/v4.26.0/x86_64-unknown-linux-gnu/80fc9124841a-2aec6c85f995c917/reports/axiom_audit.lean
ADDED
|
@@ -0,0 +1,56 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
import Lean
|
| 2 |
+
import Deadends.problem
|
| 3 |
+
import Deadends.solution
|
| 4 |
+
|
| 5 |
+
open Lean Elab Command
|
| 6 |
+
|
| 7 |
+
namespace AxAudit
|
| 8 |
+
structure St where
|
| 9 |
+
seen : NameMap (Array Name) := {}
|
| 10 |
+
axioms : NameSet := {}
|
| 11 |
+
abbrev M := ReaderT Environment (StateM St)
|
| 12 |
+
|
| 13 |
+
partial def collect (c : Name) : M Unit := do
|
| 14 |
+
let env ← read
|
| 15 |
+
let s ← get
|
| 16 |
+
if let some axs := s.seen.find? c then
|
| 17 |
+
modify fun s => { s with axioms := axs.foldl (fun a x => a.insert x) s.axioms }
|
| 18 |
+
return
|
| 19 |
+
let saved := s.axioms
|
| 20 |
+
modify fun s => { s with axioms := {}, seen := s.seen.insert c #[] }
|
| 21 |
+
let ce (e : Expr) : M Unit := e.getUsedConstants.forM collect
|
| 22 |
+
match env.find? c with
|
| 23 |
+
| some (.axiomInfo v) => modify (fun s => { s with axioms := s.axioms.insert c }); ce v.type
|
| 24 |
+
| some (.defnInfo v) => ce v.type *> ce v.value
|
| 25 |
+
| some (.thmInfo v) => ce v.type *> ce v.value
|
| 26 |
+
| some (.opaqueInfo v) => ce v.type *> ce v.value
|
| 27 |
+
| some (.quotInfo _) => pure ()
|
| 28 |
+
| some (.ctorInfo v) => ce v.type
|
| 29 |
+
| some (.recInfo v) => ce v.type
|
| 30 |
+
| some (.inductInfo v) => ce v.type *> v.ctors.forM collect
|
| 31 |
+
| none => pure ()
|
| 32 |
+
let res := (← get).axioms.toArray.qsort Name.lt
|
| 33 |
+
modify fun s => { s with seen := s.seen.insert c res, axioms := res.foldl (fun a x => a.insert x) saved }
|
| 34 |
+
end AxAudit
|
| 35 |
+
|
| 36 |
+
run_cmd do
|
| 37 |
+
let env ← getEnv
|
| 38 |
+
let penv := env.setExporting false
|
| 39 |
+
let mods : NameSet := (#[`Deadends.problem, `Deadends.solution] : Array Name).foldl (fun s n => s.insert n) {}
|
| 40 |
+
let std : NameSet := (#[``propext, ``Classical.choice, ``Quot.sound] : Array Name).foldl (fun s n => s.insert n) {}
|
| 41 |
+
let mut roots : Array Name := #[]
|
| 42 |
+
let mut declared : Array Name := #[]
|
| 43 |
+
for (c, ci) in env.constants.map₁.toList do
|
| 44 |
+
let some idx := env.getModuleIdxFor? c | continue
|
| 45 |
+
unless mods.contains env.header.moduleNames[idx.toNat]! do continue
|
| 46 |
+
roots := roots.push c
|
| 47 |
+
if let .axiomInfo _ := ci then declared := declared.push c
|
| 48 |
+
let (_, st) := ((roots.forM AxAudit.collect).run penv).run {}
|
| 49 |
+
let mut used : NameSet := {}
|
| 50 |
+
let mut nonstd : Array (Name × Array Name) := #[]
|
| 51 |
+
for c in roots do
|
| 52 |
+
let axs := (st.seen.find? c).getD #[]
|
| 53 |
+
for a in axs do used := used.insert a
|
| 54 |
+
let bad := axs.filter (fun a => !std.contains a)
|
| 55 |
+
unless bad.isEmpty do nonstd := nonstd.push (c, bad)
|
| 56 |
+
logInfo m!"AXIOM-AUDIT decls={roots.size} declared_axioms={declared.toList} axioms_used={used.toList} nonstandard_count={nonstd.size} nonstandard_first={nonstd.toList.take 10} constants_walked={st.seen.size} AXIOM-AUDIT-END"
|