Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
caisar
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
pub
caisar
Commits
4ca9b508
Commit
4ca9b508
authored
1 year ago
by
Michele Alberti
Browse files
Options
Downloads
Patches
Plain Diff
[verification] Interpret task for classic provers also.
On such tasks, the interpretation should provide no effect.
parent
77c43c8f
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/verification.ml
+10
-6
10 additions, 6 deletions
src/verification.ml
with
10 additions
and
6 deletions
src/verification.ml
+
10
−
6
View file @
4ca9b508
...
...
@@ -223,8 +223,9 @@ let answer_dataset limit config env prover config_prover driver dataset task =
in
(
prover_answer
,
additional_info
)
let
answer_generic
limit
config
env
prover
config_prover
driver
~
strategy
task
=
let
tasks
=
strategy
env
task
in
let
answer_generic
limit
config
env
prover
config_prover
driver
~
proof_strategy
task
=
let
tasks
=
proof_strategy
env
task
in
let
answers
=
List
.
concat_map
tasks
~
f
:
(
fun
task
->
let
task
=
Driver
.
prepare_task
driver
task
in
...
...
@@ -263,11 +264,14 @@ let call_prover ~cwd ~limit config env prover config_prover driver ?dataset task
answer_dataset
limit
config
env
prover
config_prover
driver
dataset
task
|
Marabou
|
Pyrat
|
Nnenum
->
let
task
=
Interpretation
.
interpret_task
~
cwd
env
task
in
let
strategy
=
Proof_strategy
.
apply_native_nn_prover
in
answer_generic
limit
config
env
prover
config_prover
driver
~
strategy
task
let
proof_strategy
=
Proof_strategy
.
apply_native_nn_prover
in
answer_generic
limit
config
env
prover
config_prover
driver
~
proof_strategy
task
|
CVC5
->
let
strategy
=
Proof_strategy
.
apply_classic_prover
in
answer_generic
limit
config
env
prover
config_prover
driver
~
strategy
task
let
task
=
Interpretation
.
interpret_task
~
cwd
env
task
in
let
proof_strategy
=
Proof_strategy
.
apply_classic_prover
in
answer_generic
limit
config
env
prover
config_prover
driver
~
proof_strategy
task
in
let
id
=
Task
.
task_goal
task
in
{
id
;
prover_answer
;
additional_info
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment