Debian Codegraph @

plugins/ssr/ssrelim.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 Ssrmatching_plugin
14
15 type elim_what =
16 | EConstr of
17 Ssrast.ssrhyp list * Ssrmatching.occ *
18 EConstr.constr
19 | EGen of
20 ((Ssrast.ssrhyp list option *
21 Ssrmatching.occ) *
22 Ssrmatching.cpattern)
23
24 val ssrelim :
25 ?is_case:bool ->
26 ((Ssrast.ssrhyps option * Ssrast.ssrocc) *
27 Ssrmatching.cpattern)
28 list ->
29 elim_what ->
30 ?elim:EConstr.constr ->
31 Ssrast.ssripat option ->
32 (?seed:Names.Name.t list array -> elim_what ->
33 Ssrast.ssripat option ->
34 unit Proofview.tactic ->
35 bool -> Ssrast.ssrhyp list -> unit Proofview.tactic) ->
36 unit Proofview.tactic
37
38 val elimtac : EConstr.constr -> unit Proofview.tactic
39
40 val casetac :
41 EConstr.constr ->
42 (?seed:Names.Name.t list array -> unit Proofview.tactic -> unit Proofview.tactic) ->
43 unit Proofview.tactic
44
45 val is_injection_case : Environ.env -> Evd.evar_map -> EConstr.t -> bool
46 val perform_injection :
47 EConstr.constr ->
48 unit Proofview.tactic
49
50 val ssrscase_or_inj_tac :
51 EConstr.constr ->
52 unit Proofview.tactic