Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
E
examples
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
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
Paolo G. Giarrusso
examples
Commits
760a8e7c
Commit
760a8e7c
authored
3 years ago
by
Ralf Jung
Browse files
Options
Downloads
Patches
Plain Diff
add comments about STLC's use of irisGS being odd
parent
6b43c50f
No related branches found
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
theories/logrel/stlc/fundamental.v
+3
-0
3 additions, 0 deletions
theories/logrel/stlc/fundamental.v
theories/logrel/stlc/logrel.v
+3
-0
3 additions, 0 deletions
theories/logrel/stlc/logrel.v
theories/logrel/stlc/rules.v
+3
-0
3 additions, 0 deletions
theories/logrel/stlc/rules.v
with
9 additions
and
0 deletions
theories/logrel/stlc/fundamental.v
+
3
−
0
View file @
760a8e7c
...
...
@@ -10,6 +10,9 @@ Definition log_typed `{irisGS stlc_lang Σ}
Notation
"Γ ⊨ e : τ"
:=
(
log_typed
Γ
e
τ
)
(
at
level
74
,
e
,
τ
at
next
level
)
.
Section
typed_interp
.
(** STLC is somewhat unusual in that we quantify over an arbitrary [irisGS] --
almost all languages need to have a specific [irisGS] instance to fix their
specific [state_interp], but STLC has no state so it does not care. *)
Context
`{
irisGS
stlc_lang
Σ
}
.
Local
Tactic
Notation
"smart_wp_bind"
uconstr
(
ctx
)
ident
(
v
)
constr
(
Hv
)
constr
(
Hp
)
:=
...
...
This diff is collapsed.
Click to expand it.
theories/logrel/stlc/logrel.v
+
3
−
0
View file @
760a8e7c
...
...
@@ -9,6 +9,9 @@ Reserved Notation "⟦ Γ ⟧*" (at level 0, Γ at level 70).
(** interp : is a unary logical relation. *)
Section
logrel
.
(** STLC is somewhat unusual in that we quantify over an arbitrary [irisGS] --
almost all languages need to have a specific [irisGS] instance to fix their
specific [state_interp], but STLC has no state so it does not care. *)
Context
`{
irisGS
stlc_lang
Σ
}
.
Fixpoint
interp
(
τ
:
type
)
(
w
:
val
)
:
iProp
Σ
:=
...
...
This diff is collapsed.
Click to expand it.
theories/logrel/stlc/rules.v
+
3
−
0
View file @
760a8e7c
...
...
@@ -6,6 +6,9 @@ From stdpp Require Import fin_maps.
From
iris
.
prelude
Require
Import
options
.
Section
stlc_rules
.
(** STLC is somewhat unusual in that we quantify over an arbitrary [irisGS] --
almost all languages need to have a specific [irisGS] instance to fix their
specific [state_interp], but STLC has no state so it does not care. *)
Context
`{
irisGS
stlc_lang
Σ
}
.
Implicit
Types
e
:
expr
.
...
...
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