The Mathlib Handbook

The volumes of the handbook are not written yet. This site shows the map of Mathlib that they will follow, at Mathlib 4472534b60.

The areas / V34. The tactics of Mathlib

Mathlib.Tactic.Inclusion.ExtensionAPI.Basic

11 declarations. Mathlib docs · Source

def Inclusion.InclusionM.getParam? E1 #

Lean.Name → Inclusion.InclusionM (Option Lean.Expr)

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

def Inclusion.InclusionM.getParam E1 #

Lean.Name → Inclusion.InclusionM Lean.Expr

Return the value of parameter name.

def Inclusion.HypothesisM.getParam? E1 #

Lean.Name → Inclusion.HypothesisM (Option Lean.Expr)

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

def Inclusion.HypothesisM.getParam E1 #

Lean.Name → Inclusion.HypothesisM Lean.Expr

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

def Inclusion.delabIVarDisplay E1 #

Lean.PrettyPrinter.Delaborator.Delab

Delaborate an inclusion set variable as I[e].

def Inclusion.mkIVar E1 #

Inclusion.IExpr → optParam (Option Lean.Expr) none → Inclusion.InclusionM Inclusion.IVar

Create and register an inclusion variable for iExpr.

def Inclusion.mkNDIVarExt E1 #

Lean.Name →
  Inclusion.IType →
    optParam (Inclusion.InclusionM (Option Lean.Expr)) (pure none) →
      optParam ℕ 100 → autoParam Lean.Name Inclusion.mkNDIVarExt._auto_1 → Inclusion.InclusionExt

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

def Inclusion.findIVar? E1 #

Lean.Expr → Inclusion.HypothesisM (Option Inclusion.IVar)

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

def Inclusion.ensureOutputType E1 #

Inclusion.IType → Inclusion.IType → Lean.MetaM Unit

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

def Inclusion.mkHypExprInclusionBody E1 #

Lean.Expr → Inclusion.HypothesisM Inclusion.ExprInclusionBody

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

def Inclusion.addInclusionHyp E1 #

Inclusion.IExpr → Inclusion.ExprInclusionBody → Inclusion.HypothesisM Unit

Add the inclusion hypothesis body for iExpr.