Debian Codegraph @

plugins/ssr/ssrfwd.mli

raw symbols SCIP
1 (************************************************************************)
2 (* * The Rocq Prover / The Rocq Development Team *)
3 (* v * Copyright INRIA, CNRS and contributors *)
4 (* <O___,, * (see version control and CREDITS file for authors & dates) *)
5 (* \VV/ **************************************************************)
6 (* // * This file is distributed under the terms of the *)
7 (* * GNU Lesser General Public License Version 2.1 *)
8 (* * (see LICENSE file for the text of the license) *)
9 (************************************************************************)
10
11 (* This file is (C) Copyright 2006-2015 Microsoft Corporation and Inria. *)
12
13 open Names
14
15 open Ltac_plugin
16
17 open Ssrast
18
19 val ssrsettac : Id.t -> ((ssrfwdfmt * (Ssrmatching_plugin.Ssrmatching.cpattern * ast_closure_term option)) * ssrdocc) -> unit Proofview.tactic
20
21 val ssrposetac : Id.t * (ssrfwdfmt * ast_closure_term) -> unit Proofview.tactic
22
23 val havetac : ist ->
24 bool *
25 ((((Ssrast.ssrclear option * Ssrast.ssripat list) * Ssrast.ssripats) *
26 Ssrast.ssripats) *
27 (((Ssrast.ssrfwdkind * 'a) * ast_closure_term) *
28 (bool * Tacinterp.Value.t option list))) ->
29 bool ->
30 bool -> unit Proofview.tactic
31
32 type cut_kind = Have | HaveTransp | Suff
33 val basecuttac : cut_kind -> EConstr.t -> unit Proofview.tactic
34
35 val basesufftac : EConstr.t -> unit Proofview.tactic
36
37 val wlogtac :
38 Ltac_plugin.Tacinterp.interp_sign ->
39 ((Ssrast.ssrclear option * Ssrast.ssripats) * 'a) * 'b ->
40 (Ssrast.ssrhyps *
41 ((Ssrast.ssrhyp_or_id * string) *
42 Ssrmatching_plugin.Ssrmatching.cpattern option)
43 option)
44 list *
45 ('c *
46 ast_closure_term) ->
47 Ltac_plugin.Tacinterp.Value.t Ssrast.ssrhint ->
48 bool ->
49 [< `Gen of Names.Id.t option option | `NoGen > `NoGen ] ->
50 unit Proofview.tactic
51
52 val sufftac :
53 Ssrast.ist ->
54 (((Ssrast.ssrclear option * Ssrast.ssripats) * Ssrast.ssripat list) *
55 Ssrast.ssripat list) *
56 (('a *
57 ast_closure_term) *
58 (bool * Tacinterp.Value.t option list)) ->
59 unit Proofview.tactic
60
61 (* pad_intro (by default false) indicates whether the intro-pattern
62 "=> i..." must be turned into "=> [i...|i...|i...|]" (n+1 branches,
63 assuming there are n provided tactics in the ssrhint argument
64 "do [...|...|...]"; it is useful when the intro-pattern is "=> *").
65 Otherwise, "=> i..." is turned into "=> [i...|]". *)
66 val undertac :
67 ?pad_intro:bool ->
68 Ltac_plugin.Tacinterp.interp_sign ->
69 Ssrast.ssripats option -> Ssrequality.ssrrwarg ->
70 Ltac_plugin.Tacinterp.Value.t Ssrast.ssrhint -> unit Proofview.tactic
71
72 val overtac :
73 unit Proofview.tactic