Project

General

Profile

Statistics
| Branch: | Tag: | Revision:

lustrec / optim / oversampling / out / typed / g_step_call_f_step_pre_4.coq @ 6a93d814

History | View | Annotate | Download (3.17 KB)

1
(* ---------------------------------------------------------- *)
2
(* --- Instance of 'Pre-condition (file oversampling0_4.c, line 152) in 'f_step'' in 'g_step' at call 'f_step' (file oversampling0_4.c, line 357)
3
 --- *)
4
(* ---------------------------------------------------------- *)
5
Require Import ZArith.
6
Require Import Reals.
7
Require Import BuiltIn.
8
Require Import bool.Bool.
9
Require Import int.Int.
10
Require Import int.Abs.
11
Require Import int.ComputerDivision.
12
Require Import real.Real.
13
Require Import real.RealInfix.
14
Require Import real.FromInt.
15
Require Import map.Map.
16
Require Import Qedlib.
17
Require Import Qed.
18
Require Import Memory.
19
Require Import Cint.
20

    
21
Require Import Compound.
22
Require Import Axiomatic.
23
Require Import Globals.
24
Require Import S_g_mem_pack.
25

    
26
Goal
27
  let a := (shift_sint32 ((global (L_last_y_459)%Z)) 0%Z) in
28
  let a_1 := (shift_sint32 ((global (L_cpt_458)%Z)) 0%Z) in
29
  forall (i_1 i : Z),
30
  forall (t : array Z),
31
  forall (t_7 t_6 t_5 t_4 t_3 t_2 t_1 : farray addr Z),
32
  forall (t_8 : farray addr addr),
33
  forall (a_3 a_2 : addr),
34
  let a_4 := t_8.[ (shiftfield_F_g_mem_ni_1 a_3) ] in
35
  let a_5 := t_8.[ (shiftfield_F_g_mem_ni_0 a_3) ] in
36
  let a_6 := t_8.[ (shiftfield_F_f_mem_ni_2 a_5) ] in
37
  let x := (t_6.[ a ])%Z in
38
  let a_7 := (shiftfield_F__arrow_reg__first
39
               ((shiftfield_F__arrow_mem__reg a_4))) in
40
  let x_1 := (t_7.[ a_7 ])%Z in
41
  ((framed t_8)) ->
42
  ((linked t)) ->
43
  ((is_uint32 i%Z)) ->
44
  (a_2 <> a_4) ->
45
  ((valid_rw t a_2 1%Z)) ->
46
  ((P_valid_g t t_8 a_3)) ->
47
  ((((region ((base a_2))%Z)) <= 0)%Z) ->
48
  ((((region ((base a_3))%Z)) <= 0)%Z) ->
49
  ((separated a_3 3%Z a_2 1%Z)) ->
50
  (a_2 <> a_6) ->
51
  (a_4 <> a_6) ->
52
  ((separated a_2 1%Z a_5 2%Z)) ->
53
  ((separated a_3 3%Z a_5 2%Z)) ->
54
  ((separated a_3 3%Z a_4 1%Z)) ->
55
  ((separated a_5 2%Z a_4 1%Z)) ->
56
  ((is_sint32 x)) ->
57
  ((is_uint32 x_1)) ->
58
  ((separated a_3 3%Z a_6 1%Z)) ->
59
  ((separated a_5 2%Z a_6 1%Z)) ->
60
  (itep ((0 = x_1)%Z) (t_1 = t_7) (t_1 = (t_7.[ a_7 <- (0)%Z ]))) ->
61
  (itep ((0 = i)%Z) (t_4 = t_6)
62
   ((t_4 = t_5) /\ (t_6 = (t_5.[ a <- (i_1)%Z ])))) ->
63
  (itep ((0 = x_1)%Z)
64
   ((t_1 = t_2) /\
65
    (t_4 =
66
     (t_2.[ a <- (t_2.[ (shiftfield_F_g_reg___g_2
67
                          ((shiftfield_F_g_mem__reg a_3))) ])%Z ])))
68
   ((t_1 = t_3) /\ (t_4 = (t_3.[ a <- (0)%Z ])))) ->
69
  (forall (g : S_g_mem_pack), ((IsS_g_mem_pack g)) ->
70
   (forall (g_1 : S_g_mem_pack), (P_g_pack0) -> ((IsS_g_mem_pack g_1)) ->
71
    ((P_g_pack3 t_8 t_7 g a_3)) -> (P_trans_gA))) ->
72
  (forall (g : S_g_mem_pack), ((IsS_g_mem_pack g)) ->
73
   (forall (g_1 : S_g_mem_pack), ((IsS_g_mem_pack g_1)) ->
74
    ((P_g_pack1 t_8 t_4 g_1 a_3)) -> ((P_g_pack3 t_8 t_7 g a_3)) ->
75
    ((P_trans_gC g g_1 (t_4.[ a ])%Z)))) ->
76
  (forall (g : S_g_mem_pack), ((IsS_g_mem_pack g)) ->
77
   (forall (g_1 : S_g_mem_pack), ((IsS_g_mem_pack g_1)) ->
78
    ((P_g_pack1 t_8 t_1 g_1 a_3)) -> ((P_g_pack3 t_8 t_7 g a_3)) ->
79
    ((P_trans_gB g g_1 x_1)))) ->
80
  (forall (g : S_g_mem_pack), ((IsS_g_mem_pack g)) ->
81
   (forall (g_1 : S_g_mem_pack), ((IsS_g_mem_pack g_1)) ->
82
    ((P_g_pack1 t_8 t_6 g_1 a_3)) -> ((P_g_pack3 t_8 t_7 g a_3)) ->
83
    ((P_trans_gD i%Z i_1%Z g g_1 x)))) ->
84
  ((a_1 <> a_6) /\ (a <> a_6) /\ ((separated a_5 2%Z a_1 1%Z)) /\
85
   ((separated a_5 2%Z a 1%Z))).
86