Equations
Instances For
Equations
Instances For
Instances For
@[reducible, inline]
Equations
Instances For
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
Instances For
The Simp.Context
that used to be used with simpIf
methods. It contains all congruence theorems, but
just the rewriting rules for reducing if
expressions.
This function is only used when the old split
tactic behavior is enabled.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Equations
- Lean.Meta.SplitIf.mkDischarge? useDecide = do let __do_lift ← Lean.getLCtx pure (Lean.Meta.SplitIf.discharge?✝ __do_lift.numIndices useDecide)
Instances For
Equations
- One or more equations did not get rendered due to their size.
Instances For
Simplify the if-then-else
targeted by the split
tactic. If useNewSemantics
is true
, the flag
backward.split
is ignored.
Equations
- One or more equations did not get rendered due to their size.
Instances For
def
Lean.Meta.simpIfLocalDecl
(mvarId : MVarId)
(fvarId : FVarId)
(useNewSemantics : Bool := false)
:
Simplify the if-then-else
targeted by the split
tactic. If useNewSemantics
is true
, the flag
backward.split
is ignored.
Equations
- One or more equations did not get rendered due to their size.
Instances For
def
Lean.Meta.splitIfTarget?
(mvarId : MVarId)
(hName? : Option Name := none)
(useNewSemantics : Bool := false)
:
Split an if-then-else
in the goal target.
If useNewSemantics
is true
, the flag backward.split
is ignored.
Equations
- One or more equations did not get rendered due to their size.