Proof map · Deep argument map

Sampling and counting contingency tables with arbitrary margins

Machine-extracted paper references with explicitly named proof owners. These references are unverified, may be incomplete, and do not establish the family result. Consult the linked papers.

Family 115Theoretical computer science2 manuscriptsLean scope documented2 strategies · 42 nodesProofweave replay not run
Deep argument map

Machine-extracted references are unreviewed and may be incomplete; they are not a kernel check, Proofweave replay, or independent review.

Extend version coverage, Lean declaration alignment, and independent review.

Paper-derived structure · machine-extracted

Follow the paper's statements and references.

Deep · unreviewed

Nodes are the paper's theorem-like statements; edges are explicit references inside proof environments. A reference can be background or context, so this is not a verified dependency graph.

Shared resultSampling 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.

Shortest Exact Uniform Sampling of Contingency Tables with Arbitrary Margins · pages not recorded · 19 nodesLongest An FPRAS for Cell-Bounded Contingency Tables · pages not recorded · 23 nodesThe shortest path is not a compressed long path: it replaces the interpolation/determinant machinery. Cross-links show what each route shares, replaces, or bypasses.
Proof dependencyUses an object fromMentions / namesProves / impliesSame mathematical roleReplacesBypassessame-role is not a logical dependency

Scroll horizontally to follow the chain from inputs to the shared result. Click any node for its proof detail.

Introduction
The binary model and the padded graph
Quadratic signatures and balanced summation
Transport and the graph variance bound
Sampling a dense completion block
Sampling algorithms and exact correction
Tight capacities and two scales
Integer signatures and the softened count
Paired binary states and two factorial lifts
Transport, observable variance, and trace mixing
A bounded approximation procedure for the weights
The annealing algorithm and its implementation
Counting and sampling bounded integral flows

Curation boundary

What this deep map does not claim.

Unreviewed · no replay
  • Machine-promoted from the paper structure: only references used as premises in the surrounding sentence are kept; background citations and bare mentions are removed.
  • A reference is not an audited proof dependency; the paper remains authoritative and this map is unreviewed.
  • No extracted statement has been identified as proving the family result; consult the source paper for exact statements.

Paper-to-Lean alignment

What is aligned, and what is not.

0 alignments
No Lean comparator is linked for this family.

That absence is not evidence that no Lean code exists. It means this pinned snapshot does not connect a comparator or scope document to the family’s theorem-level spine.

Source record

Manuscripts

2 manuscripts
2026-09-24OpenAI

Exact Uniform Sampling of Contingency Tables with Arbitrary Margins

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

2026-09-24OpenAI

An FPRAS for Cell-Bounded Contingency Tables

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.

Upstream Lean

Scope & evidence

2 comparator links

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 2−k2^{-k} for requested precision k≥1k\ge1. 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 0<ε,δ<10<\varepsilon,\delta<1, the algorithm returns a nonnegative estimate with relative error at most ε\varepsilon with probability at least 1−δ1-\delta, and returns zero on every execution when no table exists.

The running time is polynomial in the encoded input size, ε−1\varepsilon^{-1}, and log⁡(δ−1)\log(\delta^{-1}) on every random tape. The same Comparator file also contains the companion sampling results for tables without cell bounds.

Proofweave replay
Not run
Statement review
Not started for this family
Independent review
Not recorded
Receipt
None
Upstream linked
2 manuscripts named in the Lean scope or formalization index

Scope text describes upstream coverage. It is not a Proofweave replay, review, or receipt.

Upstream Lean · extracted structure

Comparator-linked modules and declarations

extracted
Comparators22 solution modules fetched
Theorem names3from comparator JSON
Textual sorry0solution modules · direct scan
Textual axioms0solution modules · direct scan
ContingencyTables.leanOAI.Combinatorics.ContingencyTables.UnconditionalMain · 3 theorems · 35 lines
solution fetched
Theorem names
  • OAI.ContingencyTables.boundedSampling
  • OAI.ContingencyTables.exactSampling
  • OAI.ContingencyTables.counting
Permitted axioms
propextQuot.soundClassical.choice
Solution moduleOAI.Combinatorics.ContingencyTables.UnconditionalMain35 lines · 6 direct imports · solution sorry 0 · solution axiom 0 · challenge sorry 3
Direct imports
  • OAI.Combinatorics.ContingencyTables.Sampling.AllSamplingMachine
  • OAI.Combinatorics.ContingencyTables.Sampling.ExactSamplingMachine
  • OAI.Combinatorics.ContingencyTables.Counting.CountingMainMachine
  • OAI.Combinatorics.ContingencyTables.Dense.FiniteBoxPrekopa
  • OAI.Combinatorics.ContingencyTables.Dense.FiniteCheegerProof
  • OAI.Combinatorics.ContingencyTables.Transport.EdmondsKarpBound

Comparator challenge files contain a sorry by design; the solution module is the fetched proof file. This extraction records direct imports, theorem names, and textual sorry/axiom counts. It is not a kernel build, #print axioms run, or Proofweave replay.

ContingencyTables.leanOAI.Combinatorics.ContingencyTables.UnconditionalMain · 3 theorems · 35 lines
solution fetched
Theorem names
  • OAI.ContingencyTables.boundedSampling
  • OAI.ContingencyTables.exactSampling
  • OAI.ContingencyTables.counting
Permitted axioms
propextQuot.soundClassical.choice
Solution moduleOAI.Combinatorics.ContingencyTables.UnconditionalMain35 lines · 6 direct imports · solution sorry 0 · solution axiom 0 · challenge sorry 3
Direct imports
  • OAI.Combinatorics.ContingencyTables.Sampling.AllSamplingMachine
  • OAI.Combinatorics.ContingencyTables.Sampling.ExactSamplingMachine
  • OAI.Combinatorics.ContingencyTables.Counting.CountingMainMachine
  • OAI.Combinatorics.ContingencyTables.Dense.FiniteBoxPrekopa
  • OAI.Combinatorics.ContingencyTables.Dense.FiniteCheegerProof
  • OAI.Combinatorics.ContingencyTables.Transport.EdmondsKarpBound

Comparator challenge files contain a sorry by design; the solution module is the fetched proof file. This extraction records direct imports, theorem names, and textual sorry/axiom counts. It is not a kernel build, #print axioms run, or Proofweave replay.

Structure extracted from the pinned OpenAI repository revision. Direct imports only; transitive dependency closure and kernel acceptance remain separate curation steps.

Continuous curation

What to verify next

Status: Deep argument map
  1. Review each statement. Check the theorem, lemma, and construction labels against the paper at the cited section; the paper remains authoritative.
  2. Check every dependency edge. Remove any edge the proof does not use; add lemma-level nodes only with a source location.
  3. Extend Lean alignment. Map more paper nodes to comparator declarations where the upstream module supports it, and record toolchain, axioms, and kernel results when a build exists.
  4. Review and record evidence. Statement review, independent review, replay, and receipt are separate gates; this deep map satisfies none of them yet.

Deep argument maps are unreviewed until a named reviewer checks the statements, edges, and Lean alignment.