Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
why3
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
120
Issues
120
List
Boards
Labels
Service Desk
Milestones
Merge Requests
17
Merge Requests
17
Operations
Operations
Incidents
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Why3
why3
Commits
b6e01c68
Commit
b6e01c68
authored
Nov 28, 2018
by
MARCHE Claude
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Avoid polymorphism
parent
5a153a4e
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
32 additions
and
26 deletions
+32
-26
bench/ce/jlamp_projections.mlw
bench/ce/jlamp_projections.mlw
+6
-0
bench/ce/oracles/jlamp_projections_CVC4,1.5_SP.oracle
bench/ce/oracles/jlamp_projections_CVC4,1.5_SP.oracle
+6
-6
bench/ce/oracles/jlamp_projections_CVC4,1.5_WP.oracle
bench/ce/oracles/jlamp_projections_CVC4,1.5_WP.oracle
+6
-6
bench/ce/oracles/jlamp_projections_Z3,4.6.0_SP.oracle
bench/ce/oracles/jlamp_projections_Z3,4.6.0_SP.oracle
+7
-7
bench/ce/oracles/jlamp_projections_Z3,4.6.0_WP.oracle
bench/ce/oracles/jlamp_projections_Z3,4.6.0_WP.oracle
+7
-7
No files found.
bench/ce/jlamp_projections.mlw
View file @
b6e01c68
...
...
@@ -18,7 +18,13 @@ val add (x y : byte) : byte
requires { [@expl:integer overflow] in_range (to_int x + to_int y) }
ensures { to_int result = to_int x + to_int y }
end
module AbstractWithRef
use int.Int
use ref.Ref
use Abstract
let p3 (a : ref byte) =
a := add !a (of_int 1)
...
...
bench/ce/oracles/jlamp_projections_CVC4,1.5_SP.oracle
View file @
b6e01c68
Strongest Postcondition
bench/ce/jlamp_projections.mlw Abstract VC p3: Valid
bench/ce/jlamp_projections.mlw Abstract VC p3: Timeout or Unknown
bench/ce/jlamp_projections.mlw Abstract
WithRef
VC p3: Valid
bench/ce/jlamp_projections.mlw Abstract
WithRef
VC p3: Timeout or Unknown
Counter-example model:File jlamp_projections.mlw:
Line 2
3
:
Line 2
9
:
a, [[@introduced], [@model_trace:a]] = {"proj_name" : "to_int1" ,
"type" : "Proj" , "value" : {"type" : "Integer" ,
"val" : "127" } }
Line
24
:
Line
30
:
a, [[@introduced], [@model_trace:a]] = {"proj_name" : "to_int1" ,
"type" : "Proj" , "value" : {"type" : "Integer" ,
"val" : "127" } }
...
...
@@ -14,13 +14,13 @@ a, [[@introduced], [@model_trace:a]] = {"proj_name" : "to_int1" ,
bench/ce/jlamp_projections.mlw Record VC p4: Valid
bench/ce/jlamp_projections.mlw Record VC p4: Timeout or Unknown
Counter-example model:File jlamp_projections.mlw:
Line
35
:
Line
41
:
b, [[@introduced], [@model_trace:b]] = {"type" : "Record" ,
"val" : {"Field" : [{"field" : "f" , "value" : {"proj_name" : "to_int1" ,
"type" : "Proj" , "value" : {"type" : "Integer" , "val" : "127" } } },
{"field" : "g" , "value" : {"type" : "Boolean" ,
"val" : true } }] } }
Line
36
:
Line
42
:
b, [[@introduced], [@model_trace:b]] = {"type" : "Record" ,
"val" : {"Field" : [{"field" : "f" , "value" : {"proj_name" : "to_int1" ,
"type" : "Proj" , "value" : {"type" : "Integer" , "val" : "127" } } },
...
...
bench/ce/oracles/jlamp_projections_CVC4,1.5_WP.oracle
View file @
b6e01c68
Weakest Precondition
bench/ce/jlamp_projections.mlw Abstract VC p3: Valid
bench/ce/jlamp_projections.mlw Abstract VC p3: Timeout or Unknown
bench/ce/jlamp_projections.mlw Abstract
WithRef
VC p3: Valid
bench/ce/jlamp_projections.mlw Abstract
WithRef
VC p3: Timeout or Unknown
Counter-example model:File jlamp_projections.mlw:
Line 2
3
:
Line 2
9
:
a, [[@introduced], [@model_trace:a]] = {"proj_name" : "to_int1" ,
"type" : "Proj" , "value" : {"type" : "Integer" ,
"val" : "127" } }
Line
24
:
Line
30
:
a, [[@introduced], [@model_trace:a]] = {"proj_name" : "to_int1" ,
"type" : "Proj" , "value" : {"type" : "Integer" ,
"val" : "127" } }
...
...
@@ -14,13 +14,13 @@ a, [[@introduced], [@model_trace:a]] = {"proj_name" : "to_int1" ,
bench/ce/jlamp_projections.mlw Record VC p4: Valid
bench/ce/jlamp_projections.mlw Record VC p4: Timeout or Unknown
Counter-example model:File jlamp_projections.mlw:
Line
35
:
Line
41
:
b, [[@introduced], [@model_trace:b]] = {"type" : "Record" ,
"val" : {"Field" : [{"field" : "f" , "value" : {"proj_name" : "to_int1" ,
"type" : "Proj" , "value" : {"type" : "Integer" , "val" : "127" } } },
{"field" : "g" , "value" : {"type" : "Boolean" ,
"val" : true } }] } }
Line
36
:
Line
42
:
b, [[@introduced], [@model_trace:b]] = {"type" : "Record" ,
"val" : {"Field" : [{"field" : "f" , "value" : {"proj_name" : "to_int1" ,
"type" : "Proj" , "value" : {"type" : "Integer" , "val" : "127" } } },
...
...
bench/ce/oracles/jlamp_projections_Z3,4.6.0_SP.oracle
View file @
b6e01c68
Strongest Postcondition
bench/ce/jlamp_projections.mlw Abstract VC p3: Valid
bench/ce/jlamp_projections.mlw Abstract VC p3: Timeout or Unknown
bench/ce/jlamp_projections.mlw Abstract
WithRef
VC p3: Valid
bench/ce/jlamp_projections.mlw Abstract
WithRef
VC p3: Timeout or Unknown
Counter-example model:File jlamp_projections.mlw:
Line 2
3
:
Line 2
9
:
a, [[@introduced], [@model_trace:a]] = {"proj_name" : "to_int1" ,
"type" : "Proj" , "value" : {"type" : "Integer" ,
"val" : "0" } }
Line
24
:
Line
30
:
a, [[@introduced], [@model_trace:a]] = {"proj_name" : "to_int1" ,
"type" : "Proj" , "value" : {"type" : "Integer" ,
"val" : "0" } }
bench/ce/jlamp_projections.mlw Record VC p4: Valid
bench/ce/jlamp_projections.mlw Record VC p4:
Timeout or Unknown
bench/ce/jlamp_projections.mlw Record VC p4:
Unknown (sat)
Counter-example model:File jlamp_projections.mlw:
Line
35
:
Line
41
:
b, [[@introduced], [@model_trace:b]] = {"type" : "Record" ,
"val" : {"Field" : [{"field" : "f" , "value" : {"proj_name" : "to_int1" ,
"type" : "Proj" , "value" : {"type" : "Integer" , "val" : "0" } } },
{"field" : "g" , "value" : {"type" : "Boolean" ,
"val" : true } }] } }
Line
36
:
Line
42
:
b, [[@introduced], [@model_trace:b]] = {"type" : "Record" ,
"val" : {"Field" : [{"field" : "f" , "value" : {"proj_name" : "to_int1" ,
"type" : "Proj" , "value" : {"type" : "Integer" , "val" : "0" } } },
...
...
bench/ce/oracles/jlamp_projections_Z3,4.6.0_WP.oracle
View file @
b6e01c68
Weakest Precondition
bench/ce/jlamp_projections.mlw Abstract VC p3: Valid
bench/ce/jlamp_projections.mlw Abstract VC p3: Timeout or Unknown
bench/ce/jlamp_projections.mlw Abstract
WithRef
VC p3: Valid
bench/ce/jlamp_projections.mlw Abstract
WithRef
VC p3: Timeout or Unknown
Counter-example model:File jlamp_projections.mlw:
Line 2
3
:
Line 2
9
:
a, [[@introduced], [@model_trace:a]] = {"proj_name" : "to_int1" ,
"type" : "Proj" , "value" : {"type" : "Integer" ,
"val" : "0" } }
Line
24
:
Line
30
:
a, [[@introduced], [@model_trace:a]] = {"proj_name" : "to_int1" ,
"type" : "Proj" , "value" : {"type" : "Integer" ,
"val" : "0" } }
bench/ce/jlamp_projections.mlw Record VC p4: Valid
bench/ce/jlamp_projections.mlw Record VC p4:
Timeout or Unknown
bench/ce/jlamp_projections.mlw Record VC p4:
Unknown (sat)
Counter-example model:File jlamp_projections.mlw:
Line
35
:
Line
41
:
b, [[@introduced], [@model_trace:b]] = {"type" : "Record" ,
"val" : {"Field" : [{"field" : "f" , "value" : {"proj_name" : "to_int1" ,
"type" : "Proj" , "value" : {"type" : "Integer" , "val" : "0" } } },
{"field" : "g" , "value" : {"type" : "Boolean" ,
"val" : true } }] } }
Line
36
:
Line
42
:
b, [[@introduced], [@model_trace:b]] = {"type" : "Record" ,
"val" : {"Field" : [{"field" : "f" , "value" : {"proj_name" : "to_int1" ,
"type" : "Proj" , "value" : {"type" : "Integer" , "val" : "0" } } },
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment