Download lean/OAI/Combinatorics/ContingencyTables/Main.lean from roseking/openAI-math-dataset: direct link, hf CLI and curl.
- Browser
- Download file 582 Bytes
-
https://huggingface.co/datasets/roseking/openAI-math-dataset/resolve/main/lean/OAI/Combinatorics/ContingencyTables/Main.lean
- Command line
-
hf download hf://datasets/roseking/openAI-math-dataset/lean/OAI/Combinatorics/ContingencyTables/Main.lean
-
curl -L -o Main.lean https://huggingface.co/datasets/roseking/openAI-math-dataset/resolve/main/lean/OAI/Combinatorics/ContingencyTables/Main.lean
582 Bytes
| import OAI.Combinatorics.ContingencyTables.FactorialLift | |
| import OAI.Combinatorics.ContingencyTables.UnconditionalMain | |
| /-! | |
| # Sampling and counting contingency tables | |
| Almost-uniform sampling has polynomial cost on every execution, while | |
| exact uniform sampling has polynomial expected bit cost. Cell-bounded | |
| counting admits a fully polynomial randomized approximation scheme, | |
| including structural zeros and infeasible inputs. The finite-box | |
| Prékopa–Leindler inequality, finite Cheeger inequality and shortest | |
| augmenting path bound supply the analytic and feasibility estimates. | |
| -/ | |