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 (x x_1 : Nat) => x + x_1
Instances For
Equations
- Nat.reduceMul = Nat.reduceBin `HMul.hMul 6 fun (x x_1 : Nat) => x * x_1
Instances For
Equations
- Nat.reduceSub = Nat.reduceBin `HSub.hSub 6 fun (x x_1 : Nat) => x - x_1
Instances For
Equations
- Nat.reduceDiv = Nat.reduceBin `HDiv.hDiv 6 fun (x x_1 : Nat) => x / x_1
Instances For
Equations
- Nat.reduceMod = Nat.reduceBin `HMod.hMod 6 fun (x x_1 : Nat) => x % x_1
Instances For
Equations
- One or more equations did not get rendered due to their size.
Instances For
Equations
- Nat.reduceAnd = Nat.reduceBin `HOr.hOr 6 fun (x x_1 : Nat) => x &&& x_1
Instances For
Equations
- Nat.reduceXor = Nat.reduceBin `HXor.hXor 6 fun (x x_1 : Nat) => x ^^^ x_1
Instances For
Equations
- Nat.reduceOr = Nat.reduceBin `HOr.hOr 6 fun (x x_1 : Nat) => x ||| x_1
Instances For
Equations
- Nat.reduceShiftLeft = Nat.reduceBin `HShiftLeft.hShiftLeft 6 fun (x x_1 : Nat) => x <<< x_1
Instances For
Equations
- Nat.reduceShiftRight = Nat.reduceBin `HShiftRight.hShiftRight 6 fun (x x_1 : Nat) => x >>> x_1
Instances For
Equations
- Nat.reduceGcd = Nat.reduceBin `Nat.gcd 2 Nat.gcd
Instances For
Equations
- Nat.reduceLT = Nat.reduceBinPred `LT.lt 4 fun (x x_1 : Nat) => decide (x < x_1)
Instances For
Equations
- Nat.reduceGT = Nat.reduceBinPred `GT.gt 4 fun (x x_1 : Nat) => decide (x > x_1)
Instances For
Equations
- Nat.reduceBEq = Nat.reduceBoolPred `BEq.beq 4 fun (x x_1 : Nat) => x == x_1
Instances For
Equations
- Nat.reduceBNe = Nat.reduceBoolPred `bne 4 fun (x x_1 : Nat) => x != x_1
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
Equations
- One or more equations did not get rendered due to their size.
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 : Lake.Name)
(args : Array Lean.Expr)
:
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.
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.
Instances For
Equations
- Nat.reduceLeDiff = Nat.reduceLTLE `LE.le 4 false
Instances For
Equations
- One or more equations did not get rendered due to their size.