Documentation

HexNumberField.Disambiguate

Remove zero roots and content from a candidate-evaluation eliminant.

Equations
Instances For

    Denominator in the reciprocal-Cauchy lower bound |z| ≥ 1 / (1 + height q) for a nonzero root z of the normalized evaluation eliminant.

    Equations
    Instances For
      def Hex.Disambiguation.evalMajorant {A : Type} [Zero A] [DecidableEq A] (f : DensePoly A) (valueBound : ANat) (q : ZPoly) :

      Error-amplification majorant for Horner evaluation at a root of q, parameterized by an integer magnitude bound on coefficients so tower elements can reuse the same recurrence. The factor two on the root bound covers the |re| + |im| centre magnitude used by complex-ball multiplication; the three extra propagated-error units cover centre-radius conversion and the bilinear radius term.

      Equations
      • One or more equations did not get rendered due to their size.
      Instances For

        Ceiling of the absolute value of a rational, computed with integer arithmetic.

        Equations
        Instances For

          Integer magnitude majorant for a fixed-field coordinate evaluated at any root of its defining polynomial.

          Equations
          Instances For

            Error-amplification majorant for Horner evaluation at a root of q.

            The state tracks a value bound V and a coefficient of the common input error E. For (acc * y) + c, coefficient errors are at most one nominal unit. The update E' = 2*V + 2*B*E + 3*E + 1 covers root error, the |re| + |im| inflation in propagated accumulator error, their product, and coefficient error.

            Equations
            Instances For
              def Hex.evalDisambiguationLimit (q : ZPoly) (majorant : Nat) :

              The specified finite search endpoint ceilLog2(ceil(2 * (1 + height(q)) * C)) + 2. All inputs are integral, so the displayed ceiling is already exact.

              Equations
              Instances For
                def Hex.evalRadiusSmall (q : ZPoly) (radius : Dyadic) :

                The evaluation radius is below one third of the reciprocal-Cauchy lower bound, written without division as 3 * D * radius < 1. The factor three is needed because Hex.DyadicComplexBall.excludesZero uses the centre's maximum coordinate, which can be a factor sqrt 2 below its Euclidean norm.

                Equations
                Instances For
                  def Hex.evalDisambiguationPrec (q : ZPoly) (majorant : Nat) (evalAt : NatOption DyadicComplexBall) :

                  Least precision in the finite prescribed range whose certified Horner ball has sufficiently small radius. A failed ball construction is skipped; the companion proves that the endpoint succeeds for the shipped evaluators.

                  Equations
                  • One or more equations did not get rendered due to their size.
                  Instances For
                    def Hex.retainZero? (q : ZPoly) (majorant : Nat) (evalAt : NatOption DyadicComplexBall) :

                    Decide whether a candidate evaluation can be zero. A zero eliminant is retained immediately. Otherwise evaluate at the first sufficiently small precision and retain exactly when the certified ball does not exclude zero.

                    Equations
                    • One or more equations did not get rendered due to their size.
                    Instances For