package coq-core

  1. Overview
  2. Docs
The Coq Proof Assistant -- Core Binaries and Tools

Install

Dune Dependency

Authors

Maintainers

Sources

coq-8.20.1.tar.gz
md5=0cfaa70f569be9494d24c829e6555d46
sha512=8ee967c636b67b22a4f34115871d8f9b9114df309afc9ddf5f61275251088c6e21f6cf745811df75554d30f4cebb6682f23eeb2e88b771330c4b60ce3f6bf5e2

doc/src/micromega_plugin/g_micromega.ml.html

Source file g_micromega.ml

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229

# 19 "plugins/micromega/g_micromega.mlg"
 

open Ltac_plugin
open Stdarg
open Tacarg



let _ = Mltop.add_known_module "coq-core.plugins.micromega"
let () = Tacentries.tactic_extend "coq-core.plugins.micromega" "Lra_Q" ~level:0 
         [(Tacentries.TyML (Tacentries.TyIdent ("xlra_Q", Tacentries.TyArg (
                                                          Extend.TUentry (Genarg.get_arg_tag wit_tactic), 
                                                          Tacentries.TyNil)), 
           (fun t ist -> 
# 30 "plugins/micromega/g_micromega.mlg"
                               Coq_micromega.xlra_Q (Tacinterp.tactic_of_value ist t) 
           )))]

let () = Tacentries.tactic_extend "coq-core.plugins.micromega" "Lra_wit_Q" ~level:0 
         [(Tacentries.TyML (Tacentries.TyIdent ("wlra_Q", Tacentries.TyArg (
                                                          Extend.TUentry (Genarg.get_arg_tag wit_ident), 
                                                          Tacentries.TyArg (
                                                          Extend.TUentry (Genarg.get_arg_tag wit_constr), 
                                                          Tacentries.TyNil))), 
           (fun w t ist -> 
# 34 "plugins/micromega/g_micromega.mlg"
                                       Coq_micromega.wlra_Q w t 
           )))]

let () = Tacentries.tactic_extend "coq-core.plugins.micromega" "Lra_R" ~level:0 
         [(Tacentries.TyML (Tacentries.TyIdent ("xlra_R", Tacentries.TyArg (
                                                          Extend.TUentry (Genarg.get_arg_tag wit_tactic), 
                                                          Tacentries.TyNil)), 
           (fun t ist -> 
# 38 "plugins/micromega/g_micromega.mlg"
                              Coq_micromega.xlra_R (Tacinterp.tactic_of_value ist t) 
           )))]

let () = Tacentries.tactic_extend "coq-core.plugins.micromega" "Lia" ~level:0 
         [(Tacentries.TyML (Tacentries.TyIdent ("xlia", Tacentries.TyArg (
                                                        Extend.TUentry (Genarg.get_arg_tag wit_tactic), 
                                                        Tacentries.TyNil)), 
           (fun t ist -> 
# 42 "plugins/micromega/g_micromega.mlg"
                            Coq_micromega.xlia (Tacinterp.tactic_of_value ist t) 
           )))]

let () = Tacentries.tactic_extend "coq-core.plugins.micromega" "Lia_wit" ~level:0 
         [(Tacentries.TyML (Tacentries.TyIdent ("wlia", Tacentries.TyArg (
                                                        Extend.TUentry (Genarg.get_arg_tag wit_ident), 
                                                        Tacentries.TyArg (
                                                        Extend.TUentry (Genarg.get_arg_tag wit_constr), 
                                                        Tacentries.TyNil))), 
           (fun w t ist -> 
# 46 "plugins/micromega/g_micromega.mlg"
                                     Coq_micromega.wlia w t 
           )))]

let () = Tacentries.tactic_extend "coq-core.plugins.micromega" "Nra_Q" ~level:0 
         [(Tacentries.TyML (Tacentries.TyIdent ("xnra_Q", Tacentries.TyArg (
                                                          Extend.TUentry (Genarg.get_arg_tag wit_tactic), 
                                                          Tacentries.TyNil)), 
           (fun t ist -> 
# 50 "plugins/micromega/g_micromega.mlg"
                              Coq_micromega.xnra_Q (Tacinterp.tactic_of_value ist t) 
           )))]

let () = Tacentries.tactic_extend "coq-core.plugins.micromega" "Nra_wit_Q" ~level:0 
         [(Tacentries.TyML (Tacentries.TyIdent ("wnra_Q", Tacentries.TyArg (
                                                          Extend.TUentry (Genarg.get_arg_tag wit_ident), 
                                                          Tacentries.TyArg (
                                                          Extend.TUentry (Genarg.get_arg_tag wit_constr), 
                                                          Tacentries.TyNil))), 
           (fun w t ist -> 
# 54 "plugins/micromega/g_micromega.mlg"
                                       Coq_micromega.wnra_Q w t 
           )))]

