@[instance_reducible]
Equations
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 : TraceOption) :
m Bool
Equations
- opt.isEnabled = do let __do_lift ← Lean.getOptions pure (Lean.Option.get __do_lift opt.option)
Instances For
def Aesop.TraceOption.withEnabled {m : Type → Type} {α : Type} [Lean.MonadWithOptions m] (opt : TraceOption) (k : m α) :
m α
Equations
- opt.withEnabled k = Lean.withOptions (fun (opts : Lean.Options) => 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
Instances For
Instances For
Equations
- Aesop.exceptRuleResultToEmoji toEmoji (Except.error a) = Aesop.ruleFailureEmoji
- Aesop.exceptRuleResultToEmoji toEmoji (Except.ok r) = toEmoji r
Instances For
@[always_inline]
def Aesop.withAesopTraceNode {m : Type → Type} {ε : Type} [Monad m] [Lean.MonadTrace m] [MonadLiftT BaseIO m] [Lean.MonadRef m] [Lean.AddMessageContext m] [Lean.MonadOptions m] [Lean.MonadAlwaysExcept ε m] {α : Type} [Lean.ExceptToTraceResult ε α] (opt : TraceOption) (msg : Except ε α → m Lean.MessageData) (k : m α) (collapsed : Bool := true) :
m α
Equations
- Aesop.withAesopTraceNode opt msg k collapsed = Lean.withTraceNode opt.traceClass msg k collapsed
Instances For
@[always_inline]
def Aesop.withAesopTraceNodeBefore {m : Type → Type} {ε : Type} [Monad m] [Lean.MonadTrace m] [MonadLiftT BaseIO m] [Lean.MonadRef m] [Lean.AddMessageContext m] [Lean.MonadOptions m] [Lean.MonadAlwaysExcept ε m] {α : Type} [Lean.ExceptToTraceResult ε α] (opt : TraceOption) (msg : m Lean.MessageData) (k : m α) (collapsed : Bool := true) :
m α
Equations
- Aesop.withAesopTraceNodeBefore opt msg k collapsed = Lean.withTraceNodeBefore opt.traceClass (fun (x : Unit) => msg) k collapsed
Instances For
@[always_inline]
def Aesop.withConstAesopTraceNode {m : Type → Type} {ε : Type} [Monad m] [Lean.MonadTrace m] [MonadLiftT BaseIO m] [Lean.MonadRef m] [Lean.AddMessageContext m] [Lean.MonadOptions m] [Lean.MonadAlwaysExcept ε m] {α : Type} [Lean.ExceptToTraceResult ε α] (opt : TraceOption) (msg : m Lean.MessageData) (k : m α) (collapsed : Bool := true) :
m α
Equations
- Aesop.withConstAesopTraceNode opt msg k collapsed = Aesop.withAesopTraceNode opt (fun (x : Except ε α) => 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.