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
121
Issues
121
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
fd475360
Commit
fd475360
authored
Feb 15, 2018
by
MARCHE Claude
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update remaining uses of deprecated transformation split_goal_wp
parent
f305152e
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
2 additions
and
31 deletions
+2
-31
src/driver/whyconf.ml
src/driver/whyconf.ml
+0
-20
src/transform/introduction.ml
src/transform/introduction.ml
+0
-8
src/trywhy3/why3_worker.ml
src/trywhy3/why3_worker.ml
+2
-3
No files found.
src/driver/whyconf.ml
View file @
fd475360
...
...
@@ -144,26 +144,6 @@ type config_strategy = {
strategy_shortcut
:
string
;
}
(* a default set of strategies *)
(*
let default_strategies =
List.map
(fun (name,desc,shortcut,code) ->
let s = ref Rc.empty_section in
s := Rc.set_string !s "name" name;
s := Rc.set_string !s "desc" desc;
s := Rc.set_string !s "shortcut" shortcut;
s := Rc.set_string !s "code" code;
!s)
[ "Split", "Split@ conjunctions@ in@ goal", "s",
"t split_goal_wp exit";
"Inline", "Inline@ function@ symbols@ once", "i",
"t inline_goal exit";
"Compute", "Compute@ in@ goal", "c",
"t compute_in_goal exit";
]
*)
let
get_strategies
?
(
default
=
[]
)
rc
=
match
get_simple_family
rc
"strategy"
with
|
[]
->
default
...
...
src/transform/introduction.ml
View file @
fd475360
...
...
@@ -76,14 +76,6 @@ let () = Trans.register_transform "introduce_premises" introduce_premises
~
desc
:
"Introduce@ universal@ quantification@ and@ hypothesis@ in@ the@ \
goal@ into@ constant@ symbol@ and@ axioms."
(*
let split_intro =
Trans.compose_l Split_goal.split_goal_wp (Trans.singleton introduce_premises)
let () = Trans.register_transform_l "split_intro" split_intro
~desc:"Same@ as@ split_goal_wp,@ but@ moves@ \
the@ implication@ antecedents@ to@ premises."
*)
(** Destruction of existential quantifiers in axioms.
Contributed by Nicolas Jeannerod [niols@niols.fr] *)
...
...
src/trywhy3/why3_worker.ml
View file @
fd475360
...
...
@@ -56,8 +56,7 @@ let alt_ergo_driver : Driver.driver =
let
()
=
log_time
(
"Initialising why3 worker: end "
)
let
split_trans
=
Trans
.
lookup_transform_l
"split_goal_wp"
env
let
intro_trans
=
Trans
.
lookup_transform
"introduce_premises"
env
let
split_trans
=
Trans
.
lookup_transform_l
"split_intros_goal_wp"
env
(* CF gmain.ml ligne 568 et suivante *)
module
W
=
...
...
@@ -175,7 +174,7 @@ module Task =
subtasks
=
[]
;
loc
=
id_loc
@
(
collect_locs
task
);
expl
=
expl
;
pretty
=
task_text
(
Trans
.
apply
intro_trans
task
)
;
pretty
=
task_text
task
;
}
in
Hashtbl
.
add
task_table
id
task_info
;
...
...
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