Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
I
iris-coq
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Dan Frumin
iris-coq
Commits
d3700ebd
Commit
d3700ebd
authored
9 years ago
by
Ralf Jung
Browse files
Options
Downloads
Patches
Plain Diff
establish that language syntax has decidable equality
parent
aa897a41
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
heap_lang/lang.v
+11
-0
11 additions, 0 deletions
heap_lang/lang.v
with
11 additions
and
0 deletions
heap_lang/lang.v
+
11
−
0
View file @
d3700ebd
...
...
@@ -50,6 +50,17 @@ Inductive val :=
|
InjRV
(
v
:
val
)
|
LocV
(
l
:
loc
).
Global
Instance
base_lit_dec_eq
(
l1
l2
:
base_lit
)
:
Decision
(
l1
=
l2
).
Proof
.
rewrite
/
Decision
.
decide
equality
;
apply
decide
,
_.
Qed
.
Global
Instance
un_op_dec_eq
(
op1
op2
:
un_op
)
:
Decision
(
op1
=
op2
).
Proof
.
rewrite
/
Decision
.
decide
equality
;
apply
decide
,
_.
Qed
.
Global
Instance
bin_op_dec_eq
(
op1
op2
:
bin_op
)
:
Decision
(
op1
=
op2
).
Proof
.
rewrite
/
Decision
.
decide
equality
;
apply
decide
,
_.
Qed
.
Global
Instance
expr_dec_eq
(
e1
e2
:
expr
)
:
Decision
(
e1
=
e2
).
Proof
.
rewrite
/
Decision
.
decide
equality
;
apply
decide
,
_.
Qed
.
Global
Instance
val_dec_eq
(
v1
v2
:
val
)
:
Decision
(
v1
=
v2
).
Proof
.
rewrite
/
Decision
.
decide
equality
;
apply
decide
,
_.
Qed
.
Delimit
Scope
lang_scope
with
L
.
Bind
Scope
lang_scope
with
expr
val
.
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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!
Save comment
Cancel
Please
register
or
sign in
to comment