let () = Tacentries.tactic_extend "coq-core.plugins.micromega" "Nra_R" ~level:0 
         [(Tacentries.TyML (Tacentries.TyIdent ("xnra_R", Tacentries.TyArg (
                                                          Extend.TUentry (Genarg.get_arg_tag wit_tactic), 
                                                          Tacentries.TyNil)), 
           (fun t ist -> 
# 58 "plugins/micromega/g_micromega.mlg"
                              Coq_micromega.xnra_R (Tacinterp.tactic_of_value ist t) 
           )))]

let () = Tacentries.tactic_extend "coq-core.plugins.micromega" "Nia" ~level:0 
         [(Tacentries.TyML (Tacentries.TyIdent ("xnia", Tacentries.TyArg (
                                                        Extend.TUentry (Genarg.get_arg_tag wit_tactic), 
                                                        Tacentries.TyNil)), 
           (fun t ist -> 
# 62 "plugins/micromega/g_micromega.mlg"
                            Coq_micromega.xnia (Tacinterp.tactic_of_value ist t) 
           )))]

let () = Tacentries.tactic_extend "coq-core.plugins.micromega" "Nia_wit" ~level:0 
         [(Tacentries.TyML (Tacentries.TyIdent ("wnia", Tacentries.TyArg (
                                                        Extend.TUentry (Genarg.get_arg_tag wit_ident), 
                                                        Tacentries.TyArg (
                                                        Extend.TUentry (Genarg.get_arg_tag wit_constr), 
                                                        Tacentries.TyNil))), 
           (fun w t ist -> 
# 66 "plugins/micromega/g_micromega.mlg"
                                     Coq_micromega.wnia w t 
           )))]

let () = Tacentries.tactic_extend "coq-core.plugins.micromega" "Sos_Z" ~level:0 
         [(Tacentries.TyML (Tacentries.TyIdent ("xsos_Z", Tacentries.TyArg (
                                                          Extend.TUentry (Genarg.get_arg_tag wit_tactic), 
                                                          Tacentries.TyNil)), 
           (fun t ist -> 
# 70 "plugins/micromega/g_micromega.mlg"
                              Coq_micromega.xsos_Z (Tacinterp.tactic_of_value ist t) 
           )))]

let () = Tacentries.tactic_extend "coq-core.plugins.micromega" "Sos_wit_Z" ~level:0 
         [(Tacentries.TyML (Tacentries.TyIdent ("wsos_Z", Tacentries.TyArg (
                                                          Extend.TUentry (Genarg.get_arg_tag wit_ident), 
                                                          Tacentries.TyArg (
                                                          Extend.TUentry (Genarg.get_arg_tag wit_constr), 
                                                          Tacentries.TyNil))), 
           (fun w t ist -> 
# 74 "plugins/micromega/g_micromega.mlg"
                                       Coq_micromega.wsos_Z w t 
           )))]

let () = Tacentries.tactic_extend "coq-core.plugins.micromega" "Sos_Q" ~level:0 
         [(Tacentries.TyML (Tacentries.TyIdent ("xsos_Q", Tacentries.TyArg (
                                                          Extend.TUentry (Genarg.get_arg_tag wit_tactic), 
                                                          Tacentries.TyNil)), 
           (fun t ist -> 
# 78 "plugins/micromega/g_micromega.mlg"
                              Coq_micromega.xsos_Q (Tacinterp.tactic_of_value ist t) 
           )))]

let () = Tacentries.tactic_extend "coq-core.plugins.micromega" "Sos_wit_Q" ~level:0 
         [(Tacentries.TyML (Tacentries.TyIdent ("wsos_Q", Tacentries.TyArg (
                                                          Extend.TUentry (Genarg.get_arg_tag wit_ident), 
                                                          Tacentries.TyArg (
                                                          Extend.TUentry (Genarg.get_arg_tag wit_constr), 
                                                          Tacentries.TyNil))), 
           (fun w t ist -> 
# 82 "plugins/micromega/g_micromega.mlg"
                                       Coq_micromega.wsos_Q w t 
           )))]

let () = Tacentries.tactic_extend "coq-core.plugins.micromega" "Sos_R" ~level:0 
         [(Tacentries.TyML (Tacentries.TyIdent ("xsos_R", Tacentries.TyArg (
                                                          Extend.TUentry (Genarg.get_arg_tag wit_tactic), 
                                                          Tacentries.TyNil)), 
           (fun t ist -> 
# 86 "plugins/micromega/g_micromega.mlg"
                              Coq_micromega.xsos_R (Tacinterp.tactic_of_value ist t) 
           )))]

