| 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 boolIff (Int Int) Int) |
| 10 |
(declare-fun PeerGroupPlaceholder_ () Int) |
| 11 |
(declare-fun intGreater (Int Int) Int) |
| 12 |
(declare-fun IfThenElse_ (Int Int Int) Int) |
| 13 |
(declare-fun CONCVARSYM (Int) Int) |
| 14 |
(declare-fun SharingMode_Unshared_ () Int) |
| 15 |
(declare-fun OwnedResults.Mz_ (Int Int) Int) |
| 16 |
(declare-fun System.Reflection.IReflect () Int) |
| 17 |
(declare-fun int_m2147483648 () Int) |
| 18 |
(declare-fun System.Int32 () Int) |
| 19 |
(declare-fun intAtMost (Int Int) Int) |
| 20 |
(declare-fun multiply (Int Int) Int) |
| 21 |
(declare-fun Is_ (Int Int) Int) |
| 22 |
(declare-fun Smt.true () Int) |
| 23 |
(declare-fun ElementType_ (Int) Int) |
| 24 |
(declare-fun divide (Int Int) Int) |
| 25 |
(declare-fun int_m9223372036854775808 () Int) |
| 26 |
(declare-fun divides (Int Int) Int) |
| 27 |
(declare-fun select1 (Int Int) Int) |
| 28 |
(declare-fun store1 (Int Int Int) Int) |
| 29 |
(declare-fun select2 (Int Int Int) Int) |
| 30 |
(declare-fun nullObject () Int) |
| 31 |
(declare-fun store2 (Int Int Int Int) Int) |
| 32 |
(declare-fun modulo (Int Int) Int) |
| 33 |
(declare-fun ownerRef_ () Int) |
| 34 |
(declare-fun StructSet_ (Int Int Int) Int) |
| 35 |
(declare-fun AsDirectSubClass (Int Int) Int) |
| 36 |
(declare-fun OwnedResults.Pw_ (Int Int) Int) |
| 37 |
(declare-fun System.Boolean () Int) |
| 38 |
(declare-fun shl_ (Int Int) Int) |
| 39 |
(declare-fun DimLength_ (Int Int) Int) |
| 40 |
(declare-fun block8823_correct () Int) |
| 41 |
(declare-fun anyEqual (Int Int) Int) |
| 42 |
(declare-fun System.Array () Int) |
| 43 |
(declare-fun System.Reflection.ICustomAttributeProvider () Int) |
| 44 |
(declare-fun SharingMode_LockProtected_ () Int) |
| 45 |
(declare-fun IsMemberlessType_ (Int) Int) |
| 46 |
(declare-fun System.UInt16 () Int) |
| 47 |
(declare-fun ClassRepr (Int) Int) |
| 48 |
(declare-fun System.Runtime.InteropServices._Type () Int) |
| 49 |
(declare-fun boolNot (Int) Int) |
| 50 |
(declare-fun T () Int) |
| 51 |
(declare-fun System.Runtime.InteropServices._MemberInfo () Int) |
| 52 |
(declare-fun boolAnd (Int Int) Int) |
| 53 |
(declare-fun boolImplies (Int Int) Int) |
| 54 |
(declare-fun Unbox (Int) Int) |
| 55 |
(declare-fun intAtLeast (Int Int) Int) |
| 56 |
(declare-fun ownerFrame_ () Int) |
| 57 |
(declare-fun int_4294967295 () Int) |
| 58 |
(declare-fun IsAllocated (Int Int) Int) |
| 59 |
(declare-fun TypeName (Int) Int) |
| 60 |
(declare-fun AsPeerField (Int) Int) |
| 61 |
(declare-fun int_9223372036854775807 () Int) |
| 62 |
(declare-fun block8840_correct () Int) |
| 63 |
(declare-fun AsRepField (Int Int) Int) |
| 64 |
(declare-fun System.Reflection.MemberInfo () Int) |
| 65 |
(declare-fun ArrayCategoryValue_ () Int) |
| 66 |
(declare-fun is (Int Int) Int) |
| 67 |
(declare-fun InRange (Int Int) Bool) |
| 68 |
(declare-fun AsOwner (Int Int) Int) |
| 69 |
(declare-fun OwnedResults.Qz_System.Int32_ (Int Int Int) Int) |
| 70 |
(declare-fun System.Int64 () Int) |
| 71 |
(declare-fun or_ (Int Int) Int) |
| 72 |
(declare-fun As_ (Int Int) Int) |
| 73 |
(declare-fun exposeVersion_ () Int) |
| 74 |
(declare-fun System.Type () Int) |
| 75 |
(declare-fun intLess (Int Int) Int) |
| 76 |
(declare-fun AsImmutable_ (Int) Int) |
| 77 |
(declare-fun NonNullFieldsAreInitialized_ () Int) |
| 78 |
(declare-fun LBound_ (Int Int) Int) |
| 79 |
(declare-fun System.Object () Int) |
| 80 |
(declare-fun System.UInt32 () Int) |
| 81 |
(declare-fun localinv_ () Int) |
| 82 |
(declare-fun inv_ () Int) |
| 83 |
(declare-fun OwnedResults.Static0_ (Int) Int) |
| 84 |
(declare-fun entry_correct () Int) |
| 85 |
(declare-fun OwnedResults.Pz_ (Int Int) Int) |
| 86 |
(declare-fun FirstConsistentOwner_ () Int) |
| 87 |
(declare-fun UnboxedType (Int) Int) |
| 88 |
(declare-fun AsRefField (Int Int) Int) |
| 89 |
(declare-fun System.Byte () Int) |
| 90 |
(declare-fun AdditiveMethods () Int) |
| 91 |
(declare-fun this () Int) |
| 92 |
(declare-fun int_2147483647 () Int) |
| 93 |
(declare-fun ArrayCategoryRef_ () Int) |
| 94 |
(declare-fun Heap_ () Int) |
| 95 |
(declare-fun OwnedResults.Qz_System.Int32_.1 (Int Int) Int) |
| 96 |
(declare-fun Length_ (Int) Int) |
| 97 |
(declare-fun AsNonNullRefField (Int Int) Int) |
| 98 |
(declare-fun Sub () Int) |
| 99 |
(declare-fun IsHeap (Int) Int) |
| 100 |
(declare-fun OwnedResults.Static1_ (Int) Int) |
| 101 |
(declare-fun UBound_ (Int Int) Int) |
| 102 |
(declare-fun System.String () Int) |
| 103 |
(declare-fun System.String.IsInterned_System.String_notnull_ (Int) Int) |
| 104 |
(declare-fun UnknownRef_ () Int) |
| 105 |
(declare-fun Rank_ (Int) Int) |
| 106 |
(declare-fun RefArraySet (Int Int Int) Int) |
| 107 |
(declare-fun ValueArraySet (Int Int Int) Int) |
| 108 |
(declare-fun boolOr (Int Int) Int) |
| 109 |
(declare-fun sharingMode_ () Int) |
| 110 |
(declare-fun AdditiveMethods.amRep () Int) |
| 111 |
(declare-fun subtypes (Int Int) Bool) |
| 112 |
(declare-fun System.String.Equals_System.String_System.String_ (Int Int) Int) |
| 113 |
(declare-fun anyNeq (Int Int) Int) |
| 114 |
(declare-fun IsStaticField (Int) Int) |
| 115 |
(declare-fun IsNotNull_ (Int Int) Int) |
| 116 |
(declare-fun typeof_ (Int) Int) |
| 117 |
(declare-fun OwnedResults () Int) |
| 118 |
(declare-fun ArrayCategoryNonNullRef_ () Int) |
| 119 |
(declare-fun RefArrayGet (Int Int) Int) |
| 120 |
(declare-fun ValueArrayGet (Int Int) Int) |
| 121 |
(declare-fun TypeObject (Int) Int) |
| 122 |
(declare-fun and_ (Int Int) Int) |
| 123 |
(declare-fun OwnedResults.x () Int) |
| 124 |
(declare-fun BoxTester (Int Int) Int) |
| 125 |
(declare-fun OwnedResults.y () Int) |
| 126 |
(declare-fun OwnedResults.Static2_ () Int) |
| 127 |
(declare-fun IsValueType_ (Int) Int) |
| 128 |
(declare-fun AsRangeField (Int Int) Int) |
| 129 |
(declare-fun AdditiveMethods.amPeer () Int) |
| 130 |
(declare-fun System.SByte () Int) |
| 131 |
(declare-fun BeingConstructed_ () Int) |
| 132 |
(declare-fun FieldDependsOnFCO_ (Int Int Int) Int) |
| 133 |
(declare-fun NonNullRefArray (Int Int) Int) |
| 134 |
(declare-fun RefArray (Int Int) Int) |
| 135 |
(declare-fun ArrayCategory_ (Int) Int) |
| 136 |
(declare-fun return.value_0 () Int) |
| 137 |
(declare-fun AsPureObject_ (Int) Int) |
| 138 |
(declare-fun System.String.Equals_System.String_ (Int Int) Int) |
| 139 |
(declare-fun System.Int16 () Int) |
| 140 |
(declare-fun AsMutable_ (Int) Int) |
| 141 |
(declare-fun OwnedResults.Pw_.1 (Int) Int) |
| 142 |
(declare-fun System.Char () Int) |
| 143 |
(declare-fun System.UInt64 () Int) |
| 144 |
(declare-fun StructGet_ (Int Int) Int) |
| 145 |
(declare-fun OneClassDown (Int Int) Int) |
| 146 |
(declare-fun ArrayIndex (Int Int Int Int) Int) |
| 147 |
(declare-fun Box (Int Int) Int) |
| 148 |
(declare-fun int_18446744073709551615 () Int) |
| 149 |
(declare-fun shr_ (Int Int) Int) |
| 150 |
(declare-fun OwnedResults.Pz_.1 (Int) Int) |
| 151 |
(declare-fun IsDirectlyModifiableField (Int) Int) |
| 152 |
(declare-fun StringLength_ (Int) Int) |
| 153 |
(declare-fun allocated_ () Int) |
| 154 |
(declare-fun block8806_correct () Int) |
| 155 |
(declare-fun BaseClass_ (Int) Int) |
| 156 |
(declare-fun ValueArray (Int Int) Int) |
| 157 |
(declare-fun Smt.false () Int) |
| 158 |
(declare-fun IsImmutable_ (Int) Int) |
| 159 |
(declare-fun elements_ () Int) |
| 160 |
(declare-fun DeclType (Int) Int) |
| 161 |
(declare-fun ReallyLastGeneratedExit_correct () Int) |
| 162 |
(assert (distinct allocated_ elements_ inv_ localinv_ exposeVersion_ sharingMode_ SharingMode_Unshared_ SharingMode_LockProtected_ ownerRef_ ownerFrame_ PeerGroupPlaceholder_ ArrayCategoryValue_ ArrayCategoryRef_ ArrayCategoryNonNullRef_ System.Array System.Object System.Type BeingConstructed_ NonNullFieldsAreInitialized_ System.String FirstConsistentOwner_ System.SByte System.Byte System.Int16 System.UInt16 System.Int32 System.UInt32 System.Int64 System.UInt64 System.Char int_m2147483648 int_2147483647 int_4294967295 int_m9223372036854775808 int_9223372036854775807 int_18446744073709551615 UnknownRef_ OwnedResults.x AdditiveMethods.amPeer AdditiveMethods.amRep OwnedResults.y OwnedResults System.Runtime.InteropServices._Type System.Runtime.InteropServices._MemberInfo System.Reflection.IReflect Sub System.Reflection.ICustomAttributeProvider System.Boolean AdditiveMethods T System.Reflection.MemberInfo)) |
| 163 |
(assert (= (DeclType exposeVersion_) System.Object)) |
| 164 |
(assert (forall ((?c0 Int) (?c1 Int)) (! (=> (not (= ?c0 ?c1)) (not (= (ClassRepr ?c0) (ClassRepr ?c1)))) :pattern ((ClassRepr ?c0) (ClassRepr ?c1)) ))) |
| 165 |
(assert (forall ((?T Int)) (not (subtypes (typeof_ (ClassRepr ?T)) System.Object)))) |
| 166 |
(assert (forall ((?T Int)) (not (= (ClassRepr ?T) nullObject)))) |
| 167 |
(assert (forall ((?T Int) (?h Int)) (! (=> (= (IsHeap ?h) Smt.true) (= (select2 ?h (ClassRepr ?T) ownerFrame_) PeerGroupPlaceholder_)) :pattern ((select2 ?h (ClassRepr ?T) ownerFrame_)) ))) |
| 168 |
(assert (not (= (IsDirectlyModifiableField allocated_) Smt.true))) |
| 169 |
(assert (= (IsDirectlyModifiableField elements_) Smt.true)) |
| 170 |
(assert (not (= (IsDirectlyModifiableField inv_) Smt.true))) |
| 171 |
(assert (not (= (IsDirectlyModifiableField localinv_) Smt.true))) |
| 172 |
(assert (not (= (IsDirectlyModifiableField ownerRef_) Smt.true))) |
| 173 |
(assert (not (= (IsDirectlyModifiableField ownerFrame_) Smt.true))) |
| 174 |
(assert (not (= (IsDirectlyModifiableField exposeVersion_) Smt.true))) |
| 175 |
(assert (not (= (IsStaticField allocated_) Smt.true))) |
| 176 |
(assert (not (= (IsStaticField elements_) Smt.true))) |
| 177 |
(assert (not (= (IsStaticField inv_) Smt.true))) |
| 178 |
(assert (not (= (IsStaticField localinv_) Smt.true))) |
| 179 |
(assert (not (= (IsStaticField exposeVersion_) Smt.true))) |
| 180 |
(assert (forall ((?A Int) (?i Int) (?x Int)) (= (ValueArrayGet (ValueArraySet ?A ?i ?x) ?i) ?x))) |
| 181 |
(assert (forall ((?A Int) (?i Int) (?j Int) (?x Int)) (=> (not (= ?i ?j)) (= (ValueArrayGet (ValueArraySet ?A ?i ?x) ?j) (ValueArrayGet ?A ?j))))) |
| 182 |
(assert (forall ((?A Int) (?i Int) (?x Int)) (= (RefArrayGet (RefArraySet ?A ?i ?x) ?i) ?x))) |
| 183 |
(assert (forall ((?A Int) (?i Int) (?j Int) (?x Int)) (=> (not (= ?i ?j)) (= (RefArrayGet (RefArraySet ?A ?i ?x) ?j) (RefArrayGet ?A ?j))))) |
| 184 |
(assert (forall ((?a Int) (?d Int) (?x Int) (?y Int) (|?x'| Int) (|?y'| Int)) (! (=> (= (ArrayIndex ?a ?d ?x ?y) (ArrayIndex ?a ?d |?x'| |?y'|)) (and (= ?x |?x'|) (= ?y |?y'|))) :pattern ((ArrayIndex ?a ?d ?x ?y) (ArrayIndex ?a ?d |?x'| |?y'|)) ))) |
| 185 |
(assert (forall ((?a Int) (?T Int) (?i Int) (?r Int) (?heap Int)) (! (=> (and (= (IsHeap ?heap) Smt.true) (subtypes (typeof_ ?a) (RefArray ?T ?r))) (= (Is_ (RefArrayGet (select2 ?heap ?a elements_) ?i) ?T) Smt.true)) :pattern ((subtypes (typeof_ ?a) (RefArray ?T ?r)) (RefArrayGet (select2 ?heap ?a elements_) ?i)) ))) |
| 186 |
(assert (forall ((?a Int) (?T Int) (?i Int) (?r Int) (?heap Int)) (! (=> (and (= (IsHeap ?heap) Smt.true) (subtypes (typeof_ ?a) (NonNullRefArray ?T ?r))) (= (IsNotNull_ (RefArrayGet (select2 ?heap ?a elements_) ?i) ?T) Smt.true)) :pattern ((subtypes (typeof_ ?a) (NonNullRefArray ?T ?r)) (RefArrayGet (select2 ?heap ?a elements_) ?i)) ))) |
| 187 |
(assert (forall ((?a Int)) (<= 1 (Rank_ ?a)))) |
| 188 |
(assert (forall ((?a Int) (?T Int) (?r Int)) (! (=> (and (not (= ?a nullObject)) (subtypes (typeof_ ?a) (RefArray ?T ?r))) (= (Rank_ ?a) ?r)) :pattern ((subtypes (typeof_ ?a) (RefArray ?T ?r))) ))) |
| 189 |
(assert (forall ((?a Int) (?T Int) (?r Int)) (! (=> (and (not (= ?a nullObject)) (subtypes (typeof_ ?a) (NonNullRefArray ?T ?r))) (= (Rank_ ?a) ?r)) :pattern ((subtypes (typeof_ ?a) (NonNullRefArray ?T ?r))) ))) |
| 190 |
(assert (forall ((?a Int) (?T Int) (?r Int)) (! (=> (and (not (= ?a nullObject)) (subtypes (typeof_ ?a) (ValueArray ?T ?r))) (= (Rank_ ?a) ?r)) :pattern ((subtypes (typeof_ ?a) (ValueArray ?T ?r))) ))) |
| 191 |
(assert (forall ((?a Int)) (! (<= 0 (Length_ ?a)) :pattern ((Length_ ?a)) ))) |
| 192 |
(assert (forall ((?a Int) (?i Int)) (<= 0 (DimLength_ ?a ?i)))) |
| 193 |
(assert (forall ((?a Int)) (! (=> (= (Rank_ ?a) 1) (= (DimLength_ ?a 0) (Length_ ?a))) :pattern ((DimLength_ ?a 0)) ))) |
| 194 |
(assert (forall ((?a Int) (?i Int)) (! (= (LBound_ ?a ?i) 0) :pattern ((LBound_ ?a ?i)) ))) |
| 195 |
(assert (forall ((?a Int) (?i Int)) (! (= (UBound_ ?a ?i) (- (DimLength_ ?a ?i) 1)) :pattern ((UBound_ ?a ?i)) ))) |
| 196 |
(assert (forall ((?T Int) (?ET Int) (?r Int)) (! (=> (subtypes ?T (ValueArray ?ET ?r)) (= (ArrayCategory_ ?T) ArrayCategoryValue_)) :pattern ((subtypes ?T (ValueArray ?ET ?r))) ))) |
| 197 |
(assert (forall ((?T Int) (?ET Int) (?r Int)) (! (=> (subtypes ?T (RefArray ?ET ?r)) (= (ArrayCategory_ ?T) ArrayCategoryRef_)) :pattern ((subtypes ?T (RefArray ?ET ?r))) ))) |
| 198 |
(assert (forall ((?T Int) (?ET Int) (?r Int)) (! (=> (subtypes ?T (NonNullRefArray ?ET ?r)) (= (ArrayCategory_ ?T) ArrayCategoryNonNullRef_)) :pattern ((subtypes ?T (NonNullRefArray ?ET ?r))) ))) |
| 199 |
(assert (subtypes System.Array System.Object)) |
| 200 |
(assert (forall ((?T Int) (?r Int)) (! (subtypes (ValueArray ?T ?r) System.Array) :pattern ((ValueArray ?T ?r)) ))) |
| 201 |
(assert (forall ((?T Int) (?r Int)) (! (subtypes (RefArray ?T ?r) System.Array) :pattern ((RefArray ?T ?r)) ))) |
| 202 |
(assert (forall ((?T Int) (?r Int)) (! (subtypes (NonNullRefArray ?T ?r) System.Array) :pattern ((NonNullRefArray ?T ?r)) ))) |
| 203 |
(assert (forall ((?T Int) (?U Int) (?r Int)) (=> (subtypes ?U ?T) (subtypes (RefArray ?U ?r) (RefArray ?T ?r))))) |
| 204 |
(assert (forall ((?T Int) (?U Int) (?r Int)) (=> (subtypes ?U ?T) (subtypes (NonNullRefArray ?U ?r) (NonNullRefArray ?T ?r))))) |
| 205 |
(assert (forall ((?A Int) (?r Int)) (= (ElementType_ (ValueArray ?A ?r)) ?A))) |
| 206 |
(assert (forall ((?A Int) (?r Int)) (= (ElementType_ (RefArray ?A ?r)) ?A))) |
| 207 |
(assert (forall ((?A Int) (?r Int)) (= (ElementType_ (NonNullRefArray ?A ?r)) ?A))) |
| 208 |
(assert (forall ((?A Int) (?r Int) (?T Int)) (! (let ((?v_0 (ElementType_ ?T))) (=> (subtypes ?T (RefArray ?A ?r)) (and (= ?T (RefArray ?v_0 ?r)) (subtypes ?v_0 ?A)))) :pattern ((subtypes ?T (RefArray ?A ?r))) ))) |
| 209 |
(assert (forall ((?A Int) (?r Int) (?T Int)) (! (let ((?v_0 (ElementType_ ?T))) (=> (subtypes ?T (NonNullRefArray ?A ?r)) (and (= ?T (NonNullRefArray ?v_0 ?r)) (subtypes ?v_0 ?A)))) :pattern ((subtypes ?T (NonNullRefArray ?A ?r))) ))) |
| 210 |
(assert (forall ((?A Int) (?r Int) (?T Int)) (let ((?v_0 (ValueArray ?A ?r))) (=> (subtypes ?T ?v_0) (= ?T ?v_0))))) |
| 211 |
(assert (forall ((?A Int) (?r Int) (?T Int)) (let ((?v_0 (ElementType_ ?T))) (=> (subtypes (RefArray ?A ?r) ?T) (or (subtypes System.Array ?T) (and (= ?T (RefArray ?v_0 ?r)) (subtypes ?A ?v_0))))))) |
| 212 |
(assert (forall ((?A Int) (?r Int) (?T Int)) (let ((?v_0 (ElementType_ ?T))) (=> (subtypes (NonNullRefArray ?A ?r) ?T) (or (subtypes System.Array ?T) (and (= ?T (NonNullRefArray ?v_0 ?r)) (subtypes ?A ?v_0))))))) |
| 213 |
(assert (forall ((?A Int) (?r Int) (?T Int)) (let ((?v_0 (ValueArray ?A ?r))) (=> (subtypes ?v_0 ?T) (or (subtypes System.Array ?T) (= ?T ?v_0)))))) |
| 214 |
(assert (forall ((?s Int) (?f Int) (?x Int)) (= (StructGet_ (StructSet_ ?s ?f ?x) ?f) ?x))) |
| 215 |
(assert (forall ((?s Int) (?f Int) (|?f'| Int) (?x Int)) (=> (not (= ?f |?f'|)) (= (StructGet_ (StructSet_ ?s ?f ?x) |?f'|) (StructGet_ ?s |?f'|))))) |
| 216 |
(assert (forall ((?A Int) (?B Int) (?C Int)) (! (=> (subtypes ?C (AsDirectSubClass ?B ?A)) (= (OneClassDown ?C ?A) ?B)) :pattern ((subtypes ?C (AsDirectSubClass ?B ?A))) ))) |
| 217 |
(assert (forall ((?T Int)) (=> (= (IsValueType_ ?T) Smt.true) (and (forall ((?U Int)) (=> (subtypes ?T ?U) (= ?T ?U))) (forall ((?U Int)) (=> (subtypes ?U ?T) (= ?T ?U))))))) |
| 218 |
(assert (subtypes System.Type System.Object)) |
| 219 |
(assert (forall ((?T Int)) (! (= (IsNotNull_ (TypeObject ?T) System.Type) Smt.true) :pattern ((TypeObject ?T)) ))) |
| 220 |
(assert (forall ((?T Int)) (! (= (TypeName (TypeObject ?T)) ?T) :pattern ((TypeObject ?T)) ))) |
| 221 |
(assert (forall ((?o Int) (?T Int)) (! (= (= (Is_ ?o ?T) Smt.true) (or (= ?o nullObject) (subtypes (typeof_ ?o) ?T))) :pattern ((Is_ ?o ?T)) ))) |
| 222 |
(assert (forall ((?o Int) (?T Int)) (! (= (= (IsNotNull_ ?o ?T) Smt.true) (and (not (= ?o nullObject)) (= (Is_ ?o ?T) Smt.true))) :pattern ((IsNotNull_ ?o ?T)) ))) |
| 223 |
(assert (forall ((?o Int) (?T Int)) (=> (= (Is_ ?o ?T) Smt.true) (= (As_ ?o ?T) ?o)))) |
| 224 |
(assert (forall ((?o Int) (?T Int)) (=> (not (= (Is_ ?o ?T) Smt.true)) (= (As_ ?o ?T) nullObject)))) |
| 225 |
(assert (forall ((?h Int) (?o Int)) (! (let ((?v_0 (typeof_ ?o))) (=> (and (= (IsHeap ?h) Smt.true) (not (= ?o nullObject)) (subtypes ?v_0 System.Array)) (and (= (select2 ?h ?o inv_) ?v_0) (= (select2 ?h ?o localinv_) ?v_0)))) :pattern ((select2 ?h ?o inv_)) ))) |
| 226 |
(assert (forall ((?h Int) (?o Int) (?f Int)) (! (=> (and (= (IsHeap ?h) Smt.true) (= (select2 ?h ?o allocated_) Smt.true)) (= (IsAllocated ?h (select2 ?h ?o ?f)) Smt.true)) :pattern ((IsAllocated ?h (select2 ?h ?o ?f))) ))) |
| 227 |
(assert (forall ((?h Int) (?o Int) (?f Int)) (! (=> (and (= (IsHeap ?h) Smt.true) (= (select2 ?h ?o allocated_) Smt.true)) (= (select2 ?h (select2 ?h ?o ?f) allocated_) Smt.true)) :pattern ((select2 ?h (select2 ?h ?o ?f) allocated_)) ))) |
| 228 |
(assert (forall ((?h Int) (?s Int) (?f Int)) (! (=> (= (IsAllocated ?h ?s) Smt.true) (= (IsAllocated ?h (StructGet_ ?s ?f)) Smt.true)) :pattern ((IsAllocated ?h (StructGet_ ?s ?f))) ))) |
| 229 |
(assert (forall ((?h Int) (?e Int) (?i Int)) (! (=> (= (IsAllocated ?h ?e) Smt.true) (= (IsAllocated ?h (RefArrayGet ?e ?i)) Smt.true)) :pattern ((IsAllocated ?h (RefArrayGet ?e ?i))) ))) |
| 230 |
(assert (forall ((?h Int) (?e Int) (?i Int)) (! (=> (= (IsAllocated ?h ?e) Smt.true) (= (IsAllocated ?h (ValueArrayGet ?e ?i)) Smt.true)) :pattern ((IsAllocated ?h (ValueArrayGet ?e ?i))) ))) |
| 231 |
(assert (forall ((?h Int) (?o Int)) (! (=> (= (IsAllocated ?h ?o) Smt.true) (= (select2 ?h ?o allocated_) Smt.true)) :pattern ((select2 ?h ?o allocated_)) ))) |
| 232 |
(assert (forall ((?h Int) (?c Int)) (! (=> (= (IsHeap ?h) Smt.true) (= (select2 ?h (ClassRepr ?c) allocated_) Smt.true)) :pattern ((select2 ?h (ClassRepr ?c) allocated_)) ))) |
| 233 |
(assert (forall ((?f Int) (?T Int)) (! (=> (= (AsNonNullRefField ?f ?T) ?f) (= (AsRefField ?f ?T) ?f)) :pattern ((AsNonNullRefField ?f ?T)) ))) |
| 234 |
(assert (forall ((?h Int) (?o Int) (?f Int) (?T Int)) (! (=> (= (IsHeap ?h) Smt.true) (= (Is_ (select2 ?h ?o (AsRefField ?f ?T)) ?T) Smt.true)) :pattern ((select2 ?h ?o (AsRefField ?f ?T))) ))) |
| 235 |
(assert (forall ((?h Int) (?o Int) (?f Int) (?T Int)) (! (=> (and (= (IsHeap ?h) Smt.true) (not (= ?o nullObject)) (or (not (= ?o BeingConstructed_)) (= (= (select2 ?h BeingConstructed_ NonNullFieldsAreInitialized_) Smt.true) true))) (not (= (select2 ?h ?o (AsNonNullRefField ?f ?T)) nullObject))) :pattern ((select2 ?h ?o (AsNonNullRefField ?f ?T))) ))) |
| 236 |
(assert (forall ((?h Int) (?o Int) (?f Int) (?T Int)) (! (=> (= (IsHeap ?h) Smt.true) (InRange (select2 ?h ?o (AsRangeField ?f ?T)) ?T)) :pattern ((select2 ?h ?o (AsRangeField ?f ?T))) ))) |
| 237 |
(assert (forall ((?o Int)) (! (not (= (IsMemberlessType_ (typeof_ ?o)) Smt.true)) :pattern ((IsMemberlessType_ (typeof_ ?o))) ))) |
| 238 |
(assert (not (= (IsImmutable_ System.Object) Smt.true))) |
| 239 |
(assert (forall ((?T Int) (?U Int)) (! (=> (subtypes ?U (AsImmutable_ ?T)) (and (= (IsImmutable_ ?U) Smt.true) (= (AsImmutable_ ?U) ?U))) :pattern ((subtypes ?U (AsImmutable_ ?T))) ))) |
| 240 |
(assert (forall ((?T Int) (?U Int)) (! (=> (subtypes ?U (AsMutable_ ?T)) (and (not (= (IsImmutable_ ?U) Smt.true)) (= (AsMutable_ ?U) ?U))) :pattern ((subtypes ?U (AsMutable_ ?T))) ))) |
| 241 |
(assert (forall ((?o Int) (?T Int)) (! (=> (and (not (= ?o nullObject)) (not (= ?o BeingConstructed_)) (subtypes (typeof_ ?o) (AsImmutable_ ?T))) (forall ((?h Int)) (! (let ((?v_0 (typeof_ ?o))) (=> (= (IsHeap ?h) Smt.true) (and (= (select2 ?h ?o inv_) ?v_0) (= (select2 ?h ?o localinv_) ?v_0) (= (select2 ?h ?o ownerFrame_) PeerGroupPlaceholder_) (= (AsOwner ?o (select2 ?h ?o ownerRef_)) ?o) (forall ((?t Int)) (! (=> (= (AsOwner ?o (select2 ?h ?t ownerRef_)) ?o) (or (= ?t ?o) (not (= (select2 ?h ?t ownerFrame_) PeerGroupPlaceholder_)))) :pattern ((AsOwner ?o (select2 ?h ?t ownerRef_))) ))))) :pattern ((IsHeap ?h)) ))) :pattern ((subtypes (typeof_ ?o) (AsImmutable_ ?T))) ))) |
| 242 |
(assert (forall ((?s Int)) (! (<= 0 (StringLength_ ?s)) :pattern ((StringLength_ ?s)) ))) |
| 243 |
(assert (forall ((?h Int) (?o Int) (?f Int) (?T Int)) (! (let ((?v_0 (select2 ?h ?o (AsRepField ?f ?T)))) (=> (and (= (IsHeap ?h) Smt.true) (not (= ?v_0 nullObject))) (and (= (select2 ?h ?v_0 ownerRef_) ?o) (= (select2 ?h ?v_0 ownerFrame_) ?T)))) :pattern ((select2 ?h ?o (AsRepField ?f ?T))) ))) |
| 244 |
(assert (forall ((?h Int) (?o Int) (?f Int)) (! (let ((?v_0 (select2 ?h ?o (AsPeerField ?f)))) (=> (and (= (IsHeap ?h) Smt.true) (not (= ?v_0 nullObject))) (and (= (select2 ?h ?v_0 ownerRef_) (select2 ?h ?o ownerRef_)) (= (select2 ?h ?v_0 ownerFrame_) (select2 ?h ?o ownerFrame_))))) :pattern ((select2 ?h ?o (AsPeerField ?f))) ))) |
| 245 |
(assert (forall ((?h Int) (?o Int)) (let ((?v_0 (select2 ?h ?o ownerFrame_)) (?v_1 (select2 ?h ?o ownerRef_)) (?v_2 (typeof_ ?o))) (=> (and (= (IsHeap ?h) Smt.true) (not (= ?v_0 PeerGroupPlaceholder_)) (subtypes (select2 ?h ?v_1 inv_) ?v_0) (not (= (select2 ?h ?v_1 localinv_) (BaseClass_ ?v_0)))) (and (= (select2 ?h ?o inv_) ?v_2) (= (select2 ?h ?o localinv_) ?v_2)))))) |
| 246 |
(assert (forall ((?o Int) (?f Int) (?h Int)) (! (let ((?v_0 (select2 ?h ?o ownerFrame_)) (?v_1 (select2 ?h ?o ownerRef_))) (=> (and (= (IsHeap ?h) Smt.true) (not (= ?o nullObject)) (= (= (select2 ?h ?o allocated_) Smt.true) true) (not (= ?v_0 PeerGroupPlaceholder_)) (subtypes (select2 ?h ?v_1 inv_) ?v_0) (not (= (select2 ?h ?v_1 localinv_) (BaseClass_ ?v_0)))) (= (select2 ?h ?o ?f) (FieldDependsOnFCO_ ?o ?f (select2 ?h (select2 ?h ?o FirstConsistentOwner_) exposeVersion_))))) :pattern ((select2 ?h (AsPureObject_ ?o) ?f)) ))) |
| 247 |
(assert (forall ((?o Int) (?h Int)) (! (let ((?v_0 (select2 ?h ?o ownerFrame_)) (?v_1 (select2 ?h ?o ownerRef_)) (?v_2 (select2 ?h ?o FirstConsistentOwner_))) (let ((?v_3 (select2 ?h ?v_2 ownerFrame_)) (?v_4 (select2 ?h ?v_2 ownerRef_))) (=> (and (= (IsHeap ?h) Smt.true) (not (= ?o nullObject)) (= (= (select2 ?h ?o allocated_) Smt.true) true) (not (= ?v_0 PeerGroupPlaceholder_)) (subtypes (select2 ?h ?v_1 inv_) ?v_0) (not (= (select2 ?h ?v_1 localinv_) (BaseClass_ ?v_0)))) (and (not (= ?v_2 nullObject)) (= (= (select2 ?h ?v_2 allocated_) Smt.true) true) (or (= ?v_3 PeerGroupPlaceholder_) (not (subtypes (select2 ?h ?v_4 inv_) ?v_3)) (= (select2 ?h ?v_4 localinv_) (BaseClass_ ?v_3))))))) :pattern ((select2 ?h ?o FirstConsistentOwner_)) ))) |
| 248 |
(assert (forall ((?x Int) (?p Int)) (! (= (Unbox (Box ?x ?p)) ?x) :pattern ((Unbox (Box ?x ?p))) ))) |
| 249 |
(assert (forall ((?p Int)) (! (=> (= (IsValueType_ (UnboxedType ?p)) Smt.true) (forall ((?heap Int) (?x Int)) (let ((?v_0 (Box ?x ?p))) (let ((?v_1 (typeof_ ?v_0))) (=> (= (IsHeap ?heap) Smt.true) (and (= (select2 ?heap ?v_0 inv_) ?v_1) (= (select2 ?heap ?v_0 localinv_) ?v_1))))))) :pattern ((IsValueType_ (UnboxedType ?p))) ))) |
| 250 |
(assert (forall ((?x Int) (?p Int)) (let ((?v_0 (Box ?x ?p))) (=> (and (subtypes (UnboxedType ?v_0) System.Object) (= ?v_0 ?p)) (= ?x ?p))))) |
| 251 |
(assert (forall ((?p Int) (?typ Int)) (! (= (= (UnboxedType ?p) ?typ) (not (= (BoxTester ?p ?typ) nullObject))) :pattern ((BoxTester ?p ?typ)) ))) |
| 252 |
(assert (= (IsValueType_ System.SByte) Smt.true)) |
| 253 |
(assert (= (IsValueType_ System.Byte) Smt.true)) |
| 254 |
(assert (= (IsValueType_ System.Int16) Smt.true)) |
| 255 |
(assert (= (IsValueType_ System.UInt16) Smt.true)) |
| 256 |
(assert (= (IsValueType_ System.Int32) Smt.true)) |
| 257 |
(assert (= (IsValueType_ System.UInt32) Smt.true)) |
| 258 |
(assert (= (IsValueType_ System.Int64) Smt.true)) |
| 259 |
(assert (= (IsValueType_ System.UInt64) Smt.true)) |
| 260 |
(assert (= (IsValueType_ System.Char) Smt.true)) |
| 261 |
(assert (< int_m9223372036854775808 int_m2147483648)) |
| 262 |
(assert (< int_m2147483648 (- 0 100000))) |
| 263 |
(assert (< 100000 int_2147483647)) |
| 264 |
(assert (< int_2147483647 int_4294967295)) |
| 265 |
(assert (< int_4294967295 int_9223372036854775807)) |
| 266 |
(assert (< int_9223372036854775807 int_18446744073709551615)) |
| 267 |
(assert (forall ((?i Int)) (= (InRange ?i System.SByte) (and (<= (- 0 128) ?i) (< ?i 128))))) |
| 268 |
(assert (forall ((?i Int)) (= (InRange ?i System.Byte) (and (<= 0 ?i) (< ?i 256))))) |
| 269 |
(assert (forall ((?i Int)) (= (InRange ?i System.Int16) (and (<= (- 0 32768) ?i) (< ?i 32768))))) |
| 270 |
(assert (forall ((?i Int)) (= (InRange ?i System.UInt16) (and (<= 0 ?i) (< ?i 65536))))) |
| 271 |
(assert (forall ((?i Int)) (= (InRange ?i System.Int32) (and (<= int_m2147483648 ?i) (<= ?i int_2147483647))))) |
| 272 |
(assert (forall ((?i Int)) (= (InRange ?i System.UInt32) (and (<= 0 ?i) (<= ?i int_4294967295))))) |
| 273 |
(assert (forall ((?i Int)) (= (InRange ?i System.Int64) (and (<= int_m9223372036854775808 ?i) (<= ?i int_9223372036854775807))))) |
| 274 |
(assert (forall ((?i Int)) (= (InRange ?i System.UInt64) (and (<= 0 ?i) (<= ?i int_18446744073709551615))))) |
| 275 |
(assert (forall ((?i Int)) (= (InRange ?i System.Char) (and (<= 0 ?i) (< ?i 65536))))) |
| 276 |
(assert (forall ((?b Int) (?x Int) (?y Int)) (! (=> (= ?b Smt.true) (= (IfThenElse_ ?b ?x ?y) ?x)) :pattern ((IfThenElse_ ?b ?x ?y)) ))) |
| 277 |
(assert (forall ((?b Int) (?x Int) (?y Int)) (! (=> (not (= ?b Smt.true)) (= (IfThenElse_ ?b ?x ?y) ?y)) :pattern ((IfThenElse_ ?b ?x ?y)) ))) |
| 278 |
(assert (forall ((?x Int) (?y Int)) (! (= (modulo ?x ?y) (- ?x (multiply (divide ?x ?y) ?y))) :pattern ((modulo ?x ?y)) :pattern ((divide ?x ?y)) ))) |
| 279 |
(assert (forall ((?x Int) (?y Int)) (! (let ((?v_0 (modulo ?x ?y))) (=> (and (<= 0 ?x) (< 0 ?y)) (and (<= 0 ?v_0) (< ?v_0 ?y)))) :pattern ((modulo ?x ?y)) ))) |
| 280 |
(assert (forall ((?x Int) (?y Int)) (! (let ((?v_0 (modulo ?x ?y))) (=> (and (<= 0 ?x) (< ?y 0)) (and (<= 0 ?v_0) (< ?v_0 (- 0 ?y))))) :pattern ((modulo ?x ?y)) ))) |
| 281 |
(assert (forall ((?x Int) (?y Int)) (! (let ((?v_0 (modulo ?x ?y))) (=> (and (<= ?x 0) (< 0 ?y)) (and (< (- 0 ?y) ?v_0) (<= ?v_0 0)))) :pattern ((modulo ?x ?y)) ))) |
| 282 |
(assert (forall ((?x Int) (?y Int)) (! (let ((?v_0 (modulo ?x ?y))) (=> (and (<= ?x 0) (< ?y 0)) (and (< ?y ?v_0) (<= ?v_0 0)))) :pattern ((modulo ?x ?y)) ))) |
| 283 |
(assert (forall ((?x Int) (?y Int)) (=> (and (<= 0 ?x) (<= 0 ?y)) (= (modulo (+ ?x ?y) ?y) (modulo ?x ?y))))) |
| 284 |
(assert (forall ((?x Int) (?y Int)) (=> (and (<= 0 ?x) (<= 0 ?y)) (= (modulo (+ ?y ?x) ?y) (modulo ?x ?y))))) |
| 285 |
(assert (forall ((?x Int) (?y Int)) (let ((?v_0 (- ?x ?y))) (=> (and (<= 0 ?v_0) (<= 0 ?y)) (= (modulo ?v_0 ?y) (modulo ?x ?y)))))) |
| 286 |
(assert (forall ((?a Int) (?b Int) (?d Int)) (! (=> (and (<= 2 ?d) (= (modulo ?a ?d) (modulo ?b ?d)) (< ?a ?b)) (<= (+ ?a ?d) ?b)) :pattern ((modulo ?a ?d) (modulo ?b ?d)) ))) |
| 287 |
(assert (forall ((?x Int) (?y Int)) (! (=> (or (<= 0 ?x) (<= 0 ?y)) (<= 0 (and_ ?x ?y))) :pattern ((and_ ?x ?y)) ))) |
| 288 |
(assert (forall ((?x Int) (?y Int)) (! (let ((?v_0 (or_ ?x ?y))) (=> (and (<= 0 ?x) (<= 0 ?y)) (and (<= 0 ?v_0) (<= ?v_0 (+ ?x ?y))))) :pattern ((or_ ?x ?y)) ))) |
| 289 |
(assert (forall ((?i Int)) (! (= (shl_ ?i 0) ?i) :pattern ((shl_ ?i 0)) ))) |
| 290 |
(assert (forall ((?i Int) (?j Int)) (=> (<= 0 ?j) (= (shl_ ?i (+ ?j 1)) (* (shl_ ?i ?j) 2))))) |
| 291 |
(assert (forall ((?i Int)) (! (= (shr_ ?i 0) ?i) :pattern ((shr_ ?i 0)) ))) |
| 292 |
(assert (forall ((?i Int) (?j Int)) (=> (<= 0 ?j) (= (shr_ ?i (+ ?j 1)) (divide (shr_ ?i ?j) 2))))) |
| 293 |
(assert (forall ((?a Int) (?b Int)) (! (= (= (System.String.Equals_System.String_ ?a ?b) Smt.true) (= (System.String.Equals_System.String_System.String_ ?a ?b) Smt.true)) :pattern ((System.String.Equals_System.String_ ?a ?b)) ))) |
| 294 |
(assert (forall ((?a Int) (?b Int)) (! (= (= (System.String.Equals_System.String_System.String_ ?a ?b) Smt.true) (= (System.String.Equals_System.String_System.String_ ?b ?a) Smt.true)) :pattern ((System.String.Equals_System.String_System.String_ ?a ?b)) ))) |
| 295 |
(assert (forall ((?a Int) (?b Int)) (! (=> (and (not (= ?a nullObject)) (not (= ?b nullObject)) (= (System.String.Equals_System.String_System.String_ ?a ?b) Smt.true)) (= (System.String.IsInterned_System.String_notnull_ ?a) (System.String.IsInterned_System.String_notnull_ ?b))) :pattern ((System.String.Equals_System.String_System.String_ ?a ?b)) ))) |
| 296 |
(assert (not (= (IsStaticField AdditiveMethods.amPeer) Smt.true))) |
| 297 |
(assert (= (IsDirectlyModifiableField AdditiveMethods.amPeer) Smt.true)) |
| 298 |
(assert (= (AsPeerField AdditiveMethods.amPeer) AdditiveMethods.amPeer)) |
| 299 |
(assert (= (DeclType AdditiveMethods.amPeer) AdditiveMethods)) |
| 300 |
(assert (= (AsRefField AdditiveMethods.amPeer AdditiveMethods) AdditiveMethods.amPeer)) |
| 301 |
(assert (not (= (IsStaticField AdditiveMethods.amRep) Smt.true))) |
| 302 |
(assert (= (IsDirectlyModifiableField AdditiveMethods.amRep) Smt.true)) |
| 303 |
(assert (= (AsRepField AdditiveMethods.amRep AdditiveMethods) AdditiveMethods.amRep)) |
| 304 |
(assert (= (DeclType AdditiveMethods.amRep) AdditiveMethods)) |
| 305 |
(assert (= (AsRefField AdditiveMethods.amRep AdditiveMethods) AdditiveMethods.amRep)) |
| 306 |
(assert (not (= (IsStaticField OwnedResults.x) Smt.true))) |
| 307 |
(assert (= (IsDirectlyModifiableField OwnedResults.x) Smt.true)) |
| 308 |
(assert (= (AsRepField OwnedResults.x OwnedResults) OwnedResults.x)) |
| 309 |
(assert (= (DeclType OwnedResults.x) OwnedResults)) |
| 310 |
(assert (= (AsRefField OwnedResults.x T) OwnedResults.x)) |
| 311 |
(assert (not (= (IsStaticField OwnedResults.y) Smt.true))) |
| 312 |
(assert (= (IsDirectlyModifiableField OwnedResults.y) Smt.true)) |
| 313 |
(assert (= (AsPeerField OwnedResults.y) OwnedResults.y)) |
| 314 |
(assert (= (DeclType OwnedResults.y) OwnedResults)) |
| 315 |
(assert (= (AsRefField OwnedResults.y T) OwnedResults.y)) |
| 316 |
(assert (subtypes AdditiveMethods AdditiveMethods)) |
| 317 |
(assert (= (BaseClass_ AdditiveMethods) System.Object)) |
| 318 |
(assert (subtypes AdditiveMethods (BaseClass_ AdditiveMethods))) |
| 319 |
(assert (= (AsDirectSubClass AdditiveMethods (BaseClass_ AdditiveMethods)) AdditiveMethods)) |
| 320 |
(assert (not (= (IsImmutable_ AdditiveMethods) Smt.true))) |
| 321 |
(assert (= (AsMutable_ AdditiveMethods) AdditiveMethods)) |
| 322 |
(assert (subtypes System.Type System.Type)) |
| 323 |
(assert (subtypes System.Reflection.MemberInfo System.Reflection.MemberInfo)) |
| 324 |
(assert (= (BaseClass_ System.Reflection.MemberInfo) System.Object)) |
| 325 |
(assert (subtypes System.Reflection.MemberInfo (BaseClass_ System.Reflection.MemberInfo))) |
| 326 |
(assert (= (AsDirectSubClass System.Reflection.MemberInfo (BaseClass_ System.Reflection.MemberInfo)) System.Reflection.MemberInfo)) |
| 327 |
(assert (= (IsImmutable_ System.Reflection.MemberInfo) Smt.true)) |
| 328 |
(assert (= (AsImmutable_ System.Reflection.MemberInfo) System.Reflection.MemberInfo)) |
| 329 |
(assert (subtypes System.Reflection.ICustomAttributeProvider System.Object)) |
| 330 |
(assert (= (IsMemberlessType_ System.Reflection.ICustomAttributeProvider) Smt.true)) |
| 331 |
(assert (subtypes System.Reflection.MemberInfo System.Reflection.ICustomAttributeProvider)) |
| 332 |
(assert (subtypes System.Runtime.InteropServices._MemberInfo System.Object)) |
| 333 |
(assert (= (IsMemberlessType_ System.Runtime.InteropServices._MemberInfo) Smt.true)) |
| 334 |
(assert (subtypes System.Reflection.MemberInfo System.Runtime.InteropServices._MemberInfo)) |
| 335 |
(assert (= (IsMemberlessType_ System.Reflection.MemberInfo) Smt.true)) |
| 336 |
(assert (= (BaseClass_ System.Type) System.Reflection.MemberInfo)) |
| 337 |
(assert (subtypes System.Type (BaseClass_ System.Type))) |
| 338 |
(assert (= (AsDirectSubClass System.Type (BaseClass_ System.Type)) System.Type)) |
| 339 |
(assert (= (IsImmutable_ System.Type) Smt.true)) |
| 340 |
(assert (= (AsImmutable_ System.Type) System.Type)) |
| 341 |
(assert (subtypes System.Runtime.InteropServices._Type System.Object)) |
| 342 |
(assert (= (IsMemberlessType_ System.Runtime.InteropServices._Type) Smt.true)) |
| 343 |
(assert (subtypes System.Type System.Runtime.InteropServices._Type)) |
| 344 |
(assert (subtypes System.Reflection.IReflect System.Object)) |
| 345 |
(assert (= (IsMemberlessType_ System.Reflection.IReflect) Smt.true)) |
| 346 |
(assert (subtypes System.Type System.Reflection.IReflect)) |
| 347 |
(assert (= (IsMemberlessType_ System.Type) Smt.true)) |
| 348 |
(assert (subtypes Sub Sub)) |
| 349 |
(assert (= (BaseClass_ Sub) AdditiveMethods)) |
| 350 |
(assert (subtypes Sub (BaseClass_ Sub))) |
| 351 |
(assert (= (AsDirectSubClass Sub (BaseClass_ Sub)) Sub)) |
| 352 |
(assert (not (= (IsImmutable_ Sub) Smt.true))) |
| 353 |
(assert (= (AsMutable_ Sub) Sub)) |
| 354 |
(assert (subtypes OwnedResults OwnedResults)) |
| 355 |
(assert (= (BaseClass_ OwnedResults) System.Object)) |
| 356 |
(assert (subtypes OwnedResults (BaseClass_ OwnedResults))) |
| 357 |
(assert (= (AsDirectSubClass OwnedResults (BaseClass_ OwnedResults)) OwnedResults)) |
| 358 |
(assert (not (= (IsImmutable_ OwnedResults) Smt.true))) |
| 359 |
(assert (= (AsMutable_ OwnedResults) OwnedResults)) |
| 360 |
(assert (subtypes T T)) |
| 361 |
(assert (= (BaseClass_ T) System.Object)) |
| 362 |
(assert (subtypes T (BaseClass_ T))) |
| 363 |
(assert (= (AsDirectSubClass T (BaseClass_ T)) T)) |
| 364 |
(assert (not (= (IsImmutable_ T) Smt.true))) |
| 365 |
(assert (= (AsMutable_ T) T)) |
| 366 |
(assert (forall ((?Heap_ Int) (?this Int)) (! (let ((?v_0 (OwnedResults.Mz_ ?Heap_ ?this))) (=> (and (= (IsHeap ?Heap_) Smt.true) (forall ((?pc_ Int)) (let ((?v_1 (typeof_ ?pc_))) (=> (and (not (= ?pc_ nullObject)) (= (= (select2 ?Heap_ ?pc_ allocated_) Smt.true) true) (= (select2 ?Heap_ ?pc_ ownerRef_) (select2 ?Heap_ ?this ownerRef_)) (= (select2 ?Heap_ ?pc_ ownerFrame_) (select2 ?Heap_ ?this ownerFrame_))) (and (= (select2 ?Heap_ ?pc_ inv_) ?v_1) (= (select2 ?Heap_ ?pc_ localinv_) ?v_1)))))) (and (= (= (select2 ?Heap_ ?v_0 allocated_) Smt.true) true) (= (Is_ ?v_0 T) Smt.true) (or (= ?v_0 nullObject) (forall ((?pc_ Int)) (let ((?v_2 (typeof_ ?pc_))) (=> (and (not (= ?pc_ nullObject)) (= (= (select2 ?Heap_ ?pc_ allocated_) Smt.true) true) (= (select2 ?Heap_ ?pc_ ownerRef_) (select2 ?Heap_ ?v_0 ownerRef_)) (= (select2 ?Heap_ ?pc_ ownerFrame_) (select2 ?Heap_ ?v_0 ownerFrame_))) (and (= (select2 ?Heap_ ?pc_ inv_) ?v_2) (= (select2 ?Heap_ ?pc_ localinv_) ?v_2)))))) (= ?v_0 (select2 ?Heap_ ?this OwnedResults.x))))) :pattern ((OwnedResults.Mz_ ?Heap_ ?this)) ))) |
| 367 |
(assert (forall ((?Heap_ Int) (?this Int)) (! (let ((?v_0 (OwnedResults.Pz_ ?Heap_ ?this))) (=> (and (= (IsHeap ?Heap_) Smt.true) (forall ((?pc_ Int)) (let ((?v_1 (typeof_ ?pc_))) (=> (and (not (= ?pc_ nullObject)) (= (= (select2 ?Heap_ ?pc_ allocated_) Smt.true) true) (= (select2 ?Heap_ ?pc_ ownerRef_) (select2 ?Heap_ ?this ownerRef_)) (= (select2 ?Heap_ ?pc_ ownerFrame_) (select2 ?Heap_ ?this ownerFrame_))) (and (= (select2 ?Heap_ ?pc_ inv_) ?v_1) (= (select2 ?Heap_ ?pc_ localinv_) ?v_1)))))) (and (= (= (select2 ?Heap_ ?v_0 allocated_) Smt.true) true) (= (Is_ ?v_0 T) Smt.true) (or (= ?v_0 nullObject) (forall ((?pc_ Int)) (let ((?v_2 (typeof_ ?pc_))) (=> (and (not (= ?pc_ nullObject)) (= (= (select2 ?Heap_ ?pc_ allocated_) Smt.true) true) (= (select2 ?Heap_ ?pc_ ownerRef_) (select2 ?Heap_ ?v_0 ownerRef_)) (= (select2 ?Heap_ ?pc_ ownerFrame_) (select2 ?Heap_ ?v_0 ownerFrame_))) (and (= (select2 ?Heap_ ?pc_ inv_) ?v_2) (= (select2 ?Heap_ ?pc_ localinv_) ?v_2)))))) (= ?v_0 (select2 ?Heap_ ?this OwnedResults.x))))) :pattern ((OwnedResults.Pz_ ?Heap_ ?this)) ))) |
| 368 |
(assert (forall ((?Heap_ Int) (?this Int)) (! (let ((?v_0 (typeof_ ?this))) (=> (and (not (= ?this nullObject)) (subtypes ?v_0 OwnedResults) (= (select2 ?Heap_ ?this inv_) ?v_0) (= (select2 ?Heap_ ?this localinv_) ?v_0) (= (IsHeap ?Heap_) Smt.true) (= (= (select2 ?Heap_ ?this allocated_) Smt.true) true)) (= (OwnedResults.Pz_ ?Heap_ ?this) (OwnedResults.Pz_.1 (select2 ?Heap_ ?this exposeVersion_))))) :pattern ((OwnedResults.Pz_ ?Heap_ ?this)) ))) |
| 369 |
(assert (forall ((?Heap_ Int) (?this Int)) (! (let ((?v_0 (OwnedResults.Pw_ ?Heap_ ?this))) (=> (and (= (IsHeap ?Heap_) Smt.true) (forall ((?pc_ Int)) (let ((?v_1 (typeof_ ?pc_))) (=> (and (not (= ?pc_ nullObject)) (= (= (select2 ?Heap_ ?pc_ allocated_) Smt.true) true) (= (select2 ?Heap_ ?pc_ ownerRef_) (select2 ?Heap_ ?this ownerRef_)) (= (select2 ?Heap_ ?pc_ ownerFrame_) (select2 ?Heap_ ?this ownerFrame_))) (and (= (select2 ?Heap_ ?pc_ inv_) ?v_1) (= (select2 ?Heap_ ?pc_ localinv_) ?v_1)))))) (and (= (= (select2 ?Heap_ ?v_0 allocated_) Smt.true) true) (= (Is_ ?v_0 T) Smt.true) (or (= ?v_0 nullObject) (forall ((?pc_ Int)) (let ((?v_2 (typeof_ ?pc_))) (=> (and (not (= ?pc_ nullObject)) (= (= (select2 ?Heap_ ?pc_ allocated_) Smt.true) true) (= (select2 ?Heap_ ?pc_ ownerRef_) (select2 ?Heap_ ?v_0 ownerRef_)) (= (select2 ?Heap_ ?pc_ ownerFrame_) (select2 ?Heap_ ?v_0 ownerFrame_))) (and (= (select2 ?Heap_ ?pc_ inv_) ?v_2) (= (select2 ?Heap_ ?pc_ localinv_) ?v_2)))))) (= ?v_0 (select2 ?Heap_ ?this OwnedResults.y))))) :pattern ((OwnedResults.Pw_ ?Heap_ ?this)) ))) |
| 370 |
(assert (forall ((?Heap_ Int) (?this Int)) (! (let ((?v_0 (typeof_ ?this))) (=> (and (not (= ?this nullObject)) (subtypes ?v_0 OwnedResults) (= (select2 ?Heap_ ?this inv_) ?v_0) (= (select2 ?Heap_ ?this localinv_) ?v_0) (= (IsHeap ?Heap_) Smt.true) (= (= (select2 ?Heap_ ?this allocated_) Smt.true) true)) (= (OwnedResults.Pw_ ?Heap_ ?this) (OwnedResults.Pw_.1 (select2 ?Heap_ ?this exposeVersion_))))) :pattern ((OwnedResults.Pw_ ?Heap_ ?this)) ))) |
| 371 |
(assert (forall ((?Heap_ Int) (?this Int) (?k_in Int)) (! (let ((?v_0 (OwnedResults.Qz_System.Int32_ ?Heap_ ?this ?k_in))) (=> (and (= (IsHeap ?Heap_) Smt.true) (InRange ?k_in System.Int32) (forall ((?pc_ Int)) (let ((?v_1 (typeof_ ?pc_))) (=> (and (not (= ?pc_ nullObject)) (= (= (select2 ?Heap_ ?pc_ allocated_) Smt.true) true) (= (select2 ?Heap_ ?pc_ ownerRef_) (select2 ?Heap_ ?this ownerRef_)) (= (select2 ?Heap_ ?pc_ ownerFrame_) (select2 ?Heap_ ?this ownerFrame_))) (and (= (select2 ?Heap_ ?pc_ inv_) ?v_1) (= (select2 ?Heap_ ?pc_ localinv_) ?v_1)))))) (and (= (= (select2 ?Heap_ ?v_0 allocated_) Smt.true) true) (= (Is_ ?v_0 T) Smt.true) (or (= ?v_0 nullObject) (forall ((?pc_ Int)) (let ((?v_2 (typeof_ ?pc_))) (=> (and (not (= ?pc_ nullObject)) (= (= (select2 ?Heap_ ?pc_ allocated_) Smt.true) true) (= (select2 ?Heap_ ?pc_ ownerRef_) (select2 ?Heap_ ?v_0 ownerRef_)) (= (select2 ?Heap_ ?pc_ ownerFrame_) (select2 ?Heap_ ?v_0 ownerFrame_))) (and (= (select2 ?Heap_ ?pc_ inv_) ?v_2) (= (select2 ?Heap_ ?pc_ localinv_) ?v_2))))))))) :pattern ((OwnedResults.Qz_System.Int32_ ?Heap_ ?this ?k_in)) ))) |
| 372 |
(assert (forall ((?Heap_ Int) (?this Int) (?k_in Int)) (! (let ((?v_0 (typeof_ ?this))) (=> (and (not (= ?this nullObject)) (subtypes ?v_0 OwnedResults) (= (select2 ?Heap_ ?this inv_) ?v_0) (= (select2 ?Heap_ ?this localinv_) ?v_0) (= (IsHeap ?Heap_) Smt.true) (= (= (select2 ?Heap_ ?this allocated_) Smt.true) true)) (= (OwnedResults.Qz_System.Int32_ ?Heap_ ?this ?k_in) (OwnedResults.Qz_System.Int32_.1 (select2 ?Heap_ ?this exposeVersion_) ?k_in)))) :pattern ((OwnedResults.Qz_System.Int32_ ?Heap_ ?this ?k_in)) ))) |
| 373 |
(assert (forall ((?U_ Int)) (! (=> (subtypes ?U_ System.Boolean) (= ?U_ System.Boolean)) :pattern ((subtypes ?U_ System.Boolean)) ))) |
| 374 |
(assert (forall ((?Heap_ Int)) (! (let ((?v_0 (OwnedResults.Static0_ ?Heap_))) (=> (= (IsHeap ?Heap_) Smt.true) (and (= (= (select2 ?Heap_ ?v_0 allocated_) Smt.true) true) (= (IsNotNull_ ?v_0 T) Smt.true) (forall ((?pc_ Int)) (let ((?v_1 (typeof_ ?pc_))) (=> (and (not (= ?pc_ nullObject)) (= (= (select2 ?Heap_ ?pc_ allocated_) Smt.true) true) (= (select2 ?Heap_ ?pc_ ownerRef_) (select2 ?Heap_ ?v_0 ownerRef_)) (= (select2 ?Heap_ ?pc_ ownerFrame_) (select2 ?Heap_ ?v_0 ownerFrame_))) (and (= (select2 ?Heap_ ?pc_ inv_) ?v_1) (= (select2 ?Heap_ ?pc_ localinv_) ?v_1)))))))) :pattern ((OwnedResults.Static0_ ?Heap_)) ))) |
| 375 |
(assert (forall ((?Heap_ Int)) (! (let ((?v_0 (OwnedResults.Static1_ ?Heap_))) (=> (= (IsHeap ?Heap_) Smt.true) (and (= (= (select2 ?Heap_ ?v_0 allocated_) Smt.true) true) (= (IsNotNull_ ?v_0 T) Smt.true) (forall ((?pc_ Int)) (let ((?v_1 (typeof_ ?pc_))) (=> (and (not (= ?pc_ nullObject)) (= (= (select2 ?Heap_ ?pc_ allocated_) Smt.true) true) (= (select2 ?Heap_ ?pc_ ownerRef_) (select2 ?Heap_ ?v_0 ownerRef_)) (= (select2 ?Heap_ ?pc_ ownerFrame_) (select2 ?Heap_ ?v_0 ownerFrame_))) (and (= (select2 ?Heap_ ?pc_ inv_) ?v_1) (= (select2 ?Heap_ ?pc_ localinv_) ?v_1)))))))) :pattern ((OwnedResults.Static1_ ?Heap_)) ))) |
| 376 |
(assert (=> true (= (IsNotNull_ OwnedResults.Static2_ T) Smt.true))) |
| 377 |
(assert (forall ((?A Int) (?i Int) (?v Int)) (= (select1 (store1 ?A ?i ?v) ?i) ?v))) |
| 378 |
(assert (forall ((?A Int) (?i Int) (?j Int) (?v Int)) (=> (not (= ?i ?j)) (= (select1 (store1 ?A ?i ?v) ?j) (select1 ?A ?j))))) |
| 379 |
(assert (forall ((?A Int) (?o Int) (?f Int) (?v Int)) (= (select2 (store2 ?A ?o ?f ?v) ?o ?f) ?v))) |
| 380 |
(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))))) |
| 381 |
(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))))) |
| 382 |
(assert (forall ((?x Int) (?y Int)) (= (= (boolIff ?x ?y) Smt.true) (= (= ?x Smt.true) (= ?y Smt.true))))) |
| 383 |
(assert (forall ((?x Int) (?y Int)) (= (= (boolImplies ?x ?y) Smt.true) (=> (= ?x Smt.true) (= ?y Smt.true))))) |
| 384 |
(assert (forall ((?x Int) (?y Int)) (= (= (boolAnd ?x ?y) Smt.true) (and (= ?x Smt.true) (= ?y Smt.true))))) |
| 385 |
(assert (forall ((?x Int) (?y Int)) (= (= (boolOr ?x ?y) Smt.true) (or (= ?x Smt.true) (= ?y Smt.true))))) |
| 386 |
(assert (forall ((?x Int)) (! (= (= (boolNot ?x) Smt.true) (not (= ?x Smt.true))) :pattern ((boolNot ?x)) ))) |
| 387 |
(assert (forall ((?x Int) (?y Int)) (= (= (anyEqual ?x ?y) Smt.true) (= ?x ?y)))) |
| 388 |
(assert (forall ((?x Int) (?y Int)) (! (= (= (anyNeq ?x ?y) Smt.true) (not (= ?x ?y))) :pattern ((anyNeq ?x ?y)) ))) |
| 389 |
(assert (forall ((?x Int) (?y Int)) (= (= (intLess ?x ?y) Smt.true) (< ?x ?y)))) |
| 390 |
(assert (forall ((?x Int) (?y Int)) (= (= (intAtMost ?x ?y) Smt.true) (<= ?x ?y)))) |
| 391 |
(assert (forall ((?x Int) (?y Int)) (= (= (intAtLeast ?x ?y) Smt.true) (>= ?x ?y)))) |
| 392 |
(assert (forall ((?x Int) (?y Int)) (= (= (intGreater ?x ?y) Smt.true) (> ?x ?y)))) |
| 393 |
(assert (distinct Smt.false Smt.true)) |
| 394 |
(assert (forall ((?t Int)) (! (subtypes ?t ?t) :pattern ((subtypes ?t ?t)) ))) |
| 395 |
(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)) ))) |
| 396 |
(assert (forall ((?t Int) (?u Int)) (! (=> (and (subtypes ?t ?u) (subtypes ?u ?t)) (= ?t ?u)) :pattern ((subtypes ?t ?u) (subtypes ?u ?t)) ))) |
| 397 |
(assert (let ((?v_0 (not (= this nullObject))) (?v_1 (forall ((?o_ Int)) (let ((?v_10 (select2 Heap_ ?o_ ownerRef_)) (?v_11 (select2 Heap_ ?o_ ownerFrame_))) (=> (and (not (= ?o_ nullObject)) (= (= (select2 Heap_ ?o_ allocated_) Smt.true) true)) (and (= ?v_10 ?v_10) (= ?v_11 ?v_11)))))) (?v_3 (= return.value_0 nullObject))) (let ((?v_2 (or ?v_3 (and (= (select2 Heap_ return.value_0 ownerRef_) this) (= (select2 Heap_ return.value_0 ownerFrame_) OwnedResults)))) (?v_4 (or ?v_3 (forall ((?pc_ Int)) (let ((?v_12 (typeof_ ?pc_))) (=> (and (not (= ?pc_ nullObject)) (= (= (select2 Heap_ ?pc_ allocated_) Smt.true) true) (= (select2 Heap_ ?pc_ ownerRef_) (select2 Heap_ return.value_0 ownerRef_)) (= (select2 Heap_ ?pc_ ownerFrame_) (select2 Heap_ return.value_0 ownerFrame_))) (and (= (select2 Heap_ ?pc_ inv_) ?v_12) (= (select2 Heap_ ?pc_ localinv_) ?v_12))))))) (?v_5 (= ReallyLastGeneratedExit_correct Smt.true)) (?v_6 (= block8840_correct Smt.true)) (?v_7 (= block8823_correct Smt.true)) (?v_8 (= block8806_correct Smt.true)) (?v_9 (= entry_correct Smt.true))) (not (=> (=> (=> true (=> (= (IsHeap Heap_) Smt.true) (=> (= BeingConstructed_ nullObject) (=> (= (AsPureObject_ this) this) (=> (forall ((?pc_ Int)) (let ((?v_13 (typeof_ ?pc_))) (=> (and (not (= ?pc_ nullObject)) (= (= (select2 Heap_ ?pc_ allocated_) Smt.true) true) (= (select2 Heap_ ?pc_ ownerRef_) (select2 Heap_ this ownerRef_)) (= (select2 Heap_ ?pc_ ownerFrame_) (select2 Heap_ this ownerFrame_))) (and (= (select2 Heap_ ?pc_ inv_) ?v_13) (= (select2 Heap_ ?pc_ localinv_) ?v_13))))) (=> true (=> (= (IsNotNull_ this OwnedResults) Smt.true) (=> (= (= (select2 Heap_ this allocated_) Smt.true) true) (=> true (=> (=> (=> true (=> true (=> true (=> (=> (=> true (=> true (and ?v_0 (=> ?v_0 (=> (= return.value_0 (select2 Heap_ this OwnedResults.x)) (=> true (=> (=> (=> true (=> true (=> true (=> (=> (=> true (and ?v_1 (=> ?v_1 (and ?v_2 (=> ?v_2 (and ?v_4 (=> ?v_4 (=> true true)))))))) ?v_5) ?v_5)))) ?v_6) ?v_6))))))) ?v_7) ?v_7)))) ?v_8) ?v_8)))))))))) ?v_9) ?v_9))))) |
| 398 |
(check-sat) |
| 399 |
(exit) |