Documentation

Lean.Meta.Tactic.SplitIf

Instances For
    Instances For
      @[reducible, inline]
      Equations
        Instances For
          @[inline]
          Equations
            Instances For
              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
                    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
                        Instances For
                          Equations
                            Instances For
                              Equations
                                Instances For
                                  def Lean.Meta.simpIfTarget (mvarId : MVarId) (useDecide useNewSemantics : Bool := false) :

                                  Simplify the if-then-else targeted by the split tactic. If useNewSemantics is true, the flag backward.split is ignored.

                                  Equations
                                    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
                                        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
                                            Instances For
                                              def Lean.Meta.splitIfLocalDecl? (mvarId : MVarId) (fvarId : FVarId) (hName? : Option Name := none) :

                                              Split an if-then-else in the hypothesis fvarId.

                                              Equations
                                                Instances For