Documentation

HexNumberField.AlgebraicPoly

A coefficient array has no trailing semantic zero. This erased invariant is carried by AlgebraicPoly so downstream correctness theorems may quantify over every value, rather than only values visibly built by ofArray.

Equations
Instances For

    A semantically normalized polynomial with canonical algebraic coefficients. Construction is sealed so every stored array has had its trailing semantic zeros removed.

    Instances For

      Construct a polynomial and remove all trailing coefficients whose canonical minimal polynomial is X.

      Equations
      Instances For

        The normalized coefficient array, in increasing degree order.

        Equations
        Instances For

          Number of stored coefficients.

          Equations
          Instances For

            Coefficient at degree n, defaulting to canonical zero.

            Equations
            Instances For

              Semantic zero test.

              Equations
              Instances For

                Degree of a nonzero polynomial.

                Equations
                Instances For
                  @[reducible, inline]

                  The degree, with the zero polynomial given degree 0, matching DensePoly.natDegree.

                  Equations
                  Instances For

                    Canonical coefficientwise Boolean equality.

                    Equations
                    Instances For