Documentation

HexLLLMathlib.Interval

Embedding an integer at scale S gives an interval containing that integer.

theorem HexLLLMathlib.sub_mem {S : } {I J : Hex.Internal.Ival} {x y : } (hx : Hex.Internal.Ival.mem S I x) (hy : Hex.Internal.Ival.mem S J y) :

Subtracting containing intervals gives an interval containing the difference.

Acceptance by the fixed-precision interval checker entails the exact rational reducedness predicate and independence. This is the trusted statement consumed by lllReducedCheck_sound / certCheck_sound; the exact-integer fallback path is covered by lllReduced_sound.