- global: Lean.Name → Aesop.RuleBuilderKind
- local: Lean.Name → Lean.MVarId → Aesop.RuleBuilderKind
Instances For
Equations
- One or more equations did not get rendered due to their size.
Instances For
- phase : Aesop.PhaseName
- kind : Aesop.RuleBuilderKind
Instances For
- builder : Aesop.BuilderName
- tac : Aesop.RuleTacDescr
- indexingMode : Aesop.IndexingMode
Instances For
Equations
- Aesop.instInhabitedRegularRuleBuilderResult = { default := { builder := default, tac := default, indexingMode := default } }
- regular: Aesop.RegularRuleBuilderResult → Aesop.RuleBuilderResult
- globalSimp: Array Lean.Meta.SimpEntry → Aesop.RuleBuilderResult
- localSimp: Lean.Name → Aesop.RuleBuilderResult
- unfold: Aesop.UnfoldRule → Aesop.RuleBuilderResult
Instances For
Equations
- Aesop.instInhabitedRuleBuilderResult = { default := Aesop.RuleBuilderResult.regular default }
- global: Aesop.RuleBuilderResult → Aesop.RuleBuilderOutput
- local: Lean.MVarId → Aesop.RuleBuilderResult → Aesop.RuleBuilderOutput
Instances For
@[inline, reducible]
Invariant: if the RuleBuilderInput
contains a RuleBuilderKind.local
,
then the builder returns a RuleBuilderOutput.local
, and similar for
RuleBuilderKind.global
.
Instances For
Equations
- One or more equations did not get rendered due to their size.
Instances For
def
Aesop.RuleBuilder.ofGlobalRuleBuilder
(name : Aesop.BuilderName)
(globalBuilder : Aesop.PhaseName → Lean.Name → Lean.MetaM Aesop.RuleBuilderResult)
:
Equations
- One or more equations did not get rendered due to their size.
Instances For
- indexingMode? : Option Aesop.IndexingMode
Instances For
Equations
- Aesop.instInhabitedRegularBuilderOptions = { default := { indexingMode? := default } }
Equations
- Aesop.RegularBuilderOptions.default = { indexingMode? := none }
Instances For
def
Aesop.RegularBuilderOptions.getIndexingModeM
{m : Type → Type u_1}
[Monad m]
(dflt : m Aesop.IndexingMode)
(opts : Aesop.RegularBuilderOptions)
:
Equations
- Aesop.RegularBuilderOptions.getIndexingModeM dflt opts = match opts.indexingMode? with | none => dflt | some imode => pure imode