statement
stringlengths
1
11.2k
proof
stringlengths
0
11.2k
type
stringclasses
6 values
symbolic_name
stringlengths
1
117
library
stringclasses
106 values
filename
stringlengths
31
86
imports
listlengths
0
0
deps
listlengths
0
32
docstring
stringclasses
1 value
source_url
stringclasses
1 value
commit
stringclasses
1 value
R()
{ true } define A acc(P()) define B acc(Q()) define C acc(R())
predicate
R
test.resources.wands.regression
src/test/resources/wands/regression/un_currying.vpr
[]
[]
https://github.com/viperproject/silver
efc0caa6f46ad79d49f337d8d640460a49cfd757
uncurry()
{ inhale A --* (B --* C) /* requires */ package (A && B) --* C { apply A --* (B --* C) apply B --* C } exhale A && B --* C /* ensures */ //:: ExpectedOutput(assert.failed:assertion.false) assert false }
method
uncurry
test.resources.wands.regression
src/test/resources/wands/regression/un_currying.vpr
[]
[]
https://github.com/viperproject/silver
efc0caa6f46ad79d49f337d8d640460a49cfd757
curry()
{ inhale A && B --* C /* requires */ package (A) --* (B --* C) { package (B --* C) { apply A && B --* C } } exhale A --* (B --* C) /* ensures */ //:: ExpectedOutput(assert.failed:assertion.false) assert false }
method
curry
test.resources.wands.regression
src/test/resources/wands/regression/un_currying.vpr
[]
[]
https://github.com/viperproject/silver
efc0caa6f46ad79d49f337d8d640460a49cfd757
curry_test01(x: Ref) requires (acc(P()) && acc(Q())) --* acc(R()) ensures acc(P()) --* (acc(Q()) --* acc(R()))
{ inhale acc(P()) //:: ExpectedOutput(apply.failed:insufficient.permission) apply (acc(P()) && acc(Q())) --* acc(R()) }
method
curry_test01
test.resources.wands.regression
src/test/resources/wands/regression/un_currying.vpr
[]
[]
https://github.com/viperproject/silver
efc0caa6f46ad79d49f337d8d640460a49cfd757
curry_test02(x: Ref) requires (acc(P()) && acc(Q())) --* acc(R()) //:: ExpectedOutput(postcondition.violated:wand.not.found) //:: MissingOutput(postcondition.violated:wand.not.found, /silicon/issue/34/) ensures acc(P()) --* (acc(Q()) --* acc(R()))
{ inhale acc(P()) package (acc(Q())) --* acc(R()) { apply (acc(P()) && acc(Q())) --* acc(R()) } //:: ExpectedOutput(exhale.failed:insufficient.permission) exhale acc(P()) }
method
curry_test02
test.resources.wands.regression
src/test/resources/wands/regression/un_currying.vpr
[]
[]
https://github.com/viperproject/silver
efc0caa6f46ad79d49f337d8d640460a49cfd757
curry_test03()
{ inhale C inhale true --* C package (true) --* true { package (true --* C) { apply true --* C } } exhale true --* true exhale C //:: ExpectedOutput(assert.failed:assertion.false) assert false }
method
curry_test03
test.resources.wands.regression
src/test/resources/wands/regression/un_currying.vpr
[]
[]
https://github.com/viperproject/silver
efc0caa6f46ad79d49f337d8d640460a49cfd757
t02(x:Ref) requires acc(x.f)
{ package acc(x.f) --* acc(x.f) exhale acc(x.f)&&(acc(x.f) --* acc(x.f)) //failed previously //:: ExpectedOutput(assert.failed:assertion.false) assert false }
method
t02
test.resources.wands.regression
src/test/resources/wands/regression/wand_conjunction.vpr
[]
[]
https://github.com/viperproject/silver
efc0caa6f46ad79d49f337d8d640460a49cfd757
t03(x:Ref) requires acc(x.f)
{ package acc(x.f) --* acc(x.f) exhale (acc(x.f) --* acc(x.f))&&acc(x.f) //failed previously //:: ExpectedOutput(assert.failed:assertion.false) assert false }
method
t03
test.resources.wands.regression
src/test/resources/wands/regression/wand_conjunction.vpr
[]
[]
https://github.com/viperproject/silver
efc0caa6f46ad79d49f337d8d640460a49cfd757
test07(p: Ref)
{ var r:Ref inhale acc(p.f) package (acc(p.f)&&acc(p.f.g) --* true) exhale acc(p.f) r := p; exhale (acc(r.f)&&acc(r.f.g) --* true) //:: ExpectedOutput(assert.failed:assertion.false) assert false }
method
test07
test.resources.wands.regression
src/test/resources/wands/regression/wand_shapes_1.vpr
[]
[]
https://github.com/viperproject/silver
efc0caa6f46ad79d49f337d8d640460a49cfd757
test08()
{ var x:Int var y:Int var t:Int package x == 2 && y ==2 --* true exhale y == 2 && x ==2 --* true //:: ExpectedOutput(assert.failed:assertion.false) assert false }
method
test08
test.resources.wands.regression
src/test/resources/wands/regression/wand_shapes_1.vpr
[]
[]
https://github.com/viperproject/silver
efc0caa6f46ad79d49f337d8d640460a49cfd757
test09()
{ var x:Int var y:Int var t:Int package x == 2 && y ==2 --* true x := t //:: ExpectedOutput(exhale.failed:wand.not.found) exhale y == 2 && x ==2 --* true }
method
test09
test.resources.wands.regression
src/test/resources/wands/regression/wand_shapes_1.vpr
[]
[]
https://github.com/viperproject/silver
efc0caa6f46ad79d49f337d8d640460a49cfd757
test10(p:Ref, q:Ref)
{ package acc(p.f)&&acc(q.f) --* true //:: ExpectedOutput(exhale.failed:wand.not.found) exhale acc(q.f)&&acc(p.f) --* true }
method
test10
test.resources.wands.regression
src/test/resources/wands/regression/wand_shapes_1.vpr
[]
[]
https://github.com/viperproject/silver
efc0caa6f46ad79d49f337d8d640460a49cfd757
t01(p: Ref, r:Ref)
{ package acc(p.f) --* true exhale acc(p.f) --* true //:: ExpectedOutput(exhale.failed:wand.not.found) exhale acc(r.f) --* true }
method
t01
test.resources.wands.regression
src/test/resources/wands/regression/wand_shapes_simple_exhale.vpr
[]
[]
https://github.com/viperproject/silver
efc0caa6f46ad79d49f337d8d640460a49cfd757
t02(x: Ref)
{ inhale acc(P(x)) unfold P(x) exhale (acc(x.f) --* acc(x.f)) //:: ExpectedOutput(exhale.failed:wand.not.found) exhale (acc(x.f) --* acc(x.f)) }
method
t02
test.resources.wands.regression
src/test/resources/wands/regression/wand_shapes_simple_exhale.vpr
[]
[]
https://github.com/viperproject/silver
efc0caa6f46ad79d49f337d8d640460a49cfd757
P(x:Ref)
{ //:: ExpectedOutput(consistency.error) acc(x.f) --* acc(x.f) }
predicate
P
test.resources.wands.regression
src/test/resources/wands/regression/wand_shapes_simple_exhale.vpr
[]
[]
https://github.com/viperproject/silver
efc0caa6f46ad79d49f337d8d640460a49cfd757
test01(x: Ref)
{ //:: ExpectedOutput(wand.not.wellformed:insufficient.permission) //:: MissingOutput(wand.not.wellformed:insufficient.permission, /silicon/issue/201/) //:: MissingOutput(wand.not.wellformed:insufficient.permission, /carbon/issue/105/) //:: UnexpectedOutput(package.failed:insufficient.permission, /silicon/issue...
method
test01
test.resources.wands.regression
src/test/resources/wands/regression/well_formedness_wand_1.vpr
[]
[]
https://github.com/viperproject/silver
efc0caa6f46ad79d49f337d8d640460a49cfd757
test02a(x: Ref) requires acc(x.f) requires acc(x.f.f)
{ //:: ExpectedOutput(wand.not.wellformed:insufficient.permission) //:: ExpectedOutput(wand.not.wellformed:receiver.null) //:: MissingOutput(wand.not.wellformed:receiver.null, /silicon/issue/201/) //:: MissingOutput(wand.not.wellformed:insufficient.permission, /silicon/issue/201/) //:: UnexpectedOutput(packag...
method
test02a
test.resources.wands.regression
src/test/resources/wands/regression/well_formedness_wand_1.vpr
[]
[]
https://github.com/viperproject/silver
efc0caa6f46ad79d49f337d8d640460a49cfd757
test02b(x: Ref)
{ inhale acc(x.f) inhale acc(x.f.f) //:: ExpectedOutput(wand.not.wellformed:receiver.null) //:: ExpectedOutput(wand.not.wellformed:insufficient.permission) //:: MissingOutput(wand.not.wellformed:receiver.null, /silicon/issue/201/) //:: MissingOutput(wand.not.wellformed:insufficient.permission, /silicon/iss...
method
test02b
test.resources.wands.regression
src/test/resources/wands/regression/well_formedness_wand_1.vpr
[]
[]
https://github.com/viperproject/silver
efc0caa6f46ad79d49f337d8d640460a49cfd757
test03(x: Ref)
{ inhale acc(x.f) inhale acc(x.f.f) package true --* acc(x.f) && acc(x.f.f) }
method
test03
test.resources.wands.regression
src/test/resources/wands/regression/well_formedness_wand_1.vpr
[]
[]
https://github.com/viperproject/silver
efc0caa6f46ad79d49f337d8d640460a49cfd757