1.8. Cross-references
HexBasic has no dependencies: it imports only Lean and Std, and sits at the
root of the library graph. Nothing depends on all of it, which is the point;
each consumer takes the one or two modules it needs.
-
The
Std.ExtTreeMapmerges are whatHexMvPolybuilds its canonical sparse representation on, withHexMvHenselreusing the same traversals. -
The kernel-reducible containers are taken by the libraries whose certificates are checked by
decide +kernelover concrete arrays:HexMvPoly,HexSparsePoly,HexBerlekampZassenhaus, andHexRealRoots. -
The exact-division contract is shared by the fraction-free algorithms:
HexResultant,HexMvGcd, andHexPolySmitheach cancel a known nonzero factor throughHex.ExactDivLawsrather than carrying their own division hypothesis.HexBareisssolves the same problem one layer down, againstHexArith.Int.exactDivon a fixed carrier. -
The fold algebra travels with the multivariate stack, where sums are indexed by a map's keys:
HexMvPoly,HexMvGcd,HexMvHensel, andHexResultant. -
HexBasichas no Mathlib companion, and needs none. Nothing here states a correspondence: these are Lean and Std facts that happen not to be upstream yet. The Mathlib bridges live in the consuming libraries'*Mathlibcounterparts, which import both this library and Mathlib.