Skip to content

[anneal] Add 3-axiom Anneal.BitVecArith library - #3963

Open
joshlf wants to merge 1 commit into
joshlf-anneal-p2-theory-lebytes-chunksfrom
joshlf-anneal-p2-theory-bitvec-arith
Open

joshlf wants to merge 1 commit into
joshlf-anneal-p2-theory-lebytes-chunksfrom
joshlf-anneal-p2-theory-bitvec-arith

Conversation

@joshlf

@joshlf joshlf commented Nov 20, 2026

Copy link
Copy Markdown
Member

Human review surface

Add theory/Anneal/BitVecArith.lean providing constructive, 3-axiom
bitvector arithmetic, signed comparison, sign extension, arithmetic
right shift, tnum arithmetic soundness, signed/unsigned range bounds,
bit extraction, and byte-swap lemmas for reusable downstream proofs.

Register Anneal.BitVecArith in theory/Anneal.lean, BUNDLE_SOURCES,
bundled_resources.rs, and boundary_audit.rs, and add a live 3-axiom
demand-driven verification test in trusted/cargo-anneal/src/target.rs.

Layer 12 of 19 in the migrated Anneal verification stack under anneal/.

Public Anneal source checkpoint.

Authored by an AI agent acting on joshlf's behalf.

Add theory/Anneal/BitVecArith.lean providing constructive, 3-axiom
bitvector arithmetic, signed comparison, sign extension, arithmetic
right shift, tnum arithmetic soundness, signed/unsigned range bounds,
bit extraction, and byte-swap lemmas for reusable downstream proofs.

Register Anneal.BitVecArith in theory/Anneal.lean, BUNDLE_SOURCES,
bundled_resources.rs, and boundary_audit.rs, and add a live 3-axiom
demand-driven verification test in trusted/cargo-anneal/src/target.rs.

Source: https://github.com/joshlf/anneal/tree/7e28fcdda55d7171142e4aa6df265cb83e061ed9
Agent-authored-by: AI agent acting on joshlf's behalf
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 20, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-20T15:39:37.401651Z afa4a9e PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@joshlf
joshlf added this pull request to stack #3976 November 20, 2026 17:58

This branch has not been deployed

No deployments
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