(*      semax vars G (fun s => call P (map s vars)) f -> *)
Definition program_proved (p: program) :=
exists G, semax_func G p G
/\ table_get G 0 = Some  (0::nil, lift1 allocpool (eval (Var 0))).

Axiom semax_if: forall x c1 c2 vars G (P: assert),
expcheck vars x = true ->
semax vars G (local (lift2 neq (eval x) (lift0 0)) && P) c1 ->
semax vars G (local (lift2 eq (eval x) (lift0 0)) && P) c2 ->
semax vars G P (If x Then c1 Else c2).