Debian Codegraph @

test-suite/primitive/uint63/mul.v

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