Skip to content

Commit 024e72a

Browse files
committed
chore: compress whitespace in math, make next para start in new page for kawaii typesetting
1 parent b49ccc9 commit 024e72a

1 file changed

Lines changed: 5 additions & 6 deletions

File tree

paper.tex

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -660,14 +660,13 @@ \subsection{From Word-Level Arithmetic to Bit Heaps}
660660
The \Arith variables are assigned a value by a variable environment $\rho : \mathbb{N} \to \mathtt{BitVec}\ w$, mapping each variable to a $w$-bit word,
661661
where $\mathtt{BitVec}\ w$ is Lean's type of bitvectors of width $w$.
662662
For a single variable, we evaluate it by truncating the value of the variable to its live bits, and zero-extending it to the width of the \Arith expression.
663-
The addition and multiplication operations in \Arith are interpreted as the corresponding word-level operations.
664-
663+
The addition and multiplication operations in \Arith are interpreted as the corresponding word-level operations:
665664
\begin{align*}
666-
\bvsem{\mathsf{var}(i)} &= \rho\, i\\
667-
\bvsem{\mathsf{zext}_{w}(a')} &= \mathsf{zext}_{w}\big(\bvsem{a'}\big)\\
668-
\bvsem{\mathsf{add}[a_0,\dots,a_{n-1}]} &= \textstyle\sum_{t<n} \bvsem{a_t}\\
669-
\bvsem{a_0 \times a_1} &= \bvsem{a_0} \cdot \bvsem{a_1}
665+
&\bvsem{\mathsf{var}(i)} = \rho\, i \qquad \bvsem{\mathsf{zext}_{w}(a')} = \mathsf{zext}_{w}\big(\bvsem{a'}\big)\\
666+
&\bvsem{\mathsf{add}[a_0,\dots,a_{n-1}]} = \textstyle\sum_{t<n} \bvsem{a_t}\\
667+
&\bvsem{a_0 \times a_1} = \bvsem{a_0} \cdot \bvsem{a_1}
670668
\end{align*}
669+
\newpage % start the next paragraph in a new page to look nicer.
671670

672671
\paragraph{Bit Heap Construction from Arithmetic Expressions}
673672

0 commit comments

Comments
 (0)