Documentation

Lean.Meta.Tactic.SplitIf

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

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

                        Equations
                        • One or more equations did not get rendered due to their size.
                        Instances For