@@ -31,7 +31,7 @@ DECLARE PLUGIN "rocq-runtime.plugins.ltac"
3131
3232TACTIC EXTEND assert_succeeds
3333| [ "assert_succeeds" tactic3(tac) ]
34- -> { Internals.assert_succeeds (Tacinterp.tactic_of_value ist tac) }
34+ -> { Internals.assert_succeeds (Tacinterp.tactic_of_tacvalue ist tac) }
3535END
3636
3737TACTIC EXTEND replace
@@ -179,24 +179,24 @@ TACTIC EXTEND autorewrite
179179 { auto_multi_rewrite l ( cl) }
180180| [ "autorewrite" "with" ne_preident_list(l) clause(cl) "using" tactic(t) ] ->
181181 {
182- auto_multi_rewrite_with (Tacinterp.tactic_of_value ist t) l cl
182+ auto_multi_rewrite_with (Tacinterp.tactic_of_tacvalue ist t) l cl
183183 }
184184END
185185
186186TACTIC EXTEND autorewrite_star
187187| [ "autorewrite" "*" "with" ne_preident_list(l) clause(cl) ] ->
188188 { auto_multi_rewrite ~conds:AllMatches l cl }
189189| [ "autorewrite" "*" "with" ne_preident_list(l) clause(cl) "using" tactic(t) ] ->
190- { auto_multi_rewrite_with ~conds:AllMatches (Tacinterp.tactic_of_value ist t) l cl }
190+ { auto_multi_rewrite_with ~conds:AllMatches (Tacinterp.tactic_of_tacvalue ist t) l cl }
191191END
192192
193193(**********************************************************************)
194194(* Rewrite star *)
195195
196196{
197197
198- let rewrite_star ist clause orient occs c (tac : Geninterp.Val.t option) =
199- let tac' = Option.map (fun t -> Tacinterp.tactic_of_value ist t, FirstSolved) tac in
198+ let rewrite_star ist clause orient occs c (tac : Tacexpr.tacvalue option) =
199+ let tac' = Option.map (fun t -> Tacinterp.tactic_of_tacvalue ist t, FirstSolved) tac in
200200 Internals.with_delayed_uconstr ist c
201201 (fun c -> general_rewrite ~where:clause ~l2r:orient occs ?tac:tac' ~freeze:true ~dep:true ~with_evars:true (c,NoBindings))
202202
@@ -420,12 +420,12 @@ let add_transitivity_lemma left lem =
420420(* Vernacular syntax *)
421421
422422TACTIC EXTEND stepl
423- | ["stepl" constr(c) "by" tactic(tac) ] -> { step true c (Tacinterp.tactic_of_value ist tac) }
423+ | ["stepl" constr(c) "by" tactic(tac) ] -> { step true c (Tacinterp.tactic_of_tacvalue ist tac) }
424424| ["stepl" constr(c) ] -> { step true c (Proofview.tclUNIT ()) }
425425END
426426
427427TACTIC EXTEND stepr
428- | ["stepr" constr(c) "by" tactic(tac) ] -> { step false c (Tacinterp.tactic_of_value ist tac) }
428+ | ["stepr" constr(c) "by" tactic(tac) ] -> { step false c (Tacinterp.tactic_of_tacvalue ist tac) }
429429| ["stepr" constr(c) ] -> { step false c (Proofview.tclUNIT ()) }
430430END
431431
472472
473473TACTIC EXTEND transparent_abstract
474474| [ "transparent_abstract" tactic3(t) ] -> { Proofview.Goal.enter begin fun gl ->
475- Abstract.tclABSTRACT ~opaque:false None (Tacinterp.tactic_of_value ist t) end; }
475+ Abstract.tclABSTRACT ~opaque:false None (Tacinterp.tactic_of_tacvalue ist t) end; }
476476| [ "transparent_abstract" tactic3(t) "using" ident(id) ] -> { Proofview.Goal.enter begin fun gl ->
477- Abstract.tclABSTRACT ~opaque:false (Some id) (Tacinterp.tactic_of_value ist t) end; }
477+ Abstract.tclABSTRACT ~opaque:false (Some id) (Tacinterp.tactic_of_tacvalue ist t) end; }
478478END
479479
480480(* ********************************************************************* *)
683683
684684TACTIC EXTEND with_strategy
685685| [ "with_strategy" strategy_level_or_var(v) "[" ne_smart_global_list(q) "]" tactic3(tac) ] -> {
686- with_set_strategy [(v, q)] (Tacinterp.tactic_of_value ist tac)
686+ with_set_strategy [(v, q)] (Tacinterp.tactic_of_tacvalue ist tac)
687687}
688688END
0 commit comments