Equations
Instances For
@[inline]
def
Char.reduceUnary
{α : Type u_1}
[Lean.ToExpr α]
(declName : Lean.Name)
(op : Char → α)
(arity : Nat := 1)
(e : Lean.Expr)
:
Equations
- One or more equations did not get rendered due to their size.
Instances For
Equations
- Char.reduceToLower = Char.reduceUnary `Char.toLower Char.toLower
Instances For
Equations
- Char.reduceToUpper = Char.reduceUnary `Char.toUpper Char.toUpper
Instances For
Equations
- Char.reduceToNat = Char.reduceUnary `Char.toNat Char.toNat
Instances For
Equations
- Char.reduceIsWhitespace = Char.reduceUnary `Char.isWhitespace Char.isWhitespace
Instances For
Equations
- Char.reduceIsUpper = Char.reduceUnary `Char.isUpper Char.isUpper
Instances For
Equations
- Char.reduceIsLower = Char.reduceUnary `Char.isLower Char.isLower
Instances For
Equations
- Char.reduceIsAlpha = Char.reduceUnary `Char.isAlpha Char.isAlpha
Instances For
Equations
- Char.reduceIsDigit = Char.reduceUnary `Char.isDigit Char.isDigit
Instances For
Equations
- Char.reduceIsAlphaNum = Char.reduceUnary `Char.isAlphanum Char.isAlphanum
Instances For
Equations
- Char.reduceToString = Char.reduceUnary `ToString.toString toString 3
Instances For
Equations
- One or more equations did not get rendered due to their size.
Instances For
Equations
- Char.reduceLT = Char.reduceBinPred `LT.lt 4 fun (x1 x2 : Char) => decide (x1 < x2)
Instances For
Equations
- Char.reduceLE = Char.reduceBinPred `LE.le 4 fun (x1 x2 : Char) => decide (x1 ≤ x2)
Instances For
Equations
- Char.reduceGT = Char.reduceBinPred `GT.gt 4 fun (x1 x2 : Char) => decide (x1 > x2)
Instances For
Equations
- Char.reduceGE = Char.reduceBinPred `GE.ge 4 fun (x1 x2 : Char) => decide (x1 ≥ x2)
Instances For
Equations
- Char.reduceEq = Char.reduceBinPred `Eq 3 fun (x1 x2 : Char) => decide (x1 = x2)
Instances For
Equations
- Char.reduceNe = Char.reduceBinPred `Ne 3 fun (x1 x2 : Char) => decide (x1 ≠ x2)
Instances For
Equations
- Char.reduceBEq = Char.reduceBoolPred `BEq.beq 4 fun (x1 x2 : Char) => x1 == x2
Instances For
Equations
- Char.reduceBNe = Char.reduceBoolPred `bne 4 fun (x1 x2 : Char) => x1 != x2
Instances For
Return .done
for Char values. We don't want to unfold in the symbolic evaluator.
In regular simp
, we want to prevent the nested raw literal from being converted into
a OfNat.ofNat
application. TODO: cleanup
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.