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.
Instances For
@[implicit_reducible]
Instances For
A unique identifier corresponding to the origin.
Instances For
@[implicit_reducible]
@[implicit_reducible]
- 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
etaPotentialis non-zero, then the precondition contains meta variables that can be instantiated after applyingmintro ∀setaPotentialmany times. - priority : Nat
Instances For
@[implicit_reducible]
@[implicit_reducible]
Instances For
- specs : Meta.DiscrTree SpecTheorem
Instances For
@[implicit_reducible]
Instances For
Instances For
Instances For
Instances For
Instances For
def
Lean.Elab.Tactic.Do.SpecAttr.mkSpecTheoremFromStx
(ref : Syntax)
(proof : Expr)
(prio : Nat := 1000)
:
Instances For
def
Lean.Elab.Tactic.Do.SpecAttr.SpecExtension.addSpecTheoremFromConst
(ext : SpecExtension)
(declName : Name)
(prio : Nat)
(attrKind : AttributeKind)
:
Instances For
def
Lean.Elab.Tactic.Do.SpecAttr.SpecExtension.addSpecTheoremFromLocal
(ext : SpecExtension)
(fvar : FVarId)
(prio : Nat := 1000)
: