This attribute should not be used directly.
It is an implementation detail of the mvcgen
tactic.
The simp set accumulated by the @[spec]
attribute.
(This does not include Hoare triple specs.)
It is an implementation detail of the mvcgen
tactic.
Equations
Instances For
A unique identifier corresponding to the origin.
Equations
Instances For
Equations
- keys : Array Meta.DiscrTree.Key
- prog : Expr
Expr key tested for matching, in ∀-quantified form.
keys = (← mkPath (← forallMetaTelescope prog).2.2)
. - proof : SpecProof
The proof for the theorem.
- etaPotential : Nat
If
etaPotential
is non-zero, then the precondition contains meta variables that can be instantiated after applyingmintro ∀s
etaPotential
many times. - priority : Nat
Instances For
Equations
@[reducible, inline]
Equations
Instances For
- specs : Meta.DiscrTree SpecTheorem
Instances For
Equations
Equations
Instances For
Equations
Instances For
@[reducible, inline]
Equations
Instances For
Equations
Instances For
Equations
Instances For
def
Lean.Elab.Tactic.Do.SpecAttr.mkSpecTheoremFromStx
(ref : Syntax)
(proof : Expr)
(prio : Nat := 1000)
:
Equations
Instances For
Equations
Instances For
def
Lean.Elab.Tactic.Do.SpecAttr.addSpecTheorem
(ext : SpecExtension)
(declName : Name)
(prio : Nat)
(attrKind : AttributeKind)
: