| 1 |
(set-logic AUFLIA) |
| 2 |
(set-info :source | |
| 3 |
Boogie/Spec# benchmarks. |
| 4 |
This benchmark was translated by Michal Moskal. |
| 5 |
|) |
| 6 |
(set-info :smt-lib-version 2.6) |
| 7 |
(set-info :category "industrial") |
| 8 |
(set-info :status unsat) |
| 9 |
(declare-fun InRange (Int Int) Bool) |
| 10 |
(declare-fun o () Int) |
| 11 |
(declare-fun q () Int) |
| 12 |
(declare-fun int_18446744073709551615 () Int) |
| 13 |
(declare-fun Smt.false () Int) |
| 14 |
(declare-fun anyEqual (Int Int) Int) |
| 15 |
(declare-fun y () Int) |
| 16 |
(declare-fun select1 (Int Int) Int) |
| 17 |
(declare-fun select2 (Int Int Int) Int) |
| 18 |
(declare-fun CONCVARSYM (Int) Int) |
| 19 |
(declare-fun divides (Int Int) Int) |
| 20 |
(declare-fun intAtMost (Int Int) Int) |
| 21 |
(declare-fun subtypes (Int Int) Bool) |
| 22 |
(declare-fun store1 (Int Int Int) Int) |
| 23 |
(declare-fun store2 (Int Int Int Int) Int) |
| 24 |
(declare-fun B_0 () Int) |
| 25 |
(declare-fun B_1 () Int) |
| 26 |
(declare-fun intAtLeast (Int Int) Int) |
| 27 |
(declare-fun int_2147483647 () Int) |
| 28 |
(declare-fun boolOr (Int Int) Int) |
| 29 |
(declare-fun ReallyLastGeneratedExit_correct () Int) |
| 30 |
(declare-fun int_m9223372036854775808 () Int) |
| 31 |
(declare-fun Smt.true () Int) |
| 32 |
(declare-fun int_4294967295 () Int) |
| 33 |
(declare-fun start_correct () Int) |
| 34 |
(declare-fun B () Int) |
| 35 |
(declare-fun F () Int) |
| 36 |
(declare-fun G () Int) |
| 37 |
(declare-fun boolAnd (Int Int) Int) |
| 38 |
(declare-fun boolNot (Int) Int) |
| 39 |
(declare-fun k_0 () Int) |
| 40 |
(declare-fun intLess (Int Int) Int) |
| 41 |
(declare-fun intGreater (Int Int) Int) |
| 42 |
(declare-fun anyNeq (Int Int) Int) |
| 43 |
(declare-fun is (Int Int) Int) |
| 44 |
(declare-fun int_m2147483648 () Int) |
| 45 |
(declare-fun modulo (Int Int) Int) |
| 46 |
(declare-fun boolImplies (Int Int) Int) |
| 47 |
(declare-fun boolIff (Int Int) Int) |
| 48 |
(declare-fun int_9223372036854775807 () Int) |
| 49 |
(assert true) |
| 50 |
(assert true) |
| 51 |
(assert (forall ((?A Int) (?i Int) (?v Int)) (= (select1 (store1 ?A ?i ?v) ?i) ?v))) |
| 52 |
(assert (forall ((?A Int) (?i Int) (?j Int) (?v Int)) (=> (not (= ?i ?j)) (= (select1 (store1 ?A ?i ?v) ?j) (select1 ?A ?j))))) |
| 53 |
(assert (forall ((?A Int) (?o Int) (?f Int) (?v Int)) (= (select2 (store2 ?A ?o ?f ?v) ?o ?f) ?v))) |
| 54 |
(assert (forall ((?A Int) (?o Int) (?f Int) (?p Int) (?g Int) (?v Int)) (=> (not (= ?o ?p)) (= (select2 (store2 ?A ?o ?f ?v) ?p ?g) (select2 ?A ?p ?g))))) |
| 55 |
(assert (forall ((?A Int) (?o Int) (?f Int) (?p Int) (?g Int) (?v Int)) (=> (not (= ?f ?g)) (= (select2 (store2 ?A ?o ?f ?v) ?p ?g) (select2 ?A ?p ?g))))) |
| 56 |
(assert (forall ((?x Int) (?y Int)) (= (= (boolIff ?x ?y) Smt.true) (= (= ?x Smt.true) (= ?y Smt.true))))) |
| 57 |
(assert (forall ((?x Int) (?y Int)) (= (= (boolImplies ?x ?y) Smt.true) (=> (= ?x Smt.true) (= ?y Smt.true))))) |
| 58 |
(assert (forall ((?x Int) (?y Int)) (= (= (boolAnd ?x ?y) Smt.true) (and (= ?x Smt.true) (= ?y Smt.true))))) |
| 59 |
(assert (forall ((?x Int) (?y Int)) (= (= (boolOr ?x ?y) Smt.true) (or (= ?x Smt.true) (= ?y Smt.true))))) |
| 60 |
(assert (forall ((?x Int)) (! (= (= (boolNot ?x) Smt.true) (not (= ?x Smt.true))) :pattern ((boolNot ?x)) ))) |
| 61 |
(assert (forall ((?x Int) (?y Int)) (= (= (anyEqual ?x ?y) Smt.true) (= ?x ?y)))) |
| 62 |
(assert (forall ((?x Int) (?y Int)) (! (= (= (anyNeq ?x ?y) Smt.true) (not (= ?x ?y))) :pattern ((anyNeq ?x ?y)) ))) |
| 63 |
(assert (forall ((?x Int) (?y Int)) (= (= (intLess ?x ?y) Smt.true) (< ?x ?y)))) |
| 64 |
(assert (forall ((?x Int) (?y Int)) (= (= (intAtMost ?x ?y) Smt.true) (<= ?x ?y)))) |
| 65 |
(assert (forall ((?x Int) (?y Int)) (= (= (intAtLeast ?x ?y) Smt.true) (>= ?x ?y)))) |
| 66 |
(assert (forall ((?x Int) (?y Int)) (= (= (intGreater ?x ?y) Smt.true) (> ?x ?y)))) |
| 67 |
(assert (distinct Smt.false Smt.true)) |
| 68 |
(assert (forall ((?t Int)) (! (subtypes ?t ?t) :pattern ((subtypes ?t ?t)) ))) |
| 69 |
(assert (forall ((?t Int) (?u Int) (?v Int)) (! (=> (and (subtypes ?t ?u) (subtypes ?u ?v)) (subtypes ?t ?v)) :pattern ((subtypes ?t ?u) (subtypes ?u ?v)) ))) |
| 70 |
(assert (forall ((?t Int) (?u Int)) (! (=> (and (subtypes ?t ?u) (subtypes ?u ?t)) (= ?t ?u)) :pattern ((subtypes ?t ?u) (subtypes ?u ?t)) ))) |
| 71 |
(assert (let ((?v_0 (forall ((?p Int) (?f Int)) (or (= (select2 B_1 ?p ?f) (select2 B ?p ?f)) (and (= ?p o) (= ?f F))))) (?v_1 (= ReallyLastGeneratedExit_correct Smt.true)) (?v_2 (= start_correct Smt.true))) (not (=> (=> (=> true (=> (= k_0 (select2 B q G)) (=> (= B_0 (store2 B o F (+ y (select2 B o F)))) (=> (= B_1 (store2 B_0 q G k_0)) (=> (=> (=> true (and ?v_0 (=> ?v_0 (=> true true)))) ?v_1) ?v_1))))) ?v_2) ?v_2)))) |
| 72 |
(check-sat) |
| 73 |
(exit) |