Equations
Instances For
- preState : Lean.Meta.SavedState
- preGoal : Lean.MVarId
- tactic : Tactic
- postState : Lean.Meta.SavedState
- postGoals : Array GoalWithMVars
Instances For
def
Aesop.Script.TacticState.applyStep
{m : Type → Type}
[Monad m]
[Lean.MonadError m]
(tacticState : TacticState)
(step : Step)
:
Equations
Instances For
Equations
Instances For
def
Aesop.Script.Step.render
{m : Type → Type}
[Monad m]
[Lean.MonadError m]
(acc : Array Lean.Syntax.Tactic)
(step : Step)
(tacticState : TacticState)
:
Equations
Instances For
def
Aesop.Script.Step.validate.fmtGoals
(state : Lean.Meta.SavedState)
(goals : Array Lean.MVarId)
:
Equations
Instances For
- preState : Lean.Meta.SavedState
- preGoal : Lean.MVarId
- tacticBuilders : Array TacticBuilder
A nonempty list of tactic builders. During script generation, Aesop tries to execute the builders from left to right. It then uses the first builder that succceds (in the sense that when run in
preState
onpreGoal
it produces thepostState
andpostGoals
). The last builder must succeed and is used unconditionally. - postState : Lean.Meta.SavedState
- postGoals : Array Lean.MVarId
Instances For
Equations
Instances For
def
Aesop.Script.LazyStep.runFirstSuccessfulTacticBuilder.tryTacticBuilder
(s : LazyStep)
(b : TacticBuilder)
:
Equations
Instances For
- tac : Lean.MetaM α
- postGoals : α → Array Lean.MVarId
- tacticBuilder : α → TacticBuilder
Instances For
@[always_inline]
def
Aesop.Script.LazyStep.build
{α : Type}
(preGoal : Lean.MVarId)
(i : BuildInput α)
:
Lean.MetaM (LazyStep × α)