Debian Codegraph @

test-suite/primitive/uint63/subcarryc.v

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