Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Marianna Rapoport
iris-coq
Commits
9efcd541
Commit
9efcd541
authored
Jul 25, 2016
by
Ralf Jung
Browse files
updates iris.sty
parent
a43a5fc4
Changes
1
Hide whitespace changes
Inline
Side-by-side
docs/iris.sty
View file @
9efcd541
...
...
@@ -35,7 +35,7 @@
\newcommand
{
\upclose
}{
\mathord
{
\uparrow
}}
\newcommand
{
\ALT
}{
\
|
\
}
\newcommand
{
\spac
}{
\
,
}
% a space
\newcommand
{
\spac
}{
\
:
}
% a space
\def\All
#1.
{
\forall
#1.
\spac
}
%
\def\Exists
#1.
{
\exists
#1.
\spac
}
%
...
...
@@ -56,6 +56,8 @@
\newcommand
{
\eqdef
}{
\triangleq
}
\newcommand
{
\bnfdef
}{
\vcentcolon\vcentcolon
=
}
\newcommand
{
\maybe
}
[1]
{
#1
^
?
}
\newcommand*\setComp
[2]
{
\left\{
#1
\spac\middle
|
\spac
#2
\right\}
}
\newcommand*\set
[1]
{
\left\{
#1
\right\}
}
\newcommand*\record
[1]
{
\left\{\spac
#1
\spac\right\}
}
...
...
@@ -67,6 +69,7 @@
\end{array}
}
\newcommand
{
\op
}{
\textrm
{
op
}}
\newcommand
{
\dom
}{
\mathrm
{
dom
}}
\newcommand
{
\cod
}{
\mathrm
{
cod
}}
\newcommand
{
\chain
}{
\mathrm
{
chain
}}
...
...
@@ -112,8 +115,6 @@
%% Some commonly used identifiers
\newcommand
{
\op
}{
\textrm
{
op
}}
\newcommand
{
\SProp
}{
\textdom
{
SProp
}}
\newcommand
{
\UPred
}{
\textdom
{
UPred
}}
\newcommand
{
\mProp
}{
\textdom
{
Prop
}}
% meta-level prop
...
...
@@ -144,10 +145,8 @@
\newcommand
{
\f
}{
\mathrm
{
f
}}
% for "frame"
\newcommand
{
\mcar
}
[1]
{
|#1|
}
\newcommand
{
\mcarp
}
[1]
{
\mcar
{
#1
}^{
+
}}
\newcommand
{
\munit
}{
\varepsilon
}
\newcommand
{
\mcore
}
[1]
{
\llparenthesis
#1
\rrparenthesis
}
\newcommand
{
\mcore
}
[1]
{
{
\mid
}
#1
{
\mid
}}
% using "|" here makes LaTeX diverge. WTF.
\newcommand
{
\mtimes
}{
\mathbin
{
\cdot
}}
\newcommand
{
\mupd
}{
\rightsquigarrow
}
...
...
@@ -328,6 +327,9 @@
% STANDARD DERIVED CONSTRUCTIONS
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\newcommand
{
\unittt
}{
()
}
\newcommand
{
\unit
}{
1
}
% Agreement
\newcommand
{
\agm
}{
\ensuremath
{
\textmon
{
Ag
}}}
\newcommand
{
\aginj
}{
\textlog
{
ag
}}
...
...
@@ -347,6 +349,11 @@
\newcommand
{
\AuthInv
}{
\textsf
{
AuthInv
}}
\newcommand
{
\Auth
}{
\textsf
{
Auth
}}
% Sum
\newcommand
{
\csumm
}{
\mathrel
{
+
_{
\!\bot
}}}
\newcommand
{
\cinl
}{
\textsf
{
inl
}}
\newcommand
{
\cinr
}{
\textsf
{
inr
}}
% One-Shot
\newcommand
{
\oneshotm
}{
\ensuremath
{
\textmon
{
OneShot
}}}
\newcommand
{
\ospending
}{
\textlog
{
pending
}}
...
...
Write
Preview
Supports
Markdown
0%
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!
Cancel
Please
register
or
sign in
to comment