Debian Codegraph @

plugins/ring/ring_ast.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 Constr
12 open Libnames
13 open Constrexpr
14
15 open Ltac_plugin
16 open Tacexpr
17
18 type 'constr coeff_spec =
19 Computational of 'constr (* equality test *)
20 | Abstract (* coeffs = Z *)
21 | Morphism of 'constr (* general morphism *)
22
23 type cst_tac_spec =
24 CstTac of raw_tactic_expr
25 | Closed of qualid list
26
27 type 'constr ring_mod =
28 Ring_kind of 'constr coeff_spec
29 | Const_tac of cst_tac_spec
30 | Pre_tac of raw_tactic_expr
31 | Post_tac of raw_tactic_expr
32 | Setoid of constr_expr * constr_expr
33 | Pow_spec of cst_tac_spec * constr_expr
34 (* Syntaxification tactic , correctness lemma *)
35 | Sign_spec of constr_expr
36 | Div_spec of constr_expr
37
38 type 'constr field_mod =
39 Ring_mod of 'constr ring_mod
40 | Inject of constr_expr
41
42 type ring_info =
43 { ring_name : Names.Id.t;
44 ring_carrier : types;
45 ring_req : constr;
46 ring_setoid : constr;
47 ring_ext : constr;
48 ring_morph : constr;
49 ring_th : constr;
50 ring_cst_tac : glob_tactic_expr;
51 ring_pow_tac : glob_tactic_expr;
52 ring_lemma1 : constr;
53 ring_lemma2 : constr;
54 ring_pre_tac : glob_tactic_expr;
55 ring_post_tac : glob_tactic_expr }
56
57 type field_info =
58 { field_name : Names.Id.t;
59 field_carrier : types;
60 field_req : constr;
61 field_cst_tac : glob_tactic_expr;
62 field_pow_tac : glob_tactic_expr;
63 field_ok : constr;
64 field_simpl_eq_ok : constr;
65 field_simpl_ok : constr;
66 field_simpl_eq_in_ok : constr;
67 field_cond : constr;
68 field_pre_tac : glob_tactic_expr;
69 field_post_tac : glob_tactic_expr }