Rule Tactic Types #
- goal : Lean.MVarId
- mvars : Aesop.UnorderedArraySet Lean.MVarId
- indexMatchLocations : Aesop.UnorderedArraySet Aesop.IndexMatchLocation
- options : Aesop.Options'
Input for a rule tactic. Contains:
goal
: the goal on which the rule is run.mvars
: the set of mvars which occur ingoal
.indexMatchLocations
: if the rule is indexed, the locations (e.g. hyps or the target) matched by the rule's index entries. Otherwise an empty set.
Instances For
Equations
- Aesop.instInhabitedRuleTacInput = { default := { goal := default, mvars := default, indexMatchLocations := default, options := default } }
- goals : Array Lean.MVarId
- postState : Lean.Meta.SavedState
- scriptBuilder? : Option Aesop.RuleTacScriptBuilder
A single rule application, representing the application of a tactic to the input goal. Must accurately report the following information:
goals
: the goals generated by the tactic.postState
: theMetaM
state after the tactic was run.scriptBuilder?
: script builder for the tactic. Ifinput.options.generateScript = false
(whereinput
is theRuleTacInput
), this field is ignored, so you can usenone
. If the tactic does not support script generation, also usenone
.
Instances For
Equations
- One or more equations did not get rendered due to their size.
Instances For
- applications : Array Aesop.RuleApplication
The result of a rule tactic is a list of rule applications.
Instances For
Equations
- Aesop.instInhabitedRuleTacOutput = { default := { applications := default } }
Equations
- Aesop.instInhabitedRuleTac = id inferInstance
@[inline]
Equations
- One or more equations did not get rendered due to their size.
Instances For
@[inline]
Instances For
Rule Tactic Descriptions #
Instances For
- decl: Lean.Name → Aesop.CasesTarget
- patterns: Array Aesop.CasesPattern → Aesop.CasesTarget
Instances For
Equations
- Aesop.instInhabitedCasesTarget = { default := Aesop.CasesTarget.decl default }
- applyConst: Lean.Name → Lean.Meta.TransparencyMode → Aesop.RuleTacDescr
- applyFVar: Lean.Name → Lean.Meta.TransparencyMode → Aesop.RuleTacDescr
- constructors: Array Lean.Name → Lean.Meta.TransparencyMode → Aesop.RuleTacDescr
- forwardConst: Lean.Name → Aesop.UnorderedArraySet Nat → Bool → Lean.Meta.TransparencyMode → Aesop.RuleTacDescr
- forwardFVar: Lean.Name → Aesop.UnorderedArraySet Nat → Bool → Lean.Meta.TransparencyMode → Aesop.RuleTacDescr
- cases: Aesop.CasesTarget → Lean.Meta.TransparencyMode → Bool → Aesop.RuleTacDescr
- tacticM: Lean.Name → Aesop.RuleTacDescr
- ruleTac: Lean.Name → Aesop.RuleTacDescr
- singleRuleTac: Lean.Name → Aesop.RuleTacDescr
- preprocess: Aesop.RuleTacDescr
Instances For
Equations
- Aesop.instInhabitedRuleTacDescr = { default := Aesop.RuleTacDescr.applyConst default default }
Equations
- One or more equations did not get rendered due to their size.