Repository navigation
CBMC: Add CaDiCaL proofs using constant array-bound ranges - #1501
Draft
mkannwischer wants to merge 1 commit into
Draft
mkannwischer wants to merge 1 commit into
mkannwischer wants to merge 1 commit into
Conversation
CBMC's SAT backends need constant quantifier ranges to expand array bounds, but sampling contracts and loop invariants use symbolic range endpoints. Encode these ranges in the shared array-bound predicates so CaDiCaL can prove them without verbose quantifiers at each call site. Quantify over MLDSA_N in array_bound_core, with the requested index range guarding coefficient bounds. Check that both range endpoints are within MLDSA_N so unsupported ranges cannot be silently truncated. array_abs_bound inherits the encoding through its existing wrapper. Add LP64 CaDiCaL configurations for pointwise_acc_native_aarch64, poly_uniform_4x, and poly_uniform_eta_4x. Signed-off-by: Matthias J. Kannwischer <matthias@zerorisc.com>
Contributor
CBMC Results (ML-DSA-44, REDUCE-RAM)
Full Results (410 configurations)
|
Contributor
CBMC Results (ML-DSA-65, REDUCE-RAM)
Full Results (410 configurations)
|
Contributor
CBMC Results (ML-DSA-44)
Full Results (410 configurations)
|
Contributor
CBMC Results (ML-DSA-87, REDUCE-RAM)
Full Results (410 configurations)
|
Contributor
CBMC Results (ML-DSA-65)
Full Results (410 configurations)
|
Contributor
CBMC Results (ML-DSA-87)
Full Results (410 configurations)
|
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.
CBMC's SAT backends need constant quantifier ranges to expand array bounds, but sampling contracts and loop invariants use symbolic range endpoints. Encode these ranges in the shared array-bound predicates so CaDiCaL can prove them without verbose quantifiers at each call site.
Quantify over MLDSA_N in array_bound_core, with the requested index range guarding coefficient bounds. Check that both range endpoints are within MLDSA_N so unsupported ranges cannot be silently truncated. array_abs_bound inherits the encoding through its existing wrapper.
Add LP64 CaDiCaL configurations for pointwise_acc_native_aarch64, poly_uniform_4x, and poly_uniform_eta_4x.