The root solver receives exactly X^n - a.
theorem
Hex.AlgebraicNumber.Radical.fast?_value
(a : AlgebraicNumber)
{n : ℕ}
(hn : 1 < n)
(ha : a.toComplex ≠ 0)
{out : AlgebraicRoot}
(h : fast? a (polynomial a n).roots.toArray = some out)
:
The lazy branch selector returns the same principal value as the exact reference.
@[simp]
The executable nth root agrees with Mathlib's principal complex power.
@[simp]
Every positive-index radical is a root of the expected equation.
@[simp]
The executable square root uses Mathlib's principal branch.