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
878aa716
Commit
878aa716
authored
Sep 02, 2017
by
Robbert Krebbers
Browse files
Also add a type class version of Forall.
parent
ef89aa7b
Changes
1
Hide whitespace changes
Inline
Side-by-side
theories/base.v
View file @
878aa716
...
...
@@ -43,6 +43,13 @@ Inductive TCTrue : Prop := TCTrue_intro : TCTrue.
Existing
Class
TCTrue
.
Existing
Instance
TCTrue_intro
.
Inductive
TCForall
{
A
}
(
P
:
A
→
Prop
)
:
list
A
→
Prop
:
=
|
TCForall_nil
:
TCForall
P
[]
|
TCForall_cons
x
xs
:
P
x
→
TCForall
P
xs
→
TCForall
P
(
x
::
xs
).
Existing
Class
TCForall
.
Existing
Instance
TCForall_nil
.
Existing
Instance
TCForall_cons
.
(** Throughout this development we use [C_scope] for all general purpose
notations that do not belong to a more specific scope. *)
Delimit
Scope
C_scope
with
C
.
...
...
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