2014-08-20 04:11:43 +04:00
|
|
|
Loading module Cryptol
|
|
|
|
Q.E.D.
|
2014-08-22 02:02:35 +04:00
|
|
|
it : {result : Bit, arg1 : [4]}
|
|
|
|
|
|
|
|
Run-time error: no counterexample available
|
|
|
|
True
|
2014-08-20 04:11:43 +04:00
|
|
|
f 0 = False
|
2014-08-22 02:02:35 +04:00
|
|
|
it : {result : Bit, arg1 : [4]}
|
|
|
|
{result = False, arg1 = 0}
|
|
|
|
False
|
2014-08-20 04:11:43 +04:00
|
|
|
f 3 = True
|
2014-08-22 02:02:35 +04:00
|
|
|
it : {result : Bit, arg1 : [4]}
|
|
|
|
{result = True, arg1 = 3}
|
|
|
|
True
|
2014-08-20 04:11:43 +04:00
|
|
|
Unsatisfiable.
|
2014-08-22 02:02:35 +04:00
|
|
|
it : {result : Bit, arg1 : [4]}
|
|
|
|
|
|
|
|
Run-time error: no satisfying assignment available
|
2014-08-20 04:11:43 +04:00
|
|
|
g {x = 0, y = 1} = False
|
2014-08-22 02:02:35 +04:00
|
|
|
it : {result : Bit, arg1 : {x : [32], y : [32]}}
|
|
|
|
{result = False, arg1 = {x = 0, y = 1}}
|
2014-08-20 04:11:43 +04:00
|
|
|
g {x = 0, y = 0} = True
|
2014-08-22 02:02:35 +04:00
|
|
|
it : {result : Bit, arg1 : {x : [32], y : [32]}}
|
|
|
|
{result = True, arg1 = {x = 0, y = 0}}
|
2014-08-21 04:10:40 +04:00
|
|
|
h 0 0 = False
|
2014-08-22 02:02:35 +04:00
|
|
|
it : {result : Bit, arg1 : [8], arg2 : [8]}
|
|
|
|
{result = False, arg1 = 0, arg2 = 0}
|
|
|
|
0
|
|
|
|
0
|
2014-08-21 04:10:40 +04:00
|
|
|
h 0 1 = True
|
2014-08-22 02:02:35 +04:00
|
|
|
it : {result : Bit, arg1 : [8], arg2 : [8]}
|
|
|
|
{result = True, arg1 = 0, arg2 = 1}
|