File: max_why.v

package info (click to toggle)
why 2.26%2Bdfsg-2%2Bsqueeze1
  • links: PTS, VCS
  • area: main
  • in suites: squeeze
  • size: 19,796 kB
  • ctags: 19,175
  • sloc: ml: 115,078; java: 9,253; ansic: 4,757; makefile: 1,350; sh: 485; lisp: 3
file content (29 lines) | stat: -rw-r--r-- 840 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
(* This file was originally generated by why.
   It can be modified; only the generated parts will be overwritten. *)

Require Export max_spec_why.

(* Why obligation from file "/home/cmarche/recherche/why/examples-c/tutorial/max.c", line 2, characters 4-87: *)
(*Why goal*) Lemma max_impl_po_1 : 
  forall (x: Z),
  forall (y: Z),
  forall (HW_1: x > y),
  (* CADUCEUS_1 *) ((x >= x /\ x >= y) /\
  (forall (z:Z), (z >= x /\ z >= y -> z >= x))).
Proof.
intuition.
(* FILL PROOF HERE *)
Save.

(* Why obligation from file "/home/cmarche/recherche/why/examples-c/tutorial/max.c", line 2, characters 4-87: *)
(*Why goal*) Lemma max_impl_po_2 : 
  forall (x: Z),
  forall (y: Z),
  forall (HW_2: x <= y),
  (* CADUCEUS_1 *) ((y >= x /\ y >= y) /\
  (forall (z:Z), (z >= x /\ z >= y -> z >= y))).
Proof.
intuition.
(* FILL PROOF HERE *)
Save.