Skip to content

Commit f335b8e

Browse files
committed
Adapt to rocq-prover/rocq#19690 (generic_tactic avoids dependency on ltac(?))
1 parent 992c3a5 commit f335b8e

File tree

3 files changed

+3
-6
lines changed

3 files changed

+3
-6
lines changed

src/abstraction.mlg

+2-4
Original file line numberDiff line numberDiff line change
@@ -15,20 +15,18 @@
1515
DECLARE PLUGIN "coq-paramcoq.plugin"
1616

1717
{
18-
open Ltac_plugin
1918
open Feedback
2019
open Stdarg
21-
open Tacarg
2220
open Parametricity
2321
open Declare_translation
2422
}
2523

2624
VERNAC COMMAND EXTEND SetParametricityTactic CLASSIFIED AS SIDEFF
2725
| #[ locality = Tactic_option.tac_option_locality; ]
28-
[ "Parametricity" "Tactic" ":=" tactic(t) ] -> {
26+
[ "Parametricity" "Tactic" ":=" generic_tactic(t) ] -> {
2927
Relations.set_parametricity_tactic
3028
locality
31-
(Tacintern.glob_tactic t) }
29+
(Gentactic.intern (Global.env()) t) }
3230
END
3331

3432
VERNAC COMMAND EXTEND ShowTable CLASSIFIED AS QUERY

src/dune

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,6 @@
33
(public_name coq-paramcoq.plugin)
44
(synopsis "Plugin for generating parametricity statements to perform refinement proofs")
55
(flags :standard -rectypes -w -9-27)
6-
(libraries coq-core.plugins.ltac))
6+
(libraries coq-core.plugins.ltac)) ; not sure if ltac dep is real
77

88
(coq.pp (modules abstraction))

src/relations.ml

-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@
1010
(**************************************************************************)
1111

1212

13-
open Ltac_plugin
1413
open Names
1514
open Globnames
1615
open Libobject

0 commit comments

Comments
 (0)