Helper function to synthesize a typed CharZero α
expression given Ring α
.
Equations
- Mathlib.Meta.NormNum.inferCharZeroOfRing _i = do let __do_lift ← Qq.synthInstanceQ q(CharZero «$α») <|> Lean.throwError (Lean.toMessageData "not a characteristic zero ring") pure __do_lift
Instances For
Helper function to synthesize a typed CharZero α
expression given Ring α
, if it exists.
Equations
- Mathlib.Meta.NormNum.inferCharZeroOfRing? _i = do let __do_lift ← Qq.trySynthInstanceQ q(CharZero «$α») pure __do_lift.toOption
Instances For
Helper function to synthesize a typed CharZero α
expression given AddMonoidWithOne α
.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Helper function to synthesize a typed CharZero α
expression given AddMonoidWithOne α
, if it
exists.
Equations
- Mathlib.Meta.NormNum.inferCharZeroOfAddMonoidWithOne? _i = do let __do_lift ← Qq.trySynthInstanceQ q(CharZero «$α») pure __do_lift.toOption
Instances For
Helper function to synthesize a typed CharZero α
expression given DivisionRing α
.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Helper function to synthesize a typed CharZero α
expression given Divisionsemiring α
, if it
exists.
Equations
- Mathlib.Meta.NormNum.inferCharZeroOfDivisionSemiring? _i = do let __do_lift ← Qq.trySynthInstanceQ q(CharZero «$α») pure __do_lift.toOption
Instances For
Helper function to synthesize a typed CharZero α
expression given DivisionRing α
, if it
exists.
Equations
- Mathlib.Meta.NormNum.inferCharZeroOfDivisionRing? _i = do let __do_lift ← Qq.trySynthInstanceQ q(CharZero «$α») pure __do_lift.toOption
Instances For
The norm_num
extension which identifies an expression RatCast.ratCast q
where norm_num
recognizes q
, returning the cast of q
.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Main part of evalInv
.
Equations
- One or more equations did not get rendered due to their size.