Download lean/OAI/Combinatorics/MatchingCount/Sampling/FiniteSampler.lean from roseking/openAI-math-dataset: direct link, hf CLI and curl.
- Browser
- Download file 730 Bytes
-
https://huggingface.co/datasets/roseking/openAI-math-dataset/resolve/main/lean/OAI/Combinatorics/MatchingCount/Sampling/FiniteSampler.lean
- Command line
-
hf download hf://datasets/roseking/openAI-math-dataset/lean/OAI/Combinatorics/MatchingCount/Sampling/FiniteSampler.lean
-
curl -L -o FiniteSampler.lean https://huggingface.co/datasets/roseking/openAI-math-dataset/resolve/main/lean/OAI/Combinatorics/MatchingCount/Sampling/FiniteSampler.lean
730 Bytes
| import Mathlib | |
| import OAI.Combinatorics.MatchingCount.Sampling.PM | |
| namespace OAI | |
| namespace MatchingFPRAS.Transport.IndexedCycle | |
| variable {V L : Type*} [Fintype V] [DecidableEq V] [Fintype L] [DecidableEq L] | |
| variable {bags : V → Finset L} | |
| noncomputable local instance finiteSamplerBagEdgeFintype : Fintype (BagEdge bags) := Fintype.ofFinite _ | |
| variable (c : IndexedCycle (BagEdge.Incident (bags := bags))) | |
| variable {G : SimpleGraph L} | |
| variable (hbags : ∀ v, ∀ a ∈ bags v, ∀ b ∈ bags v, a = b ∨ G.Adj a b) | |
| variable (height : L → ℝ) (hheight : ∀ l, 0 < height l) | |
| variable (hstep : ∀ a b, G.Adj a b → height a ≤ 2 * height b) | |
| include hheight hstep | |
| end MatchingFPRAS.Transport.IndexedCycle | |
| end OAI | |