Attributes for inclusion extensions #
This file defines the attributes used to register inclusion and hypothesis extensions.
Syntax for registering an inclusion parameter using the inclusion_param attribute.
Equations
- Inclusion.inclusionParamAttr = Lean.ParserDescr.node `Inclusion.inclusionParamAttr 1024 (Lean.ParserDescr.nonReservedSymbol "inclusion_param" false)
Instances For
Add the inclusion parameter declared by declName.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Syntax for declaring an inclusion extension using the inclusion_ext attribute.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Add the inclusion extension declName under keys.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Syntax for declaring a hypothesis extension using the hypothesis_ext attribute.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Add the hypothesis extension declName under keys.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Equations
Equations
- Inclusion.instToExprHypArg = { toExpr := Inclusion.instToExprHypArg.toExpr, toTypeExpr := Lean.Expr.const `Inclusion.HypArg [] }
Equations
- Inclusion.instToExprHypArg.toExpr { elemIdx := a, setIdx := a_1, proofIdx := a_2 } = (((Lean.Expr.const `Inclusion.HypArg.mk []).app (Lean.toExpr a)).app (Lean.toExpr a_1)).app (Lean.toExpr a_2)
Instances For
Equations
Equations
- Inclusion.instToExprParamArg.toExpr { name := a, idx := a_1 } = ((Lean.Expr.const `Inclusion.ParamArg.mk []).app (Lean.toExpr a)).app (Lean.toExpr a_1)
Instances For
Equations
- Inclusion.instToExprParamArg = { toExpr := Inclusion.instToExprParamArg.toExpr, toTypeExpr := Lean.Expr.const `Inclusion.ParamArg [] }
Apply the inclusion theorem theoremName to e, recursively constructing the inclusion bodies
specified by hypArgs and filling the registered parameter arguments specified by paramArgs.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Apply the hypothesis theorem theoremName to h as its source hypothesis at sourceIdx,
recursively constructing the closed inclusion bodies specified by hypArgs and filling the
registered parameter arguments specified by paramArgs.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Syntax for registering an inclusion extension from a theorem using the inclusion_op
attribute.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Syntax for registering a hypothesis extension from a theorem using the hypothesis_op
attribute.
Equations
- One or more equations did not get rendered due to their size.