Proofs/Isabelle: Add Neon NTT formalization and conformance harness#1135
Open
hanno-becker wants to merge 1 commit into
Open
Proofs/Isabelle: Add Neon NTT formalization and conformance harness#1135hanno-becker wants to merge 1 commit into
hanno-becker wants to merge 1 commit into
Conversation
c7448dc to
b06e842
Compare
Contributor
CBMC Results (ML-DSA-44, REDUCE-RAM)Full Results (200 proofs)
|
b06e842 to
4bbad97
Compare
Contributor
CBMC Results (ML-DSA-87, REDUCE-RAM)Full Results (200 proofs)
|
Contributor
CBMC Results (ML-DSA-65, REDUCE-RAM)Full Results (200 proofs)
|
Contributor
CBMC Results (ML-DSA-44)Full Results (200 proofs)
|
Contributor
CBMC Results (ML-DSA-87)Full Results (200 proofs)
|
Contributor
CBMC Results (ML-DSA-65)Full Results (200 proofs)
|
2d3a07e to
9dd281e
Compare
76deab1 to
c6d01a3
Compare
This commit adds additional formal documentation of the approach to modular arithmetic used in various assembly kernels in mldsa-native and mlkem-native. Specifically, it adds source and final PDF document for an Isabelle/HOL formalization of the original "Neon NTT" paper [1] of Becker, Hwang, Kannwischer, Yang, and Yang. The documentation was obtained as human-directed auto-formalization using Claude Opus 4.7 + the AutoCorrode I/Q + I/R AI integration infrastructure for Isabelle. The commit also adds a conformance testing harness to empirically validate that the ad-hoc instructions models used in the formalization match concrete execution on an AArch64 host. CI is extended to re-build the PDF and build+run the conformance testing. [1]: - Becker, Hwang, Kannwischer, Yang, Yang - Neon NTT: Faster Dilithium, Kyber, and Saber on Cortex-A72 and Apple M1 - [https://eprint.iacr.org/2021/986](https://eprint.iacr.org/2021/986) Signed-off-by: Hanno Becker <beckphan@amazon.co.uk>
c6d01a3 to
436dce7
Compare
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 commit adds additional formal documentation of the approach to
modular arithmetic used in various assembly kernels in mldsa-native
and mlkem-native.
Specifically, it adds source and final PDF document for an Isabelle/HOL
formalization of the original "Neon NTT" paper [1] of Becker, Hwang,
Kannwischer, Yang, and Yang.
The documentation was obtained as human-directed auto-formalization
using Claude Opus 4.7 + the AutoCorrode I/Q + I/R AI integration
infrastructure for Isabelle.
The commit also adds a conformance testing harness to empirically
validate that the ad-hoc instructions models used in the formalization
match concrete execution on an AArch64 host.
CI is extended to re-build the PDF and build+run the conformance testing.
[1]: