File tree Expand file tree Collapse file tree 9 files changed +19
-37
lines changed
Expand file tree Collapse file tree 9 files changed +19
-37
lines changed Original file line number Diff line number Diff line change 1- From Coq
2- Require Import ZArith.ZArith Extraction .
3- Require Import mathcomp.ssreflect.ssreflect.
4- From mathcomp Require Import ssrbool eqtype ssrnat seq fintype ssrfun tuple.
5- From Bits
6- Require Import bits.
1+ From Coq Require Import ZArith.ZArith Extraction .
2+ From mathcomp Require Import ssreflect ssrfun ssrbool.
3+ From mathcomp Require Import eqtype ssrnat seq fintype tuple.
4+ From Bits Require Import bits.
75
86(* TODO:
97 * Complete missing lemmas
Original file line number Diff line number Diff line change 1- From Coq
2- Require Import ZArith.ZArith Extraction .
3- Require Import mathcomp.ssreflect.ssreflect.
4- From mathcomp Require Import ssrbool eqtype ssrnat seq fintype ssrfun tuple.
5- From Bits
6- Require Import bits.
1+ From Coq Require Import ZArith.ZArith Extraction .
2+ From mathcomp Require Import ssreflect ssrfun ssrbool.
3+ From mathcomp Require Import eqtype ssrnat seq fintype tuple.
4+ From Bits Require Import bits.
75
86(* TODO:
97 * Complete missing lemmas
Original file line number Diff line number Diff line change 1- From Coq
2- Require Import ZArith.ZArith Extraction .
3- Require Import mathcomp.ssreflect.ssreflect.
4- From mathcomp Require Import ssrbool eqtype ssrnat seq fintype ssrfun tuple.
5- From Bits
6- Require Import bits.
1+ From Coq Require Import ZArith.ZArith Extraction .
2+ From mathcomp Require Import ssreflect ssrfun ssrbool.
3+ From mathcomp Require Import eqtype ssrnat seq fintype tuple.
4+ From Bits Require Import bits.
75
86(* TODO:
97 * Complete missing lemmas
Original file line number Diff line number Diff line change 33 For proofs of properties of operations see bitsopsprops.v
44 =========================================================================== *)
55
6- Require Import mathcomp.ssreflect.ssreflect.
7-
8- From mathcomp Require Import ssrfun ssrbool eqtype ssrnat seq tuple.
6+ From mathcomp Require Import ssreflect ssrfun ssrbool eqtype ssrnat seq tuple.
97Require Import spec.
108
119Set Implicit Arguments .
Original file line number Diff line number Diff line change 33 =========================================================================== *)
44From Coq Require Import Ring_theory.
55From HB Require Import structures.
6- Require Import mathcomp.ssreflect.ssreflect.
7-
8- From mathcomp Require Import ssrfun ssrbool eqtype ssrnat seq fintype tuple zmodp div.
6+ From mathcomp Require Import ssreflect ssrfun ssrbool eqtype ssrnat seq fintype tuple zmodp div.
97Require Import ssrextra.tuple ssrextra.nat.
108Require Import spec spec.properties operations.
119
Original file line number Diff line number Diff line change 1212 Proofs of properties of operations can be found in bitsopsprops.v
1313 =========================================================================== *)
1414
15- From Coq
16- Require Import ZArith.ZArith Strings.String.
17- Require Import mathcomp.ssreflect.ssreflect.
18- From mathcomp Require Import ssrfun ssrbool eqtype ssrnat seq fintype tuple zmodp.
15+ From Coq Require Import ZArith.ZArith Strings.String.
16+ From mathcomp Require Import ssreflect ssrfun ssrbool eqtype ssrnat seq fintype tuple zmodp.
1917
2018(* We represent n-bit words by a tuple of booleans, least-significant
2119bit at the head DWORDorBYTE is especially useful for multi-mode
Original file line number Diff line number Diff line change 33 =========================================================================== *)
44From Coq Require Import ZArith.ZArith.
55(*Require Import common.tuplehelp common.nathelp. *)
6- From mathcomp Require Import ssreflect.
7-
8- From mathcomp Require Import ssrfun ssrbool eqtype ssrnat seq fintype tuple div zmodp ssralg.
6+ From mathcomp Require Import ssreflect ssrfun ssrbool eqtype ssrnat seq fintype tuple div zmodp ssralg.
97From mathcomp Require Import ring.
108Require Import ssrextra.nat ssrextra.tuple.
119Require Import spec.spec.
Original file line number Diff line number Diff line change 11(*---------------------------------------------------------------------------
22 Various helpers for halving, double and powers of 2
33 --------------------------------------------------------------------------- *)
4- Require Import mathcomp.ssreflect.ssreflect.
5-
6- From mathcomp Require Import ssrfun ssrbool eqtype ssrnat seq fintype tuple zmodp div.
4+ From mathcomp Require Import ssreflect ssrfun ssrbool eqtype ssrnat seq fintype tuple zmodp div.
75
86Set Implicit Arguments .
97Unset Strict Implicit .
Original file line number Diff line number Diff line change 11(* Additional lemmas about tuples *)
22From Coq Require Import Setoid .
3- Require Import mathcomp.ssreflect.ssreflect.
4-
5- From mathcomp Require Import ssrbool ssrnat eqtype seq fintype tuple.
3+ From mathcomp Require Import ssreflect ssrfun ssrbool ssrnat eqtype seq fintype tuple.
64
75Lemma mapCons {n A B} (f: A -> B) b (p: n.-tuple A) :
86 map_tuple f [tuple of b :: p] = [tuple of f b :: map_tuple f p].
You can’t perform that action at this time.
0 commit comments