- rule : DisplayRuleName
- elapsed : Nanos
- successful : Bool
Instances For
Equations
- Aesop.instInhabitedRuleStats = { default := { rule := default, elapsed := default, successful := default } }
Equations
- One or more equations did not get rendered due to their size.
- none : ScriptGenerated
- staticallyStructured (perfect hasMVar : Bool) : ScriptGenerated
- dynamicallyStructured (perfect hasMVar : Bool) : ScriptGenerated
Instances For
Equations
- Aesop.instInhabitedScriptGenerated = { default := Aesop.ScriptGenerated.none }
Equations
- Aesop.ScriptGenerated.none.toString = "no"
- (Aesop.ScriptGenerated.staticallyStructured perfect hasMVar).toString = toString "with " ++ toString (Aesop.ScriptGenerated.toString.go perfect) ++ toString " static structuring"
- (Aesop.ScriptGenerated.dynamicallyStructured perfect hasMVar).toString = toString "with " ++ toString (Aesop.ScriptGenerated.toString.go perfect) ++ toString " dynamic structuring"
Instances For
Equations
- Aesop.ScriptGenerated.none.isNontrivial = false
- (Aesop.ScriptGenerated.staticallyStructured perfect hasMVar).isNontrivial = hasMVar
- (Aesop.ScriptGenerated.dynamicallyStructured perfect hasMVar).isNontrivial = hasMVar
Instances For
Equations
- One or more equations did not get rendered due to their size.
Equations
- Aesop.Stats.empty = { total := 0, configParsing := 0, ruleSetConstruction := 0, search := 0, ruleSelection := 0, script := 0, scriptGenerated := Aesop.ScriptGenerated.none, ruleStats := #[] }
Instances For
Equations
- Aesop.Stats.instEmptyCollection = { emptyCollection := Aesop.Stats.empty }
Equations
- Aesop.RuleStatsTotals.empty = { numSuccessful := 0, numFailed := 0, elapsedSuccessful := 0, elapsedFailed := 0 }
Instances For
Equations
- Aesop.RuleStatsTotals.instEmptyCollection = { emptyCollection := Aesop.RuleStatsTotals.empty }
Equations
- Aesop.RuleStatsTotals.compareByTotalElapsed = compareOn fun (totals : Aesop.RuleStatsTotals) => totals.elapsedSuccessful + totals.elapsedFailed
Instances For
def
Aesop.Stats.ruleStatsTotals
(p : Stats)
(init : Std.HashMap DisplayRuleName RuleStatsTotals := ∅)
:
Equations
- One or more equations did not get rendered due to their size.
Instances For
Equations
- One or more equations did not get rendered due to their size.
Instances For
Equations
- One or more equations did not get rendered due to their size.
Instances For
@[reducible, inline]
Equations
Instances For
instance
Aesop.instMonadStatsStateRefT'
{m : Type → Type}
{ω σ : Type}
[MonadStats m]
:
MonadStats (StateRefT' ω σ m)
Equations
- One or more equations did not get rendered due to their size.
instance
Aesop.instMonadStatsReaderT
{m : Type → Type}
{α : Type}
[MonadStats m]
:
MonadStats (ReaderT α m)
Equations
- One or more equations did not get rendered due to their size.
instance
Aesop.instMonadStatsOfMonadOptionsOfMonadStateOfStats
{m : Type → Type}
[Lean.MonadOptions m]
[MonadStateOf Stats m]
:
Equations
- One or more equations did not get rendered due to their size.
@[always_inline]
Equations
- Aesop.isStatsCollectionEnabled = (fun (opts : Lean.Options) => Lean.Option.get opts Aesop.collectStatsOption) <$> Lean.getOptions
Instances For
@[always_inline]
Instances For
@[always_inline]
def
Aesop.isStatsCollectionOrTracingEnabled
{m : Type → Type}
[Monad m]
[Lean.MonadOptions m]
:
m Bool
Equations
Instances For
@[always_inline]
def
Aesop.profiling
{m : Type → Type}
[Monad m]
[MonadStats m]
[MonadLiftT BaseIO m]
{α : Type}
(recordStats : Stats → α → Nanos → Stats)
(x : m α)
:
m α
Equations
- One or more equations did not get rendered due to their size.
Instances For
@[always_inline]
def
Aesop.profilingRuleSelection
{m : Type → Type}
[Monad m]
[MonadStats m]
[MonadLiftT BaseIO m]
{α : Type}
:
m α → m α
Equations
- One or more equations did not get rendered due to their size.
Instances For
@[always_inline]
def
Aesop.profilingRule
{m : Type → Type}
[Monad m]
[MonadStats m]
[MonadLiftT BaseIO m]
{α : Type}
(rule : DisplayRuleName)
(wasSuccessful : α → Bool)
:
m α → m α
Equations
- One or more equations did not get rendered due to their size.
Instances For
Equations
- Aesop.modifyCurrentStats f = do let __do_lift ← Aesop.isStatsCollectionEnabled if __do_lift = true then Aesop.modifyStats f else pure PUnit.unit
Instances For
def
Aesop.recordScriptGenerated
{m : Type → Type}
[Monad m]
[MonadStats m]
(x : ScriptGenerated)
:
m Unit
Equations
- One or more equations did not get rendered due to their size.