mirror of
https://github.com/GaloisInc/cryptol.git
synced 2024-12-17 21:11:35 +03:00
49030290e9
Revised how we do output for `:sat` and `:prove` without arguments, making it more clear what properties are being checked in each case. Also reworded the output of `:check` slightly in the case where the property has no inputs. It would be nice to make `:check` output more consistent with the others.
33 lines
889 B
Plaintext
33 lines
889 B
Plaintext
Loading module Cryptol
|
|
Q.E.D.
|
|
it : {result : Bit, arg1 : [4]}
|
|
|
|
Run-time error: no counterexample available
|
|
True
|
|
f 0x0 = False
|
|
it : {result : Bit, arg1 : [4]}
|
|
{result = False, arg1 = 0x0}
|
|
False
|
|
f 0x3 = True
|
|
it : {result : Bit, arg1 : [4]}
|
|
{result = True, arg1 = 0x3}
|
|
True
|
|
Unsatisfiable
|
|
it : {result : Bit, arg1 : [4]}
|
|
|
|
Run-time error: no satisfying assignment available
|
|
g {x = 0x00000000, y = 0x00000001} = False
|
|
it : {result : Bit, arg1 : {x : [32], y : [32]}}
|
|
{result = False, arg1 = {x = 0x00000000, y = 0x00000001}}
|
|
g {x = 0x00000000, y = 0x00000000} = True
|
|
it : {result : Bit, arg1 : {x : [32], y : [32]}}
|
|
{result = True, arg1 = {x = 0x00000000, y = 0x00000000}}
|
|
h 0x00 0x00 = False
|
|
it : {result : Bit, arg1 : [8], arg2 : [8]}
|
|
{result = False, arg1 = 0x00, arg2 = 0x00}
|
|
0x00
|
|
0x00
|
|
h 0x00 0x01 = True
|
|
it : {result : Bit, arg1 : [8], arg2 : [8]}
|
|
{result = True, arg1 = 0x00, arg2 = 0x01}
|