Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Iris
stdpp
Commits
878aa716
Commit
878aa716
authored
Sep 02, 2017
by
Robbert Krebbers
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Also add a type class version of Forall.
parent
ef89aa7b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
0 deletions
+7
-0
theories/base.v
theories/base.v
+7
-0
No files found.
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
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