oai-math-revised beta

Browse › Theoretical computer science › 115 Sampling and counting contingency tables with arbitrary margins

An FPRAS for Cell-Bounded Contingency Tables

OpenAI · September 24, 2026

Lean

Open PDFCite Report a problem Add a reference or comment Interested in working on this Start a discussion

Edit NOTES.md · Existing issues · Source on GitHub

Abstract

We 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.

If the PDF does not display here, open it directly: Open PDF.

Notes

No notes yet. Add a reference, a comment or your name with the buttons above, or edit NOTES.md on GitHub.

Automatically collected notes (unreviewed)

work in progress

Collected automatically by AI tools (Claude Opus 5.5 and GPT-6 Astra, 2026-10-21) and not checked by a person. May be wrong or incomplete. Report an error.

Follow-up works

  • EcoDataLab, contingency-tables: Open research on bounded contingency tables (GitHub repository, October 2026). Describes itself as auditing and improving OpenAI result #115, noting that the companion FPRAS "covers cell bounds and structural zeros"; it also reports a separate Lean development (1511 named declarations) for a bounded sampler, whose strict Comparator verification it says "remains open". [AI-generated per source] [family-level]

Formalization

Possibly relevant literature (found by the agent, not checked)

Digests and expositions

Elsewhere

Independent sites; their content is not reviewed here.

Cite

@misc{OAI:An-FPRAS-for-Cell-Bounded-Contingency-Tables-September-24-2026,
  author = {{OpenAI}},
  title = {{An FPRAS for Cell-Bounded Contingency Tables}},
  howpublished = {OpenAI Math Release preprint
                  \href{https://github.com/openai/math/blob/main/preprints/An-FPRAS-for-Cell-Bounded-Contingency-Tables-September-24-2026/main.pdf}{OAI:An-FPRAS-for-Cell-Bounded-Contingency-Tables-September-24-2026}},
  year = {2026}
}

Lean formalization

OpenAI provides Lean files for this family: lean/docs/115.md. The Lean statements have not been checked by people against the paper's claims.

Family 115: Sampling and counting contingency tables with arbitrary margins

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.

Other papers in this family: