| 1 |
Require Import PrimInt63. |
| 2 |
|
| 3 |
Set Implicit Arguments. |
| 4 |
|
| 5 |
Open Scope uint63_scope. |
| 6 |
|
| 7 |
Check (eq_refl : addc 2 3 = C0 5). |
| 8 |
Check (eq_refl (C0 5) <: addc 2 3 = C0 5). |
| 9 |
Check (eq_refl (C0 5) <<: addc 2 3 = C0 5). |
| 10 |
Definition compute1 := Eval compute in addc 2 3. |
| 11 |
Check (eq_refl compute1 : C0 5 = C0 5). |
| 12 |
|
| 13 |
Check (eq_refl : addc 9223372036854775807 2 = C1 1). |
| 14 |
Check (eq_refl (C1 1) <: addc 9223372036854775807 2 = C1 1). |
| 15 |
Check (eq_refl (C1 1) <<: addc 9223372036854775807 2 = C1 1). |
| 16 |
Definition compute2 := Eval compute in addc 9223372036854775807 2. |
| 17 |
Check (eq_refl compute2 : C1 1 = C1 1). |