Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
stdpp
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
49
Issues
49
List
Boards
Labels
Service Desk
Milestones
Merge Requests
3
Merge Requests
3
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Iris
stdpp
Commits
cc4ff176
Commit
cc4ff176
authored
Apr 16, 2015
by
Robbert Krebbers
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add switch (including unstructured variants such as Duff's device).
parent
853b4b43
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
+3
-0
theories/collections.v
theories/collections.v
+3
-0
No files found.
theories/collections.v
View file @
cc4ff176
...
...
@@ -113,6 +113,9 @@ Section collection_monad_base.
unfold
mguard
,
collection_guard
;
simpl
;
case_match
;
rewrite
?elem_of_empty
;
naive_solver
.
Qed
.
Lemma
elem_of_guard_2
`
{
Decision
P
}
{
A
}
(
x
:
A
)
(
X
:
M
A
)
:
P
→
x
∈
X
→
x
∈
guard
P
;
X
.
Proof
.
by
rewrite
elem_of_guard
.
Qed
.
Lemma
guard_empty
`
{
Decision
P
}
{
A
}
(
X
:
M
A
)
:
guard
P
;
X
≡
∅
↔
¬
P
∨
X
≡
∅
.
Proof
.
rewrite
!
elem_of_equiv_empty
;
setoid_rewrite
elem_of_guard
.
...
...
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