Repository navigation
Partial translator for arm8 and riscv contract conditions to BIR - #224
Merged
Merged
Conversation
palmskog
force-pushed
the
contract-translator
branch
from
November 6, 2026 10:11
05eb6c4 to
8c7982b
Compare
…nditions to BIR (arm8_bir_condLib), generating bspec_max_pre/post and their relation theorems
…theory/tools/backlifter), support word arithmetic and casts, write ==> as a disjunction; examples/arm8/update_sat: generate BIR contract conditions with it; AGENTS.md: note the experimental translator
…eneration for isqrt example
…slator in *_spec_bir
…rm8 example to use it
…rom arm8 translator, port riscv examples isqrt and swap as tests
…y words, evaluate closed words to literals, widen equations on narrow fields; in kernel-trap, generate BIR contract conditions with the RISC-V translator
…_to_bir_thm (after checking new names are free); *_spec_bir scripts in translator examples reduce to val _ = calls, *_prop scripts use the new names
… translator examples use <c>_bir_def and bir_cont_* names
palmskog
force-pushed
the
contract-translator
branch
from
November 6, 2026 12:09
8c7982b to
07b755c
Compare
palmskog
marked this pull request as ready for review
November 6, 2026 12:09
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.
This is a limited-scope proof-producing translator from a small subset of
boolused in arm8 and riscv contracts to BIR, trying to reuse the existing expression lifters as much as possible.