@[implicit_reducible]
Equations
- One or more equations did not get rendered due to their size.
@[implicit_reducible]
Equations
- One or more equations did not get rendered due to their size.
Lift a DDM AST constructor that takes a polymorphic annotation value to the expression level with the correct number of arguments.
For example, astExpr! ArgF.ident ann returns a function that expects one
Lean expression and returns another.
Equations
- StrataDDM.astExprElab = Lean.ParserDescr.node `StrataDDM.astExprElab 1024 (Lean.ParserDescr.binary `andthen (Lean.ParserDescr.symbol "astExpr!") (Lean.ParserDescr.const `ident))
Instances For
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
- One or more equations did not get rendered due to their size.
Instances For
@[implicit_reducible]
Equations
- StrataDDM.SyntaxCatF.instToExpr = { toExpr := StrataDDM.SyntaxCatF.instToExpr._private_1, toTypeExpr := StrataDDM.SyntaxCatF.instToExpr._private_3 }
@[implicit_reducible]
Equations
- StrataDDM.TypeExprF.instToExpr = { toExpr := StrataDDM.TypeExprF.instToExpr._private_1, toTypeExpr := StrataDDM.TypeExprF.instToExpr._private_3 }
@[implicit_reducible]
Equations
- StrataDDM.ExprF.instToExpr = { toExpr := StrataDDM.ExprF.instToExpr._private_1, toTypeExpr := StrataDDM.ExprF.instToExpr._private_3 }
@[implicit_reducible]
Equations
- StrataDDM.ArgF.instToExpr = { toExpr := StrataDDM.ArgF.instToExpr._private_1, toTypeExpr := StrataDDM.ArgF.instToExpr._private_3 }
@[implicit_reducible]
Equations
- StrataDDM.OperationF.instToExpr = { toExpr := StrataDDM.OperationF.instToExpr._private_1, toTypeExpr := StrataDDM.OperationF.instToExpr._private_3 }
@[implicit_reducible]
Equations
- StrataDDM.SourceRange.instToExpr = { toExpr := fun (e : StrataDDM.SourceRange) => StrataDDM.SourceRange.instToExpr._private_1 e, toTypeExpr := StrataDDM.SourceRange.instToExpr._private_3 }
@[implicit_reducible]
instance
StrataDDM.Ann.instToExpr
{Base α : Type}
[Lean.ToExpr Base]
[Lean.ToExpr α]
:
Lean.ToExpr (Ann Base α)
Equations
- StrataDDM.Ann.instToExpr = { toExpr := fun (a : StrataDDM.Ann Base α) => StrataDDM.Ann.instToExpr._private_1 a, toTypeExpr := StrataDDM.Ann.instToExpr._private_3 }
@[implicit_reducible]
Equations
- StrataDDM.PreType.instToExpr = { toExpr := StrataDDM.PreType.instToExpr._private_1, toTypeExpr := StrataDDM.PreType.instToExpr._private_3 }
@[implicit_reducible]
Equations
- One or more equations did not get rendered due to their size.
@[implicit_reducible]
Equations
- One or more equations did not get rendered due to their size.
@[implicit_reducible]
Equations
- One or more equations did not get rendered due to their size.
@[implicit_reducible]
Equations
- One or more equations did not get rendered due to their size.
@[implicit_reducible]
Equations
@[implicit_reducible]
Equations
- StrataDDM.MetadataAttr.instToExpr = { toExpr := fun (a : StrataDDM.MetadataAttr) => StrataDDM.MetadataAttr.instToExpr._private_1 a, toTypeExpr := StrataDDM.MetadataAttr.instToExpr._private_3 }
@[implicit_reducible]
Equations
- StrataDDM.Metadata.instToExpr = { toExpr := fun (m : StrataDDM.Metadata) => StrataDDM.Metadata.instToExpr._private_1 m, toTypeExpr := StrataDDM.Metadata.instToExpr._private_3 }
@[implicit_reducible]
Equations
@[implicit_reducible]
Equations
- StrataDDM.ArgDecl.instToExpr = { toExpr := fun (b : StrataDDM.ArgDecl) => StrataDDM.ArgDecl.instToExpr._private_1 b, toTypeExpr := StrataDDM.ArgDecl.instToExpr._private_3 }
@[implicit_reducible]
Equations
@[implicit_reducible]
Equations
- StrataDDM.SyntaxDef.instToExpr = { toExpr := StrataDDM.SyntaxDef.instToExpr._private_1, toTypeExpr := StrataDDM.SyntaxDef.instToExpr._private_5 }
@[implicit_reducible]
Equations
- StrataDDM.SynCatDecl.instToExpr = { toExpr := fun (d : StrataDDM.SynCatDecl) => StrataDDM.SynCatDecl.instToExpr._private_1 d, toTypeExpr := StrataDDM.SynCatDecl.instToExpr._private_3 }
@[implicit_reducible]
Equations
- One or more equations did not get rendered due to their size.
def
StrataDDM.DatatypeBindingSpec.toExpr
{argDecls : ArgDecls}
(b : DatatypeBindingSpec argDecls)
(argDeclsExpr : Lean.Expr)
:
Equations
- One or more equations did not get rendered due to their size.
Instances For
def
StrataDDM.TvarBindingSpec.toExpr
{argDecls : ArgDecls}
(b : TvarBindingSpec argDecls)
(argDeclsExpr : Lean.Expr)
:
Equations
- b.toExpr argDeclsExpr = Lean.mkApp2 (Lean.mkConst `StrataDDM.TvarBindingSpec.mk) argDeclsExpr (Lean.toExpr b.nameIndex)
Instances For
@[implicit_reducible]
Equations
- StrataDDM.ArgDecls.instToExpr = { toExpr := fun (a : StrataDDM.ArgDecls) => StrataDDM.ArgDecls.instToExpr._private_1 a, toTypeExpr := StrataDDM.ArgDecls.instToExpr._private_3 }
@[implicit_reducible]
Equations
- StrataDDM.OpDecl.instToExpr = { toExpr := fun (d : StrataDDM.OpDecl) => StrataDDM.OpDecl.instToExpr._private_1 d, toTypeExpr := StrataDDM.OpDecl.instToExpr._private_3 }
@[implicit_reducible]
Equations
- StrataDDM.TypeDecl.instToExpr = { toExpr := fun (d : StrataDDM.TypeDecl) => StrataDDM.TypeDecl.instToExpr._private_1 d, toTypeExpr := StrataDDM.TypeDecl.instToExpr._private_3 }
@[implicit_reducible]
Equations
- StrataDDM.FunctionDecl.instToExpr = { toExpr := fun (d : StrataDDM.FunctionDecl) => StrataDDM.FunctionDecl.instToExpr._private_1 d, toTypeExpr := StrataDDM.FunctionDecl.instToExpr._private_3 }
@[implicit_reducible]
Equations
@[implicit_reducible]
Equations
- One or more equations did not get rendered due to their size.
@[implicit_reducible]
Equations
- StrataDDM.MetadataDecl.instToExpr = { toExpr := fun (d : StrataDDM.MetadataDecl) => StrataDDM.MetadataDecl.instToExpr._private_1 d, toTypeExpr := StrataDDM.MetadataDecl.instToExpr._private_3 }
@[implicit_reducible]
Equations
- StrataDDM.Decl.Decl.instToExpr = { toExpr := StrataDDM.Decl.Decl.instToExpr._private_1, toTypeExpr := StrataDDM.Decl.Decl.instToExpr._private_5 }
@[implicit_reducible]
Equations
- StrataDDM.Dialect.instToExpr = { toExpr := fun (d : StrataDDM.Dialect) => StrataDDM.Dialect.instToExpr._private_1 d, toTypeExpr := StrataDDM.Dialect.instToExpr._private_3 }
@[implicit_reducible]
Equations
- StrataDDM.DialectMap.instToExpr = { toExpr := fun (d : StrataDDM.DialectMap) => StrataDDM.DialectMap.instToExpr._private_1 d, toTypeExpr := StrataDDM.DialectMap.instToExpr._private_3 }
@[implicit_reducible]
Equations
- StrataDDM.Program.instToExpr = { toExpr := fun (ms : StrataDDM.Program) => StrataDDM.Program.instToExpr._private_1 ms, toTypeExpr := StrataDDM.Program.instToExpr._private_3 }