@[inline]
Equations
Instances For
Equations
- One or more equations did not get rendered due to their size.
Instances For
- preState : Lean.Meta.SavedState
- preGoal : Lean.MVarId
- tactic : Aesop.Script.Tactic
- postState : Lean.Meta.SavedState
- postGoals : Array Aesop.GoalWithMVars
Instances For
def
Aesop.Script.TacticState.applyStep
{m : Type → Type}
[Monad m]
[Lean.MonadError m]
(tacticState : Aesop.Script.TacticState)
(step : Aesop.Script.Step)
:
Equations
- tacticState.applyStep step = tacticState.applyTactic step.preGoal step.postGoals step.preState.meta.mctx step.postState.meta.mctx
Instances For
Equations
- s.uTactic = s.tactic.uTactic
Instances For
Equations
- s.sTactic? = s.tactic.sTactic?
Instances For
Equations
- One or more equations did not get rendered due to their size.
Equations
- One or more equations did not get rendered due to their size.
Instances For
def
Aesop.Script.Step.render
{m : Type → Type}
[Monad m]
[Lean.MonadError m]
(acc : Array Lean.Syntax.Tactic)
(step : Aesop.Script.Step)
(tacticState : Aesop.Script.TacticState)
:
Equations
- One or more equations did not get rendered due to their size.
Instances For
Equations
- One or more equations did not get rendered due to their size.
Instances For
def
Aesop.Script.Step.validate.fmtGoals
(state : Lean.Meta.SavedState)
(goals : Array Lean.MVarId)
:
Equations
- One or more equations did not get rendered due to their size.
Instances For
- preState : Lean.Meta.SavedState
- preGoal : Lean.MVarId
- tacticBuilders : Array Aesop.Script.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. - tacticBuilders_ne : 0 < self.tacticBuilders.size
- postState : Lean.Meta.SavedState
- postGoals : Array Lean.MVarId
Instances For
theorem
Aesop.Script.LazyStep.tacticBuilders_ne
(self : Aesop.Script.LazyStep)
:
0 < self.tacticBuilders.size
Equations
- One or more equations did not get rendered due to their size.
Instances For
Equations
- One or more equations did not get rendered due to their size.
Instances For
- tac : Lean.MetaM α
- postGoals : α → Array Lean.MVarId
- tacticBuilder : α → Aesop.Script.TacticBuilder
Instances For
@[always_inline]
def
Aesop.Script.LazyStep.build
{α : Type}
(preGoal : Lean.MVarId)
(i : Aesop.Script.LazyStep.BuildInput α)
:
Equations
- One or more equations did not get rendered due to their size.
Instances For
def
Aesop.Script.LazyStep.erasePostStateAssignments
(s : Aesop.Script.LazyStep)
(gs : Array Lean.MVarId)
:
Equations
- One or more equations did not get rendered due to their size.