Consecutive powers used by coordinate recovery. Certification cannot fail.
Equations
- Hex.QAdjoin.powerTable a = (Hex.AlgebraicPoly.Common.powers? a (2 * Hex.DensePoly.natDegree a.p - 2)).getD (Hex.panicWith #[] "QAdjoin: power table certification failed")
Instances For
Express b in the power basis of a, or return none when b ∉ ℚ(a).
This does not enlarge the chosen field. A real generator rejects nonreal
values before coordinate recovery.
Equations
- Hex.QAdjoin.ofAlgebraic? a b = if (a.isReal && !b.isReal) = true then none else Hex.AlgebraicPoly.Common.coordinates? a b (Hex.QAdjoin.powerTable a)
Instances For
Convert a collection to one chosen field, sharing its power table. The output preserves input order and records nonmembership separately for each entry.
Equations
- One or more equations did not get rendered due to their size.
Instances For
One primitive generator and the input values in its rational power basis.
The public entries name describes arbitrary input collections independently of
AlgebraicPoly.Common.Presentation, whose coefficients field serves polynomial construction.
- generator : AlgebraicNumber
Instances For
Internal check of proposed coordinates against both selected canonical values.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Recover both inputs in a primitive presentation arising from a nonzero integer shift. The polynomial gcd gives candidate coordinates; canonical algebraic equality checks the chosen embeddings.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Internal packaging of a checked pair at one proposed generator.
Equations
- One or more equations did not get rendered due to their size.
Instances For
When shift one has the full product degree, recover and check both input coordinates through its primitive generator.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Internal trace-pairing fallback when the fast pair conversion does not apply.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Find one number field containing every input, preserving order and duplicates.
Empty and all-zero collections use ℚ(0) = ℚ. The primitive-element search can
be expensive; subsequent arithmetic in the resulting QAdjoin uses rational
coordinates without further root isolation.
Equations
- One or more equations did not get rendered due to their size.