Project

General

Profile

Statistics
| Branch: | Tag: | Revision:

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

History | View | Annotate | Download (1.75 KB)

1
(* ---------------------------------------------------------- *)
2
(* --- Assertion (file oversampling0_4.c, line 163)       --- *)
3
(* ---------------------------------------------------------- *)
4
Require Import ZArith.
5
Require Import Reals.
6
Require Import BuiltIn.
7
Require Import bool.Bool.
8
Require Import int.Int.
9
Require Import int.Abs.
10
Require Import int.ComputerDivision.
11
Require Import real.Real.
12
Require Import real.RealInfix.
13
Require Import real.FromInt.
14
Require Import map.Map.
15
Require Import Qedlib.
16
Require Import Qed.
17

    
18
Require Import Axiomatic.
19
Require Import S_f_mem_pack.
20
Require Import Memory.
21
Require Import Cint.
22
Require Import Compound.
23

    
24
Goal
25
  forall (i : Z),
26
  forall (t : array Z),
27
  forall (t_1 : farray addr Z),
28
  forall (t_2 : farray addr addr),
29
  forall (a_2 a_1 a : addr),
30
  forall (f_1 f : S_f_mem_pack),
31
  let a_3 := t_2.[ (shiftfield_F_f_mem_ni_2 a_2) ] in
32
  let x := (1%Z + i%Z)%Z in
33
  (P_f_pack0) ->
34
  (a <> a_1) ->
35
  ((IsS_f_mem_pack f)) ->
36
  ((IsS_f_mem_pack f_1)) ->
37
  ((framed t_2)) ->
38
  ((linked t)) ->
39
  ((is_sint32 i%Z)) ->
40
  (a <> a_3) ->
41
  (a_1 <> a_3) ->
42
  ((valid_rw t a 1%Z)) ->
43
  ((valid_rw t a_1 1%Z)) ->
44
  ((P_valid_f t t_2 a_2)) ->
45
  ((((region ((base a))%Z)) <= 0)%Z) ->
46
  ((((region ((base a_1))%Z)) <= 0)%Z) ->
47
  ((((region ((base a_2))%Z)) <= 0)%Z) ->
48
  ((separated a_2 2%Z a 1%Z)) ->
49
  ((separated a_2 2%Z a_1 1%Z)) ->
50
  ((P_f_pack2 t_2 t_1 f_1 a_2)) ->
51
  ((separated a_2 2%Z a_3 1%Z)) ->
52
  ((is_uint32
53
     ((t_1.[ a <- x ]).[ (shiftfield_F__arrow_reg__first
54
                           ((shiftfield_F__arrow_mem__reg a_3))) ])%Z)) ->
55
  (forall (f_2 : S_f_mem_pack), ((IsS_f_mem_pack f_2)) ->
56
   (forall (f_3 : S_f_mem_pack), (P_f_pack0) -> ((IsS_f_mem_pack f_3)) ->
57
    ((P_f_pack2 t_2 t_1 f_2 a_2)) -> (P_trans_fA))) ->
58
  ((P_trans_fB i%Z x)).
59