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
Package registry
Model registry
Operate
Terraform modules
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
Thibaut Pérami
stdpp
Commits
3303ec5e
Commit
3303ec5e
authored
3 years ago
by
Ralf Jung
Browse files
Options
Downloads
Patches
Plain Diff
make name more consistent
parent
407d8414
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
theories/fin_map_dom.v
+1
-1
1 addition, 1 deletion
theories/fin_map_dom.v
theories/fin_sets.v
+1
-1
1 addition, 1 deletion
theories/fin_sets.v
with
2 additions
and
2 deletions
theories/fin_map_dom.v
+
1
−
1
View file @
3303ec5e
...
@@ -177,7 +177,7 @@ Qed.
...
@@ -177,7 +177,7 @@ Qed.
Lemma
size_dom
`{
!
Elements
K
D
,
!
FinSet
K
D
}
{
A
}
(
m
:
M
A
)
:
Lemma
size_dom
`{
!
Elements
K
D
,
!
FinSet
K
D
}
{
A
}
(
m
:
M
A
)
:
size
(
dom
D
m
)
=
size
m
.
size
(
dom
D
m
)
=
size
m
.
Proof
.
Proof
.
rewrite
dom_alt
,
list_to_set
_size
.
rewrite
dom_alt
,
size_
list_to_set
.
2
:{
apply
NoDup_fst_map_to_list
.
}
2
:{
apply
NoDup_fst_map_to_list
.
}
unfold
size
,
map_size
.
rewrite
fmap_length
.
done
.
unfold
size
,
map_size
.
rewrite
fmap_length
.
done
.
Qed
.
Qed
.
...
...
This diff is collapsed.
Click to expand it.
theories/fin_sets.v
+
1
−
1
View file @
3303ec5e
...
@@ -203,7 +203,7 @@ Proof.
...
@@ -203,7 +203,7 @@ Proof.
by
apply
size_non_empty_iff
,
non_empty_difference
.
by
apply
size_non_empty_iff
,
non_empty_difference
.
Qed
.
Qed
.
Lemma
list_to_set
_size
l
:
Lemma
size_
list_to_set
l
:
NoDup
l
→
size
(
list_to_set
(
C
:=
C
)
l
)
=
length
l
.
NoDup
l
→
size
(
list_to_set
(
C
:=
C
)
l
)
=
length
l
.
Proof
.
Proof
.
intros
Hl
.
unfold
size
,
set_size
.
simpl
.
intros
Hl
.
unfold
size
,
set_size
.
simpl
.
...
...
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