summaryrefslogtreecommitdiff
path: root/Test/jennisys0/ExtensibleArray.jen
diff options
context:
space:
mode:
authorGravatar Rustan Leino <leino@microsoft.com>2011-04-16 12:19:45 -0700
committerGravatar Rustan Leino <leino@microsoft.com>2011-04-16 12:19:45 -0700
commit2ebe4385e9146fb1ba568fb2a8ad5d8475303cc8 (patch)
tree515a93a131c283c9b32f1bd885e4e3eccced23a9 /Test/jennisys0/ExtensibleArray.jen
parent524851c029cfc034c53e4d34d4053fcbf544d5c0 (diff)
parent4c3d68142ca387c0cac5da85a6d3710455a5efe2 (diff)
Diffstat (limited to 'Test/jennisys0/ExtensibleArray.jen')
-rw-r--r--Test/jennisys0/ExtensibleArray.jen3
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]
}