aboutsummaryrefslogtreecommitdiff
path: root/src/ModularArithmetic/ModularBaseSystemListZOperationsProofs.v
blob: bb833507f9be325ef063901d5f0d0679166c578e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
Require Import Coq.ZArith.ZArith.
Require Import Crypto.ModularArithmetic.ModularBaseSystemListZOperations.
Require Import Crypto.Util.Tuple.
Require Import Crypto.Util.ZUtil.

Local Open Scope Z_scope.

Lemma neg_nonneg : forall x y, 0 <= ModularBaseSystemListZOperations.neg x y.
Proof. Admitted.
Hint Resolve neg_nonneg : zarith.
Lemma neg_upperbound : forall x y, ModularBaseSystemListZOperations.neg x y <= Z.ones x.
Proof. Admitted.
Hint Resolve neg_upperbound : zarith.