Download lean/OAI/Combinatorics/IndependentSets/Reduction/GraphReduction.lean from roseking/openAI-math-dataset: direct link, hf CLI and curl.
- Browser
- Download file 854 Bytes
-
https://huggingface.co/datasets/roseking/openAI-math-dataset/resolve/main/lean/OAI/Combinatorics/IndependentSets/Reduction/GraphReduction.lean
- Command line
-
hf download hf://datasets/roseking/openAI-math-dataset/lean/OAI/Combinatorics/IndependentSets/Reduction/GraphReduction.lean
-
curl -L -o GraphReduction.lean https://huggingface.co/datasets/roseking/openAI-math-dataset/resolve/main/lean/OAI/Combinatorics/IndependentSets/Reduction/GraphReduction.lean
854 Bytes
| import Mathlib | |
| import OAI.Combinatorics.IndependentSets.Model | |
| namespace OAI | |
| namespace LargeIndependentSets | |
| structure GraphReduction (δ : ℚ) where | |
| reduce : List Bool → Graph | |
| computation : Turing.TM2ComputableInPolyTime (id : List Bool → List Bool) graphBits reduce | |
| finiteAlphabets : ∀ k : computation.tm.K, Finite (computation.tm.Γ k) | |
| outputBound : Polynomial ℕ | |
| outputSize : ∀ b, (graphBits (reduce b)).length ≤ outputBound.eval b.length | |
| completeness : ∀ φ : Formula, φ.Satisfiable → (reduce (formulaBits φ)).ThreeColorable | |
| soundness : ∀ φ : Formula, ¬φ.Satisfiable → | |
| ((reduce (formulaBits φ)).independenceNumber : ℚ) < | |
| δ * (reduce (formulaBits φ)).vertices | |
| def MainStatement : Prop := | |
| ∀ δ : ℚ, 0 < δ → δ < 1 / 3 → Nonempty (GraphReduction δ) | |
| end LargeIndependentSets | |
| end OAI | |