13 Commits

Author SHA1 Message Date
Jean-Christophe Filliatre
1961800592 insertion_sort: cleaning up, auto deref, swap version 2021-03-18 18:33:45 +01:00
Andrei Paskevich
eae547d95f stdlib, examples: remove redundant "import" 2018-06-15 16:45:58 +02:00
Andrei Paskevich
fb77f39422 Vc: no more "liberal_for"
Instead, we put a "stop_split" over the subsequent postcondition
under the (begin > end + 1) assumption. When this assumption is
unrealizable (strict for), this allows us to discharge the whole
branch as a single goal.
2017-05-22 16:28:07 +02:00
Jean-Christophe Filliatre
a6877184a9 updated proof sessions
remember to try 'why3 replay' before wasting your time
updating sessions that have been updated
2017-05-15 15:12:46 +02:00
Guillaume Melquiond
4e71025cc1 Fix some examples. 2016-03-24 07:10:12 +01:00
Guillaume Melquiond
2839e902f0 Fix syntax of some examples. 2016-03-16 16:02:17 +01:00
Jean-Christophe Filliatre
981d11a64f library: renamed array.ArraySorted -> array.IntArraySorted
array.ArraySorted is now generic, with type and order relation parameters
2014-03-28 15:18:02 +01:00
Jean-Christophe Filliatre
52e55d5b03 [library] renamed permut... symbols in map.MapPermut and array.ArrayPermut,
as follows:

maps:   permut_sub     -> permut
arrays: map_permut_sub -> permut     (to be consistent with maps)
        permut_sub     -> permut_sub
        permut         -> permut_all
2014-02-11 13:32:37 +01:00
Claude Marché
139d7f44eb [Interp] support for Array.copy 2014-02-03 21:57:34 +01:00
Claude Marche
8e1cfbcfe5 interp: improved bench 2014-01-14 14:38:44 +01:00
Claude Marche
886b27e84d Interp: more benchs 2014-01-14 14:19:25 +01:00
Claude Marche
5374257f85 Interp: support for Array.set 2013-09-23 17:58:13 +02:00
Andrei Paskevich
4b1bc2b0c0 reorganize examples/
- all programs with sessions are in examples/
- all programs without sessions are in examples/in_progress/
  (if you have private sessions for those, just move them there)
- all pure logical problems are in logic/
  (to simplify bench scripts and gallery building; they are few anyway)
- all OCaml programs are in examples/use_api/
- all strange stuff is in examples/misc/
  (most of it should probably go)
- Claude's solutions for Foveoos 2011 are in examples/foveoos11-cm/
  (why do we need two sets of solutions for quite simple problems?)
- hoare_logic, bitvectors, vacid_0_binary_heaps are in examples/

Bench scripts and documentation are updated.
Also, bench/bench is simplified a little bit.
2013-01-30 01:23:44 +01:00