Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Why3
why3
Commits
28854bb9
Commit
28854bb9
authored
Jul 01, 2016
by
Martin Clochard
Committed by
Guillaume Melquiond
Jul 05, 2016
Browse files
compute: another bugfix
parent
c2f2610d
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/transform/reduction_engine.ml
View file @
28854bb9
...
...
@@ -338,24 +338,9 @@ let first_order_matching (vars : Svs.t) (largs : term list)
end
|
_
->
raise
NoMatch
end
|
_
->
(*
Format.eprintf "are these terms equal ?...";
*)
if
t_equal
t1
t2
then
begin
(*
Format.eprintf " yes!@.";
*)
loop
sigma
r1
r2
end
else
begin
(*
Format.eprintf " no@.";
*)
raise
NoMatch
end
|
(
Tconst
_
|
Ttrue
|
Tfalse
)
when
t_equal
t1
t2
->
loop
sigma
r1
r2
|
_
->
raise
NoMatch
end
|
_
->
raise
NoMatch
in
...
...
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