Documentation

Aesop.Search.SearchM

Instances For
Equations
Instances For
instance Aesop.SearchM.instInhabitedState :
{a : Type} → [inst : Inhabited a] → {a_1 : Aesop.Queue a} → Inhabited (Aesop.SearchM.State a)
Equations
  • Aesop.SearchM.instInhabitedState = { default := { iteration := default, queue := default, maxRuleApplicationDepthReached := default } }
Equations
  • Aesop.SearchM.instMonad = Monad.mk
Equations
  • Aesop.SearchM.instMonadRef = { getRef := Lean.getRef, withRef := fun {α : Type} => Lean.MonadRef.withRef }
Equations
  • Aesop.SearchM.instInhabited = { default := failure }
Equations
  • Aesop.SearchM.instMonadStateState = { get := MonadStateOf.get, set := set, modifyGet := fun {α : Type} => MonadStateOf.modifyGet }
Equations
  • Aesop.SearchM.instMonadReaderContext = { read := MonadReaderOf.read }
Equations
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.
def Aesop.SearchM.run {Q : Type} [Aesop.Queue Q] {α : Type} (ruleSet : Aesop.LocalRuleSet) (options : Aesop.Options') (simpConfig : Lean.Meta.Simp.Config) (simpConfigStx? : Option Lean.Term) (goal : Lean.MVarId) (stats : Aesop.Stats) (x : Aesop.SearchM Q α) :
Equations
  • One or more equations did not get rendered due to their size.
Equations
  • Aesop.getIteration = do let __do_liftget pure __do_lift.iteration
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.
Equations
  • One or more equations did not get rendered due to their size.
Equations
  • Aesop.setMaxRuleApplicationDepthReached = modify fun (s : Aesop.SearchM.State Q) => { iteration := s.iteration, queue := s.queue, maxRuleApplicationDepthReached := true }
Equations
  • Aesop.wasMaxRuleApplicationDepthReached = do let __do_liftget pure __do_lift.maxRuleApplicationDepthReached