(* Import the AST of this C program *)
(* The next line is "boilerplate", always required after importing an AST. *)
Instance CompSpecs : compspecs.Definition Vprog : varspecs.(* Some definitions relating to the functional spec of this particular program.  *)
Definition sum_Z : list Z -> Z := fold_right Z.add 0.

(* Specifications: *)
Lemma sum_Z_app: forall a b, sum_Z (a++b) = sum_Z a + sum_Z b.
Lemma body_sumarray: semax_body Vprog Gprog f_sumarray sumarray_spec.
Lemma Forall_sublist: forall {A} (P: A->Prop) lo hi (al: list A), Forall P al -> Forall P (sublist lo hi al).
Lemma body_main: semax_body Vprog Gprog f_main main_spec.
Lemma prog_correct: semax_prog prog Vprog Gprog.
Lemma body_sumarray_alt: semax_body Vprog Gprog f_sumarray sumarray_spec.