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
Jonas Kastberg
iris
Commits
aaa4f987
Commit
aaa4f987
authored
Sep 26, 2017
by
Robbert Krebbers
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Make `closed_dec` transparent by using `Defined`.
parent
b0ae1102
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
theories/heap_lang/lang.v
theories/heap_lang/lang.v
+3
-3
No files found.
theories/heap_lang/lang.v
View file @
aaa4f987
...
...
@@ -75,10 +75,10 @@ Fixpoint is_closed (X : list string) (e : expr) : bool :=
end
.
Class
Closed
(
X
:
list
string
)
(
e
:
expr
)
:
=
closed
:
is_closed
X
e
.
Instance
closed_proof_irrel
env
e
:
ProofIrrel
(
Closed
env
e
).
Proof
.
rewrite
/
Closed
.
apply
_
.
Qed
.
Instance
closed_decision
env
e
:
Decision
(
Closed
env
e
).
Instance
closed_proof_irrel
X
e
:
ProofIrrel
(
Closed
X
e
).
Proof
.
rewrite
/
Closed
.
apply
_
.
Qed
.
Instance
closed_dec
X
e
:
Decision
(
Closed
X
e
).
Proof
.
rewrite
/
Closed
.
apply
_
.
Defined
.
Inductive
val
:
=
|
RecV
(
f
x
:
binder
)
(
e
:
expr
)
`
{!
Closed
(
f
:
b
:
x
:
b
:
[])
e
}
...
...
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