Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
I
iris-coq
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Marianna Rapoport
iris-coq
Commits
dbdd25ba
Commit
dbdd25ba
authored
Nov 27, 2017
by
Ralf Jung
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
docs: define plainly
parent
19649432
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
3 deletions
+9
-3
docs/base-logic.tex
docs/base-logic.tex
+5
-1
docs/iris.sty
docs/iris.sty
+1
-0
docs/model.tex
docs/model.tex
+3
-2
No files found.
docs/base-logic.tex
View file @
dbdd25ba
...
...
@@ -63,12 +63,13 @@ Below, $\melt$ ranges over $\monoid$ and $i$ ranges over $\set{1,2}$.
%\\&
\ownM
{
\term
}
\mid
\mval
(
\term
)
\mid
\always\prop
\mid
\plainly\prop
\mid
{
\later\prop
}
\mid
\upd
\prop
\end{align*}
Recursive predicates must be
\emph
{
guarded
}
: in
$
\MU
\var
.
\term
$
, the variable
$
\var
$
can only appear under the later
$
\later
$
modality.
Note that the modalities
$
\upd
$
,
$
\always
$
and
$
\later
$
bind more tightly than
$
*
$
,
$
\wand
$
,
$
\land
$
,
$
\lor
$
, and
$
\Ra
$
.
Note that the modalities
$
\upd
$
,
$
\always
$
,
$
\plainly
$
and
$
\later
$
bind more tightly than
$
*
$
,
$
\wand
$
,
$
\land
$
,
$
\lor
$
, and
$
\Ra
$
.
\paragraph
{
Variable conventions.
}
...
...
@@ -175,6 +176,9 @@ In writing $\vctx, x:\type$, we presuppose that $x$ is not already declared in $
\and
\infer
{
\vctx
\proves
\wtt
{
\prop
}{
\Prop
}}
{
\vctx
\proves
\wtt
{
\always\prop
}{
\Prop
}}
\and
\infer
{
\vctx
\proves
\wtt
{
\prop
}{
\Prop
}}
{
\vctx
\proves
\wtt
{
\plainly\prop
}{
\Prop
}}
\and
\infer
{
\vctx
\proves
\wtt
{
\prop
}{
\Prop
}}
{
\vctx
\proves
\wtt
{
\later\prop
}{
\Prop
}}
...
...
docs/iris.sty
View file @
dbdd25ba
...
...
@@ -260,6 +260,7 @@
\newcommand
{
\later
}{
\mathop
{{
\triangleright
}}}
\newcommand*
{
\lateropt
}
[1]
{
\mathop
{{
\later
}^{
#1
}}}
\newcommand
{
\always
}{
\mathop
{
\Box
}}
\newcommand
{
\plainly
}{
\mathop
{
\blacksquare
}}
%% Invariants and Ghost ownership
% PDS: Was 0pt inner, 2pt outer.
...
...
docs/model.tex
View file @
dbdd25ba
...
...
@@ -54,10 +54,11 @@ We are thus going to define the assertions as mapping CMRA elements to sets of s
\Lam
\melt
.
\setComp
{
n
}{
\begin{aligned}
\All
m,
\meltB
.
&
m
\leq
n
\land
\melt\mtimes\meltB
\in
\mval
_
m
\Ra
{}
\\
&
m
\in
\Sem
{
\vctx
\proves
\prop
:
\Prop
}_
\gamma
(
\meltB
)
\Ra
{}
\\
&
m
\in
\Sem
{
\vctx
\proves
\propB
:
\Prop
}_
\gamma
(
\melt\mtimes\meltB
)
\end{aligned}
}
\\
\Sem
{
\vctx
\proves
\always
{
\prop
}
:
\Prop
}_
\gamma
&
\eqdef
\Lam\melt
.
\Sem
{
\vctx
\proves
\prop
:
\Prop
}_
\gamma
(
\mcore\melt
)
\\
\Sem
{
\vctx
\proves
\later
{
\prop
}
:
\Prop
}_
\gamma
&
\eqdef
\Lam\melt
.
\setComp
{
n
}{
n = 0
\lor
n-1
\in
\Sem
{
\vctx
\proves
\prop
:
\Prop
}_
\gamma
(
\melt
)
}
\\
\Sem
{
\vctx
\proves
\ownM
{
\term
}
:
\Prop
}_
\gamma
&
\eqdef
\Lam\meltB
.
\setComp
{
n
}{
\Sem
{
\vctx
\proves
\term
:
\textlog
{
M
}}_
\gamma
\mincl
[n]
\meltB
}
\\
\Sem
{
\vctx
\proves
\mval
(
\term
) :
\Prop
}_
\gamma
&
\eqdef
\Lam\any
.
\setComp
{
n
}{
\Sem
{
\vctx
\proves
\term
:
\textlog
{
M
}}_
\gamma
\in
\mval
_
n
}
\\
\Sem
{
\vctx
\proves
\always
{
\prop
}
:
\Prop
}_
\gamma
&
\eqdef
\Lam\melt
.
\Sem
{
\vctx
\proves
\prop
:
\Prop
}_
\gamma
(
\mcore\melt
)
\\
\Sem
{
\vctx
\proves
\plainly
{
\prop
}
:
\Prop
}_
\gamma
&
\eqdef
\Lam\melt
.
\Sem
{
\vctx
\proves
\prop
:
\Prop
}_
\gamma
(
\munit
)
\\
\Sem
{
\vctx
\proves
\later
{
\prop
}
:
\Prop
}_
\gamma
&
\eqdef
\Lam\melt
.
\setComp
{
n
}{
n = 0
\lor
n-1
\in
\Sem
{
\vctx
\proves
\prop
:
\Prop
}_
\gamma
(
\melt
)
}
\\
\Sem
{
\vctx
\proves
\upd\prop
:
\Prop
}_
\gamma
&
\eqdef
\Lam\melt
.
\setComp
{
n
}{
\begin{aligned}
\All
m,
\melt
'.
&
m
\leq
n
\land
(
\melt
\mtimes
\melt
')
\in
\mval
_
m
\Ra
{}
\\
&
\Exists
\meltB
. (
\meltB
\mtimes
\melt
')
\in
\mval
_
m
\land
m
\in
\Sem
{
\vctx
\proves
\prop
:
\Prop
}_
\gamma
(
\meltB
)
\end{aligned}
...
...
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