Helpers for synthesizing the optional instances attached to a classified ring:
IsCharP, PowIdentity, and NoNatZeroDivisors.
Returns the PowIdentity instance, the CommSemiring instance it was synthesized against,
and the evaluated exponent p.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Order instances. Each returns none (with a debug issue) when synthInstance? fails.
def Lean.Meta.Sym.Arith.mkLawfulOrderLTInst? (u : Level) (type : Expr) (ltInst? leInst? : Option Expr) :
Equations
- One or more equations did not get rendered due to their size.
- Lean.Meta.Sym.Arith.mkLawfulOrderLTInst? u type (some charInst) leInst? = pure none
- Lean.Meta.Sym.Arith.mkLawfulOrderLTInst? u type ltInst? leInst? = pure none