ex21.t2_fixed.smt2

loading
details
attribute value
description
owner Johannes Waldmann
uploaded 2017-08-17 03:45:05.0
disk size 2.27 KB
downloadable true
type
attribute value
name no_type
processor id 1
description this is the default benchmark type for rejected benchmarks and benchmarks that are not associated with a type.
owning community none
loading contents
(declare-sort Loc 0)
(declare-const l0 Loc)
(declare-const l1 Loc)
(declare-const l2 Loc)
(declare-const l3 Loc)
(declare-const l4 Loc)
(declare-const l5 Loc)
(declare-const l6 Loc)
(assert (distinct l0 l1 l2 l3 l4 l5 l6))

(define-fun cfg_init ( (pc Loc) (src Loc) (rel Bool) ) Bool
  (and (= pc src) rel))

(define-fun cfg_trans2 ( (pc Loc) (src Loc)
                         (pc1 Loc) (dst Loc)
                         (rel Bool) ) Bool
  (and (= pc src) (= pc1 dst) rel))

(define-fun cfg_trans3 ( (pc Loc) (exit Loc)
                         (pc1 Loc) (call Loc)
                         (pc2 Loc) (return Loc)
                         (rel Bool) ) Bool
  (and (= pc exit) (= pc1 call) (= pc2 return) rel))

(define-fun init_main ( (pc^0 Loc) (i^0 Int) (j^0 Int) (y4^0 Int) (y6^0 Int) (y8^0 Int) ) Bool
  (cfg_init pc^0 l6 true))

(define-fun next_main (
                 (pc^0 Loc) (i^0 Int) (j^0 Int) (y4^0 Int) (y6^0 Int) (y8^0 Int)
                 (pc^post Loc) (i^post Int) (j^post Int) (y4^post Int) (y6^post Int) (y8^post Int)
             ) Bool
  (or
    (cfg_trans2 pc^0 l0 pc^post l1 (and (and (and (and (and (<= 100 (+ 0 i^0)) (= j^post 100)) (= i^0 i^post)) (= y4^0 y4^post)) (= y6^0 y6^post)) (= y8^0 y8^post)))
    (cfg_trans2 pc^0 l0 pc^post l2 (and (and (and (and (and (<= (+ 1 i^0) 100) (= y4^post (+ 0 i^0))) (= y6^post (+ 0 i^0))) (= i^post (+ 1 i^0))) (= j^0 j^post)) (= y8^0 y8^post)))
    (cfg_trans2 pc^0 l2 pc^post l0 (and (and (and (and (= i^0 i^post) (= j^0 j^post)) (= y4^0 y4^post)) (= y6^0 y6^post)) (= y8^0 y8^post)))
    (cfg_trans2 pc^0 l3 pc^post l4 (and (and (and (and (and (<= 200 (+ 0 j^0)) (= i^0 i^post)) (= j^0 j^post)) (= y4^0 y4^post)) (= y6^0 y6^post)) (= y8^0 y8^post)))
    (cfg_trans2 pc^0 l3 pc^post l1 (and (and (and (and (and (<= (+ 1 j^0) 200) (= y8^post (+ 0 j^0))) (= j^post (+ 1 j^0))) (= i^0 i^post)) (= y4^0 y4^post)) (= y6^0 y6^post)))
    (cfg_trans2 pc^0 l1 pc^post l3 (and (and (and (and (= i^0 i^post) (= j^0 j^post)) (= y4^0 y4^post)) (= y6^0 y6^post)) (= y8^0 y8^post)))
    (cfg_trans2 pc^0 l5 pc^post l2 (and (and (and (and (= i^post 0) (= j^0 j^post)) (= y4^0 y4^post)) (= y6^0 y6^post)) (= y8^0 y8^post)))
    (cfg_trans2 pc^0 l6 pc^post l5 (and (and (and (and (= i^0 i^post) (= j^0 j^post)) (= y4^0 y4^post)) (= y6^0 y6^post)) (= y8^0 y8^post)))
  )
)
popout

content may be truncated. 'popout' for larger text window.

actions get anonymous link download benchmark