The areas / V34. The tactics of Mathlib
Mathlib.Tactic.Observe
3 declarations. Mathlib docs · Source
The observe tactic.
observe hp : p asserts the proposition p, and tries to prove it using exact?.
def Mathlib.Tactic.LibrarySearch.observe E1 #
Lean.ParserDescr
observe hp : p asserts the proposition p as a hypothesis named hp, and tries to prove it
using exact?.
If no proof is found, the tactic fails.
In other words, this tactic is equivalent to have hp : p := by exact?.
observe : puses the namethisfor the new hypothesis.observe? hp : pwill emit a trace message of the formhave hp : p := proof_term. This may be particularly useful to speed up proofs.
def Mathlib.Tactic.LibrarySearch.«tacticObserve?__:_» E1 #
Lean.ParserDescr
observe hp : p asserts the proposition p as a hypothesis named hp, and tries to prove it
using exact?.
If no proof is found, the tactic fails.
In other words, this tactic is equivalent to have hp : p := by exact?.
observe : puses the namethisfor the new hypothesis.observe? hp : pwill emit a trace message of the formhave hp : p := proof_term. This may be particularly useful to speed up proofs.
def Mathlib.Tactic.LibrarySearch.«tacticObserve?__:_Using__,,» E1 #
Lean.ParserDescr
observe hp : p asserts the proposition p as a hypothesis named hp, and tries to prove it
using exact?.
If no proof is found, the tactic fails.
In other words, this tactic is equivalent to have hp : p := by exact?.
observe : puses the namethisfor the new hypothesis.observe? hp : pwill emit a trace message of the formhave hp : p := proof_term. This may be particularly useful to speed up proofs.