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
e9a19f54
Commit
e9a19f54
authored
Jun 01, 2019
by
Ralf Jung
Browse files
forgot to make it an Instance
parent
bdfa43b9
Changes
1
Hide whitespace changes
Inline
Side-by-side
theories/heap_lang/locations.v
View file @
e9a19f54
...
...
@@ -11,7 +11,7 @@ Instance loc_inhabited : Inhabited loc := populate {|loc_car := 0 |}.
Instance
loc_countable
:
Countable
loc
.
Proof
.
by
apply
(
inj_countable'
loc_car
(
λ
i
,
{|
loc_car
:
=
i
|}))
;
intros
[].
Qed
.
Program
Definition
loc_infinite
:
Infinite
loc
:
=
{|
Program
Instance
loc_infinite
:
Infinite
loc
:
=
{|
infinite_fresh
l
:
=
{|
loc_car
:
=
infinite_fresh
(
loc_car
<$>
l
)
|}
|}.
Next
Obligation
.
...
...
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