Project

General

Profile

Statistics
| Branch: | Tag: | Revision:

lustrec-tests / regression_tests / lustre_files / success / Simulink / src_math_int_test / math_int_test.smt2 @ 6c3ea955

History | View | Annotate | Download (1.54 KB)

1
; math_int_test
2
(declare-var math_int_test.In5_1_1 Int)
3
(declare-var math_int_test.Out5_1_1 Int)
4
(declare-var math_int_test.ni_0._arrow._first_c Bool)
5
(declare-var math_int_test.ni_0._arrow._first_m Bool)
6
(declare-var math_int_test.ni_0._arrow._first_x Bool)
7
(declare-var math_int_test.MathFunction4_1_1 Int)
8
(declare-var math_int_test.__math_int_test_1 Bool)
9
(declare-var math_int_test.i_virtual_local Real)
10
(declare-rel math_int_test_reset (Bool Bool))
11
(declare-rel math_int_test_step (Int Int Bool Bool))
12

    
13
(rule (=> 
14
  (and 
15
       
16
       (= math_int_test.ni_0._arrow._first_m true)
17
  )
18
  (math_int_test_reset math_int_test.ni_0._arrow._first_c
19
                       math_int_test.ni_0._arrow._first_m)
20
))
21

    
22
(rule (=> 
23
  (and (= math_int_test.ni_0._arrow._first_m math_int_test.ni_0._arrow._first_c)
24
       (and (= math_int_test.__math_int_test_1 (ite math_int_test.ni_0._arrow._first_m true false))
25
            (= math_int_test.ni_0._arrow._first_x false))
26
       (and (or (not (= math_int_test.__math_int_test_1 true))
27
               (= math_int_test.i_virtual_local 0.0))
28
            (or (not (= math_int_test.__math_int_test_1 false))
29
               (= math_int_test.i_virtual_local 1.0))
30
       )
31
       (= math_int_test.MathFunction4_1_1 (* math_int_test.In5_1_1 math_int_test.In5_1_1))
32
       (= math_int_test.Out5_1_1 math_int_test.MathFunction4_1_1)
33
       )
34
  (math_int_test_step math_int_test.In5_1_1
35
                      math_int_test.Out5_1_1
36
                      math_int_test.ni_0._arrow._first_c
37
                      math_int_test.ni_0._arrow._first_x)
38
))
39