Commit 97e9bb9
docs(proof): proof narrative + open frontier + reconciled PROOF-NEEDS
Three docs that together replace the drifted proof-status story.
**docs/PROOF-NARRATIVE.adoc** — the canonical theorem-level account:
- Cross-system witness matrix (Coq / Lean 4 / Agda / Isabelle / Mizar / Z3)
for ~42 named theorems
- Composition story: how single_op_reversible composes through
operation_sequence_reversible to is_CNO_sequence (Absolute Zero
connection)
- Per-area narrative: file ops, content, copy/move, symlinks, perms,
RMO, equivalence, composition, POSIX error wrappers
- Assumption registry with explicit escape hatches:
* `funext` (Agda) — standard intensional-TT, provable in cubical
* `admit.` (Coq filesystem_composition.v:199) — model gap for
`rmdir → mkdir` under non-default perms; three closure paths
documented (strengthen `reversible`, OpMkdirWithPerms variant,
UndoLog model)
* `is_empty_dir_dec` (Coq) — justified, infinite-domain quantification
Adds the Idris2 ABI layer (omitted from prior audits): 23 `?holes`
across 4 files. Eleven are pure ports from Coq/Lean 4 canonical proofs;
twelve depend on either the model gap or external NIST SP 800-88 /
information-theoretic axioms (now made explicit in §10).
**docs/PROOF-OPEN-FRONTIER.adoc** — every valuable but unproven theorem,
per directive "even marginal stuff":
- Tier S (4 foundational): Lean→Rust mechanised refinement,
close-the-admit, crash-consistency, concurrency safety
- Tier A (12 single-PR): Idris2 structural holes, glob complexity,
Pratt-style precedence, redirection semantics, path-traversal
containment
- Tier B (8 multi-day): POSIX 2024, subshell scoping, word splitting,
pipeline data-flow, job control state machine, symlink loops, audit
HMAC, MCP conformance
- Tier C (10 marginal-but-named): reverse-direction lemmas, base cases,
CNO algebra, parent_path corollaries, well_formed lifting, lattice
laws on path_prefix, idempotence negative theorems, transposition,
fold equivalences
- Tier D (5 meta/process): Print Assumptions CI guard, Idris2
--check-hole CI, cross-system name alignment, narrative
auto-generation, witness-coverage test
**PROOF-NEEDS.md** — reconciled to current state. The old file listed
7 Agda postulates from a pre-2026-04-03 snapshot; all were closed in
that session. Updated to reflect the live assumption registry, full
closure-session history, and pointers into the new narrative.
No proof bodies changed; this PR is documentation only. The companion
proof-closure PR (strengthen `reversible` OpRmdir branch, port 11
structural Idris2 holes) will follow once the build oracle is verified
locally.
Refs #42 (proof inventory tracking issue).
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent af3f4b8 commit 97e9bb9
3 files changed
Lines changed: 1164 additions & 31 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
| 3 | + | |
3 | 4 | | |
4 | | - | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
5 | 13 | | |
6 | | - | |
7 | | - | |
8 | | - | |
9 | | - | |
10 | | - | |
11 | | - | |
12 | | - | |
13 | | - | |
| 14 | + | |
14 | 15 | | |
15 | | - | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
16 | 20 | | |
17 | | - | |
18 | | - | |
19 | | - | |
| 21 | + | |
20 | 22 | | |
21 | | - | |
22 | | - | |
23 | | - | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
24 | 29 | | |
25 | | - | |
26 | | - | |
27 | | - | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
28 | 35 | | |
29 | | - | |
30 | | - | |
31 | | - | |
32 | | - | |
| 36 | + | |
33 | 37 | | |
34 | | - | |
35 | | - | |
36 | | - | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
37 | 47 | | |
38 | | - | |
| 48 | + | |
39 | 49 | | |
40 | | - | |
41 | | - | |
| 50 | + | |
| 51 | + | |
42 | 52 | | |
43 | | - | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
44 | 58 | | |
45 | | - | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
0 commit comments