diff options
author | Jason Gross <jagro@google.com> | 2018-07-17 16:50:05 -0400 |
---|---|---|
committer | Jason Gross <jagro@google.com> | 2018-07-17 16:50:05 -0400 |
commit | abdd602e89c4d6f9073baab523a880b473f241af (patch) | |
tree | 2f094abe710ea6bac39bff542b3dffc6899a107f /src/Util/NatUtil.v | |
parent | 83c6684b5d5c3f3dbdc68275290dbb8be359ef01 (diff) |
Add minor lemmas to util
Diffstat (limited to 'src/Util/NatUtil.v')
-rw-r--r-- | src/Util/NatUtil.v | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/Util/NatUtil.v b/src/Util/NatUtil.v index 087f0a6c7..08fd8a92a 100644 --- a/src/Util/NatUtil.v +++ b/src/Util/NatUtil.v @@ -392,3 +392,6 @@ Proof. end; rewrite H'' in *; assumption. } } Qed. + +Lemma max_0_iff a b : Nat.max a b = 0%nat <-> (a = 0%nat /\ b = 0%nat). +Proof. omega **. Qed. |