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 'smtv2-dont-fail-on-untyped-prover-vars' into 'master'
[why3.git]
/
examples_in_progress
/
reals.mlw
blob
4774a72023c1f2150c97b11e93e02696348cfe96
1
module M
2
3
use int.Int
4
use real.RealInfix
5
6
let f (x:int) ensures { result = x + 1 } = x + 1
7
8
let g (x:real) ensures { result = -. x +. 1.0 } = -. x +. 1.0
9
10
end