Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Rodolphe Lepigre
stdpp
Commits
ae1dd86c
Commit
ae1dd86c
authored
Feb 20, 2019
by
Robbert Krebbers
Browse files
Support `elements` in `set_solver`.
parent
3c484ebe
Changes
1
Hide whitespace changes
Inline
Side-by-side
theories/fin_sets.v
View file @
ae1dd86c
...
...
@@ -35,6 +35,10 @@ Proof.
Defined
.
(** * The [elements] operation *)
Global
Instance
set_unfold_elements
X
x
P
:
SetUnfold
(
x
∈
X
)
P
→
SetUnfold
(
x
∈
elements
X
)
P
.
Proof
.
constructor
.
by
rewrite
elem_of_elements
,
(
set_unfold
(
x
∈
X
)
P
).
Qed
.
Global
Instance
elements_proper
:
Proper
((
≡
)
==>
(
≡
ₚ
))
(
elements
(
C
:
=
C
)).
Proof
.
intros
??
E
.
apply
NoDup_Permutation
.
...
...
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