Options for the builders. Most options are only relevant for certain builders.
- indexingMode? : Option Aesop.IndexingMode
- casesPatterns? : Option (Array Aesop.CasesPattern)
- pattern? : Option Aesop.RulePattern
- transparency? : Option Lean.Meta.TransparencyMode
The transparency used by the rule tactic.
- indexTransparency? : Option Lean.Meta.TransparencyMode
The transparency used for indexing the rule. Currently, the rule is not indexed unless this is
.reducible
.
Instances For
Equations
- One or more equations did not get rendered due to their size.
Equations
- Aesop.RuleBuilderOptions.default = { immediatePremises? := none, indexingMode? := none, casesPatterns? := none, pattern? := none, transparency? := none, indexTransparency? := none }
Instances For
def
Aesop.RuleBuilderOptions.getIndexingModeM
{m : Type → Type u_1}
[Monad m]
(dflt : m Aesop.IndexingMode)
(opts : Aesop.RuleBuilderOptions)
:
Equations
- Aesop.RuleBuilderOptions.getIndexingModeM dflt opts = match opts.indexingMode? with | none => dflt | some imode => pure imode
Instances For
- 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
- options : Aesop.RuleBuilderOptions
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 → Aesop.RuleBuilderOptions → Lean.MetaM Aesop.RuleBuilderResult)
:
Equations
- One or more equations did not get rendered due to their size.