Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Tej Chajed
stdpp
Commits
5c1d2472
Commit
5c1d2472
authored
Dec 06, 2016
by
Ralf Jung
Browse files
fix compatibility with latest Coq 8.6
parent
090127a0
Changes
1
Hide whitespace changes
Inline
Sidebyside
theories/gmultiset.v
View file @
5c1d2472
...
@@ 178,7 +178,7 @@ Proof.
...
@@ 178,7 +178,7 @@ Proof.
destruct
X
as
[
X
],
Y
as
[
Y
]
;
unfold
elements
,
gmultiset_elements
.
destruct
X
as
[
X
],
Y
as
[
Y
]
;
unfold
elements
,
gmultiset_elements
.
set
(
f
xn
:
=
let
'
(
x
,
n
)
:
=
xn
in
replicate
(
S
n
)
x
)
;
simpl
.
set
(
f
xn
:
=
let
'
(
x
,
n
)
:
=
xn
in
replicate
(
S
n
)
x
)
;
simpl
.
revert
Y
;
induction
X
as
[
x
n
X
HX
IH
]
using
map_ind
;
intros
Y
.
revert
Y
;
induction
X
as
[
x
n
X
HX
IH
]
using
map_ind
;
intros
Y
.
{
by
rewrite
(
left_id_L
_
_
),
map_to_list_empty
.
}
{
by
rewrite
(
left_id_L
_
_
Y
),
map_to_list_empty
.
}
destruct
(
Y
!!
x
)
as
[
n'
]
eqn
:
HY
.
destruct
(
Y
!!
x
)
as
[
n'
]
eqn
:
HY
.

rewrite
<(
insert_id
Y
x
n'
),
<(
insert_delete
Y
)
by
done
.

rewrite
<(
insert_id
Y
x
n'
),
<(
insert_delete
Y
)
by
done
.
erewrite
<
insert_union_with
by
done
.
erewrite
<
insert_union_with
by
done
.
...
...
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