mirror of
https://github.com/GaloisInc/cryptol.git
synced 2024-11-24 06:52:44 +03:00
39 lines
970 B
Plaintext
39 lines
970 B
Plaintext
Loading module Cryptol
|
|
Q.E.D.
|
|
it : {result : Bit, arg1 : [4]}
|
|
|
|
Run-time error: no counterexample available
|
|
True
|
|
Counterexample
|
|
f 0xc = False
|
|
it : {result : Bit, arg1 : [4]}
|
|
{arg1 = 0xc, result = False}
|
|
False
|
|
Satisfiable
|
|
f 0x3 = True
|
|
it : {result : Bit, arg1 : [4]}
|
|
{arg1 = 0x3, result = True}
|
|
True
|
|
Unsatisfiable
|
|
it : {result : Bit, arg1 : [4]}
|
|
|
|
Run-time error: no satisfying assignment available
|
|
Counterexample
|
|
g {x = 0xffffffff, y = 0x00000000} = False
|
|
it : {result : Bit, arg1 : {x : [32], y : [32]}}
|
|
{arg1 = {x = 0xffffffff, y = 0x00000000}, result = False}
|
|
Satisfiable
|
|
g {x = 0x00000000, y = 0x00000000} = True
|
|
it : {result : Bit, arg1 : {x : [32], y : [32]}}
|
|
{arg1 = {x = 0x00000000, y = 0x00000000}, result = True}
|
|
Counterexample
|
|
h 0x00 0x00 = False
|
|
it : {result : Bit, arg1 : [8], arg2 : [8]}
|
|
{arg1 = 0x00, arg2 = 0x00, result = False}
|
|
0x00
|
|
0x00
|
|
Satisfiable
|
|
h 0x00 0x01 = True
|
|
it : {result : Bit, arg1 : [8], arg2 : [8]}
|
|
{arg1 = 0x00, arg2 = 0x01, result = True}
|