Equations
Instances For
Equations
- Nat.reduceSucc = Nat.reduceUnary `Nat.succ 1 fun (x : Nat) => x + 1
Instances For
Equations
- Nat.reduceAdd = Nat.reduceBin `HAdd.hAdd 6 fun (x1 x2 : Nat) => x1 + x2
Instances For
Equations
- Nat.reduceSub = Nat.reduceBin `HSub.hSub 6 fun (x1 x2 : Nat) => x1 - x2
Instances For
Equations
- Nat.reduceDiv = Nat.reduceBin `HDiv.hDiv 6 fun (x1 x2 : Nat) => x1 / x2
Instances For
Equations
- Nat.reduceMod = Nat.reduceBin `HMod.hMod 6 fun (x1 x2 : Nat) => x1 % x2
Instances For
Equations
- One or more equations did not get rendered due to their size.
Instances For
Equations
- Nat.reduceXor = Nat.reduceBin `HXor.hXor 6 fun (x1 x2 : Nat) => x1 ^^^ x2
Instances For
Equations
- Nat.reduceOr = Nat.reduceBin `HOr.hOr 6 fun (x1 x2 : Nat) => x1 ||| x2
Instances For
Equations
- Nat.reduceShiftRight = Nat.reduceBin `HShiftRight.hShiftRight 6 fun (x1 x2 : Nat) => x1 >>> x2
Instances For
Equations
- Nat.reduceLT = Nat.reduceBinPred `LT.lt 4 fun (x1 x2 : Nat) => decide (x1 < x2)
Instances For
Equations
- Nat.reduceGT = Nat.reduceBinPred `GT.gt 4 fun (x1 x2 : Nat) => decide (x1 > x2)
Instances For
Equations
- Nat.reduceBNe = Nat.reduceBoolPred `bne 4 fun (x1 x2 : Nat) => x1 != x2
Instances For
Return .done
for Nat values. We don't want to unfold in the symbolic evaluator.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Instances For
- decide: Bool → Nat.EqResult
- false: Lean.Expr → Nat.EqResult
- eq: Lean.Expr → Lean.Expr → Lean.Expr → Nat.EqResult
Instances For
def
Nat.applyEqLemma
(e : Lean.Expr → Nat.EqResult)
(lemmaName : Lean.Name)
(args : Array Lean.Expr)
:
Instances For
Equations
- One or more equations did not get rendered due to their size.
Instances For
Equations
- One or more equations did not get rendered due to their size.
Instances For
Equations
- One or more equations did not get rendered due to their size.