suggest
and library_search
#
suggest
and library_search
are a pair of tactics for applying lemmas from the library to the
current goal.
suggest
prints a list ofexact ...
orrefine ...
statements, which may produce new goalslibrary_search
prints a singleexact ...
which closes the goal, or fails
@[protected, instance]
@[protected, instance]
- ex : tactic.suggest.head_symbol_match
- mp : tactic.suggest.head_symbol_match
- mpr : tactic.suggest.head_symbol_match
- both : tactic.suggest.head_symbol_match
A declaration can match the head symbol of the current goal in four possible ways:
a textual representation of a head_symbol_match
, for trace debugging.
Equations
- tactic.suggest.head_symbol_match.both.to_string = "iff.mp and iff.mpr"
- tactic.suggest.head_symbol_match.mpr.to_string = "iff.mpr"
- tactic.suggest.head_symbol_match.mp.to_string = "iff.mp"
- tactic.suggest.head_symbol_match.ex.to_string = "exact"