let () = Tacentries.tactic_extend "coq-core.plugins.micromega" "Psatz_Z" ~level:0 
         [(Tacentries.TyML (Tacentries.TyIdent ("xpsatz_Z", Tacentries.TyArg (
                                                            Extend.TUentry (Genarg.get_arg_tag wit_nat_or_var), 
                                                            Tacentries.TyArg (
                                                            Extend.TUentry (Genarg.get_arg_tag wit_tactic), 
                                                            Tacentries.TyNil))), 
           (fun i t ist -> 
# 91 "plugins/micromega/g_micromega.mlg"
    Coq_micromega.xpsatz_Z i (Tacinterp.tactic_of_value ist t) 
           )))]

let () = Tacentries.tactic_extend "coq-core.plugins.micromega" "Psatz_wit_Z" ~level:0 
         [(Tacentries.TyML (Tacentries.TyIdent ("wpsatz_Z", Tacentries.TyArg (
                                                            Extend.TUentry (Genarg.get_arg_tag wit_nat_or_var), 
                                                            Tacentries.TyArg (
                                                            Extend.TUentry (Genarg.get_arg_tag wit_ident), 
                                                            Tacentries.TyArg (
                                                            Extend.TUentry (Genarg.get_arg_tag wit_constr), 
                                                            Tacentries.TyNil)))), 
           (fun i w t ist -> 
# 95 "plugins/micromega/g_micromega.mlg"
                                                       Coq_micromega.wpsatz_Z i w t 
           )))]

let () = Tacentries.tactic_extend "coq-core.plugins.micromega" "Psatz_Q" ~level:0 
         [(Tacentries.TyML (Tacentries.TyIdent ("xpsatz_Q", Tacentries.TyArg (
                                                            Extend.TUentry (Genarg.get_arg_tag wit_nat_or_var), 
                                                            Tacentries.TyArg (
                                                            Extend.TUentry (Genarg.get_arg_tag wit_tactic), 
                                                            Tacentries.TyNil))), 
           (fun i t ist -> 
# 100 "plugins/micromega/g_micromega.mlg"
    Coq_micromega.xpsatz_Q i (Tacinterp.tactic_of_value ist t) 
           )))]

let () = Tacentries.tactic_extend "coq-core.plugins.micromega" "Psatz_wit_Q" ~level:0 
         [(Tacentries.TyML (Tacentries.TyIdent ("wpsatz_Q", Tacentries.TyArg (
                                                            Extend.TUentry (Genarg.get_arg_tag wit_nat_or_var), 
                                                            Tacentries.TyArg (
                                                            Extend.TUentry (Genarg.get_arg_tag wit_ident), 
                                                            Tacentries.TyArg (
                                                            Extend.TUentry (Genarg.get_arg_tag wit_constr), 
                                                            Tacentries.TyNil)))), 
           (fun i w t ist -> 
# 104 "plugins/micromega/g_micromega.mlg"
                                                       Coq_micromega.wpsatz_Q i w t 
           )))]

let () = Tacentries.tactic_extend "coq-core.plugins.micromega" "Psatz_R" ~level:0 
         [(Tacentries.TyML (Tacentries.TyIdent ("xpsatz_R", Tacentries.TyArg (
                                                            Extend.TUentry (Genarg.get_arg_tag wit_nat_or_var), 
                                                            Tacentries.TyArg (
                                                            Extend.TUentry (Genarg.get_arg_tag wit_tactic), 
                                                            Tacentries.TyNil))), 
           (fun i t ist -> 
# 109 "plugins/micromega/g_micromega.mlg"
    Coq_micromega.xpsatz_R i (Tacinterp.tactic_of_value ist t) 
           )))]

let () = Vernacextend.static_vernac_extend ~plugin:(Some "coq-core.plugins.micromega") ~command:"ShowLiaProfile" ~classifier:(fun _ -> Vernacextend.classify_as_query) ?entry:None 
         [(Vernacextend.TyML (false, Vernacextend.TyTerminal ("Show", 
                                     Vernacextend.TyTerminal ("Lia", 
                                     Vernacextend.TyTerminal ("Profile", 
                                     Vernacextend.TyNil))), (let coqpp_body () = 
                                                            Vernactypes.vtdefault (fun () -> 
                                                            
# 113 "plugins/micromega/g_micromega.mlg"
                                  Coq_micromega.print_lia_profile () 
                                                            ) in fun ?loc ~atts ()
                                                            -> coqpp_body (Attributes.unsupported_attributes atts)), None))]

OCaml

Innovation. Community. Security.