Debian Codegraph @

test-suite/primitive/uint63/addcarryc.v

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