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
947d9147
Commit
947d9147
authored
2 years ago
by
Ralf Jung
Browse files
Options
Downloads
Patches
Plain Diff
remove Dom instances with alternative domain types
parent
b7a5fed7
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/coGset.v
+0
-10
0 additions, 10 deletions
theories/coGset.v
theories/coPset.v
+0
-15
0 additions, 15 deletions
theories/coPset.v
with
0 additions
and
25 deletions
theories/coGset.v
+
0
−
10
View file @
947d9147
...
...
@@ -192,15 +192,5 @@ Lemma elem_of_coGset_to_top_set `{Countable A, TopSet A C} X x :
x
∈@
{
C
}
coGset_to_top_set
X
↔
x
∈
X
.
Proof
.
destruct
X
;
set_solver
.
Qed
.
(** * Domain of finite maps *)
Global
Instance
coGset_dom
`{
Countable
K
}
{
A
}
:
Dom
(
gmap
K
A
)
(
coGset
K
)
:=
λ
m
,
gset_to_coGset
(
dom
_
m
)
.
Global
Instance
coGset_dom_spec
`{
Countable
K
}
:
FinMapDom
K
(
gmap
K
)
(
coGset
K
)
.
Proof
.
split
;
try
apply
_
.
intros
B
m
i
.
unfold
dom
,
coGset_dom
.
by
rewrite
elem_of_gset_to_coGset
,
elem_of_dom
.
Qed
.
Typeclasses
Opaque
coGset_elem_of
coGset_empty
coGset_top
coGset_singleton
.
Typeclasses
Opaque
coGset_union
coGset_intersection
coGset_difference
.
Typeclasses
Opaque
coGset_dom
.
This diff is collapsed.
Click to expand it.
theories/coPset.v
+
0
−
15
View file @
947d9147
...
...
@@ -358,21 +358,6 @@ Proof.
refine
(
cast_if
(
decide
(
¬
set_finite
X
)));
by
rewrite
coPset_infinite_finite
.
Defined
.
(** * Domain of finite maps *)
Global
Instance
Pmap_dom_coPset
{
A
}
:
Dom
(
Pmap
A
)
coPset
:=
λ
m
,
Pset_to_coPset
(
dom
_
m
)
.
Global
Instance
Pmap_dom_coPset_spec
:
FinMapDom
positive
Pmap
coPset
.
Proof
.
split
;
try
apply
_;
intros
A
m
i
;
unfold
dom
,
Pmap_dom_coPset
.
by
rewrite
elem_of_Pset_to_coPset
,
elem_of_dom
.
Qed
.
Global
Instance
gmap_dom_coPset
{
A
}
:
Dom
(
gmap
positive
A
)
coPset
:=
λ
m
,
gset_to_coPset
(
dom
_
m
)
.
Global
Instance
gmap_dom_coPset_spec
:
FinMapDom
positive
(
gmap
positive
)
coPset
.
Proof
.
split
;
try
apply
_;
intros
A
m
i
;
unfold
dom
,
gmap_dom_coPset
.
by
rewrite
elem_of_gset_to_coPset
,
elem_of_dom
.
Qed
.
(** * Suffix sets *)
Fixpoint
coPset_suffixes_raw
(
p
:
positive
)
:
coPset_raw
:=
match
p
with
...
...
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