Documentation

Lean.Meta.Tactic.SplitIf

@[inline]
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.
def Lean.Meta.findSplit? (e : Expr) (kind : SplitKind := SplitKind.both) (exceptionSet : ExprSet := ) :

Return an if-then-else or match-expr to split.

Equations
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
Equations
  • One or more equations did not get rendered due to their size.
def Lean.Meta.simpIfTarget (mvarId : MVarId) (useDecide : Bool := false) :
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.
Equations
  • One or more equations did not get rendered due to their size.
def Lean.Meta.splitIfLocalDecl? (mvarId : MVarId) (fvarId : FVarId) (hName? : Option Name := none) :
Equations
  • One or more equations did not get rendered due to their size.