Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Iris
stdpp
Commits
0b7821f1
Commit
0b7821f1
authored
Feb 16, 2016
by
Ralf Jung
Browse files
we also need to go below mkSet for \notin
parent
39654079
Changes
1
Hide whitespace changes
Inline
Side-by-side
theories/sets.v
View file @
0b7821f1
...
...
@@ -20,6 +20,8 @@ Proof. by split; [split | |]; repeat intro. Qed.
Lemma
mkSet_elem_of
{
A
}
(
f
:
A
→
Prop
)
x
:
f
x
→
x
∈
mkSet
f
.
Proof
.
done
.
Qed
.
Lemma
mkSet_not_elem_of
{
A
}
(
f
:
A
→
Prop
)
x
:
~f
x
→
x
∉
mkSet
f
.
Proof
.
done
.
Qed
.
Instance
set_ret
:
MRet
set
:
=
λ
A
(
x
:
A
),
{[
x
]}.
Instance
set_bind
:
MBind
set
:
=
λ
A
B
(
f
:
A
→
set
B
)
(
X
:
set
A
),
...
...
Write
Preview
Supports
Markdown
0%
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!
Cancel
Please
register
or
sign in
to comment