Skip to content

Prove the counting invariant (CVE-2024-53104 core) sorry-free; add roadmap and open challenges - #2

Merged
klausnat merged 9 commits into
mainfrom
close-theorem-a
Jul 30, 2026
Merged

Prove the counting invariant (CVE-2024-53104 core) sorry-free; add roadmap and open challenges#2
klausnat merged 9 commits into
mainfrom
close-theorem-a

Conversation

@klausnat

Copy link
Copy Markdown
Collaborator

Proves the counting-vs-writes invariant block of theorem (A), the core of the CVE-2024-53104 property, machine-checked sorry-free (counting_monotone, step_replay(_gen), replay, additive, plus a reusable Aeneas loop-invariant principle loop_ok_inv). #print axioms confirms standard axioms only.

Remaining for full (A): parse_no_div, frame_loop_invariant, assembly (tracked in ROADMAP.md).

Also adds ROADMAP.md (honest proof status, known hard problems) and OPEN_CHALLENGES.md (takeable contribution tasks).

klausnat and others added 9 commits July 21, 2026 17:12
lakefile.lean required Aeneas from ../../../aeneas-project/... which only exists
locally, so the Lean project could not build from a clean clone (blocking the
external prover). Convert to a git dependency pinned to the exact version the
spike uses — AeneasVerif/aeneas @ c2015b8668ba6d5b41f5f19d00a881c12bbb0b5d
(charon-pin 909ff09a / v0.1.220), subdir backends/lean, Lean/mathlib v4.31.0.

Verified from a clean state (fresh dir, no .lake/manifest): lake update + lake
exe cache get + lake build all exit 0 and build UvcParse + NoPanic. Regenerated
lake-manifest.json records aeneas as a git dep at that commit (subDir
backends/lean); it also corrects a stale root package name copied from the
Binder spike (spike_binder_verif -> uvc_parse_verif). No proof, theorem, or
NoPanic/UvcParse content changed (axiom audit identical: 5 sorry-free, 5
sorryAx).

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
…found the unbounded-a,b,c statement false); dischargeable from WellFormed (iv)

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@klausnat
klausnat merged commit 765fe4b into main Jul 30, 2026
@klausnat
klausnat deleted the close-theorem-a branch July 30, 2026 12:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant