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
ac976a84
Commit
ac976a84
authored
Aug 07, 2013
by
Andrei Paskevich
Browse files
fix the discriminator function
parent
dc84e0b3
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/transform/eliminate_algebraic.ml
View file @
ac976a84
...
...
@@ -251,8 +251,8 @@ let add_discriminator (state,task) ts ty csl =
let
ax
=
t_forall_close
(
List
.
rev
ul
)
[[
t1
]]
ax
in
add_prop_decl
task
Paxiom
pr
ax
in
let
dl_add
task
=
function
|
c
::
cl
->
List
.
fold_left
(
d_add
c
)
task
cl
let
rec
dl_add
task
=
function
|
c
::
cl
->
dl_add
(
List
.
fold_left
(
d_add
c
)
task
cl
)
cl
|
_
->
task
in
state
,
dl_add
task
csl
...
...
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