Given e, returns (NatCast.natCast e, rfl).
The new term ↑e is internalized before e is marked as a solver term: marking replays pending
equalities of e into processNewEq, which reifies ↑e.
Equations
- One or more equations did not get rendered due to their size.
Instances For
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 })