Given a : Nat, returns (a', h) such that a' : Int, and h : NatCast.natCast a = a'
Equations
- One or more equations did not get rendered due to their size.
Instances For
Given x whose denotation is e, if e is of the form NatCast.natCast a,
asserts that it is nonnegative.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Equations
- Lean.Meta.Grind.Arith.Cutsat.isNatTerm e = do let __do_lift ← Lean.Meta.Grind.Arith.Cutsat.get' pure (Lean.PersistentHashMap.contains __do_lift.natToIntMap { expr := e })