Equations
- Aesop.instInhabitedTraceOption = { default := { traceClass := default, option := default } }
Equations
- One or more equations did not get rendered due to their size.
Instances For
def
Aesop.TraceOption.isEnabled
{m : Type → Type}
[Monad m]
[Lean.MonadOptions m]
(opt : Aesop.TraceOption)
:
m Bool
Equations
- Aesop.TraceOption.isEnabled opt = do let __do_lift ← Lean.getOptions pure (Lean.Option.get __do_lift opt.option)
Instances For
def
Aesop.TraceOption.withEnabled
{m : Type → Type}
{α : Type}
[Monad m]
[Lean.MonadWithOptions m]
(opt : Aesop.TraceOption)
(k : m α)
:
m α
Equations
- Aesop.TraceOption.withEnabled opt k = Lean.withOptions (fun opts => Lean.Option.set opts opt.option true) k
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
Equations
- One or more equations did not get rendered due to their size.
Instances For
Equations
Instances For
Equations
Instances For
Equations
- Aesop.rulePostponedEmoji = "⏳️"
Instances For
Equations
Instances For
Instances For
Equations
- Aesop.exceptRuleResultToEmoji toEmoji x = match x with | Except.error a => Aesop.ruleFailureEmoji | Except.ok r => toEmoji r
Instances For
@[always_inline]
def
Aesop.withAesopTraceNode
{m : Type → Type}
{ε : Type}
[Monad m]
[Lean.MonadTrace m]
[MonadLiftT BaseIO m]
[MonadLiftT IO m]
[Lean.MonadRef m]
[Lean.AddMessageContext m]
[Lean.MonadOptions m]
[MonadExcept ε m]
{α : Type}
(opt : Aesop.TraceOption)
(msg : Except ε α → m Lean.MessageData)
(k : m α)
(collapsed : optParam Bool true)
:
m α
Equations
- Aesop.withAesopTraceNode opt msg k collapsed = Lean.withTraceNode opt.traceClass msg k collapsed
Instances For
@[always_inline]
def
Aesop.withConstAesopTraceNode
{m : Type → Type}
{ε : Type}
[Monad m]
[Lean.MonadTrace m]
[MonadLiftT BaseIO m]
[MonadLiftT IO m]
[Lean.MonadRef m]
[Lean.AddMessageContext m]
[Lean.MonadOptions m]
[MonadExcept ε m]
{α : Type}
(opt : Aesop.TraceOption)
(msg : m Lean.MessageData)
(k : m α)
(collapsed : optParam Bool true)
:
m α
Equations
- Aesop.withConstAesopTraceNode opt msg k collapsed = Aesop.withAesopTraceNode opt (fun x => msg) k collapsed
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.