Configuration for try?.
- main : Bool
If
mainistrue, all functions in the current module are considered for function induction, unfolding, etc. - name : Bool
If
nameistrue, all functions in the same namespace are considered for function induction, unfolding, etc. - targetOnly : Bool
If
targetOnlyistrue,try?collects information using the goal target only. - max : Nat
Maximum number of suggestions.
- missing : Bool
If
missingistrue, allows the construction of partial solutions where some of the subgoals aresorry. - only : Bool
- harder : Bool
If
harderistrue, more expensive tactics and operations are tried. - merge : Bool
- wrapWithBy : Bool
If
wrapWithByistrue, suggestions are wrapped withbyfor term mode usage.
Instances For
Helper internal tactic for implementing the tactic try?.
Equations
Instances For
Helper internal tactic for implementing the tactic try? with parallel execution.
Equations
Instances For
Helper internal tactic for implementing the tactic try? with parallel execution, returning first success.
Equations
Instances For
Helper internal tactic used to implement evalSuggest in try?
Equations
Instances For
register_try?_tactic tac registers a tactic tac as a suggestion generator for the try? tactic.
An optional priority can be specified with register_try?_tactic (priority := 500) tac.
Higher priority generators are tried first. The default priority is 1000.
Equations
Instances For
∎ (typed as \qed) is a macro that expands to try? in tactic mode.
Equations
Instances For
∎ (typed as \qed) is a macro that expands to by try? (wrapWithBy := true) in term mode.
The wrapWithBy config option causes suggestions to be prefixed with by.
Equations
Instances For
Marker for try?-solved subproofs in exact? +try? suggestions.
When exact? uses try? as a discharger, it wraps the proof in this marker
so that the unexpander can replace it with (by try?) in the suggestion.