Documentation

Mathlib.Tactic.Inclusion.ExtensionAPI.Basic

Basic API for inclusion extensions #

This file defines helpers for safely interacting with the InclusionM and HypothesisM monads when constructing extensions for the inclusion tactic.

Return the value of parameter name, if it was supplied or has a default.

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

    Return the value of parameter name.

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

      Return the value of parameter name, if it was supplied or has a default.

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

        Return the value of parameter name, or report that it was not supplied.

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

          Delaborate an inclusion set variable as I[e].

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

            Create and register an inclusion variable for iExpr.

            Equations
            • One or more equations did not get rendered due to their size.
            Instances For
              def Inclusion.mkNDIVarExt (family : Lean.Name) (iType : IType) (mkCover? : InclusionM (Option Lean.Expr) := pure none) (priority : := 100) (name : Lean.Name := by exact decl_name%) :

              Construct an inclusion extension for making non dependently typed inclusion variables.

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

                Return the inclusion variable registered for e, if there is one.

                Equations
                Instances For
                  def Inclusion.ensureOutputType (type expectedType : IType) :

                  Check that two inclusion types are definitionally equal, including their chosen ToSet instances.

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

                    Construct a closed inclusion body for an expression argument of a hypothesis rule.

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

                      Add the inclusion hypothesis body for iExpr.

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