Mentions légales du service
Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
why3
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Container registry
Monitor
Service Desk
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Why3
why3
Commits
785df505
Commit
785df505
authored
7 years ago
by
MARCHE Claude
Browse files
Options
Downloads
Patches
Plain Diff
adding strategy auto 0, same as level 1 but without split
parent
5878d5a1
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/driver/autodetection.ml
+13
-2
13 additions, 2 deletions
src/driver/autodetection.ml
with
13 additions
and
2 deletions
src/driver/autodetection.ml
+
13
−
2
View file @
785df505
...
...
@@ -343,7 +343,7 @@ let generate_auto_strategies config =
strategy_shortcut
=
"i"
;
strategy_code
=
code
}
in
(* Auto level 1 *)
(* Auto level
0 and
1 *)
let
provers_level1
=
Hprover
.
fold
(
fun
p
(
lev
,
b
)
acc
->
...
...
@@ -354,6 +354,14 @@ let generate_auto_strategies config =
in
name
::
acc
else
acc
)
prover_auto_levels
[]
in
List
.
iter
(
fun
s
->
fprintf
str_formatter
"c %s 1 1000@
\n
"
s
)
provers_level1
;
let
code
=
flush_str_formatter
()
in
let
auto0
=
{
strategy_name
=
"Auto level 0"
;
strategy_desc
=
"Automatic@ run@ of@ main@ provers"
;
strategy_shortcut
=
"0"
;
strategy_code
=
code
}
in
fprintf
str_formatter
"start:@
\n
"
;
List
.
iter
(
fun
s
->
fprintf
str_formatter
"c %s 1 1000@
\n
"
s
)
provers_level1
;
fprintf
str_formatter
"t split_goal_wp start@
\n
"
;
...
...
@@ -397,7 +405,10 @@ let generate_auto_strategies config =
in
add_strategy
(
add_strategy
(
add_strategy
(
add_strategy
config
inline
)
split
)
auto1
)
auto2
(
add_strategy
(
add_strategy
(
add_strategy
config
inline
)
split
)
auto0
)
auto1
)
auto2
let
detect_exec
env
data
acc
exec_name
=
let
s
=
ask_prover_version
env
exec_name
data
.
version_switch
in
...
...
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