- visibleGoals : Array GoalWithMVars
- invisibleGoals : Std.HashSet Lean.MVarId
Instances For
@[instance_reducible]
Equations
Equations
Instances For
Equations
- ts.getVisibleGoalIndex? goal = Array.findIdx? (fun (x : Aesop.GoalWithMVars) => x.goal == goal) ts.visibleGoals
Instances For
def Aesop.Script.TacticState.getVisibleGoalIndex {m : Type → Type} [Monad m] [Lean.MonadError m] (ts : TacticState) (goal : Lean.MVarId) :
m Nat
Equations
- One or more equations did not get rendered due to their size.
Instances For
Equations
- ts.getMainGoal? = Option.map (fun (x : Aesop.GoalWithMVars) => x.goal) ts.visibleGoals[0]?
Instances For
Equations
- ts.visibleGoalsHaveMVars = ts.visibleGoals.any fun (g : Aesop.GoalWithMVars) => !g.mvars.isEmpty
Instances For
Equations
- ts.solveVisibleGoals = { visibleGoals := #[], invisibleGoals := ts.invisibleGoals }
Instances For
def Aesop.Script.TacticState.eraseSolvedGoals (ts : TacticState) (preMCtx postMCtx : Lean.MetavarContext) :
Equations
- One or more equations did not get rendered due to their size.
Instances For
def Aesop.Script.TacticState.applyTactic {m : Type → Type} [Monad m] [Lean.MonadError m] (ts : TacticState) (inGoal : Lean.MVarId) (outGoals : Array GoalWithMVars) (preMCtx postMCtx : Lean.MetavarContext) :
Equations
- One or more equations did not get rendered due to their size.
Instances For
def Aesop.Script.TacticState.focus {m : Type → Type} [Monad m] [Lean.MonadError m] (ts : TacticState) (goal : Lean.MVarId) :
Equations
- One or more equations did not get rendered due to their size.
Instances For
@[always_inline]
def Aesop.Script.TacticState.onGoalM {m : Type → Type} [Monad m] [Lean.MonadError m] {α : Type} (ts : TacticState) (g : Lean.MVarId) (f : TacticState → m (α × TacticState)) :
m (α × TacticState)
Equations
- One or more equations did not get rendered due to their size.