On nonzero inputs, the executable simple-root predicate is exactly squarefreeness of the rational cast.
Equivalent separability form of the executable simple-root predicate.
theorem
HexRootsMathlib.HasOnlySimpleRoots.separable
{p : Hex.ZPoly}
(h : Hex.HasOnlySimpleRoots p)
(hp : p ≠ 0)
:
A nonzero executable polynomial with only simple roots has separable rational cast.