Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Rodolphe Lepigre
Iris
Commits
f42a673b
Commit
f42a673b
authored
Aug 08, 2016
by
Jacques-Henri Jourdan
Browse files
Inhabited instance for any Empty instance.
parent
340afd90
Changes
3
Show whitespace changes
Inline
Side-by-side
algebra/cmra.v
View file @
f42a673b
...
@@ -504,8 +504,6 @@ Section ucmra.
...
@@ -504,8 +504,6 @@ Section ucmra.
Context
{
A
:
ucmraT
}.
Context
{
A
:
ucmraT
}.
Implicit
Types
x
y
z
:
A
.
Implicit
Types
x
y
z
:
A
.
Global
Instance
ucmra_unit_inhabited
:
Inhabited
A
:
=
populate
∅
.
Lemma
ucmra_unit_validN
n
:
✓
{
n
}
(
∅
:
A
).
Lemma
ucmra_unit_validN
n
:
✓
{
n
}
(
∅
:
A
).
Proof
.
apply
cmra_valid_validN
,
ucmra_unit_valid
.
Qed
.
Proof
.
apply
cmra_valid_validN
,
ucmra_unit_valid
.
Qed
.
Lemma
ucmra_unit_leastN
n
x
:
∅
≼
{
n
}
x
.
Lemma
ucmra_unit_leastN
n
x
:
∅
≼
{
n
}
x
.
...
...
prelude/base.v
View file @
f42a673b
...
@@ -567,6 +567,8 @@ intersection [(∩)], and difference [(∖)], the singleton [{[_]}], the subset
...
@@ -567,6 +567,8 @@ intersection [(∩)], and difference [(∖)], the singleton [{[_]}], the subset
Class
Empty
A
:
=
empty
:
A
.
Class
Empty
A
:
=
empty
:
A
.
Notation
"∅"
:
=
empty
:
C_scope
.
Notation
"∅"
:
=
empty
:
C_scope
.
Instance
empty_inhabited
`
(
Empty
A
)
:
Inhabited
A
:
=
populate
∅
.
Class
Top
A
:
=
top
:
A
.
Class
Top
A
:
=
top
:
A
.
Notation
"⊤"
:
=
top
:
C_scope
.
Notation
"⊤"
:
=
top
:
C_scope
.
...
...
proofmode/weakestpre.v
View file @
f42a673b
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