Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Why3
why3
Commits
9c9b6394
Commit
9c9b6394
authored
Oct 13, 2017
by
Sylvain Dailler
Browse files
Change name of hypothesis used by instantiate
parent
4f8926c2
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/transform/destruct.ml
View file @
9c9b6394
...
...
@@ -162,7 +162,7 @@ let instantiate (pr: Decl.prsymbol) lt =
match
d
.
d_node
with
|
Dprop
(
pk
,
dpr
,
ht
)
when
Ident
.
id_equal
dpr
.
pr_name
pr
.
pr_name
->
let
t_subst
=
subst_forall_list
ht
lt
in
let
new_pr
=
create_prsymbol
(
Ident
.
id_clone
dpr
.
pr_name
)
in
let
new_pr
=
create_prsymbol
(
gen_ident
"Hinst"
)
in
let
new_decl
=
create_prop_decl
pk
new_pr
t_subst
in
r
:=
[
new_decl
];
[
d
]
...
...
Write
Preview
Supports
Markdown
0%
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!
Cancel
Please
register
or
sign in
to comment