Documentation

Aesop.BaseM

State of the BaseM monad.

  • rulePatternCache : RulePatternCache

    The rule pattern cache.

  • stats : Stats

    Stats collected during an Aesop call.

Instances For
    Equations
    Instances For
      @[implicit_reducible]
      Equations
      @[reducible, inline]
      abbrev Aesop.BaseM (α : Type) :

      Aesop's base monad. Contains no interesting data, only various caches and stats.

      Equations
      Instances For
        def Aesop.BaseM.run {α : Type} (x : BaseM α) (stats : Stats := ) :
        Lean.MetaM (α × Stats)

        Run a BaseM action.

        Equations
        • x.run stats = do let __discrStateRefT'.run x { rulePatternCache := , stats := stats } match __discr with | (a, s) => pure (a, s.stats)
        Instances For
          @[implicit_reducible]
          instance Aesop.BaseM.instMonadHashMapCacheAdapterExprEntry :
          Lean.MonadHashMapCacheAdapter Lean.Expr RulePatternCache.Entry BaseM
          Equations
          • One or more equations did not get rendered due to their size.
          @[implicit_reducible]
          Equations
          • One or more equations did not get rendered due to their size.
          @[implicit_reducible]
          instance Aesop.BaseM.instMonadBacktrackSavedState :
          Lean.MonadBacktrack Lean.Meta.SavedState BaseM
          Equations