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
Marianna Rapoport
iris-coq
Commits
fe5a098d
Commit
fe5a098d
authored
Feb 08, 2016
by
Ralf Jung
Browse files
Coq syntax nit
parent
59d1a925
Changes
1
Hide whitespace changes
Inline
Side-by-side
program_logic/namespace.v
View file @
fe5a098d
...
...
@@ -5,8 +5,7 @@ Definition namespace := list positive.
Definition
nnil
:
namespace
:
=
nil
.
Definition
ndot
`
{
Countable
A
}
(
N
:
namespace
)
(
x
:
A
)
:
namespace
:
=
encode
x
::
N
.
Definition
nclose
(
N
:
namespace
)
:
coPset
:
=
coPset_suffixes
(
encode
N
).
Coercion
nclose
:
namespace
>->
coPset
.
Coercion
nclose
(
N
:
namespace
)
:
coPset
:
=
coPset_suffixes
(
encode
N
).
Instance
ndot_injective
`
{
Countable
A
}
:
Injective2
(=)
(=)
(=)
(@
ndot
A
_
_
).
Proof
.
by
intros
N1
x1
N2
x2
?
;
simplify_equality
.
Qed
.
...
...
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