| 1 |
Require Import TestSuite.sint63. |
| 2 |
|
| 3 |
Set Implicit Arguments. |
| 4 |
|
| 5 |
Open Scope sint63_scope. |
| 6 |
|
| 7 |
Check (eq_refl : mods 6 3 = 0). |
| 8 |
Check (eq_refl 0 <: mods 6 3 = 0). |
| 9 |
Check (eq_refl 0 <<: mods 6 3 = 0). |
| 10 |
Definition compute1 := Eval compute in mods 6 3. |
| 11 |
Check (eq_refl compute1 : 0 = 0). |
| 12 |
|
| 13 |
Check (eq_refl : mods (-6)%sint63 3 = 0). |
| 14 |
Check (eq_refl 0 <: mods (-6)%sint63 3 = 0). |
| 15 |
Check (eq_refl 0 <<: mods (-6)%sint63 3 = 0). |
| 16 |
Definition compute2 := Eval compute in mods (-6)%sint63 3. |
| 17 |
Check (eq_refl compute2 : 0 = 0). |
| 18 |
|
| 19 |
Check (eq_refl : mods 6 (-3)%sint63 = 0). |
| 20 |
Check (eq_refl 0 <: mods 6 (-3)%sint63 = 0). |
| 21 |
Check (eq_refl 0 <<: mods 6 (-3)%sint63 = 0). |
| 22 |
Definition compute3 := Eval compute in mods 6 (-3)%sint63. |
| 23 |
Check (eq_refl compute3 : 0 = 0). |
| 24 |
|
| 25 |
Check (eq_refl : mods (-6)%sint63 (-3)%sint63 = 0). |
| 26 |
Check (eq_refl 0 <: mods (-6)%sint63 (-3)%sint63 = 0). |
| 27 |
Check (eq_refl 0 <<: mods (-6)%sint63 (-3)%sint63 = 0). |
| 28 |
Definition compute4 := Eval compute in mods (-6)%sint63 (-3)%sint63. |
| 29 |
Check (eq_refl compute4 : 0 = 0). |
| 30 |
|
| 31 |
Check (eq_refl : mods 5 3 = 2). |
| 32 |
Check (eq_refl 2 <: mods 5 3 = 2). |
| 33 |
Check (eq_refl 2 <<: mods 5 3 = 2). |
| 34 |
Definition compute5 := Eval compute in mods 5 3. |
| 35 |
Check (eq_refl compute5 : 2 = 2). |
| 36 |
|
| 37 |
Check (eq_refl : mods (-5)%sint63 3 = -2). |
| 38 |
Check (eq_refl (-2) <: mods (-5)%sint63 3 = -2). |
| 39 |
Check (eq_refl (-2) <<: mods (-5)%sint63 3 = -2). |
| 40 |
Definition compute6 := Eval compute in mods (-5)%sint63 3. |
| 41 |
Check (eq_refl compute6 : -2 = -2). |
| 42 |
|
| 43 |
Check (eq_refl : mods 5 (-3)%sint63 = 2). |
| 44 |
Check (eq_refl 2 <: mods 5 (-3)%sint63 = 2). |
| 45 |
Check (eq_refl 2 <<: mods 5 (-3)%sint63 = 2). |
| 46 |
Definition compute7 := Eval compute in mods 5 (-3)%sint63. |
| 47 |
Check (eq_refl compute7 : 2 = 2). |
| 48 |
|
| 49 |
Check (eq_refl : mods (-5)%sint63 (-3)%sint63 = -2). |
| 50 |
Check (eq_refl (-2) <: mods (-5)%sint63 (-3)%sint63 = -2). |
| 51 |
Check (eq_refl (-2) <<: mods (-5)%sint63 (-3)%sint63 = -2). |
| 52 |
Definition compute8 := Eval compute in mods (-5)%sint63 (-3)%sint63. |
| 53 |
Check (eq_refl compute8 : -2 = -2). |