This attribute should not be used directly. It is an implementation detail of loom2 tactics.
The simp set accumulated by the @[lspec] attribute.
(This does not include Hoare triple specs.)
Instances For
- global (declName : Lean.Name) : SpecProof
- local (fvarId : Lean.FVarId) : SpecProof
- stx (id : Lean.Name) (ref : Lean.Syntax) (proof : Lean.Expr) : SpecProof
Instances For
@[implicit_reducible]
A unique identifier corresponding to the origin.
Instances For
Instances For
@[implicit_reducible]
- keys : Array Lean.Meta.DiscrTree.Key
- prog : Lean.Expr
Expr key tested for matching, in ∀-quantified form.
keys = (← mkPath (← forallMetaTelescope prog).2.2). - pattern : Option Lean.Meta.Sym.Pattern
Pattern for matching the program expression. Populated by
migrateSpecTheoremsDatabase. - proof : SpecProof
The proof for the theorem.
- priority : Nat
Instances For
@[implicit_reducible]
- specs : Lean.Meta.DiscrTree SpecTheorem
- erased : Lean.PHashSet SpecProof
Instances For
@[implicit_reducible]
Instances For
Instances For
Instances For
Instances For
Instances For
def
Loom.Tactic.SpecAttr.mkSpecTheoremFromStx
(ref : Lean.Syntax)
(proof : Lean.Expr)
(prio : Nat := 1000)
:
Instances For
def
Loom.Tactic.SpecAttr.SpecExtension.addSpecTheoremFromConst
(ext : SpecExtension)
(declName : Lean.Name)
(prio : Nat)
(attrKind : Lean.AttributeKind)
:
Instances For
def
Loom.Tactic.SpecAttr.SpecExtension.addSpecTheoremFromLocal
(ext : SpecExtension)
(fvar : Lean.FVarId)
(prio : Nat := 1000)
: