File tree Expand file tree Collapse file tree 14 files changed +2894
-1
lines changed
.nix/rocq-overlays/stdlib-subcomponents Expand file tree Collapse file tree 14 files changed +2894
-1
lines changed Original file line number Diff line number Diff line change 25
25
"strings" = [ "arith" ] ;
26
26
"lia" = [ "arith" "narith" ] ;
27
27
"zarith" = [ "lia" ] ;
28
+ "zmod" = [ "zarith" "sorting" "field" ] ;
28
29
"qarith-base" = [ "ring" ] ;
29
30
"field" = [ "zarith" ] ;
30
31
"lqa" = [ "field" "qarith-base" ] ;
47
48
"wellfounded" = [ "lists" ] ;
48
49
"streams" = [ "logic" ] ;
49
50
"rtauto" = [ "positive" "lists" ] ;
50
- "compat" = [ "rtauto" "fmaps-fsets-msets" "funind" "extraction" "reals" "wellfounded" "streams" ] ;
51
+ "compat" = [ "rtauto" "fmaps-fsets-msets" "funind" "extraction" "reals" "zmod" " wellfounded" "streams" ] ;
51
52
"all" = [ "compat" ] ;
52
53
} ;
53
54
Original file line number Diff line number Diff line change
1
+ - in `Zmod.v `
2
+
3
+ + Added theory of modular integer arithmetic, including machine words /
4
+ bitvectors and the multiplicative group of integers modulo another integer.
5
+ About 450 lemmas are provided
6
+ (`#144 <https://github.com/coq/stdlib/pull/144 >`_,
7
+ by Andres Erbsen).
8
+
Original file line number Diff line number Diff line change @@ -19,6 +19,9 @@ digraph stdlib_deps {
19
19
reals -> nsatz;
20
20
" arith-base" -> structures;
21
21
zarith -> lia;
22
+ zmod -> zarith;
23
+ zmod -> sorting;
24
+ zmod -> field;
22
25
qarith -> lqa;
23
26
positive -> " arith-base" ;
24
27
narith -> ring;
@@ -62,6 +65,7 @@ digraph stdlib_deps {
62
65
funind -> " arith-base" ;
63
66
rtauto -> positive;
64
67
rtauto -> lists;
68
+ compat -> zmod;
65
69
compat -> reals;
66
70
compat -> " fmaps-fsets-msets" ;
67
71
compat -> wellfounded;
Original file line number Diff line number Diff line change @@ -307,6 +307,22 @@ through the <tt>From Stdlib Require Import</tt> command.</p>
307
307
theories/Numbers/HexadecimalZ.v
308
308
</dd>
309
309
310
+ <dt> <a name="zmod"></a><b>Zmod and Zstar</b>:
311
+ Modular arithmetic -- integers modulo another integer -- including machine
312
+ words (bitvectors) and the multiplicative group of integers modulo another
313
+ integer.
314
+ </dt>
315
+ <dd>
316
+ theories/Zmod/Zmod.v
317
+ theories/Zmod/Bits.v
318
+ theories/Zmod/Zstar.v
319
+ (theories/Zmod/ZmodDef.v)
320
+ (theories/Zmod/ZstarDef.v)
321
+ (theories/Zmod/ZmodBase.v)
322
+ (theories/Zmod/ZstarBase.v)
323
+ (theories/Zmod/ZmodInv.v)
324
+ </dd>
325
+
310
326
<dt> <a name="unicode"></a><b>Unicode</b>:
311
327
Unicode-based alternative notations
312
328
</dt>
Original file line number Diff line number Diff line change @@ -567,3 +567,11 @@ From Stdlib Require Export Arith.PeanoNat.
567
567
From Stdlib Require Export Arith.Peano_dec.
568
568
From Stdlib Require Export Arith.Wf_nat.
569
569
From Stdlib Require Export Arith.Zerob.
570
+ From Stdlib Require Export Zmod.Zmod.
571
+ From Stdlib Require Export Zmod.ZmodDef.
572
+ From Stdlib Require Export Zmod.ZmodBase.
573
+ From Stdlib Require Export Zmod.ZmodInv.
574
+ From Stdlib Require Export Zmod.Zstar.
575
+ From Stdlib Require Export Zmod.ZstarDef.
576
+ From Stdlib Require Export Zmod.ZstarBase.
577
+ From Stdlib Require Export Zmod.Bits.
Original file line number Diff line number Diff line change
1
+ Zmod/Bits.v
2
+ Zmod/Zmod.v
3
+ Zmod/ZmodBase.v
4
+ Zmod/ZmodDef.v
5
+ Zmod/ZmodInv.v
6
+ Zmod/Zstar.v
7
+ Zmod/ZstarBase.v
8
+ Zmod/ZstarDef.v
9
+
10
+ -Q Zmod Stdlib.Zmod
You can’t perform that action at this time.
0 commit comments