Documentation

Lean.Meta.Tactic.FunIndInfo

This module defines the data structure and environment extension to remember how to map the function's arguments to the functional induction principle's arguments. Also used for functional cases.

A FunIndInfo indicates how a function's arguments map to the arguments of the functional induction (resp. cases) theorem.

The size of params also indicates the arity of the function.

  • funIndName : Name
  • levelMask : Array Bool

    true means that the corresponding level parameter of the function is also a level param of the induction principle.

Instances For
    Equations
    Equations
    Instances For
      Equations
      Instances For
        Equations
        Instances For
          def Lean.Meta.getFunInduct? (cases : Bool) (declName : Name) :
          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
              Equations
              Instances For
                Equations
                • One or more equations did not get rendered due to their size.
                Instances For