Documentation

Lean.Meta.Tactic.Split

Internal exception for discriminant generalization failures due to type errors.

def Lean.Meta.Split.applyMatchSplitter (mvarId : MVarId) (matcherDeclName : Name) (us : Array Level) (params discrs : Array Expr) :
Instances For
    Instances For
      Instances For
        def Lean.Meta.splitTarget? (mvarId : MVarId) (splitIte : Bool := true) (useNewSemantics : Bool := false) :

        Splits an if-then-else of match-expression in the goal target. If useNewSemantics is true, the flag backward.split is ignored. Recall this flag only affects the split of if-then-else expressions.

        Instances For
          Instances For