Executable integer Bool reducedness checker over the GramSchmidt.Int
representation: leading Gram determinants d and integer scaled Gram-Schmidt
coefficients ν.
Verifies, over integer arithmetic only:
-
independence: every
d[k+1]is positive (k < n); -
size-reduced at
η:η.den · |ν[i][j]| ≤ η.num · d[j+1]for allj < i— the integer form of|μ| ≤ η; -
integer Lovász at
δ:δ.den · (d[i+2] · d[i] + ν[i+1][i]²) ≥ δ.num · d[i+1]²for alli + 1 < n.
No validity hypothesis on η is required: a malformed η (e.g. negative) is
incompatible with a positive d[j+1] and the size-reduced bound, so the
checker simply returns false. Soundness
(lllReducedInt_sound, HexLLLMathlib) bridges to the rational predicate
isLLLReduced via the integer correspondence
(Hex.GramSchmidt.Int.scaledCoeffs_eq, basis_normSq, gramDet_pos).