Lemma database is a collection of lemmas that users
can supply to a tactic. Users only need to provide
the name of the lemma database to the tactic.
Each lemma database has a name, which is internally stored as a Name
.
User can add a lemma to a lemma database (internally, .addLemma),
or combine several existing lemma databases to form a larger
lemma database (internally, .compose), or both.
Note that .compose is dynamic.
- empty : LemDB
- addLemma (lem : Lean.Name) (lemdb : LemDB) : LemDB
- compose (lemdbs : Array Lean.Name) : LemDB
Instances For
Equations
- Auto.instHashableLemDB = { hash := Auto.hashLemDB✝ }
Equations
- Auto.instInhabitedLemDB = { default := Auto.LemDB.empty }
Equations
- Auto.instReprLemDB = { reprPrec := Auto.reprLemDB✝ }
@[reducible, inline]
Equations
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
- Auto.declarelemdb = Lean.ParserDescr.node `Auto.declarelemdb 1022 (Lean.ParserDescr.binary `andthen (Lean.ParserDescr.symbol "#declare_lemdb") (Lean.ParserDescr.const `ident))
Instances For
Equations
- Auto.printlemdb = Lean.ParserDescr.node `Auto.printlemdb 1022 (Lean.ParserDescr.binary `andthen (Lean.ParserDescr.symbol "#print_lemdb") (Lean.ParserDescr.const `ident))
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
- One or more equations did not get rendered due to their size.