repo.or.cz
/
why3.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Merge branch 'upgrade_proofs_coq_8_11_to_8_16' into 'master'
[why3.git]
/
bench
/
check-ce
/
logic_function.mlw
blob
ff1c8fed04ddbdd1919ac80b0e5d980f36205131
1
2
use int.Int
3
4
function g (x:int) : int
5
6
let main_g (y:int) : unit
7
=
8
assert { g y <> 42 }
9
10
function h (x1:int) (x2:bool) : int
11
12
let main_h (y1:int) (y2:bool) : unit
13
=
14
assert { h y1 y2 <> 42 }
15
16
function f (x:int) : int
17
18
let main_f (y:int) : unit
19
requires { y = 0 }
20
=
21
assert { f 0 <> y };
22
assert { f 1 <> y }