Debian Codegraph @

test-suite/primitive/uint63/sub.v

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