Commit 9efcd541 authored by Ralf Jung's avatar Ralf Jung
Browse files

updates iris.sty

parent a43a5fc4
...@@ -35,7 +35,7 @@ ...@@ -35,7 +35,7 @@
\newcommand{\upclose}{\mathord{\uparrow}} \newcommand{\upclose}{\mathord{\uparrow}}
\newcommand{\ALT}{\ |\ } \newcommand{\ALT}{\ |\ }
\newcommand{\spac}{\,} % a space \newcommand{\spac}{\:} % a space
\def\All #1.{\forall #1.\spac}% \def\All #1.{\forall #1.\spac}%
\def\Exists #1.{\exists #1.\spac}% \def\Exists #1.{\exists #1.\spac}%
...@@ -56,6 +56,8 @@ ...@@ -56,6 +56,8 @@
\newcommand{\eqdef}{\triangleq} \newcommand{\eqdef}{\triangleq}
\newcommand{\bnfdef}{\vcentcolon\vcentcolon=} \newcommand{\bnfdef}{\vcentcolon\vcentcolon=}
\newcommand{\maybe}[1]{#1^?}
\newcommand*\setComp[2]{\left\{#1\spac\middle|\spac#2\right\}} \newcommand*\setComp[2]{\left\{#1\spac\middle|\spac#2\right\}}
\newcommand*\set[1]{\left\{#1\right\}} \newcommand*\set[1]{\left\{#1\right\}}
\newcommand*\record[1]{\left\{\spac#1\spac\right\}} \newcommand*\record[1]{\left\{\spac#1\spac\right\}}
...@@ -67,6 +69,7 @@ ...@@ -67,6 +69,7 @@
\end{array} \end{array}
} }
\newcommand{\op}{\textrm{op}}
\newcommand{\dom}{\mathrm{dom}} \newcommand{\dom}{\mathrm{dom}}
\newcommand{\cod}{\mathrm{cod}} \newcommand{\cod}{\mathrm{cod}}
\newcommand{\chain}{\mathrm{chain}} \newcommand{\chain}{\mathrm{chain}}
...@@ -112,8 +115,6 @@ ...@@ -112,8 +115,6 @@
%% Some commonly used identifiers %% Some commonly used identifiers
\newcommand{\op}{\textrm{op}}
\newcommand{\SProp}{\textdom{SProp}} \newcommand{\SProp}{\textdom{SProp}}
\newcommand{\UPred}{\textdom{UPred}} \newcommand{\UPred}{\textdom{UPred}}
\newcommand{\mProp}{\textdom{Prop}} % meta-level prop \newcommand{\mProp}{\textdom{Prop}} % meta-level prop
...@@ -144,10 +145,8 @@ ...@@ -144,10 +145,8 @@
\newcommand{\f}{\mathrm{f}} % for "frame" \newcommand{\f}{\mathrm{f}} % for "frame"
\newcommand{\mcar}[1]{|#1|}
\newcommand{\mcarp}[1]{\mcar{#1}^{+}}
\newcommand{\munit}{\varepsilon} \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{\mtimes}{\mathbin{\cdot}}
\newcommand{\mupd}{\rightsquigarrow} \newcommand{\mupd}{\rightsquigarrow}
...@@ -328,6 +327,9 @@ ...@@ -328,6 +327,9 @@
% STANDARD DERIVED CONSTRUCTIONS % STANDARD DERIVED CONSTRUCTIONS
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\newcommand{\unittt}{()}
\newcommand{\unit}{1}
% Agreement % Agreement
\newcommand{\agm}{\ensuremath{\textmon{Ag}}} \newcommand{\agm}{\ensuremath{\textmon{Ag}}}
\newcommand{\aginj}{\textlog{ag}} \newcommand{\aginj}{\textlog{ag}}
...@@ -347,6 +349,11 @@ ...@@ -347,6 +349,11 @@
\newcommand{\AuthInv}{\textsf{AuthInv}} \newcommand{\AuthInv}{\textsf{AuthInv}}
\newcommand{\Auth}{\textsf{Auth}} \newcommand{\Auth}{\textsf{Auth}}
% Sum
\newcommand{\csumm}{\mathrel{+_{\!\bot}}}
\newcommand{\cinl}{\textsf{inl}}
\newcommand{\cinr}{\textsf{inr}}
% One-Shot % One-Shot
\newcommand{\oneshotm}{\ensuremath{\textmon{OneShot}}} \newcommand{\oneshotm}{\ensuremath{\textmon{OneShot}}}
\newcommand{\ospending}{\textlog{pending}} \newcommand{\ospending}{\textlog{pending}}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment