Debian Codegraph @

plugins/ssr/ssrequality.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 open Ssrast
15
16 type ssrwkind = RWred of ssrsimpl | RWdef | RWeq
17 type ssrrule = ssrwkind * ssrterm
18 type ssrrwarg = (ssrdir * ssrmult) * ((ssrdocc * Ssrmatching.rpattern option) * ssrrule)
19
20 val dir_org : ssrdir -> int
21
22 val notimes : int
23 val nomult : ssrmult
24 val mkocc : ssrocc -> ssrdocc
25 val mkclr : ssrclear -> ssrdocc
26 val nodocc : ssrdocc
27 val noclr : ssrdocc
28
29 val simpltac : Ssrast.ssrsimpl -> unit Proofview.tactic
30
31 val newssrcongrtac :
32 int * Ssrast.ssrterm ->
33 Ltac_plugin.Tacinterp.interp_sign ->
34 unit Proofview.tactic
35
36
37 val mk_rwarg :
38 Ssrast.ssrdir * (int * Ssrast.ssrmmod) ->
39 (Ssrast.ssrclear option * Ssrast.ssrocc) * Ssrmatching.rpattern option ->
40 ssrwkind * Ssrast.ssrterm -> ssrrwarg
41
42 val norwmult : ssrdir * ssrmult
43 val norwocc : (Ssrast.ssrclear option * Ssrast.ssrocc) * Ssrmatching.rpattern option
44
45 val ssr_is_setoid :
46 Environ.env -> Evd.evar_map -> EConstr.t -> EConstr.t array -> bool
47
48 val ssrinstancesofrule :
49 Ltac_plugin.Tacinterp.interp_sign ->
50 Ssrast.ssrdir ->
51 Ssrast.ssrterm ->
52 unit Proofview.tactic
53
54 (* map_redex (by default the identity on after) is called on the
55 * redex (before) and its replacement (after). It is used to
56 * "rename" binders by the under tactic *)
57 val ssrrewritetac :
58 ?under:bool ->
59 ?map_redex:(Environ.env -> Evd.evar_map ->
60 before:EConstr.t -> after:EConstr.t -> Evd.evar_map * EConstr.t) ->
61 Ltac_plugin.Tacinterp.interp_sign ->
62 ssrrwarg list -> unit Proofview.tactic
63
64 val ipat_rewrite : ssrocc -> ssrdir -> EConstr.t -> unit Proofview.tactic
65
66 val unlocktac :
67 Ltac_plugin.Tacinterp.interp_sign ->
68 (Ssrmatching.occ * Ssrast.ssrterm) list ->
69 unit Proofview.tactic