Documentation

HexBerlekamp.CertificateSyntax

theorem Hex.CertificateSyntax.boundsOfDecide (p : Nat) (h : (decide (0 < p) && decide (p < 2 ^ 31)) = true) :

Rebuild a ZMod64.Bounds instance from a single kernel-decidable Boolean check. The reifier emits boundsOfDecide p (Eq.refl true) in every reified instance slot, so the kernel discharges both bounds by reduction.

The literal proof Eq.refl true, accepted in any b = true slot whose left-hand side the kernel can reduce to true.

Equations
Instances For

    The literal proof Eq.refl false, accepted in any b = false slot whose left-hand side the kernel can reduce to false.

    Equations
    Instances For

      Literal Array expression (List.toArray [x₁, …, xₙ] : Array ty).

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

        Reified ZMod64.Bounds p instance: boundsOfDecide p (Eq.refl true).

        Equations
        Instances For

          The type Hex.ZMod64 p at a reified prime and bounds instance.

          Equations
          Instances For

            The type Hex.FpPoly p at a reified prime and bounds instance.

            Equations
            Instances For

              Reify a ZMod64 p residue from its canonical Nat representative as Hex.ZMod64.ofNat p n.

              Equations
              Instances For

                Reify an FpPoly p from the canonical Nat representatives of its coefficients as Hex.FpPoly.ofCoeffs #[…].

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

                  Canonical Nat representatives of an FpPoly p's coefficient array.

                  Equations
                  Instances For

                    Reify a RabinBezoutWitness p as a constructor application over reified FpPoly values.

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

                      Reify a nested Rabin IrreducibilityCertificate as a constructor application over its reified prime, pow chain, and Bezout witnesses.

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

                        Serialized view of a nested Rabin certificate.

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