Repository navigation
Conversation
Add reusable, kernel-checked, 3-axiom BitVec reasoning and demand-driven
bundled theory staging in cargo-anneal:
- theory/Anneal/NatBitwise.lean: centralize Nat.bitwise unfolding and width
bounds so Anneal.MirWp and Anneal.BitVec can be imported together without
duplicate Nat.bitwise.eq_def declarations.
- theory/Anneal/BitVec.lean: 60 width-parametric, 3-axiom theorems covering
disjoint-mask OR injectivity, tristate (tnum) bitvector soundness, unsigned
range arithmetic soundness, structural @Nat.rec clz, and common-prefix
bounds (zero bv_decide / Lean.ofReduceBool).
- trusted/cargo-anneal/src/{bundle,target}.rs: BFS-filter bundled Anneal.*
theory modules so unimported libraries are neither compiled nor recorded in
provenance while preserving strict role-isolation checks and transitive
closure staging, plus live 4-case target audit tests.
Source: https://github.com/joshlf/anneal/tree/348c9ece04316e6390a2231f7d7d089b1fcbbe22
Agent-authored-by: AI agent acting on joshlf's behalf
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Human review surface
Add reusable, kernel-checked, 3-axiom BitVec reasoning and demand-driven
bundled theory staging in cargo-anneal:
bounds so Anneal.MirWp and Anneal.BitVec can be imported together without
duplicate Nat.bitwise.eq_def declarations.
disjoint-mask OR injectivity, tristate (tnum) bitvector soundness, unsigned
range arithmetic soundness, structural @Nat.rec clz, and common-prefix
bounds (zero bv_decide / Lean.ofReduceBool).
theory modules so unimported libraries are neither compiled nor recorded in
provenance while preserving strict role-isolation checks and transitive
closure staging, plus live 4-case target audit tests.
Layer 10 of 19 in the migrated Anneal verification stack under
anneal/.Public Anneal source checkpoint.
Authored by an AI agent acting on joshlf's behalf.