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
Adam
stdpp
Commits
c2c98f80
Commit
c2c98f80
authored
4 years ago
by
Ralf Jung
Browse files
Options
Downloads
Patches
Plain Diff
reduce TC assumptions made by fin_to_set
parent
1422f908
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
theories/sets.v
+1
-2
1 addition, 2 deletions
theories/sets.v
with
1 addition
and
2 deletions
theories/sets.v
+
1
−
2
View file @
c2c98f80
...
@@ -875,7 +875,7 @@ Section option_and_list_to_set.
...
@@ -875,7 +875,7 @@ Section option_and_list_to_set.
End
option_and_list_to_set
.
End
option_and_list_to_set
.
(** * Finite types to sets. *)
(** * Finite types to sets. *)
Definition
fin_to_set
(
A
:
Type
)
`{
S
emiSet
A
C
,
Finite
A
}
:
C
:=
Definition
fin_to_set
(
A
:
Type
)
`{
S
ingleton
A
C
,
Empty
C
,
Union
C
,
Finite
A
}
:
C
:=
list_to_set
(
enum
A
)
.
list_to_set
(
enum
A
)
.
Section
fin_to_set
.
Section
fin_to_set
.
...
@@ -890,7 +890,6 @@ Section fin_to_set.
...
@@ -890,7 +890,6 @@ Section fin_to_set.
Proof
.
constructor
.
split
;
auto
using
elem_of_fin_to_set
.
Qed
.
Proof
.
constructor
.
split
;
auto
using
elem_of_fin_to_set
.
Qed
.
End
fin_to_set
.
End
fin_to_set
.
(** * Guard *)
(** * Guard *)
Global
Instance
set_guard
`{
MonadSet
M
}
:
MGuard
M
:=
Global
Instance
set_guard
`{
MonadSet
M
}
:
MGuard
M
:=
λ
P
dec
A
x
,
match
dec
with
left
H
=>
x
H
|
_
=>
∅
end
.
λ
P
dec
A
x
,
match
dec
with
left
H
=>
x
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