- byTarget : Lean.Meta.DiscrTree (Aesop.Rule α)
- byHyp : Lean.Meta.DiscrTree (Aesop.Rule α)
- unindexed : Lean.PHashSet (Aesop.Rule α)
Instances For
Equations
- Aesop.instInhabitedIndex = { default := { byTarget := default, byHyp := default, unindexed := default } }
def
Aesop.Index.trace
{α : Type}
[ToString (Aesop.Rule α)]
(ri : Aesop.Index α)
(traceOpt : Aesop.TraceOption)
:
Equations
- One or more equations did not get rendered due to their size.
Instances For
def
Aesop.Index.trace.traceArray
{α : Type}
[ToString (Aesop.Rule α)]
(traceOpt : Aesop.TraceOption)
(as : Array (Aesop.Rule α))
:
Equations
- Aesop.Index.trace.traceArray traceOpt as = Array.forM (fun (r : String) => Lean.addTrace traceOpt.traceClass (Lean.toMessageData r)) (Array.map toString as).qsortOrd
Instances For
Equations
- One or more equations did not get rendered due to their size.
Equations
- One or more equations did not get rendered due to their size.
Instances For
@[specialize #[]]
partial def
Aesop.Index.add
{α : Type}
(r : Aesop.Rule α)
(imode : Aesop.IndexingMode)
(ri : Aesop.Index α)
:
Equations
- One or more equations did not get rendered due to their size.
Instances For
@[always_inline]
def
Aesop.Index.unindex.filterDiscrTree'
{α : Type}
(p : Aesop.Rule α → Bool)
(unindexed : Lean.PHashSet (Aesop.Rule α))
(t : Lean.Meta.DiscrTree (Aesop.Rule α))
:
Equations
- One or more equations did not get rendered due to their size.
Instances For
def
Aesop.Index.foldM
{α : Type}
{m : Type u_1 → Type u_1}
{σ : Type u_1}
[Monad m]
(ri : Aesop.Index α)
(f : σ → Aesop.Rule α → m σ)
(init : σ)
:
m σ
Equations
- One or more equations did not get rendered due to their size.
Instances For
@[inline]
def
Aesop.Index.fold
{α : Type}
{σ : Type u_1}
(ri : Aesop.Index α)
(f : σ → Aesop.Rule α → σ)
(init : σ)
:
σ
Equations
- ri.fold f init = (ri.foldM f init).run
Instances For
@[specialize #[]]
def
Aesop.Index.applicableRules
{α : Type}
[Ord α]
(ri : Aesop.Index α)
(goal : Lean.MVarId)
(include? : Aesop.Rule α → Bool)
:
Equations
- One or more equations did not get rendered due to their size.
Instances For
@[inline]
def
Aesop.Index.applicableRules.insertIndexMatchResults
{α : Type}
[Ord α]
(m : Lean.RBMap (Aesop.Rule α) (Array Aesop.IndexMatchLocation) Aesop.Rule.compareByPriorityThenName)
(rs : Array (Aesop.Rule α × Array Aesop.IndexMatchLocation))
:
Lean.RBMap (Aesop.Rule α) (Array Aesop.IndexMatchLocation) Aesop.Rule.compareByPriorityThenName
Equations
- One or more equations did not get rendered due to their size.