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
- Hex.CertificateSyntax.reflTrue = Lean.mkApp2 (Lean.mkConst `Eq.refl [Lean.Level.one]) (Lean.mkConst `Bool) (Lean.mkConst `Bool.true)
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
- Hex.CertificateSyntax.reflFalse = Lean.mkApp2 (Lean.mkConst `Eq.refl [Lean.Level.one]) (Lean.mkConst `Bool) (Lean.mkConst `Bool.false)
Instances For
Reified ZMod64.Bounds p instance: boundsOfDecide p (Eq.refl true).
Equations
- Hex.CertificateSyntax.reifyBounds pE = Lean.mkApp2 (Lean.mkConst `Hex.CertificateSyntax.boundsOfDecide) pE Hex.CertificateSyntax.reflTrue
Instances For
The type Hex.ZMod64 p at a reified prime and bounds instance.
Equations
- Hex.CertificateSyntax.zmodType pE boundsE = Lean.mkApp2 (Lean.mkConst `Hex.ZMod64) pE boundsE
Instances For
The type Hex.FpPoly p at a reified prime and bounds instance.
Equations
- Hex.CertificateSyntax.fpPolyType pE boundsE = Lean.mkApp2 (Lean.mkConst `Hex.FpPoly) pE boundsE
Instances For
Reify a ZMod64 p residue from its canonical Nat representative as
Hex.ZMod64.ofNat p n.
Equations
- Hex.CertificateSyntax.reifyZMod64 pE boundsE n = Lean.mkApp3 (Lean.mkConst `Hex.ZMod64.ofNat) pE (Lean.mkNatLit n) boundsE
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
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.