Skip to content

Commit 833a812

Browse files
committed
Remove now-redundant preconditions
Signed-off-by: Rod Chapman <[email protected]>
1 parent c72c4cf commit 833a812

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

mldsa/src/polyvec.h

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -93,8 +93,6 @@ __contract__(
9393
requires(forall(p0, 0, MLDSA_L, array_abs_bound(u->vec[p0].coeffs, 0 , MLDSA_N, MLD_INTT_BOUND)))
9494
requires(forall(p1, 0, MLDSA_L,
9595
array_bound(v->vec[p1].coeffs, 0, MLDSA_N, -(MLDSA_GAMMA1 - 1), MLDSA_GAMMA1 + 1)))
96-
requires(forall(p2, 0, MLDSA_L, forall(p3, 0, MLDSA_N, (int64_t) u->vec[p2].coeffs[p3] + v->vec[p2].coeffs[p3] < REDUCE32_DOMAIN_MAX)))
97-
requires(forall(p4, 0, MLDSA_L, forall(p5, 0, MLDSA_N, (int64_t) u->vec[p4].coeffs[p5] + v->vec[p4].coeffs[p5] >= INT32_MIN)))
9896
assigns(object_whole(u))
9997
ensures(forall(q0, 0, MLDSA_L, forall(q1, 0, MLDSA_N, u->vec[q0].coeffs[q1] == old(*u).vec[q0].coeffs[q1] + v->vec[q0].coeffs[q1])))
10098
ensures(forall(q2, 0, MLDSA_L,
@@ -294,8 +292,6 @@ __contract__(
294292
requires(forall(p0, 0, MLDSA_K, array_abs_bound(u->vec[p0].coeffs, 0, MLDSA_N, MLD_INTT_BOUND)))
295293
requires(forall(p1, 0, MLDSA_K,
296294
array_bound(v->vec[p1].coeffs, 0, MLDSA_N, -REDUCE32_RANGE_MAX, REDUCE32_RANGE_MAX)))
297-
requires(forall(p2, 0, MLDSA_K, forall(p3, 0, MLDSA_N, (int64_t) u->vec[p2].coeffs[p3] + v->vec[p2].coeffs[p3] < REDUCE32_DOMAIN_MAX)))
298-
requires(forall(p4, 0, MLDSA_K, forall(p5, 0, MLDSA_N, (int64_t) u->vec[p4].coeffs[p5] + v->vec[p4].coeffs[p5] >= INT32_MIN)))
299295
assigns(object_whole(u))
300296
ensures(forall(q0, 0, MLDSA_K, forall(q1, 0, MLDSA_N, u->vec[q0].coeffs[q1] == old(*u).vec[q0].coeffs[q1] + v->vec[q0].coeffs[q1])))
301297
ensures(forall(q2, 0, MLDSA_L,

0 commit comments

Comments
 (0)