Documentation

Aesop.Search.SearchM

  • toContext : Lean.Meta.Simp.Context
  • enabled : Bool
  • useHyps : Bool
  • configStx? : Option Lean.Term
  • simprocs : Lean.Meta.Simp.SimprocsArray
Instances For
    Equations
    Instances For
      Instances For
        structure Aesop.SearchM.State (Q : Type) [Queue Q] :
        • iteration : Iteration
        • queue : Q
        • maxRuleApplicationDepthReached : Bool
        Instances For
          @[implicit_reducible]
          instance Aesop.SearchM.instInhabitedState {aโœ : Type} [Inhabited aโœ] {aโœยน : Queue aโœ} :
          Inhabited (State aโœ)
          Equations
          def Aesop.SearchM.instInhabitedState.default {aโœ : Type} [Inhabited aโœ] {aโœยน : Queue aโœ} :
          State aโœ
          Equations
          Instances For
            @[reducible, inline]
            abbrev Aesop.SearchM (Q : Type) [Queue Q] (ฮฑ : Type) :
            Equations
            Instances For
              @[implicit_reducible]
              instance Aesop.SearchM.instMonad {Q : Type} [Queue Q] :
              Monad (SearchM Q)
              Equations
              @[implicit_reducible]
              instance Aesop.SearchM.instMonadRef {Q : Type} [Queue Q] :
              Lean.MonadRef (SearchM Q)
              Equations
              @[implicit_reducible]
              instance Aesop.SearchM.instInhabited {Q : Type} [Queue Q] {ฮฑ : Type} :
              Inhabited (SearchM Q ฮฑ)
              Equations
              @[implicit_reducible]
              instance Aesop.SearchM.instMonadStateState {Q : Type} [Queue Q] :
              MonadState (State Q) (SearchM Q)
              Equations
              @[implicit_reducible]
              instance Aesop.SearchM.instMonadReaderContext {Q : Type} [Queue Q] :
              MonadReader Context (SearchM Q)
              Equations
              @[implicit_reducible]
              instance Aesop.SearchM.instMonadLiftTreeM {Q : Type} [Queue Q] :
              MonadLift TreeM (SearchM Q)
              Equations
              • One or more equations did not get rendered due to their size.
              def Aesop.SearchM.run' {Q : Type} [Queue Q] {ฮฑ : Type} (ctx : Context) (ฯƒ : State Q) (tree : Tree) (x : SearchM Q ฮฑ) :
              BaseM (ฮฑ ร— State Q ร— Tree)
              Equations
              • Aesop.SearchM.run' ctx ฯƒ tree x = do let __discr โ† ((ReaderT.run x ctx).run ฯƒ).run { tree := tree } match __discr with | ((a, ฯƒ), t) => pure (a, ฯƒ, t.tree)
              Instances For
                def Aesop.SearchM.run {Q : Type} [Queue Q] {ฮฑ : Type} (ruleSet : LocalRuleSet) (options : Options') (simpConfig : Lean.Meta.Simp.Config) (simpConfigStx? : Option Lean.Term) (goal : Lean.MVarId) (x : SearchM Q ฮฑ) :
                BaseM (ฮฑ ร— State Q ร— Tree)
                Equations
                • One or more equations did not get rendered due to their size.
                Instances For
                  Equations
                  Instances For
                    def Aesop.setTree {Q : Type} [Queue Q] :
                    Tree โ†’ SearchM Q Unit
                    Equations
                    Instances For
                      def Aesop.modifyTree {Q : Type} [Queue Q] :
                      (Tree โ†’ Tree) โ†’ SearchM Q Unit
                      Equations
                      Instances For
                        Equations
                        Instances For
                          Equations
                          • One or more equations did not get rendered due to their size.
                          Instances For
                            def Aesop.popGoal? {Q : Type} [Queue Q] :
                            SearchM Q (Option GoalRef)
                            Equations
                            • One or more equations did not get rendered due to their size.
                            Instances For
                              def Aesop.enqueueGoals {Q : Type} [Queue Q] (gs : Array GoalRef) :
                              SearchM Q Unit
                              Equations
                              • One or more equations did not get rendered due to their size.
                              Instances For
                                Equations
                                Instances For