statement stringlengths 2 75.7k | proof stringlengths 0 5M | type stringclasses 7
values | symbolic_name stringlengths 1 82 | library stringclasses 58
values | filename stringclasses 626
values | imports listlengths 0 0 | deps listlengths 0 64 | docstring stringclasses 1
value | source_url stringclasses 1
value | commit stringclasses 1
value |
|---|---|---|---|---|---|---|---|---|---|---|
foo(); | procedure | foo | bitvectors | Test/bitvectors/bv9.bpl | [] | [] | https://github.com/boogie-org/boogie | 24a23f9041646167445f8871e59e27d633f8642b | ||
foo() | {
assert (forall Q#a$1^15.32#tc1: bv64, Q#b$1^15.32#tc1: bv64, Q#c$1^15.32#tc1: bv64 :: true && true && true ==> ($bv_bvadd64(Q#a$1^15.32#tc1, Q#b$1^15.32#tc1) == Q#c$1^15.32#tc1 || $bv_bvadd64($bv_bvadd64(Q#a$1^15.32#tc1, Q#b$1^15.32#tc1), 1bv64) == Q#c$1^15.32#tc1) && (if Q#c$1^15.32#tc1 == $bv_bvadd64(Q#a$1^15.3... | implementation | foo | bitvectors | Test/bitvectors/bv9.bpl | [] | [
"true"
] | https://github.com/boogie-org/boogie | 24a23f9041646167445f8871e59e27d633f8642b | |
{:bvbuiltin "bvlshr"} $bv_bvlshr64(p1: bv64, p2: bv64) : bv64; | function | $bv_bvlshr64 | bitvectors | Test/bitvectors/bv9.bpl | [] | [
"p1",
"p2"
] | https://github.com/boogie-org/boogie | 24a23f9041646167445f8871e59e27d633f8642b | ||
{:bvbuiltin "bvand"} $bv_bvand64(p1: bv64, p2: bv64) : bv64; | function | $bv_bvand64 | bitvectors | Test/bitvectors/bv9.bpl | [] | [
"p1",
"p2"
] | https://github.com/boogie-org/boogie | 24a23f9041646167445f8871e59e27d633f8642b | ||
{:bvbuiltin "bvor"} $bv_bvor64(p1: bv64, p2: bv64) : bv64; | function | $bv_bvor64 | bitvectors | Test/bitvectors/bv9.bpl | [] | [
"p1",
"p2"
] | https://github.com/boogie-org/boogie | 24a23f9041646167445f8871e59e27d633f8642b | ||
{:bvbuiltin "bvxor"} $bv_bvxor64(p1: bv64, p2: bv64) : bv64; | function | $bv_bvxor64 | bitvectors | Test/bitvectors/bv9.bpl | [] | [
"p1",
"p2"
] | https://github.com/boogie-org/boogie | 24a23f9041646167445f8871e59e27d633f8642b | ||
{:bvbuiltin "bvuge"} $bv_bvuge64(p1: bv64, p2: bv64) : bool; | function | $bv_bvuge64 | bitvectors | Test/bitvectors/bv9.bpl | [] | [
"p1",
"p2"
] | https://github.com/boogie-org/boogie | 24a23f9041646167445f8871e59e27d633f8642b | ||
{:bvbuiltin "bvugt"} $bv_bvugt64(p1: bv64, p2: bv64) : bool; | function | $bv_bvugt64 | bitvectors | Test/bitvectors/bv9.bpl | [] | [
"p1",
"p2"
] | https://github.com/boogie-org/boogie | 24a23f9041646167445f8871e59e27d633f8642b | ||
{:bvbuiltin "bvsub"} $bv_bvsub64(p1: bv64, p2: bv64) : bv64; | function | $bv_bvsub64 | bitvectors | Test/bitvectors/bv9.bpl | [] | [
"p1",
"p2"
] | https://github.com/boogie-org/boogie | 24a23f9041646167445f8871e59e27d633f8642b | ||
{:bvbuiltin "bvadd"} $bv_bvadd64(p1: bv64, p2: bv64) : bv64; | function | $bv_bvadd64 | bitvectors | Test/bitvectors/bv9.bpl | [] | [
"p1",
"p2"
] | https://github.com/boogie-org/boogie | 24a23f9041646167445f8871e59e27d633f8642b | ||
MemAddr; | type | MemAddr | civl.large-samples | Test/civl/large-samples/cache-coherence.bpl | [] | [] | https://github.com/boogie-org/boogie | 24a23f9041646167445f8871e59e27d633f8642b | ||
CacheAddr; | type | CacheAddr | civl.large-samples | Test/civl/large-samples/cache-coherence.bpl | [] | [] | https://github.com/boogie-org/boogie | 24a23f9041646167445f8871e59e27d633f8642b | ||
Hash(MemAddr): CacheAddr; | function | Hash | civl.large-samples | Test/civl/large-samples/cache-coherence.bpl | [] | [
"CacheAddr",
"MemAddr"
] | https://github.com/boogie-org/boogie | 24a23f9041646167445f8871e59e27d633f8642b | ||
Value; | type | Value | civl.large-samples | Test/civl/large-samples/cache-coherence.bpl | [] | [] | https://github.com/boogie-org/boogie | 24a23f9041646167445f8871e59e27d633f8642b | ||
CacheId; | type | CacheId | civl.large-samples | Test/civl/large-samples/cache-coherence.bpl | [] | [] | https://github.com/boogie-org/boogie | 24a23f9041646167445f8871e59e27d633f8642b | ||
i0: CacheId; | const | i0 | civl.large-samples | Test/civl/large-samples/cache-coherence.bpl | [] | [
"CacheId"
] | https://github.com/boogie-org/boogie | 24a23f9041646167445f8871e59e27d633f8642b | ||
State {
Modified(),
Exclusive(),
Shared(),
Invalid()
} | datatype | State | civl.large-samples | Test/civl/large-samples/cache-coherence.bpl | [] | [] | https://github.com/boogie-org/boogie | 24a23f9041646167445f8871e59e27d633f8642b | ||
{:inline} Owned(state: State): bool | {
state == Exclusive() || state == Modified()
} | function | Owned | civl.large-samples | Test/civl/large-samples/cache-coherence.bpl | [] | [
"State",
"state"
] | https://github.com/boogie-org/boogie | 24a23f9041646167445f8871e59e27d633f8642b | |
Result {
Ok(),
Fail()
} | datatype | Result | civl.large-samples | Test/civl/large-samples/cache-coherence.bpl | [] | [] | https://github.com/boogie-org/boogie | 24a23f9041646167445f8871e59e27d633f8642b | ||
CacheLine {
CacheLine(ma: MemAddr, value: Value, state: State)
} | datatype | CacheLine | civl.large-samples | Test/civl/large-samples/cache-coherence.bpl | [] | [
"MemAddr",
"State",
"Value",
"state"
] | https://github.com/boogie-org/boogie | 24a23f9041646167445f8871e59e27d633f8642b | ||
DirState {
Owner(i: CacheId),
Sharers(iset: [CacheId]bool)
} | datatype | DirState | civl.large-samples | Test/civl/large-samples/cache-coherence.bpl | [] | [
"CacheId"
] | https://github.com/boogie-org/boogie | 24a23f9041646167445f8871e59e27d633f8642b | ||
CachePermission {
CachePermission(i: CacheId, ca: CacheAddr)
} | datatype | CachePermission | civl.large-samples | Test/civl/large-samples/cache-coherence.bpl | [] | [
"CacheAddr",
"CacheId"
] | https://github.com/boogie-org/boogie | 24a23f9041646167445f8871e59e27d633f8642b | ||
DirPermission {
DirPermission(i: CacheId, ma: MemAddr)
} | datatype | DirPermission | civl.large-samples | Test/civl/large-samples/cache-coherence.bpl | [] | [
"CacheId",
"MemAddr"
] | https://github.com/boogie-org/boogie | 24a23f9041646167445f8871e59e27d633f8642b | ||
{:inline} WholeDirPermission(ma: MemAddr): [One DirPermission]bool | {
(lambda {:pool "DirPermission"} x: One DirPermission :: x->val->ma == ma)
} | function | WholeDirPermission | civl.large-samples | Test/civl/large-samples/cache-coherence.bpl | [] | [
"DirPermission",
"MemAddr",
"val"
] | https://github.com/boogie-org/boogie | 24a23f9041646167445f8871e59e27d633f8642b | |
Piece { Left(i:int), Right(i:int) } | datatype | Piece | civl.large-samples | Test/civl/large-samples/GC.bpl | [] | [
"Left",
"Right",
"int"
] | https://github.com/boogie-org/boogie | 24a23f9041646167445f8871e59e27d633f8642b | ||
Tid { Tid(i:int, {:linear} ps: UnitMap (One Piece)) } | datatype | Tid | civl.large-samples | Test/civl/large-samples/GC.bpl | [] | [
"Piece",
"int"
] | https://github.com/boogie-org/boogie | 24a23f9041646167445f8871e59e27d633f8642b | ||
numMutators: int; | const | numMutators | civl.large-samples | Test/civl/large-samples/GC.bpl | [] | [
"int"
] | https://github.com/boogie-org/boogie | 24a23f9041646167445f8871e59e27d633f8642b | ||
0 < numMutators; | axiom | numMutators | civl.large-samples | Test/civl/large-samples/GC.bpl | [] | [
"numMutators"
] | https://github.com/boogie-org/boogie | 24a23f9041646167445f8871e59e27d633f8642b | ||
GcTid: Tid; | const | GcTid | civl.large-samples | Test/civl/large-samples/GC.bpl | [] | [
"Tid"
] | https://github.com/boogie-org/boogie | 24a23f9041646167445f8871e59e27d633f8642b | ||
numMutators < GcTid->i; | axiom | numMutators | civl.large-samples | Test/civl/large-samples/GC.bpl | [] | [
"GcTid"
] | https://github.com/boogie-org/boogie | 24a23f9041646167445f8871e59e27d633f8642b | ||
Map_Contains(GcTid->ps, One(Left(GcTid->i))) && Map_Contains(GcTid->ps, One(Right(GcTid->i))); | axiom | Map_Contains | civl.large-samples | Test/civl/large-samples/GC.bpl | [] | [
"GcTid",
"Left",
"Right"
] | https://github.com/boogie-org/boogie | 24a23f9041646167445f8871e59e27d633f8642b | ||
mutatorId(i: int) : bool | { 1 <= i && i <= numMutators } | function | mutatorId | civl.large-samples | Test/civl/large-samples/GC.bpl | [] | [
"int",
"numMutators"
] | https://github.com/boogie-org/boogie | 24a23f9041646167445f8871e59e27d633f8642b | |
mutatorTid(tid: Tid) : bool | { mutatorId(tid->i) } | function | mutatorTid | civl.large-samples | Test/civl/large-samples/GC.bpl | [] | [
"Tid",
"mutatorId"
] | https://github.com/boogie-org/boogie | 24a23f9041646167445f8871e59e27d633f8642b | |
mutatorTidLeft(tid: Tid) : bool | { mutatorTid(tid) && Map_Contains(tid->ps, One(Left(tid->i))) } | function | mutatorTidLeft | civl.large-samples | Test/civl/large-samples/GC.bpl | [] | [
"Left",
"Map_Contains",
"Tid",
"mutatorTid"
] | https://github.com/boogie-org/boogie | 24a23f9041646167445f8871e59e27d633f8642b | |
mutatorTidRight(tid: Tid) : bool | { mutatorTid(tid) && Map_Contains(tid->ps, One(Right(tid->i))) } | function | mutatorTidRight | civl.large-samples | Test/civl/large-samples/GC.bpl | [] | [
"Map_Contains",
"Right",
"Tid",
"mutatorTid"
] | https://github.com/boogie-org/boogie | 24a23f9041646167445f8871e59e27d633f8642b | |
mutatorTidWhole(tid: Tid) : bool | { mutatorTid(tid) && Map_Contains(tid->ps, One(Left(tid->i))) && Map_Contains(tid->ps, One(Right(tid->i))) } | function | mutatorTidWhole | civl.large-samples | Test/civl/large-samples/GC.bpl | [] | [
"Left",
"Map_Contains",
"Right",
"Tid",
"mutatorTid"
] | https://github.com/boogie-org/boogie | 24a23f9041646167445f8871e59e27d633f8642b | |
gcAndMutatorTids(tid: Tid, mutatorTids: UnitMap (One Piece)) : bool | {
tid == GcTid && (forall i:int :: mutatorId(i) ==> Map_Contains(mutatorTids, One(Left(i))) && Map_Contains(mutatorTids, One(Right(i))))
} | function | gcAndMutatorTids | civl.large-samples | Test/civl/large-samples/GC.bpl | [] | [
"GcTid",
"Left",
"Map_Contains",
"Piece",
"Right",
"Tid",
"int",
"mutatorId"
] | https://github.com/boogie-org/boogie | 24a23f9041646167445f8871e59e27d633f8642b | |
Mutators: UnitMap (One Piece); | const | Mutators | civl.large-samples | Test/civl/large-samples/GC.bpl | [] | [
"Piece"
] | https://github.com/boogie-org/boogie | 24a23f9041646167445f8871e59e27d633f8642b | ||
Set_Size(Mutators->dom) == numMutators; | axiom | Set_Size | civl.large-samples | Test/civl/large-samples/GC.bpl | [] | [
"Mutators",
"numMutators"
] | https://github.com/boogie-org/boogie | 24a23f9041646167445f8871e59e27d633f8642b | ||
Mutators->dom == (lambda x: One Piece :: x->val is Right && 1 <= x->val->i && x->val->i <= numMutators); | axiom | Mutators | civl.large-samples | Test/civl/large-samples/GC.bpl | [] | [
"Piece",
"Right",
"numMutators",
"val"
] | https://github.com/boogie-org/boogie | 24a23f9041646167445f8871e59e27d633f8642b | ||
(forall X, Y: [One Piece]bool :: Set_IsSubset(X, Y) ==> Set_Size(X) < Set_Size(Y) || X == Y); | axiom | Set_IsSubset | civl.large-samples | Test/civl/large-samples/GC.bpl | [] | [
"Piece",
"Set_Size"
] | https://github.com/boogie-org/boogie | 24a23f9041646167445f8871e59e27d633f8642b | ||
{:inline} RootScanBarrierInv(mutatorsInRootScanBarrier: UnitMap (One Piece), rootScanBarrier: int) : bool | {
Set_Size(mutatorsInRootScanBarrier->dom) + rootScanBarrier == numMutators &&
Set_IsSubset(mutatorsInRootScanBarrier->dom, Mutators->dom)
} | function | RootScanBarrierInv | civl.large-samples | Test/civl/large-samples/GC.bpl | [] | [
"Mutators",
"Piece",
"Set_Size",
"int",
"numMutators"
] | https://github.com/boogie-org/boogie | 24a23f9041646167445f8871e59e27d633f8642b | |
idx = int; | type | idx | civl.large-samples | Test/civl/large-samples/GC.bpl | [] | [
"int"
] | https://github.com/boogie-org/boogie | 24a23f9041646167445f8871e59e27d633f8642b | ||
fld = int; | type | fld | civl.large-samples | Test/civl/large-samples/GC.bpl | [] | [
"int"
] | https://github.com/boogie-org/boogie | 24a23f9041646167445f8871e59e27d633f8642b | ||
obj { Null(), Obj(id:int), Int(i:int) } | datatype | obj | civl.large-samples | Test/civl/large-samples/GC.bpl | [] | [
"Int",
"Obj",
"id",
"int"
] | https://github.com/boogie-org/boogie | 24a23f9041646167445f8871e59e27d633f8642b | ||
{:inline} IDLE():int | { 0 } | function | IDLE | civl.large-samples | Test/civl/large-samples/GC.bpl | [] | [
"int"
] | https://github.com/boogie-org/boogie | 24a23f9041646167445f8871e59e27d633f8642b | |
{:inline} MARK():int | { 1 } | function | MARK | civl.large-samples | Test/civl/large-samples/GC.bpl | [] | [
"int"
] | https://github.com/boogie-org/boogie | 24a23f9041646167445f8871e59e27d633f8642b | |
{:inline} SWEEP():int | { 2 } | function | SWEEP | civl.large-samples | Test/civl/large-samples/GC.bpl | [] | [
"int"
] | https://github.com/boogie-org/boogie | 24a23f9041646167445f8871e59e27d633f8642b | |
{:inline} IdlePhase(i:int):bool | { i <= 0 } | function | IdlePhase | civl.large-samples | Test/civl/large-samples/GC.bpl | [] | [
"int"
] | https://github.com/boogie-org/boogie | 24a23f9041646167445f8871e59e27d633f8642b | |
{:inline} MarkPhase(i:int):bool | { i == 1 } | function | MarkPhase | civl.large-samples | Test/civl/large-samples/GC.bpl | [] | [
"int"
] | https://github.com/boogie-org/boogie | 24a23f9041646167445f8871e59e27d633f8642b | |
{:inline} SweepPhase(i:int):bool | { i >= 2 } | function | SweepPhase | civl.large-samples | Test/civl/large-samples/GC.bpl | [] | [
"int"
] | https://github.com/boogie-org/boogie | 24a23f9041646167445f8871e59e27d633f8642b | |
{:inline} UNALLOC():int | { 0 } | function | UNALLOC | civl.large-samples | Test/civl/large-samples/GC.bpl | [] | [
"int"
] | https://github.com/boogie-org/boogie | 24a23f9041646167445f8871e59e27d633f8642b | |
{:inline} WHITE():int | { 1 } | function | WHITE | civl.large-samples | Test/civl/large-samples/GC.bpl | [] | [
"int"
] | https://github.com/boogie-org/boogie | 24a23f9041646167445f8871e59e27d633f8642b | |
{:inline} GRAY():int | { 2 } | function | GRAY | civl.large-samples | Test/civl/large-samples/GC.bpl | [] | [
"int"
] | https://github.com/boogie-org/boogie | 24a23f9041646167445f8871e59e27d633f8642b | |
{:inline} BLACK():int | { 3 } | function | BLACK | civl.large-samples | Test/civl/large-samples/GC.bpl | [] | [
"int"
] | https://github.com/boogie-org/boogie | 24a23f9041646167445f8871e59e27d633f8642b | |
{:inline} Unalloc(i:int) returns(bool) | { i <= 0 } | function | Unalloc | civl.large-samples | Test/civl/large-samples/GC.bpl | [] | [
"int"
] | https://github.com/boogie-org/boogie | 24a23f9041646167445f8871e59e27d633f8642b | |
{:inline} White(i:int) returns(bool) | { i == 1 } | function | White | civl.large-samples | Test/civl/large-samples/GC.bpl | [] | [
"int"
] | https://github.com/boogie-org/boogie | 24a23f9041646167445f8871e59e27d633f8642b | |
{:inline} Gray(i:int) returns(bool) | { i == 2 } | function | Gray | civl.large-samples | Test/civl/large-samples/GC.bpl | [] | [
"int"
] | https://github.com/boogie-org/boogie | 24a23f9041646167445f8871e59e27d633f8642b | |
{:inline} Black(i:int) returns(bool) | { i >= 3 } | function | Black | civl.large-samples | Test/civl/large-samples/GC.bpl | [] | [
"int"
] | https://github.com/boogie-org/boogie | 24a23f9041646167445f8871e59e27d633f8642b | |
tidHasLock(tid:Tid, lock:int):bool | { (tid == GcTid || mutatorTid(tid)) && lock == tid->i && Map_Contains(tid->ps, One(Left(tid->i))) } | function | tidHasLock | civl.large-samples | Test/civl/large-samples/GC.bpl | [] | [
"GcTid",
"Left",
"Map_Contains",
"Tid",
"int",
"mutatorTid"
] | https://github.com/boogie-org/boogie | 24a23f9041646167445f8871e59e27d633f8642b | |
memLo: int; | const | memLo | civl.large-samples | Test/civl/large-samples/GC.bpl | [] | [
"int"
] | https://github.com/boogie-org/boogie | 24a23f9041646167445f8871e59e27d633f8642b | ||
memHi: int; | const | memHi | civl.large-samples | Test/civl/large-samples/GC.bpl | [] | [
"int"
] | https://github.com/boogie-org/boogie | 24a23f9041646167445f8871e59e27d633f8642b | ||
0 < memLo && memLo <= memHi; | axiom | memLo | civl.large-samples | Test/civl/large-samples/GC.bpl | [] | [
"memHi",
"memLo"
] | https://github.com/boogie-org/boogie | 24a23f9041646167445f8871e59e27d633f8642b | ||
{:inline} memAddr(i:int) returns (bool) | { memLo <= i && i < memHi } | function | memAddr | civl.large-samples | Test/civl/large-samples/GC.bpl | [] | [
"int",
"memHi",
"memLo"
] | https://github.com/boogie-org/boogie | 24a23f9041646167445f8871e59e27d633f8642b | |
memAddrAbs(i:obj) returns (bool); | function | memAddrAbs | civl.large-samples | Test/civl/large-samples/GC.bpl | [] | [
"obj"
] | https://github.com/boogie-org/boogie | 24a23f9041646167445f8871e59e27d633f8642b | ||
numFields: int; | const | numFields | civl.large-samples | Test/civl/large-samples/GC.bpl | [] | [
"int"
] | https://github.com/boogie-org/boogie | 24a23f9041646167445f8871e59e27d633f8642b | ||
0 <= numFields; | axiom | numFields | civl.large-samples | Test/civl/large-samples/GC.bpl | [] | [
"numFields"
] | https://github.com/boogie-org/boogie | 24a23f9041646167445f8871e59e27d633f8642b | ||
{:inline} fieldAddr(i:int) returns (bool) | { 0 <= i && i < numFields } | function | fieldAddr | civl.large-samples | Test/civl/large-samples/GC.bpl | [] | [
"int",
"numFields"
] | https://github.com/boogie-org/boogie | 24a23f9041646167445f8871e59e27d633f8642b | |
numRoots: int; | const | numRoots | civl.large-samples | Test/civl/large-samples/GC.bpl | [] | [
"int"
] | https://github.com/boogie-org/boogie | 24a23f9041646167445f8871e59e27d633f8642b | ||
0 <= numRoots; | axiom | numRoots | civl.large-samples | Test/civl/large-samples/GC.bpl | [] | [
"numRoots"
] | https://github.com/boogie-org/boogie | 24a23f9041646167445f8871e59e27d633f8642b | ||
{:inline} rootAddr(i:int) returns (bool) | { 0 <= i && i < numRoots } | function | rootAddr | civl.large-samples | Test/civl/large-samples/GC.bpl | [] | [
"int",
"numRoots"
] | https://github.com/boogie-org/boogie | 24a23f9041646167445f8871e59e27d633f8642b | |
nil: obj; | const | nil | civl.large-samples | Test/civl/large-samples/GC.bpl | [] | [
"obj"
] | https://github.com/boogie-org/boogie | 24a23f9041646167445f8871e59e27d633f8642b | ||
nil == Null(); | axiom | nil | civl.large-samples | Test/civl/large-samples/GC.bpl | [] | [] | https://github.com/boogie-org/boogie | 24a23f9041646167445f8871e59e27d633f8642b | ||
memAddrAbs(Null()); | axiom | memAddrAbs | civl.large-samples | Test/civl/large-samples/GC.bpl | [] | [] | https://github.com/boogie-org/boogie | 24a23f9041646167445f8871e59e27d633f8642b | ||
(forall i:int :: memAddrAbs(Obj(i))); | axiom | memAddrAbs | civl.large-samples | Test/civl/large-samples/GC.bpl | [] | [
"Obj",
"int",
"memAddrAbs"
] | https://github.com/boogie-org/boogie | 24a23f9041646167445f8871e59e27d633f8642b | ||
(forall i:int :: !memAddrAbs(Int(i))); | axiom | memAddrAbs | civl.large-samples | Test/civl/large-samples/GC.bpl | [] | [
"Int",
"int",
"memAddrAbs"
] | https://github.com/boogie-org/boogie | 24a23f9041646167445f8871e59e27d633f8642b | ||
owner(x: idx): int; | function | owner | civl.large-samples | Test/civl/large-samples/GC.bpl | [] | [
"idx",
"int"
] | https://github.com/boogie-org/boogie | 24a23f9041646167445f8871e59e27d633f8642b | ||
tidOwns(tid:Tid, x:idx):bool | { owner(x) == tid->i } | function | tidOwns | civl.large-samples | Test/civl/large-samples/GC.bpl | [] | [
"Tid",
"idx",
"owner"
] | https://github.com/boogie-org/boogie | 24a23f9041646167445f8871e59e27d633f8642b | |
{:inline} Iso(root:[idx]int, rootAbs:[idx]obj, mem:[int][fld]int, memAbs:[obj][fld]obj, Color:[int]int, toAbs:[int]obj, allocSet:[obj]bool) returns (bool) | {
(forall x: int :: memAddr(x) <==> memAddrAbs(toAbs[x])) &&
(forall x: int, y: int :: toAbs[x] == toAbs[y] ==> x == y || (memAddr(x) && toAbs[x] == nil) || (memAddr(y) && toAbs[y] == nil)) &&
(forall x: idx :: rootAddr(x) ==> toAbs[root[x]] == rootAbs[x]) &&
(forall x: int, f: fld :: memAddr(x) && toAb... | function | Iso | civl.large-samples | Test/civl/large-samples/GC.bpl | [] | [
"Color",
"Unalloc",
"fieldAddr",
"fld",
"idx",
"int",
"memAddr",
"memAddrAbs",
"nil",
"obj",
"rootAddr"
] | https://github.com/boogie-org/boogie | 24a23f9041646167445f8871e59e27d633f8642b | |
{:inline false} MST(i:int) returns (bool) | { true } | function | MST | civl.large-samples | Test/civl/large-samples/GC.bpl | [] | [
"false",
"int",
"true"
] | https://github.com/boogie-org/boogie | 24a23f9041646167445f8871e59e27d633f8642b | |
{:inline} MsWellFormed(MarkStack:[int]int, MarkStackPtr:int, Color:[int]int, nodePeeked:int) returns (bool) | {
(forall i:int :: {MST(i)} MST(i) ==> (0 <= i && i < MarkStackPtr) ==> (memAddr(MarkStack[i]) && Gray(Color[MarkStack[i]]))) &&
(nodePeeked != 0 ==> memAddr(nodePeeked) && Gray(Color[nodePeeked])) &&
(forall i:int :: (memAddr(i) && Gray(Color[i])) ==> (exists j:int :: {MST(j)} MST(j) && 0 <= j && j < Mark... | function | MsWellFormed | civl.large-samples | Test/civl/large-samples/GC.bpl | [] | [
"Color",
"Gray",
"MST",
"int",
"memAddr"
] | https://github.com/boogie-org/boogie | 24a23f9041646167445f8871e59e27d633f8642b | |
{:inline} PhaseConsistent(collectorPhase: int, mutatorPhase: [int]int) returns (bool) | {
(forall i: int :: mutatorId(i) ==> mutatorPhase[i] == collectorPhase)
} | function | PhaseConsistent | civl.large-samples | Test/civl/large-samples/GC.bpl | [] | [
"int",
"mutatorId"
] | https://github.com/boogie-org/boogie | 24a23f9041646167445f8871e59e27d633f8642b | |
{:inline} MarkInv(root:[idx]int, rootAbs:[idx]obj, mem:[int][fld]int, memAbs:[obj][fld]obj, Color:[int]int, toAbs:[int]obj, allocSet:[obj]bool) returns (bool) | {
Iso(root, rootAbs, mem, memAbs, Color, toAbs, allocSet) &&
(forall x: int :: memAddr(x) ==> (toAbs[x] == nil <==> Unalloc(Color[x]))) &&
(forall x: int, f: fld :: memAddr(x) && Black(Color[x]) && fieldAddr(f) && memAddr(mem[x][f]) ==> Gray(Color[mem[x][f]]) || Black(Color[mem[x][f]]))
} | function | MarkInv | civl.large-samples | Test/civl/large-samples/GC.bpl | [] | [
"Black",
"Color",
"Gray",
"Iso",
"Unalloc",
"fieldAddr",
"fld",
"idx",
"int",
"memAddr",
"nil",
"obj"
] | https://github.com/boogie-org/boogie | 24a23f9041646167445f8871e59e27d633f8642b | |
{:inline} SweepInv(root:[idx]int, rootAbs:[idx]obj, mem:[int][fld]int, memAbs:[obj][fld]obj, Color:[int]int, toAbs:[int]obj, allocSet:[obj]bool) returns (bool) | {
Iso(root, rootAbs, mem, memAbs, Color, toAbs, allocSet) &&
(forall x: int :: memAddr(x) ==> (toAbs[x] == nil <==> Unalloc(Color[x]))) &&
(forall x: int :: memAddr(x) ==> !Gray(Color[x])) &&
(forall x: int, f: fld :: memAddr(x) && Black(Color[x]) && fieldAddr(f) && memAddr(mem[x][f]) ==> Black(Color[me... | function | SweepInv | civl.large-samples | Test/civl/large-samples/GC.bpl | [] | [
"Black",
"Color",
"Gray",
"Iso",
"Unalloc",
"fieldAddr",
"fld",
"idx",
"int",
"memAddr",
"nil",
"obj"
] | https://github.com/boogie-org/boogie | 24a23f9041646167445f8871e59e27d633f8642b | |
{:inline} SweepInvInit(root:[idx]int, rootAbs:[idx]obj, mem:[int][fld]int, memAbs:[obj][fld]obj, Color:[int]int, toAbs:[int]obj, allocSet:[obj]bool) returns (bool)
{
Iso(root, rootAbs, mem, memAbs, Color, toAbs, allocSet) &&
(forall x: int :: memAddr(x) ==> (toAbs[x] != nil <==> Black(Color[x]))) &&
(forall... | { lock := false; }
yield procedure {:layer 0} PrimitiveLockClear();
refines AtomicPrimitiveLockClear; | function | SweepInvInit | civl.large-samples | Test/civl/large-samples/GC.bpl | [] | [
"Alloc",
"BLACK",
"Black",
"Color",
"Copy",
"GRAY",
"GcTid",
"Gray",
"IDLE",
"IdlePhase",
"Initialize",
"Int",
"Iso",
"Left",
"MARK",
"MST",
"Map_Contains",
"MarkInv",
"MarkPhase",
"MsWellFormed",
"Mutators",
"PhaseConsistent",
"Piece",
"Right",
"RootScanBarrierInv",
... | https://github.com/boogie-org/boogie | 24a23f9041646167445f8871e59e27d633f8642b | |
X; | type | X | civl.large-samples | Test/civl/large-samples/msq.bpl | [] | [] | https://github.com/boogie-org/boogie | 24a23f9041646167445f8871e59e27d633f8642b | ||
MSQueue { MSQueue(head: Loc, tail: Loc, nodes: Map (One Loc) (Node X), tags: UnitMap (One (Tag Unit))) } | datatype | MSQueue | civl.large-samples | Test/civl/large-samples/msq.bpl | [] | [
"Map",
"Node",
"Tag",
"head",
"tail"
] | https://github.com/boogie-org/boogie | 24a23f9041646167445f8871e59e27d633f8642b | ||
StackAbsLemma<V>(start: Option Loc, nodes: Map (One Loc) (Node V)) | {
var absStack: Vec V;
call absStack := StackAbsCompute(start, nodes, nodes);
} | implementation | StackAbsLemma | civl.large-samples | Test/civl/large-samples/node-lemmas.bpl | [] | [
"Map",
"Node",
"Option",
"Vec"
] | https://github.com/boogie-org/boogie | 24a23f9041646167445f8871e59e27d633f8642b | |
StackFrameLemma<V>(start: Option Loc, nodes: Map (One Loc) (Node V), nodes': Map (One Loc) (Node V))
{
var absStack: Vec V;
call absStack := StackAbsCompute(start, nodes, nodes');
}
/// Set abstraction
pure procedure SetAbsCompute<V>(start: Option Loc, nodes: Map (One Loc) (Node V), nodes': Map (One Loc) (Node V))... | {
var loc_n: Option Loc;
var n: Node V;
if (start == None()) {
absSet := Set_Empty();
} else {
loc_n := start;
assert Map_Contains(nodes, One(loc_n->t));
n := Map_At(nodes, One(loc_n->t));
// Use well-founded list reachability to prove that recursion will terminate:
// start... | implementation | StackFrameLemma | civl.large-samples | Test/civl/large-samples/node-lemmas.bpl | [] | [
"Map",
"Map_Contains",
"Node",
"Option",
"Vec",
"next",
"val"
] | https://github.com/boogie-org/boogie | 24a23f9041646167445f8871e59e27d633f8642b | |
SetAbsLemma<V>(start: Option Loc, nodes: Map (One Loc) (Node V)) | {
var absSet: [V]bool;
call absSet := SetAbsCompute(start, nodes, nodes);
} | implementation | SetAbsLemma | civl.large-samples | Test/civl/large-samples/node-lemmas.bpl | [] | [
"Map",
"Node",
"Option"
] | https://github.com/boogie-org/boogie | 24a23f9041646167445f8871e59e27d633f8642b | |
SetFrameLemma<V>(start: Option Loc, nodes: Map (One Loc) (Node V), nodes': Map (One Loc) (Node V))
{
var absSet: [V]bool;
call absSet := SetAbsCompute(start, nodes, nodes');
}
/// Queue abstraction
pure procedure QueueAbsCompute<V>(in_queue: Vec V, start: Option Loc, nodes: Map (One Loc) (Node V), nodes': Map (One... | {
var loc_n: Option Loc;
var n: Node V;
if (start == None()) {
out_queue := in_queue;
} else {
loc_n := start;
assert Map_Contains(nodes, One(loc_n->t));
n := Map_At(nodes, One(loc_n->t));
// Use well-founded list reachability to prove that recursion will terminate:
// start... | implementation | SetFrameLemma | civl.large-samples | Test/civl/large-samples/node-lemmas.bpl | [] | [
"Map",
"Map_Contains",
"Node",
"Option",
"Vec",
"next",
"val"
] | https://github.com/boogie-org/boogie | 24a23f9041646167445f8871e59e27d633f8642b | |
QueueAbsLemma<V>(in_queue: Vec V, start: Option Loc, nodes: Map (One Loc) (Node V)) | {
var absQueue: Vec V;
call absQueue := QueueAbsCompute(in_queue, start, nodes, nodes);
} | implementation | QueueAbsLemma | civl.large-samples | Test/civl/large-samples/node-lemmas.bpl | [] | [
"Map",
"Node",
"Option",
"Vec"
] | https://github.com/boogie-org/boogie | 24a23f9041646167445f8871e59e27d633f8642b | |
QueueFrameLemma<V>(in_queue: Vec V, start: Option Loc, nodes: Map (One Loc) (Node V), nodes': Map (One Loc) (Node V)) | {
var absQueue: Vec V;
call absQueue := QueueAbsCompute(in_queue, start, nodes, nodes');
} | implementation | QueueFrameLemma | civl.large-samples | Test/civl/large-samples/node-lemmas.bpl | [] | [
"Map",
"Node",
"Option",
"Vec"
] | https://github.com/boogie-org/boogie | 24a23f9041646167445f8871e59e27d633f8642b | |
IntArray {
IntArray(
mutexes: Map int (One Loc),
values: Map int (Cell Loc int)
)
} | datatype | IntArray | civl.large-samples | Test/civl/large-samples/shared-vector.bpl | [] | [
"Cell",
"Map",
"int"
] | https://github.com/boogie-org/boogie | 24a23f9041646167445f8871e59e27d633f8642b | ||
Tid; | type | Tid | civl.large-samples | Test/civl/large-samples/shared-vector.bpl | [] | [] | https://github.com/boogie-org/boogie | 24a23f9041646167445f8871e59e27d633f8642b | ||
Mutex = Option Tid; | type | Mutex | civl.large-samples | Test/civl/large-samples/shared-vector.bpl | [] | [
"Option",
"Tid"
] | https://github.com/boogie-org/boogie | 24a23f9041646167445f8871e59e27d633f8642b | ||
Treiber<V> { Treiber(top: Option Loc, nodes: Map (One Loc) (Node V)) } | datatype | Treiber | civl.large-samples | Test/civl/large-samples/treiber-stack.bpl | [] | [
"Map",
"Node",
"Option"
] | https://github.com/boogie-org/boogie | 24a23f9041646167445f8871e59e27d633f8642b | ||
{:inline} Domain(ts: Map (One Loc) (Treiber X), loc_t: Loc): [One Loc]bool {
ts->val[One(loc_t)]->nodes->dom
}
yield invariant {:layer 1} TopInStack(loc_t: Loc);
preserves Map_Contains(TreiberPoolLow, One(loc_t));
preserves (var loc_n := Map_At(TreiberPoolLow, One(loc_t))->top; loc_n is None || Set_Contains(Domain(T... | {
call Map_Put(TreiberPoolLow, one_loc_t, treiber);
} | function | Domain | civl.large-samples | Test/civl/large-samples/treiber-stack.bpl | [] | [
"Alloc",
"AtomicPopIntermediate",
"Copy",
"Map",
"Map_Contains",
"Node",
"Option",
"Some",
"StackAbsLemma",
"StackFrameLemma",
"Tag",
"Treiber",
"Vec",
"false",
"loc",
"next",
"node",
"true",
"val"
] | https://github.com/boogie-org/boogie | 24a23f9041646167445f8871e59e27d633f8642b | |
Tid = int; | type | Tid | civl.large-samples | Test/civl/large-samples/verified-ft.bpl | [] | [
"int"
] | https://github.com/boogie-org/boogie | 24a23f9041646167445f8871e59e27d633f8642b | ||
unique nil: Tid; | const | nil | civl.large-samples | Test/civl/large-samples/verified-ft.bpl | [] | [
"Tid"
] | https://github.com/boogie-org/boogie | 24a23f9041646167445f8871e59e27d633f8642b |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.