@[reducible, inline]
Equations
Instances For
def
Aesop.ScriptT.run
{m : Type → Type}
{α : Type}
[Monad m]
[MonadLiftT (ST IO.RealWorld) m]
(x : Aesop.ScriptT m α)
:
m (α × Array Aesop.Script.LazyStep)
Equations
- x.run = StateRefT'.run x #[]
Instances For
@[reducible, inline]
Equations
Instances For
def
Aesop.recordScriptStep
{m : Type → Type u_1}
[MonadStateOf (Array Aesop.Script.LazyStep) m]
(step : Aesop.Script.LazyStep)
:
m Unit
Equations
- Aesop.recordScriptStep step = modify fun (x : Array Aesop.Script.LazyStep) => x.push step
Instances For
def
Aesop.recordScriptSteps
{m : Type → Type u_1}
[MonadStateOf (Array Aesop.Script.LazyStep) m]
(steps : Array Aesop.Script.LazyStep)
:
m Unit
Equations
- Aesop.recordScriptSteps steps = modify fun (x : Array Aesop.Script.LazyStep) => x ++ steps
Instances For
def
Aesop.withScriptStep
{α : Type}
(preGoal : Lean.MVarId)
(postGoals : α → Array Lean.MVarId)
(success : α → Bool)
(tacticBuilder : α → Aesop.Script.TacticBuilder)
(x : Lean.MetaM α)
:
Equations
- One or more equations did not get rendered due to their size.
Instances For
def
Aesop.withOptScriptStep
{α : Type}
(preGoal : Lean.MVarId)
(postGoals : α → Array Lean.MVarId)
(tacticBuilder : α → Aesop.Script.TacticBuilder)
(x : Lean.MetaM (Option α))
:
Aesop.ScriptM (Option α)
Equations
- One or more equations did not get rendered due to their size.