- steps : Lean.PHashMap Lean.MVarId (Nat × Step)
The tactic invocation steps corresponding to the original unstructured script, but with
MVarIdkeys adjusted to fit the currentMetaMstate. This state evolves during dynamic structuring and we continually update thestepsso that this map's keys refer to metavariables which exist in the currentMetaMstate.
Instances For
Equations
Instances For
def
Aesop.Script.DynStructureM.Context.updateMVarIds
(c : Context)
(map : Std.HashMap Lean.MVarId Lean.MVarId)
:
Given a bijective map map from new MVarIds to old MVarIds, update the
steps of the context c such that each entry whose key is an old MVarId m
is replaced with an entry whose key is the corresponding new MVarId
map⁻¹ m.
Equations
- One or more equations did not get rendered due to their size.
Instances For
@[reducible, inline]
Equations
Instances For
def
Aesop.Script.DynStructureM.run
{α : Type}
(x : DynStructureM α)
(script : UScript)
:
Lean.MetaM (α × Bool)
Equations
- One or more equations did not get rendered due to their size.
Instances For
def
Aesop.Script.withUpdatedMVarIds
{α : Type}
(oldPostState newPostState : Lean.Meta.SavedState)
(oldPostGoals newPostGoals : Array Lean.MVarId)
(onFailure onSuccess : DynStructureM α)
:
Equations
- One or more equations did not get rendered due to their size.
Instances For
- postState : Lean.Meta.SavedState
Instances For
def
Aesop.Script.structureDynamicCore
(preState : Lean.Meta.SavedState)
(preGoal : Lean.MVarId)
(uscript : UScript)
:
Lean.MetaM (Option (UScript × Bool))
Equations
- One or more equations did not get rendered due to their size.
Instances For
partial def
Aesop.Script.structureDynamicCore.go
(preGoal : Lean.MVarId)
(preState : Lean.Meta.SavedState)
(preGoals : Array Lean.MVarId)
:
partial def
Aesop.Script.structureDynamicCore.goStructured
(preGoal : Lean.MVarId)
(preState : Lean.Meta.SavedState)
(preGoals : Array Lean.MVarId)
(firstPreGoal : Lean.MVarId)
:
partial def
Aesop.Script.structureDynamicCore.goUnstructured
(preGoal : Lean.MVarId)
(preState : Lean.Meta.SavedState)
(preGoals : Array Lean.MVarId)
:
partial def
Aesop.Script.structureDynamicCore.applyStepAndSolveRemaining
(preGoal : Lean.MVarId)
(preState : Lean.Meta.SavedState)
(preGoals : Array Lean.MVarId)
:
Lean.MVarId → (goalPos : Nat) → (step : Step) → DynStructureM (Option DynStructureResult)
def
Aesop.Script.UScript.toSScriptDynamic
(preState : Lean.Meta.SavedState)
(preGoal : Lean.MVarId)
(uscript : UScript)
:
Lean.MetaM (Option (SScript × Bool))
Equations
- One or more equations did not get rendered due to their size.