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
119
Issues
119
List
Boards
Labels
Service Desk
Milestones
Merge Requests
16
Merge Requests
16
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
f905b31b
Commit
f905b31b
authored
Oct 19, 2015
by
Martin Clochard
Committed by
Guillaume Melquiond
Feb 05, 2016
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
simplify_trivial_quantification: occurences 'v1 = v2' could not be selected for v2
parent
de81a872
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
3 deletions
+5
-3
src/transform/simplify_formula.ml
src/transform/simplify_formula.ml
+5
-3
No files found.
src/transform/simplify_formula.ml
View file @
f905b31b
...
...
@@ -57,12 +57,14 @@ exception Subst_found of term
let
rec
fmla_find_subst
boundvars
var
sign
f
=
let
fnF
=
fmla_find_subst
boundvars
var
in
let
test
ls
vs
t
tv
=
sign
&&
ls_equal
ls
ps_equ
&&
vs_equal
vs
var
&&
not
(
t_equal
t
tv
)
&&
not
(
t_boundvars_in
boundvars
t
)
in
match
f
.
t_node
with
|
Tapp
(
ls
,
[{
t_node
=
Tvar
vs
}
as
tv
;
t
])
when
test
ls
vs
t
tv
->
raise
(
Subst_found
t
)
|
Tapp
(
ls
,
[
t
;{
t_node
=
Tvar
vs
}
as
tv
])
when
sign
&&
ls_equal
ls
ps_equ
&&
vs_equal
vs
var
&&
not
(
t_equal
t
tv
)
&&
not
(
t_boundvars_in
boundvars
t
)
->
raise
(
Subst_found
t
)
when
test
ls
vs
t
tv
->
raise
(
Subst_found
t
)
|
Tbinop
(
Tor
,
f1
,
f2
)
when
not
sign
->
(
fnF
sign
f1
);
(
fnF
sign
f2
)
|
Tbinop
(
Tand
,
f1
,
f2
)
when
sign
->
(
fnF
sign
f1
);
(
fnF
sign
f2
)
|
Tbinop
(
Timplies
,
f1
,
f2
)
when
not
sign
->
...
...
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