Documentation

Aesop.Index

instance Aesop.instInhabitedIndex {a✝ : Type} :
Equations
def Aesop.Index.trace {α : Type} [ToString (Rule α)] (ri : Index α) (traceOpt : TraceOption) :
Equations
  • One or more equations did not get rendered due to their size.
def Aesop.Index.trace.traceArray {α : Type} [ToString (Rule α)] (traceOpt : TraceOption) (as : Array (Rule α)) :
Equations
Equations
  • One or more equations did not get rendered due to their size.
def Aesop.Index.merge {α : Type} (ri₁ ri₂ : Index α) :
Equations
  • One or more equations did not get rendered due to their size.
@[specialize #[]]
partial def Aesop.Index.add {α : Type} (r : Rule α) (imode : IndexingMode) (ri : Index α) :
def Aesop.Index.unindex {α : Type} (ri : Index α) (p : Rule αBool) :
Equations
  • One or more equations did not get rendered due to their size.
@[always_inline]
Equations
  • One or more equations did not get rendered due to their size.
def Aesop.Index.foldM {α : Type} {m : Type u_1 → Type u_1} {σ : Type u_1} [Monad m] (ri : Index α) (f : σRule αm σ) (init : σ) :
m σ
Equations
  • One or more equations did not get rendered due to their size.
@[inline]
def Aesop.Index.fold {α : Type} {σ : Type u_1} (ri : Index α) (f : σRule ασ) (init : σ) :
σ
Equations
  • ri.fold f init = (ri.foldM f init).run
@[specialize #[]]
def Aesop.Index.applicableRules {α : Type} [Ord α] (ri : Index α) (goal : Lean.MVarId) (include? : Rule αBool) :
Equations
  • One or more equations did not get rendered due to their size.