Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
coqstdpp
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
David Swasey
coqstdpp
Commits
3b9f9c3b
Commit
3b9f9c3b
authored
Oct 13, 2016
by
Ralf Jung
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Make everything compile with Coq 8.6
parent
62389c82
Changes
1
Show whitespace changes
Inline
Sidebyside
Showing
1 changed file
with
6 additions
and
1 deletion
+6
1
theories/list.v
theories/list.v
+6
1
No files found.
theories/list.v
View file @
3b9f9c3b
...
...
@@ 2234,7 +2234,12 @@ Section Forall_Exists.
Lemma
not_Forall_Exists
l
:
¬
Forall
P
l
→
Exists
(
not
∘
P
)
l
.
Proof
.
intro
.
destruct
(
Forall_Exists_dec
dec
l
)
;
intuition
.
Qed
.
Lemma
not_Exists_Forall
l
:
¬
Exists
P
l
→
Forall
(
not
∘
P
)
l
.
Proof
.
by
destruct
(
Forall_Exists_dec
(
λ
x
,
swap_if
(
decide
(
P
x
)))
l
).
Qed
.
Proof
.
(* TODO: Coq 8.6 needs type annotation here, Coq 8.5 did not.
Should we report this? *)
by
destruct
(@
Forall_Exists_dec
(
not
∘
P
)
_
(
λ
x
:
A
,
swap_if
(
decide
(
P
x
)))
l
).
Qed
.
Global
Instance
Forall_dec
l
:
Decision
(
Forall
P
l
)
:
=
match
Forall_Exists_dec
dec
l
with

left
H
=>
left
H
...
...
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