Understand this problem at your own pace
Generate an explanation from the papers: intuition, example, claimed result, approach, and limits. Choose your level and model.
Uses your OpenAI key and may incur charges. This personal AI-assisted reading does not replace proof verification.
Sign in with a verified email to use the companion and generate an explanation. Reading is freely accessible.
Sign inOriginal text · English
The claimed result
For nonnegative integer matrices with prescribed row and column sums, gives exact uniform sampling in expected polynomial bit time and almost-uniform sampling in worst-case polynomial bit time. The dimensions and binary-encoded margins are unrestricted. Also gives a fully polynomial randomized approximation scheme for counting such tables with arbitrary individual cell bounds, including structural zeros, with polynomial cost on every execution.
Papers and sources
Exact Uniform Sampling of Contingency Tables with Arbitrary Margins
EN · Original text · EnglishWe give an exact uniform sampler for nonnegative integer contingency tables with arbitrary prescribed margins. It terminates almost surely and has expected bit complexity polynomial in both dimensions and the binary length of the margins. No positivity, balance, sparsity, or fixed-dimension assumption is required.
An FPRAS for Cell-Bounded Contingency Tables
EN · Original text · EnglishWe give a fully polynomial randomized approximation scheme for counting nonnegative integer matrices with prescribed row sums, column sums, and individual entry bounds. Both dimensions vary, all numerical data are encoded in binary, and zero bounds are allowed. The algorithm uses only unbiased random bits and has a polynomial bound on its bit operations on every execution.
Formalization scope
Browse the proof files associated with this problem. Imports and dependencies are available in the source repository.
Loading…
Sources from the catalogue revision. Math Atlas has not compiled or verified these proofs.
Read the formalization scope note (English)
Sampling and counting contingency tables with arbitrary margins
The following describes the scope of the Lean formalization related to the following accompanying paper(s):
- Exact Uniform Sampling of Contingency Tables with Arbitrary Margins
- An FPRAS for Cell-Bounded Contingency Tables
Scope
The formalization gives an exact uniform sampler for nonnegative integer contingency tables with arbitrary prescribed row and column sums having equal totals. It terminates almost surely, every halted output is feasible, and each table has exactly the uniform limiting probability. Expected bit complexity is polynomial in the dimensions and the binary length of the margins.
It also gives a sampler with a fixed polynomial time bound on every execution whose total-variation error is at most for requested precision . The same Comparator file includes the companion approximation scheme for counting tables with individual cell bounds.
The formalization gives a fully polynomial randomized approximation scheme for counting nonnegative integer matrices with prescribed row sums, column sums, and individual entry bounds. Both dimensions may vary, the margins and bounds are binary encoded, and zero entry bounds are allowed. For rational , the algorithm returns a nonnegative estimate with relative error at most with probability at least , and returns zero on every execution when no table exists.
The running time is polynomial in the encoded input size, , and on every random tape. The same Comparator file also contains the companion sampling results for tables without cell bounds.
Comparator links
| Result | Comparator statement | | --- | --- | | Exact and bounded-time sampling of contingency tables | ContingencyTables.lean | | Randomized approximate counting of cell-bounded contingency tables | ContingencyTables.lean |
03 / Source
Reader discussion
A question, an observation, or another way to understand this problem?
Loading…