Getting Started
Installation Guide
Tutorial
Issue Tracker
Tools
Verifier
Alpinist
VeSUV
VeyMont
Showcases
Publications
About
VerCors Team
News
Contact
Credits
License
Refute: refuting (case 5)
The refute statement is not reachable, because an error occurs before it.
General Information
Backend
: Chalice
Language
: Java
Features
:
Path to Example File
: refute/refute5.java
Should Verify
: Yes
Date
: 2017-06-20
Lines of Code
: 14 (comments not included)
Lines of Specification
: 6 (42.9% of total)
Computation Time
: 17.7 seconds
// -*- tab-width:2 ; indent-tabs-mode:nil -*- //:: cases Refute5 //:: tools silicon //:: verdict Fail /* The refute statement is not reachable, because an error occurs before it. */ public class Refute { int x; /*@ requires Perm(x,write) ** x==2; ensures Perm(x,write) ** x==3; @*/ public void good2(){ //@ assert x==3; //@ refute x==3; } }
Language:
PVL
Java
Cuda
C / OpenMP / OpenCL
Viper