Equations
- Fin.fromExpr? e = do let __discr ← liftM (Lean.Meta.getFinValue? e) match __discr with | some { fst := n, snd := value } => pure (some { n := n, value := value }) | x => pure none
Instances For
Equations
- Fin.reduceAdd = Fin.reduceBin `HAdd.hAdd 6 fun {n : Nat} (x x_1 : Fin n) => x + x_1
Instances For
Equations
- Fin.reduceMul = Fin.reduceBin `HMul.hMul 6 fun {n : Nat} (x x_1 : Fin n) => x * x_1
Instances For
Equations
- Fin.reduceSub = Fin.reduceBin `HSub.hSub 6 fun {n : Nat} (x x_1 : Fin n) => x - x_1
Instances For
Equations
- Fin.reduceDiv = Fin.reduceBin `HDiv.hDiv 6 fun {n : Nat} (x x_1 : Fin n) => x / x_1
Instances For
Equations
- Fin.reduceMod = Fin.reduceBin `HMod.hMod 6 fun {n : Nat} (x x_1 : Fin n) => x % x_1
Instances For
Equations
- Fin.reduceLT = Fin.reduceBinPred `LT.lt 4 fun (x x_1 : Nat) => decide (x < x_1)
Instances For
Equations
- Fin.reduceLE = Fin.reduceBinPred `LE.le 4 fun (x x_1 : Nat) => decide (x ≤ x_1)
Instances For
Equations
- Fin.reduceGT = Fin.reduceBinPred `GT.gt 4 fun (x x_1 : Nat) => decide (x > x_1)
Instances For
Equations
- Fin.reduceGE = Fin.reduceBinPred `GE.ge 4 fun (x x_1 : Nat) => decide (x ≥ x_1)
Instances For
Equations
- Fin.reduceEq = Fin.reduceBinPred `Eq 3 fun (x x_1 : Nat) => decide (x = x_1)
Instances For
Equations
- Fin.reduceNe = Fin.reduceBinPred `Ne 3 fun (x x_1 : Nat) => decide (x ≠ x_1)
Instances For
Equations
- Fin.reduceBEq = Fin.reduceBoolPred `BEq.beq 4 fun (x x_1 : Nat) => x == x_1
Instances For
Equations
- Fin.reduceBNe = Fin.reduceBoolPred `bne 4 fun (x x_1 : Nat) => x != x_1
Instances For
Simplification procedure for ensuring Fin
literals are normalized.
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.