Skip to content

Commit f1646b8

Browse files
committed
HOL-Light: x86 INTT output bound <=26632 -> <=26631
During #1393, we noticed that the HOL-Light proof for the x86 INTT proves the bound <=26632, while our contract requires <= 26631. This commit corrects the bound in the HOL-Light specification. Signed-off-by: Matthias J. Kannwischer <matthias@kannwischer.eu>
1 parent ee486b6 commit f1646b8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

proofs/hol_light/x86/proofs/mlkem_intt.ml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1187,7 +1187,7 @@ let MLKEM_INTT_NOIBT_SUBROUTINE_CORRECT = prove
11871187
==> let zi =
11881188
read(memory :> bytes16(word_add a (word(2 * i)))) s in
11891189
(ival zi == avx2_inverse_ntt (ival o x) i) (mod &3329) /\
1190-
abs(ival zi) <= &26632))
1190+
abs(ival zi) <= &26631))
11911191
(MAYCHANGE [RSP] ,, MAYCHANGE_REGS_AND_FLAGS_PERMITTED_BY_ABI ,,
11921192
MAYCHANGE [memory :> bytes(a, 512)])`,
11931193
let TWEAK_CONV = ONCE_DEPTH_CONV WORDLIST_FROM_MEMORY_CONV in

0 commit comments

Comments
 (0)