test-suite/primitive/uint63/mod.v
raw| 1 | Require Import PrimInt63. |
| 2 | |
| 3 | Set Implicit Arguments. |
| 4 | |
| 5 | Open Scope uint63_scope. |
| 6 | |
| 7 | Check (eq_refl : mod 6 3 = 0). |
| 8 | Check (eq_refl 0 <: mod 6 3 = 0). |
| 9 | Check (eq_refl 0 <<: mod 6 3 = 0). |
| 10 | Definition compute1 := Eval compute in mod 6 3. |
| 11 | Check (eq_refl compute1 : 0 = 0). |
| 12 | |
| 13 | Check (eq_refl : mod 5 3 = 2). |
| 14 | Check (eq_refl 2 <: mod 5 3 = 2). |
| 15 | Check (eq_refl 2 <<: mod 5 3 = 2). |
| 16 | Definition compute2 := Eval compute in mod 5 3. |
| 17 | Check (eq_refl compute2 : 2 = 2). |