Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Why3
why3
Commits
83c63ee3
Commit
83c63ee3
authored
Oct 11, 2013
by
Jean-Christophe Filliâtre
Browse files
code style
parent
e998e0f1
Changes
1
Hide whitespace changes
Inline
Side-by-side
examples/verifythis_PrefixSumRec.mlw
View file @
83c63ee3
...
...
@@ -65,7 +65,8 @@ module PrefixSumRec
(** frame lemma for "phase1" on fourth argument.
needed to prove both upsweep, downsweep and compute_sums
*)
let rec lemma phase1_frame (left right:int) (a0 a a' : array int) : unit variant { right-left }
let rec lemma phase1_frame (left right:int) (a0 a a' : array int) : unit
variant { right-left }
requires { forall i:int. left-(right-left) < i < right ->
a[i] = a'[i]}
requires { phase1 left right a0 a }
...
...
@@ -78,7 +79,8 @@ module PrefixSumRec
(** frame lemma for "phase1" on third argument.
needed to prove upsweep and compute_sums
*)
let rec lemma phase1_frame2 (left right:int) (a0 a0' a : array int) : unit variant { right-left }
let rec lemma phase1_frame2 (left right:int) (a0 a0' a : array int) : unit
variant { right-left }
requires { forall i:int. left-(right-left) < i < right ->
a0[i] = a0'[i]}
requires { phase1 left right a0 a }
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment