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 'fix_sessions' into 'master'
[why3.git]
/
examples
/
bts
/
438.mlw
blob
612a0b5e9ab972e85d906eff2beeff8a5653e708
1
use int.Int
2
use real.FromInt
3
use real.RealInfix
4
use real.Abs
5
6
goal g1 : from_int 100 = 100.
7
goal g2: forall x. -5 <= x <= 5 -> abs (from_int x) <=. 5.
8
goal g3: forall x. x <= 5 -> 10. *. from_int x <=. 50.