Debian Codegraph @

plugins/ssr/ssrview.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 open Ssrast
12
13 (* Adaptor DB (Hint View) *)
14 module AdaptorDb : sig
15
16 type kind = Forward | Backward | Equivalence
17
18 val get : kind -> Glob_term.glob_constr list
19 val declare : kind -> Glob_term.glob_constr list -> unit
20
21 end
22
23 (* Apply views to the top of the stack (intro pattern). If clear_if_id is
24 * true (default false) then views that happen to be a variable are considered
25 * as to be cleared (see the to_clear argument to the continuation)
26 *
27 * returns true if the last view was a tactic *)
28 val tclIPAT_VIEWS
29 : views:ast_closure_term list
30 -> ?clear_if_id:bool
31 -> conclusion:(to_clear:Names.Id.t list -> unit Proofview.tactic)
32 -> unit
33 -> bool Proofview.tactic
34
35 (* Apply views to a given subject (as if was the top of the stack), then
36 call conclusion on the obtained term (something like [v2 (v1 subject)]).
37 The term being passed to conclusion is abstracted over non-resolved evars:
38 if [simple_types] then all unnecessary dependencies among the abstracted
39 evars are pruned *)
40 val tclWITH_FWD_VIEWS :
41 simple_types:bool ->
42 subject:EConstr.t ->
43 views:ast_closure_term list ->
44 conclusion:(EConstr.t -> unit Proofview.tactic) ->
45 unit Proofview.tactic