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
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
|
<h1>The Coq Standard Library</h1>
<p>Here is a short description of the Coq standard library, which is
distributed with the system.
It provides a set of modules directly available
through the <tt>Require Import</tt> command.</p>
<p>The standard library is composed of the following subdirectories:</p>
<dl>
<dt> <b>Init</b>:
The core library (automatically loaded when starting Coq)
</dt>
<dd>
theories/Init/Notations.v
theories/Init/Datatypes.v
theories/Init/Logic.v
theories/Init/Logic_Type.v
theories/Init/Nat.v
theories/Init/Peano.v
theories/Init/Specif.v
theories/Init/Tactics.v
theories/Init/Wf.v
(theories/Init/Prelude.v)
</dd>
<dt> <b>Logic</b>:
Classical logic, dependent equality, extensionality, choice axioms
</dt>
<dd>
theories/Logic/SetIsType.v
theories/Logic/Classical_Pred_Type.v
theories/Logic/Classical_Prop.v
(theories/Logic/Classical.v)
theories/Logic/ClassicalFacts.v
theories/Logic/Decidable.v
theories/Logic/Eqdep_dec.v
theories/Logic/EqdepFacts.v
theories/Logic/Eqdep.v
theories/Logic/JMeq.v
theories/Logic/ChoiceFacts.v
theories/Logic/RelationalChoice.v
theories/Logic/ClassicalChoice.v
theories/Logic/ClassicalDescription.v
theories/Logic/ClassicalEpsilon.v
theories/Logic/ClassicalUniqueChoice.v
theories/Logic/Berardi.v
theories/Logic/Diaconescu.v
theories/Logic/Hurkens.v
theories/Logic/ProofIrrelevance.v
theories/Logic/ProofIrrelevanceFacts.v
theories/Logic/ConstructiveEpsilon.v
theories/Logic/Description.v
theories/Logic/Epsilon.v
theories/Logic/IndefiniteDescription.v
theories/Logic/FunctionalExtensionality.v
theories/Logic/ExtensionalityFacts.v
theories/Logic/WeakFan.v
theories/Logic/WKL.v
theories/Logic/FinFun.v
</dd>
<dt> <b>Structures</b>:
Algebraic structures (types with equality, with order, ...).
DecidableType* and OrderedType* are there only for compatibility.
</dt>
<dd>
theories/Structures/Equalities.v
theories/Structures/EqualitiesFacts.v
theories/Structures/Orders.v
theories/Structures/OrdersTac.v
theories/Structures/OrdersAlt.v
theories/Structures/OrdersEx.v
theories/Structures/OrdersFacts.v
theories/Structures/OrdersLists.v
theories/Structures/GenericMinMax.v
theories/Structures/DecidableType.v
theories/Structures/DecidableTypeEx.v
theories/Structures/OrderedType.v
theories/Structures/OrderedTypeAlt.v
theories/Structures/OrderedTypeEx.v
</dd>
<dt> <b>Bool</b>:
Booleans (basic functions and results)
</dt>
<dd>
theories/Bool/Bool.v
theories/Bool/BoolEq.v
theories/Bool/DecBool.v
theories/Bool/IfProp.v
theories/Bool/Sumbool.v
theories/Bool/Zerob.v
theories/Bool/Bvector.v
</dd>
<dt> <b>Arith</b>:
Basic Peano arithmetic
</dt>
<dd>
theories/Arith/PeanoNat.v
theories/Arith/Le.v
theories/Arith/Lt.v
theories/Arith/Plus.v
theories/Arith/Minus.v
theories/Arith/Mult.v
theories/Arith/Gt.v
theories/Arith/Between.v
theories/Arith/Peano_dec.v
theories/Arith/Compare_dec.v
(theories/Arith/Arith_base.v)
(theories/Arith/Arith.v)
theories/Arith/Min.v
theories/Arith/Max.v
theories/Arith/Compare.v
theories/Arith/Div2.v
theories/Arith/EqNat.v
theories/Arith/Euclid.v
theories/Arith/Even.v
theories/Arith/Bool_nat.v
theories/Arith/Factorial.v
theories/Arith/Wf_nat.v
</dd>
<dt> <b>PArith</b>:
Binary positive integers
</dt>
<dd>
theories/PArith/BinPosDef.v
theories/PArith/BinPos.v
theories/PArith/Pnat.v
theories/PArith/POrderedType.v
(theories/PArith/PArith.v)
</dd>
<dt> <b>NArith</b>:
Binary natural numbers
</dt>
<dd>
theories/NArith/BinNatDef.v
theories/NArith/BinNat.v
theories/NArith/Nnat.v
theories/NArith/Ndigits.v
theories/NArith/Ndist.v
theories/NArith/Ndec.v
theories/NArith/Ndiv_def.v
theories/NArith/Ngcd_def.v
theories/NArith/Nsqrt_def.v
(theories/NArith/NArith.v)
</dd>
<dt> <b>ZArith</b>:
Binary integers
</dt>
<dd>
theories/ZArith/BinIntDef.v
theories/ZArith/BinInt.v
theories/ZArith/Zorder.v
theories/ZArith/Zcompare.v
theories/ZArith/Znat.v
theories/ZArith/Zmin.v
theories/ZArith/Zmax.v
theories/ZArith/Zminmax.v
theories/ZArith/Zabs.v
theories/ZArith/Zeven.v
theories/ZArith/auxiliary.v
theories/ZArith/ZArith_dec.v
theories/ZArith/Zbool.v
theories/ZArith/Zmisc.v
theories/ZArith/Wf_Z.v
theories/ZArith/Zhints.v
(theories/ZArith/ZArith_base.v)
theories/ZArith/Zcomplements.v
theories/ZArith/Zsqrt_compat.v
theories/ZArith/Zpow_def.v
theories/ZArith/Zpow_alt.v
theories/ZArith/Zpower.v
theories/ZArith/Zdiv.v
theories/ZArith/Zquot.v
theories/ZArith/Zeuclid.v
theories/ZArith/Zlogarithm.v
(theories/ZArith/ZArith.v)
theories/ZArith/Zgcd_alt.v
theories/ZArith/Zwf.v
theories/ZArith/Znumtheory.v
theories/ZArith/Int.v
theories/ZArith/Zpow_facts.v
theories/ZArith/Zdigits.v
</dd>
<dt> <b>QArith</b>:
Rational numbers
</dt>
<dd>
theories/QArith/QArith_base.v
theories/QArith/Qabs.v
theories/QArith/Qpower.v
theories/QArith/Qreduction.v
theories/QArith/Qring.v
theories/QArith/Qfield.v
(theories/QArith/QArith.v)
theories/QArith/Qreals.v
theories/QArith/Qcanon.v
theories/QArith/Qround.v
theories/QArith/QOrderedType.v
theories/QArith/Qminmax.v
</dd>
<dt> <b>Numbers</b>:
An experimental modular architecture for arithmetic
</dt>
<dd>
<dl>
<dt> <b> Prelude</b>:
</dt>
<dd>
theories/Numbers/BinNums.v
theories/Numbers/NumPrelude.v
theories/Numbers/BigNumPrelude.v
theories/Numbers/NaryFunctions.v
</dd>
<dt> <b> NatInt</b>:
Abstract mixed natural/integer/cyclic arithmetic
</dt>
<dd>
theories/Numbers/NatInt/NZAdd.v
theories/Numbers/NatInt/NZAddOrder.v
theories/Numbers/NatInt/NZAxioms.v
theories/Numbers/NatInt/NZBase.v
theories/Numbers/NatInt/NZMul.v
theories/Numbers/NatInt/NZDiv.v
theories/Numbers/NatInt/NZMulOrder.v
theories/Numbers/NatInt/NZOrder.v
theories/Numbers/NatInt/NZDomain.v
theories/Numbers/NatInt/NZProperties.v
theories/Numbers/NatInt/NZParity.v
theories/Numbers/NatInt/NZPow.v
theories/Numbers/NatInt/NZSqrt.v
theories/Numbers/NatInt/NZLog.v
theories/Numbers/NatInt/NZGcd.v
theories/Numbers/NatInt/NZBits.v
</dd>
<dt> <b> Cyclic</b>:
Abstract and 31-bits-based cyclic arithmetic
</dt>
<dd>
theories/Numbers/Cyclic/Abstract/CyclicAxioms.v
theories/Numbers/Cyclic/Abstract/NZCyclic.v
theories/Numbers/Cyclic/DoubleCyclic/DoubleAdd.v
theories/Numbers/Cyclic/DoubleCyclic/DoubleBase.v
theories/Numbers/Cyclic/DoubleCyclic/DoubleCyclic.v
theories/Numbers/Cyclic/DoubleCyclic/DoubleDiv.v
theories/Numbers/Cyclic/DoubleCyclic/DoubleDivn1.v
theories/Numbers/Cyclic/DoubleCyclic/DoubleLift.v
theories/Numbers/Cyclic/DoubleCyclic/DoubleMul.v
theories/Numbers/Cyclic/DoubleCyclic/DoubleSqrt.v
theories/Numbers/Cyclic/DoubleCyclic/DoubleSub.v
theories/Numbers/Cyclic/DoubleCyclic/DoubleType.v
theories/Numbers/Cyclic/Int31/Cyclic31.v
theories/Numbers/Cyclic/Int31/Ring31.v
theories/Numbers/Cyclic/Int31/Int31.v
theories/Numbers/Cyclic/ZModulo/ZModulo.v
</dd>
<dt> <b> Natural</b>:
Abstract and 31-bits-words-based natural arithmetic
</dt>
<dd>
theories/Numbers/Natural/Abstract/NAdd.v
theories/Numbers/Natural/Abstract/NAddOrder.v
theories/Numbers/Natural/Abstract/NAxioms.v
theories/Numbers/Natural/Abstract/NBase.v
theories/Numbers/Natural/Abstract/NDefOps.v
theories/Numbers/Natural/Abstract/NIso.v
theories/Numbers/Natural/Abstract/NMulOrder.v
theories/Numbers/Natural/Abstract/NOrder.v
theories/Numbers/Natural/Abstract/NStrongRec.v
theories/Numbers/Natural/Abstract/NSub.v
theories/Numbers/Natural/Abstract/NDiv.v
theories/Numbers/Natural/Abstract/NMaxMin.v
theories/Numbers/Natural/Abstract/NParity.v
theories/Numbers/Natural/Abstract/NPow.v
theories/Numbers/Natural/Abstract/NSqrt.v
theories/Numbers/Natural/Abstract/NLog.v
theories/Numbers/Natural/Abstract/NGcd.v
theories/Numbers/Natural/Abstract/NLcm.v
theories/Numbers/Natural/Abstract/NBits.v
theories/Numbers/Natural/Abstract/NProperties.v
theories/Numbers/Natural/Binary/NBinary.v
theories/Numbers/Natural/Peano/NPeano.v
theories/Numbers/Natural/SpecViaZ/NSig.v
theories/Numbers/Natural/SpecViaZ/NSigNAxioms.v
theories/Numbers/Natural/BigN/BigN.v
theories/Numbers/Natural/BigN/Nbasic.v
theories/Numbers/Natural/BigN/NMake.v
theories/Numbers/Natural/BigN/NMake_gen.v
</dd>
<dt> <b> Integer</b>:
Abstract and concrete (especially 31-bits-words-based) integer
arithmetic
</dt>
<dd>
theories/Numbers/Integer/Abstract/ZAdd.v
theories/Numbers/Integer/Abstract/ZAddOrder.v
theories/Numbers/Integer/Abstract/ZAxioms.v
theories/Numbers/Integer/Abstract/ZBase.v
theories/Numbers/Integer/Abstract/ZLt.v
theories/Numbers/Integer/Abstract/ZMul.v
theories/Numbers/Integer/Abstract/ZMulOrder.v
theories/Numbers/Integer/Abstract/ZSgnAbs.v
theories/Numbers/Integer/Abstract/ZMaxMin.v
theories/Numbers/Integer/Abstract/ZParity.v
theories/Numbers/Integer/Abstract/ZPow.v
theories/Numbers/Integer/Abstract/ZGcd.v
theories/Numbers/Integer/Abstract/ZLcm.v
theories/Numbers/Integer/Abstract/ZBits.v
theories/Numbers/Integer/Abstract/ZProperties.v
theories/Numbers/Integer/Abstract/ZDivEucl.v
theories/Numbers/Integer/Abstract/ZDivFloor.v
theories/Numbers/Integer/Abstract/ZDivTrunc.v
theories/Numbers/Integer/Binary/ZBinary.v
theories/Numbers/Integer/NatPairs/ZNatPairs.v
theories/Numbers/Integer/SpecViaZ/ZSig.v
theories/Numbers/Integer/SpecViaZ/ZSigZAxioms.v
theories/Numbers/Integer/BigZ/BigZ.v
theories/Numbers/Integer/BigZ/ZMake.v
</dd>
<dt><b> Rational</b>:
Abstract and 31-bits-words-based rational arithmetic
</dt>
<dd>
theories/Numbers/Rational/SpecViaQ/QSig.v
theories/Numbers/Rational/BigQ/BigQ.v
theories/Numbers/Rational/BigQ/QMake.v
</dd>
</dl>
</dd>
<dt> <b>Relations</b>:
Relations (definitions and basic results)
</dt>
<dd>
theories/Relations/Relation_Definitions.v
theories/Relations/Relation_Operators.v
theories/Relations/Relations.v
theories/Relations/Operators_Properties.v
</dd>
<dt> <b>Sets</b>:
Sets (classical, constructive, finite, infinite, powerset, etc.)
</dt>
<dd>
theories/Sets/Classical_sets.v
theories/Sets/Constructive_sets.v
theories/Sets/Cpo.v
theories/Sets/Ensembles.v
theories/Sets/Finite_sets_facts.v
theories/Sets/Finite_sets.v
theories/Sets/Image.v
theories/Sets/Infinite_sets.v
theories/Sets/Integers.v
theories/Sets/Multiset.v
theories/Sets/Partial_Order.v
theories/Sets/Permut.v
theories/Sets/Powerset_Classical_facts.v
theories/Sets/Powerset_facts.v
theories/Sets/Powerset.v
theories/Sets/Relations_1_facts.v
theories/Sets/Relations_1.v
theories/Sets/Relations_2_facts.v
theories/Sets/Relations_2.v
theories/Sets/Relations_3_facts.v
theories/Sets/Relations_3.v
theories/Sets/Uniset.v
</dd>
<dt> <b>Classes</b>:
</dt>
<dd>
theories/Classes/Init.v
theories/Classes/RelationClasses.v
theories/Classes/Morphisms.v
theories/Classes/Morphisms_Prop.v
theories/Classes/Morphisms_Relations.v
theories/Classes/Equivalence.v
theories/Classes/CRelationClasses.v
theories/Classes/CMorphisms.v
theories/Classes/CEquivalence.v
theories/Classes/EquivDec.v
theories/Classes/SetoidTactics.v
theories/Classes/SetoidClass.v
theories/Classes/SetoidDec.v
theories/Classes/RelationPairs.v
theories/Classes/DecidableClass.v
</dd>
<dt> <b>Setoids</b>:
</dt>
<dd>
theories/Setoids/Setoid.v
</dd>
<dt> <b>Lists</b>:
Polymorphic lists, Streams (infinite sequences)
</dt>
<dd>
theories/Lists/List.v
theories/Lists/ListDec.v
theories/Lists/ListSet.v
theories/Lists/SetoidList.v
theories/Lists/SetoidPermutation.v
theories/Lists/Streams.v
theories/Lists/StreamMemo.v
theories/Lists/ListTactics.v
</dd>
<dt> <b>Vectors</b>:
Dependent datastructures storing their length
</dt>
<dd>
theories/Vectors/Fin.v
theories/Vectors/VectorDef.v
theories/Vectors/VectorSpec.v
theories/Vectors/VectorEq.v
(theories/Vectors/Vector.v)
</dd>
<dt> <b>Sorting</b>:
Axiomatizations of sorts
</dt>
<dd>
theories/Sorting/Heap.v
theories/Sorting/Permutation.v
theories/Sorting/Sorting.v
theories/Sorting/PermutEq.v
theories/Sorting/PermutSetoid.v
theories/Sorting/Mergesort.v
theories/Sorting/Sorted.v
</dd>
<dt> <b>Wellfounded</b>:
Well-founded Relations
</dt>
<dd>
theories/Wellfounded/Disjoint_Union.v
theories/Wellfounded/Inclusion.v
theories/Wellfounded/Inverse_Image.v
theories/Wellfounded/Lexicographic_Exponentiation.v
theories/Wellfounded/Lexicographic_Product.v
theories/Wellfounded/Transitive_Closure.v
theories/Wellfounded/Union.v
theories/Wellfounded/Wellfounded.v
theories/Wellfounded/Well_Ordering.v
</dd>
<dt> <b>MSets</b>:
Modular implementation of finite sets using lists or
efficient trees. This is a modernization of FSets.
</dt>
<dd>
theories/MSets/MSetInterface.v
theories/MSets/MSetFacts.v
theories/MSets/MSetDecide.v
theories/MSets/MSetProperties.v
theories/MSets/MSetEqProperties.v
theories/MSets/MSetWeakList.v
theories/MSets/MSetList.v
theories/MSets/MSetGenTree.v
theories/MSets/MSetAVL.v
theories/MSets/MSetRBT.v
theories/MSets/MSetPositive.v
theories/MSets/MSetToFiniteSet.v
(theories/MSets/MSets.v)
theories/MMaps/MMapAVL.v
theories/MMaps/MMapFacts.v
theories/MMaps/MMapInterface.v
theories/MMaps/MMapList.v
theories/MMaps/MMapPositive.v
theories/MMaps/MMapWeakList.v
(theories/MMaps/MMaps.v)
</dd>
<dt> <b>FSets</b>:
Modular implementation of finite sets/maps using lists or
efficient trees. For sets, please consider the more
modern MSets.
</dt>
<dd>
theories/FSets/FSetInterface.v
theories/FSets/FSetBridge.v
theories/FSets/FSetFacts.v
theories/FSets/FSetDecide.v
theories/FSets/FSetProperties.v
theories/FSets/FSetEqProperties.v
theories/FSets/FSetList.v
theories/FSets/FSetWeakList.v
theories/FSets/FSetCompat.v
theories/FSets/FSetAVL.v
theories/FSets/FSetPositive.v
(theories/FSets/FSets.v)
theories/FSets/FSetToFiniteSet.v
theories/FSets/FMapInterface.v
theories/FSets/FMapWeakList.v
theories/FSets/FMapList.v
theories/FSets/FMapPositive.v
theories/FSets/FMapFacts.v
(theories/FSets/FMaps.v)
theories/FSets/FMapAVL.v
theories/FSets/FMapFullAVL.v
</dd>
<dt> <b>Strings</b>
Implementation of string as list of ascii characters
</dt>
<dd>
theories/Strings/Ascii.v
theories/Strings/String.v
</dd>
<dt> <b>Reals</b>:
Formalization of real numbers
</dt>
<dd>
theories/Reals/Rdefinitions.v
theories/Reals/Raxioms.v
theories/Reals/RIneq.v
theories/Reals/DiscrR.v
theories/Reals/ROrderedType.v
theories/Reals/Rminmax.v
(theories/Reals/Rbase.v)
theories/Reals/RList.v
theories/Reals/Ranalysis.v
theories/Reals/Rbasic_fun.v
theories/Reals/Rderiv.v
theories/Reals/Rfunctions.v
theories/Reals/Rgeom.v
theories/Reals/R_Ifp.v
theories/Reals/Rlimit.v
theories/Reals/Rseries.v
theories/Reals/Rsigma.v
theories/Reals/R_sqr.v
theories/Reals/Rtrigo_fun.v
theories/Reals/Rtrigo1.v
theories/Reals/Rtrigo.v
theories/Reals/Ratan.v
theories/Reals/Machin.v
theories/Reals/SplitAbsolu.v
theories/Reals/SplitRmult.v
theories/Reals/Alembert.v
theories/Reals/AltSeries.v
theories/Reals/ArithProp.v
theories/Reals/Binomial.v
theories/Reals/Cauchy_prod.v
theories/Reals/Cos_plus.v
theories/Reals/Cos_rel.v
theories/Reals/Exp_prop.v
theories/Reals/Integration.v
theories/Reals/MVT.v
theories/Reals/NewtonInt.v
theories/Reals/PSeries_reg.v
theories/Reals/PartSum.v
theories/Reals/R_sqrt.v
theories/Reals/Ranalysis1.v
theories/Reals/Ranalysis2.v
theories/Reals/Ranalysis3.v
theories/Reals/Ranalysis4.v
theories/Reals/Ranalysis5.v
theories/Reals/Ranalysis_reg.v
theories/Reals/Rcomplete.v
theories/Reals/RiemannInt.v
theories/Reals/RiemannInt_SF.v
theories/Reals/Rpow_def.v
theories/Reals/Rpower.v
theories/Reals/Rprod.v
theories/Reals/Rsqrt_def.v
theories/Reals/Rtopology.v
theories/Reals/Rtrigo_alt.v
theories/Reals/Rtrigo_calc.v
theories/Reals/Rtrigo_def.v
theories/Reals/Rtrigo_reg.v
theories/Reals/SeqProp.v
theories/Reals/SeqSeries.v
theories/Reals/Sqrt_reg.v
theories/Reals/Rlogic.v
(theories/Reals/Reals.v)
</dd>
<dt> <b>Program</b>:
Support for dependently-typed programming.
</dt>
<dd>
theories/Program/Basics.v
theories/Program/Wf.v
theories/Program/Subset.v
theories/Program/Equality.v
theories/Program/Tactics.v
theories/Program/Utils.v
theories/Program/Syntax.v
theories/Program/Program.v
theories/Program/Combinators.v
</dd>
<dt> <b>Unicode</b>:
Unicode-based notations
</dt>
<dd>
theories/Unicode/Utf8_core.v
theories/Unicode/Utf8.v
</dd>
</dl>
|