Download lean/OAI/Combinatorics/InfiniteMatroid/Basic.lean from roseking/openAI-math-dataset: direct link, hf CLI and curl.
- Browser
- Download file 761 Bytes
-
https://huggingface.co/datasets/roseking/openAI-math-dataset/resolve/main/lean/OAI/Combinatorics/InfiniteMatroid/Basic.lean
- Command line
-
hf download hf://datasets/roseking/openAI-math-dataset/lean/OAI/Combinatorics/InfiniteMatroid/Basic.lean
-
curl -L -o Basic.lean https://huggingface.co/datasets/roseking/openAI-math-dataset/resolve/main/lean/OAI/Combinatorics/InfiniteMatroid/Basic.lean
761 Bytes
| import Mathlib | |
| namespace OAI | |
| open Set Matroid | |
| namespace InfiniteMatroidCounterexample | |
| abbrev D := (m : ℕ) × ((Fin m → Bool) → Bool) | |
| abbrev E0 := D × Bool | |
| abbrev E := ℤ × D | |
| def contractOnto {α : Type*} (M : Matroid α) (C : Set α) : Matroid α := | |
| (M.dual ↾ C).dual | |
| def HasPackingCovering {α : Type*} (M₀ M₁ : Matroid α) : Prop := | |
| ∃ P C S₀ S₁ I₀ I₁ : Set α, | |
| Disjoint P C ∧ P ∪ C = M₀.E ∧ M₁.E = M₀.E ∧ | |
| S₀ ⊆ P ∧ S₁ ⊆ P ∧ Disjoint S₀ S₁ ∧ | |
| (M₀ ↾ P).Spanning S₀ ∧ (M₁ ↾ P).Spanning S₁ ∧ | |
| I₀ ⊆ C ∧ I₁ ⊆ C ∧ | |
| (contractOnto M₀ C).Indep I₀ ∧ | |
| (contractOnto M₁ C).Indep I₁ ∧ I₀ ∪ I₁ = C | |
| end InfiniteMatroidCounterexample | |
| end OAI | |