Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Iris
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
Package Registry
Model registry
Operate
Terraform modules
Monitor
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
Gaëtan Gilbert
Iris
Commits
1eba7121
Commit
1eba7121
authored
7 years ago
by
Robbert Krebbers
Browse files
Options
Downloads
Patches
Plain Diff
Add comment.
parent
1262a001
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
theories/program_logic/ectx_language.v
+7
-0
7 additions, 0 deletions
theories/program_logic/ectx_language.v
with
7 additions
and
0 deletions
theories/program_logic/ectx_language.v
+
7
−
0
View file @
1eba7121
...
@@ -216,6 +216,13 @@ End ectx_language.
...
@@ -216,6 +216,13 @@ End ectx_language.
Arguments
ectx_lang
:
clear
implicits
.
Arguments
ectx_lang
:
clear
implicits
.
Coercion
ectx_lang
:
ectxLanguage
>->
language
.
Coercion
ectx_lang
:
ectxLanguage
>->
language
.
(* This definition makes sure that the fields of the [language] record do not
refer to the projections of the [ectxLanguage] record but to the actual fields
of the [ectxLanguage] record. This is crucial for canonical structure search to
work.
Note that this trick no longer works when we switch to canonical projections
because then the pattern match [let '...] will be desugared into projections. *)
Definition
LanguageOfEctx
(
Λ
:
ectxLanguage
)
:
language
:=
Definition
LanguageOfEctx
(
Λ
:
ectxLanguage
)
:
language
:=
let
'
@
EctxLanguage
E
V
C
St
of_val
to_val
empty
comp
fill
head
mix
:=
Λ
in
let
'
@
EctxLanguage
E
V
C
St
of_val
to_val
empty
comp
fill
head
mix
:=
Λ
in
@
Language
E
V
St
of_val
to_val
_
@
Language
E
V
St
of_val
to_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