diff options
| author | coqbot-app[bot] | 2020-10-20 13:07:48 +0000 |
|---|---|---|
| committer | GitHub | 2020-10-20 13:07:48 +0000 |
| commit | 554bdc2df7e5b63bbf6fcc60c33437842d2f5541 (patch) | |
| tree | 2e158efdac7205fa1bec3355295fd2d31650c494 /test-suite | |
| parent | 11110938f4f3b3a570a2047b2f5e060412989e31 (diff) | |
| parent | 031af730ae12601127d71b18adfc54d1a94eaaac (diff) | |
Merge PR #12648: [zify] support for int63
Reviewed-by: vbgl
Ack-by: JasonGross
Ack-by: jfehrle
Ack-by: silene
Diffstat (limited to 'test-suite')
| -rw-r--r-- | test-suite/micromega/int63.v | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/test-suite/micromega/int63.v b/test-suite/micromega/int63.v new file mode 100644 index 0000000000..20dfa2631e --- /dev/null +++ b/test-suite/micromega/int63.v @@ -0,0 +1,24 @@ +Require Import ZArith ZifyInt63 Lia. +Require Import Int63. + +Open Scope int63_scope. + +Goal forall (x:int), 0 <= x = true. +Proof. lia. Qed. + +Goal max_int = 9223372036854775807. +Proof. lia. Qed. + +Goal digits = 63. +Proof. lia. Qed. + +Goal wB = (2^63)%Z. +Proof. lia. Qed. + +Goal forall x y, x + y <= max_int = true. +Proof. lia. Qed. + +Goal forall x, x <> 0 -> x / x = 1. +Proof. + nia. +Qed. |
