Equations
- Lean.Meta.SplitKind.ite.considerIte = true
- Lean.Meta.SplitKind.both.considerIte = true
- x✝.considerIte = false
Equations
- Lean.Meta.SplitKind.match.considerMatch = true
- Lean.Meta.SplitKind.both.considerMatch = true
- x✝.considerMatch = false
@[reducible, inline]
def
Lean.Meta.findSplit?
(e : Expr)
(kind : SplitKind := SplitKind.both)
(exceptionSet : ExprSet := ∅)
:
Return an if-then-else
or match-expr
to split.
Equations
- Lean.Meta.findSplit? e kind exceptionSet = do let __do_lift ← Lean.instantiateMVars e Lean.Meta.findSplit?.go kind exceptionSet __do_lift
partial def
Lean.Meta.findSplit?.go
(kind : SplitKind := SplitKind.both)
(exceptionSet : ExprSet := ∅)
(e : Expr)
:
def
Lean.Meta.findSplit?.find?
(kind : SplitKind := SplitKind.both)
(exceptionSet : ExprSet := ∅)
(e : Expr)
:
Equations
- One or more equations did not get rendered due to their size.
Default Simp.Context
for simpIf
methods. It contains all congruence theorems, but
just the rewriting rules for reducing if
expressions.
Equations
- One or more equations did not get rendered due to their size.
Equations
- Lean.Meta.SplitIf.mkDischarge? useDecide = do let __do_lift ← Lean.getLCtx pure (Lean.Meta.SplitIf.discharge?✝ __do_lift.numIndices useDecide)
Equations
- One or more equations did not get rendered due to their size.
Equations
- One or more equations did not get rendered due to their size.