diff options
author | Rustan Leino <leino@microsoft.com> | 2011-04-16 12:19:45 -0700 |
---|---|---|
committer | Rustan Leino <leino@microsoft.com> | 2011-04-16 12:19:45 -0700 |
commit | 2ebe4385e9146fb1ba568fb2a8ad5d8475303cc8 (patch) | |
tree | 515a93a131c283c9b32f1bd885e4e3eccced23a9 /Test/jennisys0/ExtensibleArray.jen | |
parent | 524851c029cfc034c53e4d34d4053fcbf544d5c0 (diff) | |
parent | 4c3d68142ca387c0cac5da85a6d3710455a5efe2 (diff) |
Automated merge with https://hg01.codeplex.com/boogie
Diffstat (limited to 'Test/jennisys0/ExtensibleArray.jen')
-rw-r--r-- | Test/jennisys0/ExtensibleArray.jen | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Test/jennisys0/ExtensibleArray.jen b/Test/jennisys0/ExtensibleArray.jen index e6141ab7..7ef36ce2 100644 --- a/Test/jennisys0/ExtensibleArray.jen +++ b/Test/jennisys0/ExtensibleArray.jen @@ -34,6 +34,7 @@ model ExtensibleArray[T] { more != null ==> M < length
length = |Contents|
- forall i :: 0 <= i && i < M ==> Contents[i] = more.Contents[i div 256][i mod 256]
+ more != null ==> forall i :: 0 <= i && i < |more.Contents| ==> more.Contents[i] != null && more.Contents[i].Length = 256
+ more != null ==> forall i :: 0 <= i && i < M ==> Contents[i] = more.Contents[i div 256][i mod 256]
forall i :: M <= i && i < length ==> Contents[i] = elements[i - M]
}
|