Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
stdpp
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Monitor
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Iris
stdpp
Commits
d9536025
Commit
d9536025
authored
4 years ago
by
Ralf Jung
Browse files
Options
Downloads
Patches
Plain Diff
add FIXMEs for Coq bug work-arounds
parent
abbd8d0e
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!182
make sure std++ does not rely on generated names
Pipeline
#33278
passed
4 years ago
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
theories/hashset.v
+1
-0
1 addition, 0 deletions
theories/hashset.v
theories/sorting.v
+1
-0
1 addition, 0 deletions
theories/sorting.v
with
2 additions
and
0 deletions
theories/hashset.v
+
1
−
0
View file @
d9536025
...
...
@@ -104,6 +104,7 @@ Proof.
intros
(
l
&
?
&
?)
.
exists
(
hash
x
,
l
);
simpl
.
by
rewrite
elem_of_map_to_list
.
-
unfold
elements
,
hashset_elements
.
intros
[
m
Hm
];
simpl
.
rewrite
map_Forall_to_list
in
Hm
.
generalize
(
NoDup_fst_map_to_list
m
)
.
(* FIXME: trailing [?] works around Coq bug #12944. *)
induction
Hm
as
[|[
n
l
]
m'
[??]
Hm
?];
csimpl
;
inversion_clear
1
as
[|??
Hn
];
[
constructor
|]
.
apply
NoDup_app
;
split_and
?;
eauto
.
...
...
This diff is collapsed.
Click to expand it.
theories/sorting.v
+
1
−
0
View file @
d9536025
...
...
@@ -180,6 +180,7 @@ Section merge_sort_correct.
Sorted
R
l1
→
Sorted
R
l2
→
Sorted
R
(
list_merge
R
l1
l2
)
.
Proof
.
intros
Hl1
.
revert
l2
.
induction
Hl1
as
[|
x1
l1
IH1
];
(* FIXME: trailing [?] works around Coq bug #12944. *)
induction
1
as
[|
x2
l2
IH2
?];
rewrite
?list_merge_cons
;
simpl
;
repeat
case_decide
;
repeat
match
goal
with
H
:
¬
R
_
_
|
-
_
=>
apply
total_not
in
H
end
;
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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!
Save comment
Cancel
Please
register
or
sign in
to comment