Documentation

Lean.Meta.Tactic.FunIndCollect

Support for collecting function calls that could be used for fun_induction or fun_cases. Used by fun_induction foo, and the Calls structure is also used by try?.

Instances For
    Instances For
      def Lean.Meta.FunInd.SeenCalls.push (e : Expr) (declName : Name) (args : Array Expr) (calls : SeenCalls) :
      Equations
      • One or more equations did not get rendered due to their size.
      Instances For

        Which functions have exactly one candidate application. Used by try? to determine whether we can use fun_induction foo or need fun_induction foo x y z.

        Equations
        • One or more equations did not get rendered due to their size.
        Instances For
          Equations
          Instances For
            def Lean.Meta.FunInd.Collector.visitApp (e : Expr) (declName : Name) (args : Array Expr) :
            Equations
            Instances For
              Equations
              • One or more equations did not get rendered due to their size.
              Instances For
                unsafe def Lean.Meta.FunInd.Collector.main (needle : Name) (mvarId : MVarId) :
                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.FunInd.collect (needle : Name) (mvarId : MVarId) :
                    Equations
                    Instances For