/
Ltac1Dummy.v
21 lines (16 loc) · 995 Bytes
/
Ltac1Dummy.v
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
Declare ML Module "ltac_plugin".
Tactic Notation (at level 4) "search" "with" "cache" tactic3(t) := fail
"'search with cache' has been renamed to 'synth with cache'".
Tactic Notation (at level 4) "search" := fail
"'search' has been renamed to 'synth'".
(* These notations are put on a lower level so that the real Tactician can override it.
Note that tactic redefinition does not work, because this module might be loaded _later_
than the real Tactician. *)
Tactic Notation (at level 4) "synth" "with" "cache" tactic3(t) := solve [t] || (fail
"A previously synthesized proof script by Tactician has failed."
"In order to re-synthesize, the Tactician plugin must be installed."
"Check https://coq-tactician.github.io for instructions").
Tactic Notation (at level 4) "synth" := fail
"Tactic 'synth' requires the Tactician plugin to be installed."
"Check https://coq-tactician.github.io for instructions".
Tactic Notation (at level 4) "tactician" "ignore" tactic3(t) := t.