Documentation

Lean.Meta.Tactic.Split

Equations
    Instances For
      Equations
        Instances For

          Internal exception for discriminant generalization failures due to type errors.

          Equations
            Instances For
              def Lean.Meta.Split.applyMatchSplitter (mvarId : MVarId) (matcherDeclName : Name) (us : Array Level) (params discrs : Array Expr) :
              Equations
                Instances For
                  Equations
                    Instances For
                      Equations
                        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.

                          Equations
                            Instances For
                              Equations
                                Instances For