Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Iris
Iris
Commits
752371c8
Commit
752371c8
authored
May 14, 2017
by
Ralf Jung
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update iris.sty
parent
398bae9d
Pipeline
#4271
passed with stage
in 8 minutes and 35 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
28 additions
and
6 deletions
+28
-6
docs/iris.sty
docs/iris.sty
+27
-5
docs/model.tex
docs/model.tex
+1
-1
No files found.
docs/iris.sty
View file @
752371c8
\NeedsTeXFormat
{
LaTeX2e
}
[1999/12/01]
\NeedsTeXFormat
{
LaTeX2e
}
[1999/12/01]
\ProvidesPackage
{
iris
}
\ProvidesPackage
{
iris
}
\RequirePackage
{
faktor
}
\RequirePackage
{
tikz
}
\RequirePackage
{
tikz
}
\RequirePackage
{
scalerel
}
\RequirePackage
{
scalerel
}
\RequirePackage
{
array
}
\RequirePackage
{
array
}
...
@@ -22,10 +23,16 @@
...
@@ -22,10 +23,16 @@
\newcommand
{
\nat
}{
\mathbb
{
N
}}
\newcommand
{
\nat
}{
\mathbb
{
N
}}
\
DeclareMathOperator
*
{
\Sep
}{
\scalerel*
{
\ast
}{
\sum
}}
\
newcommand
*
{
\Sep
}{
\scalerel*
{
\ast
}{
\sum
}}
\newcommand*
{
\disj
}
[1][]
{
\mathrel
{
\#
_{
#1
}}}
\newcommand*
{
\disj
}
[1][]
{
\mathrel
{
\#
_{
#1
}}}
\newcommand\pord
{
\sqsubseteq
}
\newcommand\pord
{
\sqsubseteq
}
\makeatletter
%
\@
ifundefined
{
dplus
}{
%
\newcommand\dplus
{
\mathbin
{
+
\kern
-1.0ex+
}}
\newcommand\dplus
{
\mathbin
{
+
\kern
-1.0ex+
}}
}{}
\makeatother
%
\newcommand
{
\upclose
}{
\mathord
{
\uparrow
}}
\newcommand
{
\upclose
}{
\mathord
{
\uparrow
}}
\newcommand
{
\ALT
}{
\
|
\
}
\newcommand
{
\ALT
}{
\
|
\
}
...
@@ -46,6 +53,7 @@
...
@@ -46,6 +53,7 @@
\newcommand
{
\Ra
}{
\Rightarrow
}
\newcommand
{
\Ra
}{
\Rightarrow
}
\newcommand
{
\Lra
}{
\Leftrightarrow
}
\newcommand
{
\Lra
}{
\Leftrightarrow
}
\newcommand\monra
{
\xrightarrow
{
\kern
-0.15ex
\textrm
{
mon
}
\kern
-0.05ex
}}
\newcommand\monra
{
\xrightarrow
{
\kern
-0.15ex
\textrm
{
mon
}
\kern
-0.05ex
}}
\newcommand\monnra
{
\xrightarrow
{
\kern
-0.15ex
\textrm
{
mon,ne
}
\kern
-0.05ex
}}
\newcommand\nfn
{
\xrightarrow
{
\kern
-0.15ex
\textrm
{
ne
}
\kern
-0.05ex
}}
\newcommand\nfn
{
\xrightarrow
{
\kern
-0.15ex
\textrm
{
ne
}
\kern
-0.05ex
}}
\newcommand
{
\eqdef
}{
\triangleq
}
\newcommand
{
\eqdef
}{
\triangleq
}
\newcommand
{
\bnfdef
}{
\vcentcolon\vcentcolon
=
}
\newcommand
{
\bnfdef
}{
\vcentcolon\vcentcolon
=
}
...
@@ -155,6 +163,7 @@
...
@@ -155,6 +163,7 @@
\newcommand
{
\monoid
}{
M
}
\newcommand
{
\monoid
}{
M
}
\newcommand
{
\mval
}{
\mathcal
{
V
}}
\newcommand
{
\mval
}{
\mathcal
{
V
}}
\newcommand
{
\mvalFull
}{
\overline
{
\mathcal
{
V
}}}
\newcommand
{
\melt
}{
a
}
\newcommand
{
\melt
}{
a
}
\newcommand
{
\meltB
}{
b
}
\newcommand
{
\meltB
}{
b
}
...
@@ -166,12 +175,21 @@
...
@@ -166,12 +175,21 @@
\newcommand
{
\munit
}{
\varepsilon
}
\newcommand
{
\munit
}{
\varepsilon
}
\newcommand
{
\mcore
}
[1]
{{
\mid
}
#1
{
\mid
}}
% using "|" here makes LaTeX diverge. WTF.
\newcommand
{
\mcore
}
[1]
{{
\mid
}
#1
{
\mid
}}
% using "|" here makes LaTeX diverge. WTF.
\newcommand
{
\bigmcore
}
[1]
{{
\big
|
}
#1
{
\big
|
}}
% using "|" here makes LaTeX diverge. WTF.
\newcommand
{
\mnocore
}{
\bot
}
\newcommand
{
\mnocore
}{
\bot
}
\newcommand
{
\mtimes
}{
\mathbin
{
\cdot
}}
\newcommand
{
\mtimes
}{
\mathbin
{
\cdot
}}
\newcommand
{
\mundef
}{
\lightning
}
\newcommand
{
\mundef
}{
\lightning
}
\newcommand
{
\exclusive
}{
\mathrm
{
exclusive
}}
\newcommand
{
\mupd
}{
\rightsquigarrow
}
\newcommand
{
\mupd
}{
\rightsquigarrow
}
\newcommand
{
\mincl
}
[1][]
{
\ensuremath
{
\mathrel
{
\stackrel
{
#1
}{
\preccurlyeq
}}}}
\newcommand
{
\mincl
}
[1][]
{
%
\ensuremath
{
\mathrel
{
\vbox
{
\offinterlineskip\ialign
{
%
\hfil
##
\hfil\cr
\ensuremath
{
\scriptstyle
#1
}
\cr
\noalign
{
\kern
-0.25ex
}
$
\preccurlyeq
$
\cr
}}}}}
\newcommand
{
\CMRAs
}{
\mathcal
{
CMRA
}}
% category of CMRAs
\newcommand
{
\CMRAs
}{
\mathcal
{
CMRA
}}
% category of CMRAs
...
@@ -220,6 +238,8 @@
...
@@ -220,6 +238,8 @@
\newcommand
{
\namesp
}{
\mathcal
{
N
}}
\newcommand
{
\namesp
}{
\mathcal
{
N
}}
\newcommand
{
\namecl
}
[1]
{{
#1
^{
\kern
0.2ex
\uparrow
}}}
\newcommand
{
\namecl
}
[1]
{{
#1
^{
\kern
0.2ex
\uparrow
}}}
\newcommand
{
\fixp
}{
\mathit
{
fix
}}
%% various pieces of Syntax
%% various pieces of Syntax
\def\MU
#1.
{
\mu\spac
#1.
\spac
}
%
\def\MU
#1.
{
\mu\spac
#1.
\spac
}
%
\def\Lam
#1.
{
\lambda
#1.
\spac
}
%
\def\Lam
#1.
{
\lambda
#1.
\spac
}
%
...
@@ -254,7 +274,7 @@
...
@@ -254,7 +274,7 @@
}
}
\newcommand*
{
\knowInv
}
[2]
{
\boxedassert
{
#2
}
[#1]
}
\newcommand*
{
\knowInv
}
[2]
{
\boxedassert
{
#2
}
[#1]
}
\newcommand*
{
\ownGhost
}
[2]
{
\boxedassert
[densely dashed]
{
#2
}
[#1]
}
\newcommand*
{
\ownGhost
}
[2]
{
\boxedassert
[densely dashed]
{
#2
}
[#1]
}
\newcommand*
{
\ownM
}
[1]
{
\textlog
{
Own
}
(#1
)
}
\newcommand*
{
\ownM
}
[1]
{
\textlog
{
Own
}
\left
(#1
\right
)
}
\newcommand*
{
\ownPhys
}
[1]
{
\textlog
{
Phy
}
(#1)
}
\newcommand*
{
\ownPhys
}
[1]
{
\textlog
{
Phy
}
(#1)
}
%% View Shifts
%% View Shifts
...
@@ -269,6 +289,7 @@
...
@@ -269,6 +289,7 @@
}
%
}
%
}}
%
}}
%
\NewDocumentCommand
\vs
{
O
{}
O
{}}
{
\vsGen
[#1]
{
\Rrightarrow
}
[#2]
}
\NewDocumentCommand
\vs
{
O
{}
O
{}}
{
\vsGen
[#1]
{
\Rrightarrow
}
[#2]
}
\NewDocumentCommand
\bvs
{
O
{}
O
{}}
{
\vsGen
[#1]
{
\Rrightarrow
_{
\mathcal
{
B
}}}
[#2]
}
\NewDocumentCommand
\vsL
{
O
{}
O
{}}
{
\vsGen
[#1]
{
\Lleftarrow
}
[#2]
}
\NewDocumentCommand
\vsL
{
O
{}
O
{}}
{
\vsGen
[#1]
{
\Lleftarrow
}
[#2]
}
\NewDocumentCommand
\vsE
{
O
{}
O
{}}
%
\NewDocumentCommand
\vsE
{
O
{}
O
{}}
%
{
\vsGen
[#1]
{
\Lleftarrow\!\!\!\Rrightarrow
}
[#2]
}
{
\vsGen
[#1]
{
\Lleftarrow\!\!\!\Rrightarrow
}
[#2]
}
...
@@ -327,6 +348,7 @@
...
@@ -327,6 +348,7 @@
%% Some commonly used identifiers
%% Some commonly used identifiers
\newcommand
{
\inhabited
}
[1]
{
\textlog
{
inhabited
}
(#1)
}
\newcommand
{
\timeless
}
[1]
{
\textlog
{
timeless
}
(#1)
}
\newcommand
{
\timeless
}
[1]
{
\textlog
{
timeless
}
(#1)
}
\newcommand
{
\persistent
}
[1]
{
\textlog
{
persistent
}
(#1)
}
\newcommand
{
\persistent
}
[1]
{
\textlog
{
persistent
}
(#1)
}
\newcommand
{
\physatomic
}
[1]
{
\textlog
{
atomic
}
(
$
#
1
$
)
}
\newcommand
{
\physatomic
}
[1]
{
\textlog
{
atomic
}
(
$
#
1
$
)
}
...
@@ -335,7 +357,7 @@
...
@@ -335,7 +357,7 @@
\newcommand\InvName
{
\textdom
{
InvName
}}
\newcommand\InvName
{
\textdom
{
InvName
}}
\newcommand\GName
{
\textdom
{
GName
}}
\newcommand\GName
{
\textdom
{
GName
}}
\newcommand
{
\Prop
}{
\textlog
{
Prop
}}
\newcommand
{
\Prop
}{
\textlog
{
i
Prop
}}
\newcommand
{
\Pred
}{
\textlog
{
Pred
}}
\newcommand
{
\Pred
}{
\textlog
{
Pred
}}
\newcommand
{
\TRUE
}{
\textlog
{
True
}}
\newcommand
{
\TRUE
}{
\textlog
{
True
}}
...
@@ -348,7 +370,7 @@
...
@@ -348,7 +370,7 @@
\newcommand
{
\val
}{
v
}
\newcommand
{
\val
}{
v
}
\newcommand
{
\valB
}{
w
}
\newcommand
{
\valB
}{
w
}
\newcommand
{
\state
}{
\sigma
}
\newcommand
{
\state
}{
\sigma
}
\newcommand
{
\step
}{
\ra
}
\newcommand
{
\step
}{
\ra
_{
\mathsf
{
t
}}
}
\newcommand
{
\hstep
}{
\ra
_{
\mathsf
{
h
}}}
\newcommand
{
\hstep
}{
\ra
_{
\mathsf
{
h
}}}
\newcommand
{
\tpstep
}{
\ra
_{
\mathsf
{
tp
}}}
\newcommand
{
\tpstep
}{
\ra
_{
\mathsf
{
tp
}}}
\newcommand
{
\lctx
}{
K
}
\newcommand
{
\lctx
}{
K
}
...
...
docs/model.tex
View file @
752371c8
...
@@ -8,7 +8,7 @@ The semantics closely follows the ideas laid out in~\cite{catlogic}.
...
@@ -8,7 +8,7 @@ The semantics closely follows the ideas laid out in~\cite{catlogic}.
The semantic domains are interpreted as follows:
The semantic domains are interpreted as follows:
\[
\[
\begin
{
array
}
[
t
]
{
@
{}
l@
{
\
}
c@
{
\
}
l@
{}}
\begin
{
array
}
[
t
]
{
@
{}
l@
{
\
}
c@
{
\
}
l@
{}}
\Sem
{
\
textlog
{
\
Prop
}
}
&
\eqdef
&
\UPred
(
\monoid
)
\\
\Sem
{
\Prop
}
&
\eqdef
&
\UPred
(
\monoid
)
\\
\Sem
{
\textlog
{
M
}}
&
\eqdef
&
\monoid
\Sem
{
\textlog
{
M
}}
&
\eqdef
&
\monoid
\end
{
array
}
\end
{
array
}
\qquad\qquad
\qquad\qquad
...
...
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