Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
ReLoC
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
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
Iris
ReLoC
Commits
22b86617
Commit
22b86617
authored
4 years ago
by
Dan Frumin
Browse files
Options
Downloads
Patches
Plain Diff
some comments
parent
410a14de
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!5
Alternative definition of contextual refinement
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
theories/typing/contextual_refinement.v
+3
-0
3 additions, 0 deletions
theories/typing/contextual_refinement.v
with
3 additions
and
0 deletions
theories/typing/contextual_refinement.v
+
3
−
0
View file @
22b86617
...
@@ -242,6 +242,9 @@ Inductive typed_ctx: ctx → stringmap type → type → stringmap type → type
...
@@ -242,6 +242,9 @@ Inductive typed_ctx: ctx → stringmap type → type → stringmap type → type
typed_ctx
K
Γ1
τ1
Γ2
τ2
→
typed_ctx
K
Γ1
τ1
Γ2
τ2
→
typed_ctx
(
k
::
K
)
Γ1
τ1
Γ3
τ3
.
typed_ctx
(
k
::
K
)
Γ1
τ1
Γ3
τ3
.
(** The main definition of contextual refinement that we use. An
alternative (equivalent) formulation which observes only
termination can be found in [contextual_refinement_alt.v] *)
Definition
ctx_refines
(
Γ
:
stringmap
type
)
Definition
ctx_refines
(
Γ
:
stringmap
type
)
(
e
e'
:
expr
)
(
τ
:
type
)
:
Prop
:=
∀
K
thp
σ₀
σ₁
(
b
:
bool
),
(
e
e'
:
expr
)
(
τ
:
type
)
:
Prop
:=
∀
K
thp
σ₀
σ₁
(
b
:
bool
),
typed_ctx
K
Γ
τ
∅
TBool
→
typed_ctx
K
Γ
τ
∅
TBool
→
...
...
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