diff b34550f..b1f9bc4 fpras_cell_bounded_tables_v2.txt
diff --git a/fpras_cell_bounded_tables_v2.txt b/fpras_cell_bounded_tables_v2.txt
index d39ebb7..65ace9e 100644
--- a/fpras_cell_bounded_tables_v2.txt
+++ b/fpras_cell_bounded_tables_v2.txt
@@ -17,15 +17,15 @@
-\letεε
+letεε
-\allowdisplaybreaks[2]
+allowdisplaybreaks[2]
# An FPRAS for Cell-Bounded Contingency Tables
-\maketitle
+maketitle
Abstract:
We give a fully polynomial randomized approximation scheme (FPRAS)
@@ -34,7 +34,7 @@ column sums, and individual entry bounds. Both dimensions vary, all
numerical data are encoded in binary, and zero bounds (forbidden
entries) are allowed. The algorithm uses only independent unbiased
random bits, and a single fixed polynomial in the input length, in
-$1/ε$, and in $\log(1/\delta)$ bounds its total bit operations
+$1/ε$, and in $log(1/delta)$ bounds its total bit operations
on every execution, including executions whose numerical output
falls outside the requested relative interval. The same argument
yields an FPRAS and an almost-uniform sampler for bounded integral
@@ -42,7 +42,7 @@ single-commodity flows in arbitrary explicitly listed networks.
# Conventions
-\addcontentsline{toc}{section}{Conventions}
+addcontentsline{toc}{section}{Conventions}
@@ -58,14 +58,14 @@ The problem.:
A cell-bounded contingency table is a nonnegative integer matrix
with prescribed row sums, prescribed column sums, and prescribed
individual entry bounds. Formally, for positive integers $m,n$, margins
-$r\in\mathbb Z_{\ge0}^m$ and $c\in\mathbb Z_{\ge0}^n$ of equal total, and
-bounds $b\in\mathbb Z_{\ge0}^{m\times n}$, let
+$rinmathbb Z_bbZ_{ge0}^m$ and $cinmathbb Z_bbZ_{ge0}^n$ of equal total, and
+bounds $binmathbb Z_bbZ_{ge0}^{mtimes n}$, let
- Ω(r,c,b)&=\Bigl\{X\in\mathbb Z_{\ge0}^{m\times n}:\;
- \sum_{j=1}^n X_{ij}=r_i,\quad
- \sum_{i=1}^m X_{ij}=c_j,\quad
- X_{ij}\le b_{ij}\ for all i,j\Bigr\},\\
+ Ω(r,c,b)&=Bigl{Xinmathbb Z_bbZ_{ge0}^{mtimes n}:;
+ sum_{j=1}^n X_{ij}=r_i,quad
+ sum_{i=1}^m X_{ij}=c_j,quad
+ X_{ij}le b_{ij} for all i,jBigr},
Z(r,c,b)&=|Ω(r,c,b)|.
@@ -77,14 +77,14 @@ to compute $Z(r,c,b)$, or to approximate it well in this model.
A tiny example.:
Take $m=n=2$, $r=(2,1)$, $c=(1,2)$, and every $b_{ij}=2$. Writing
-$X=a&b\\c&d$, the constraints read
+$X=a&bc&d$, the constraints read
$a+b=2$, $c+d=1$, $a+c=1$, $b+d=2$. Solving gives $a=d$, $c=1-a$,
-$b=2-a$ with $a\in\{0,1\}$, so
-\[
- 0&2\\1&0,
- \qquad
- 1&1\\0&1,
-\]
+$b=2-a$ with $ain{0,1}$, so
+[
+ 0&21&0,
+ qquad
+ 1&10&1,
+]
and $Z=2$. Real inputs have many rows and columns and astronomically
large capacities.
@@ -93,25 +93,25 @@ Deciding whether a feasible table exists is easy: build a directed
network with a source, the rows, the columns, and a sink; give the
source--row, row--column, and column--sink arcs capacities $r_i$,
$b_{ij}$, and $c_j$; then a feasible table is exactly an integral flow
-of value $N=\sum_i r_i=\sum_j c_j$, and Edmonds--Karp decides
+of value $N=sum_i r_i=sum_j c_j$, and Edmonds--Karp decides
feasibility in time polynomial in the number of bits of the
input (see [cite]). Counting is different. Dyer, Kannan, and
-Mount \cite[Theorem~1]{DKM1997} proved that exact counting is
-$\#\mathrm P$-complete already for two rows, so no exact
+Mount cite[Theorem~1]{DKM1997} proved that exact counting is
+$#mathrm P$-completermP$-complete already for two rows, so no exact
polynomial-time algorithm is expected. An approximation is still
possible; that is the object of an FPRAS.
What an FPRAS is.:
An FPRAS for $Z$ receives the data together with rational
-$ε,\delta\in(0,1)$ and returns a nonnegative rational
-$\widehat Z$ with
-\[
- \P((1-ε)Z\le\widehat Z\le(1+ε)Z)\ge1-\delta.
-\]
+$ε,deltain(0,1)$ and returns a nonnegative rational
+$widehatwidehat Z$Z$ with
+[
+ P((1-ε)Zlewidehatwidehat ZZle(1+ε)Z)ge1-delta.
+]
``Fully polynomial'' means the running time is bounded by a fixed
polynomial in the number of bits $L$ of the input (including the
-encodings of $ε$ and $\delta$), in $1/ε$, and in
-$\log(1/\delta)$ -- never in $1/\delta$ or in the numeric capacities
+encodings of $ε$ and $delta$), in $1/ε$, and in
+$log(1/delta)$ -- never in $1/delta$ or in the numeric capacities
themselves. Bit complexity is the strict form of this demand: an input
that names a cap of $2^{100}$ must cost polynomial time in the roughly
$100$ digits, not $2^{100}$ steps. Most naive approaches fail exactly
@@ -122,15 +122,15 @@ The paper proves the following.
There is one randomized algorithm with the following guarantee. Given
-$(r,c,b)$ as above and rational $ε,\delta\in(0,1)$, it outputs
-a nonnegative rational $\widehat Z$ such that
-\[
- \P((1-ε)Z(r,c,b)\le\widehat Z
- \le(1+ε)Z(r,c,b))\ge1-\delta.
-\]
+$(r,c,b)$ as above and rational $ε,deltain(0,1)$, it outputs
+a nonnegative rational $widehatwidehat Z$Z$ such that
+[
+ P((1-ε)Z(r,c,b)lewidehatwidehat ZZ
+ le(1+ε)Z(r,c,b))ge1-delta.
+]
If $Ω(r,c,b)$ is empty, the output is $0$ on every execution. The
algorithm uses independent unbiased bits, and one fixed polynomial in
-$L$, $ε^{-1}$, and $\log(\delta^{-1})$ bounds its total bit
+$L$, $ε^{-1}$, and $log(delta^{-1})$ bounds its total bit
operations on every execution, where $L$ is the total binary input
length, including the accuracy parameters. No counting or sampling
oracle is required.
@@ -150,15 +150,15 @@ explicitly given directed multigraph with finite integer arc bounds and
prescribed vertex balances, a single bijection to a cell-bounded table
transfers Theorem~thm:main, yielding both an FPRAS for the number
of feasible integral flow vectors and a sampler that is within total
-variation $\tau$ of uniform at cost polynomial in the input length and
-$\tau^{-1}$.
+variation $tau$ of uniform at cost polynomial in the input length and
+$tau^{-1}$.
History and significance.:
The enumeration of fixed-margin arrays is classical in statistics and
combinatorics; Diaconis and Gangolli [cite] survey its methods.
Ordinary contingency tables are the special case of (eq:feasible-set)
-in which the margins force $X_{ij}\le\min\{r_i,c_j\}$; even these are
-$\#\mathrm P$-complete to count exactly for two rows [cite].
+in which the margins force $X_{ij}lemin{r_i,c_j}$; even these are
+$#mathrm P$-completermP$-complete to count exactly for two rows [cite].
Approximate counting is nevertheless efficient under broader conditions
than exact counting. For ordinary tables, Dyer, Kannan, and Mount
[cite] gave geometric sampling and counting for sufficiently
@@ -166,7 +166,7 @@ large margins, and Morris [cite] weakened the required margin
bounds. Dyer and Greenhill [cite] handled arbitrary two-row
margins. Cryan and Dyer [cite], and later Dyer [cite],
obtained an FPRAS for a fixed number of rows, and Gopalan, Klivans,
-Meka, \v{S}tefankovi\v{c}, Vempala, and Vigoda [cite] gave a
+Meka, v{S}tefankoviv{c}, Vempala, and Vigoda [cite] gave a
deterministic FPTAS for a fixed number of rows. These results already
accept binary-encoded margins; their restriction is on the number of
rows or on the sizes of the margins, not on the encoding.
@@ -175,7 +175,7 @@ Individual caps connect the table problem to several other models. When
every cap is $0$ or $1$ the table is a subgraph of the allowed bipartite
graph with prescribed degrees; Jerrum, Sinclair, and Vigoda
[cite] give an FPRAS for this whole case, and all-one margins
-give perfect matchings. Bez\'akov\'a, Bhatnagar, and Vigoda
+give perfect matchings. Bez'akov'a, Bhatnagar, and Vigoda
[cite] gave a direct annealing algorithm for binary tables.
More generally, capped tables are integral flows in a bipartite network:
Cryan, Dyer, and Randall [cite] gave an FPRAS for integral flows
@@ -189,23 +189,23 @@ mixtures of small and large bounds, with both dimensions variable and
zero bounds permitted.
Convex optimization gives complementary estimates. Barvinok
-\cite[Theorem~1.3]{Barvinok2009} bounds ordinary weighted table counts,
+cite[Theorem~1.3]{Barvinok2009} bounds ordinary weighted table counts,
including forbidden cells, within a factor $N^{O(m+n)}$ where $N$ is the
total margin; Barvinok, Luria, Samorodnitsky, and Yong [cite]
-obtain relative approximations in complexity $N^{O(\log N)}$ for
+obtain relative approximations in complexity $N^{O(log N)}$ for
specified smooth-margin classes. This scale is quasipolynomial in the
-numeric total, not in its binary length. Br\"and\'en, Leake, and Pak
-\cite[Theorem~2.1]{BLP2021} give capacity bounds for arbitrary
+numeric total, not in its binary length. Br"and'en, Leake, and Pak
+cite[Theorem~2.1]{BLP2021} give capacity bounds for arbitrary
individual caps with explicit multiplicative factors in the margins and
dimensions. Theorem~thm:main, by contrast, delivers any requested
relative tolerance in polynomial binary time with no smoothness
assumption. The geometric object here is the set of all integer points
of a transportation polytope, not only its vertices (for instance the
-$2\times2$ tables with every margin equal to two form a segment with
+$2times2$ tables with every margin equal to two form a segment with
three integer points and two vertices); Guo and Jerrum
-\cite[Proposition~4.2]{GJ2023} treat vertices of promised $0/1$
+cite[Proposition~4.2]{GJ2023} treat vertices of promised $0/1$
polytopes from network matrices, a different scope. Counting also
-yields sampling by self-reduction \cite[Theorem~6.3]{JVV1986}, which
+yields sampling by self-reduction cite[Theorem~6.3]{JVV1986}, which
Section~sec:flows carries out by bisecting cell intervals with
exact feasibility tests at every branch.
@@ -217,13 +217,13 @@ the contamination bound as its goal. Section~sec:integer-signatures
proves the integer summation lemma and the log-concavity of tree
marginals, and thereby completes the proof of the contamination bound.
Section~sec:signatures introduces the paired binary encoding, the
-two factorial lifts $f_j$ and $\widetilde f_j$, their quadratic
+two factorial lifts $f_j$ and $widetilde f_j$, their quadratic
signature properties, and the defect-mass inequalities.
Section~sec:transport builds the enlarged Metropolis chain and
proves the one-hole transport, transversal-variance, defect-mean,
observable-variance, time-average, and trace-mixing bounds.
Section~sec:evaluation gives the bounded weight-evaluation
-procedure via bins, the Pr\'ekopa--Leindler interpolation inequality, the
+procedure via bins, the Pr'ekopa--Leindler interpolation inequality, the
bin conductance bound, and the finite-bit uniform-draw lemma.
Section~sec:algorithm assembles the annealing algorithm, proves
the reference-experiment accuracy, couples the bounded implementation to
@@ -231,13 +231,13 @@ it, and proves Theorem~thm:main by amplification.
Section~sec:flows proves the flow corollary.
Conventions.:
-All logarithms with subscript $2$ are binary; $\log$ without a subscript
+All logarithms with subscript $2$ are binary; $log$ without a subscript
in exponent estimates is natural. A symmetric matrix has
at most one positive eigenvalue when its positive inertia index
is at most one, counting multiplicity; this property of quadratic forms
is preserved by restriction and by limits. A sum over edges in a
Dirichlet form is over unordered edges unless stated otherwise. Every
-$\lceil\cdot\rceil$ and $\lfloor\cdot\rfloor$ of a binary logarithm used
+$lceilcdotrceil$ and $lfloorcdotrfloor$ of a binary logarithm used
for parameters or bit counts is computable by integer shifts and
comparisons. The large matrices, conditioning trees, and transport
flows that appear in proofs are analytic devices: the algorithm never
@@ -259,14 +259,14 @@ below allow both dimensions and all capacities to vary.
## Feasibility, tightening, and parameters
Feasibility is a flow question.:
-Form a directed network with a source $\sigma$, the row vertices, the
-column vertices, and a sink $\tau$. Give the source--row arcs
+Form a directed network with a source $sigma$, the row vertices, the
+column vertices, and a sink $tau$. Give the source--row arcs
capacities $r_i$, the row--column arcs capacities $b_{ij}$, and the
column--sink arcs capacities $c_j$. An integral flow of value
-$N=\sum_i r_i=\sum_j c_j$ is exactly a feasible table: at that value
+$N=sum_i r_i=sum_j c_j$ is exactly a feasible table: at that value
every arc incident to the source or the sink is saturated, and the
row--column values are the table entries. The shortest-augmenting-path
-algorithm of Edmonds and Karp \cite[Theorem~1]{EK1972} uses $O(VE)$
+algorithm of Edmonds and Karp cite[Theorem~1]{EK1972} uses $O(VE)$
augmentations, where $V$ and $E$ are the numbers of vertices and arcs;
the present network is simple, so $E=O(V^2)$ and the augmentation count
is $O(V^3)$, independent of the numerical capacities. Each augmenting
@@ -279,7 +279,7 @@ is infeasible the final algorithm returns zero; we now suppose it is
feasible.
Tightening.:
-For a feasible input let $\ell_s$ and $u_s$ be the minimum and the
+For a feasible input let $ell_s$ and $u_s$ be the minimum and the
maximum feasible integer values of cell $s=(i,j)$. Each extremum is
computable by binary search using flow feasibility with one additional
upper or lower bound: a lower bound is subtracted from its cell and