Skip to content

Commit 11f99f6

Browse files
hyperpolymathclaude
andcommitted
docs(proof-status): add RESUME HERE brief for the 7 dependent Coq files
Self-contained post-compaction hand-off: env/build loop, recurring bit-rot fix patterns, per-file error frontier. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
1 parent cc0d375 commit 11f99f6

1 file changed

Lines changed: 48 additions & 0 deletions

File tree

PROOF-STATUS-2026-05-18.md

Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,3 +94,51 @@ an accurate ledger. **Better in reality and epistemically**; not the
9494
illusory "100%". The underlying thesis is plausibly intact; the
9595
*formalization* required real repair — keystone delivered, remainder
9696
scoped above.
97+
98+
---
99+
100+
# RESUME HERE — priority: the 7 dependent Coq files
101+
102+
**Branch:** `repair/proofs-tier0-2026-05-18` (commits `f388db1`, `cc0d375`;
103+
NOT pushed). Repo: `~/dev/repos/absolute-zero` (WSL Ubuntu).
104+
105+
**Environment / build loop (per file):**
106+
- Coq 8.20 via `nix shell github:NixOS/nixpkgs/nixos-24.11#coq --command …`
107+
- Self-contained complex numbers: `proofs/coq/common/Complex.v` (NO
108+
Coquelicot/mathcomp/HB). Build order: in `proofs/coq/common`,
109+
`coqc -R . CNO CNO.v && coqc -R . CNO Complex.v`; then in the file's
110+
dir: `coqc -R ../common CNO <FILE>.v 2>&1`.
111+
- Edit files via the Edit tool on `\\wsl.localhost\Ubuntu\…` UNC paths,
112+
or PowerShell `base64 | wsl bash` for scripts (PS↔WSL mangles inline
113+
multiline; use the base64-script-file pattern).
114+
- Fix first error → recompile → repeat until `.vo`. **Commit per file**
115+
on the branch as each goes green.
116+
117+
**Recurring bit-rot patterns → fixes (proven in CNO.v/Complex.v):**
118+
1. inversion auto-names (`H3`) → grab by shape: `match goal with H : <pat> |- _ => …`
119+
2. `repeat split` over conjunctions → explicit `split; [|split;[|split]]` + fresh names
120+
3. dead `unfold mem_eq. reflexivity.` ("No such goal") → `all: try (…)`
121+
4. `Open Scope C_scope` captures real `/`, unary `-`, literals →
122+
annotate `%R` (and `%nat` for nat compares like `(k >= n)%nat`)
123+
5. `omega``lia`
124+
6. `lia` can't evaluate `2^n``unfold qubit_dim in *; simpl` first
125+
7. forward-referenced def/axiom → reorder below its dependency
126+
8. Require convention: use `Require Import CNO.CNO.` and
127+
`Require Import CNO.Complex.` (NOT bare `CNO`)
128+
9. axioms duplicating CNO.Complex lemmas → delete (Complex proves them)
129+
130+
**Per-file frontier (start each here):**
131+
- `quantum/QuantumMechanicsExact.v` — ⚠️ `:167` in `apply_matrix_2`
132+
- `quantum/QuantumCNO.v` — ⚠️ `:194` `rewrite <- Cexp_add` shape fails
133+
(`Cexp` is an opaque `Parameter`; may need `Cexp_add` restated, or
134+
prove via the axioms differently)
135+
- `lambda/LambdaCNO.v` — add `Require Import Lia.` then CNO.v-class bit-rot
136+
- `physics/StatMech.v`, `physics/LandauerDerivation.v`,
137+
`malbolge/MalbolgeCore.v`, `category/CNOCategory.v`,
138+
`filesystem/FilesystemCNO.v` — change `Require Import CNO.`
139+
`Require Import CNO.CNO.`, then CNO.v-class bit-rot loop
140+
- (after the 7) Lean `proofs/lean4/CNO.lean` cons-case memory lemma;
141+
then the ~121-axiom audit (post-T0)
142+
143+
**Done & committed:** Agda `CNO.agda` verified; Coq `CNO.v` + `Complex.v`
144+
compile clean. Soundness fix: `state_eq` excludes the program counter.

0 commit comments

Comments
 (0)