Equations
- Aesop.instInhabitedRuleTerm = { default := Aesop.RuleTerm.const default }
Equations
- One or more equations did not get rendered due to their size.
- const (decl : Lean.Name) : ElabRuleTerm
- term (term : Lean.Term) (expr : Lean.Expr) : ElabRuleTerm
Instances For
Equations
- Aesop.instInhabitedElabRuleTerm = { default := Aesop.ElabRuleTerm.const default }
Equations
- One or more equations did not get rendered due to their size.
Equations
- (Aesop.ElabRuleTerm.const decl).expr = Lean.Meta.mkConstWithFreshMVarLevels decl
- (Aesop.ElabRuleTerm.term tm expr).expr = pure expr
Instances For
Equations
Instances For
Equations
- (Aesop.ElabRuleTerm.const decl).name = pure decl
- (Aesop.ElabRuleTerm.term tm expr).name = Aesop.getRuleNameForExpr expr
Instances For
Equations
- (Aesop.ElabRuleTerm.const decl).toRuleTerm = Aesop.RuleTerm.const decl
- (Aesop.ElabRuleTerm.term tm expr).toRuleTerm = Aesop.RuleTerm.term tm
Instances For
Equations
- Aesop.ElabRuleTerm.ofElaboratedTerm tm expr = match expr.constName? with | some decl => Aesop.ElabRuleTerm.const decl | x => Aesop.ElabRuleTerm.term tm expr