Buckets:
| import Mathlib.Combinatorics.Digraph.Basic | |
| import Mathlib.Data.Finset.Card | |
| import Mathlib.Data.Finset.Prod | |
| import Mathlib.Data.Finset.Powerset | |
| import Mathlib.Data.Fintype.BigOperators | |
| namespace OAI | |
| /-! Finite tournaments and the target-constant labeling condition. -/ | |
| noncomputable section | |
| open scoped Classical | |
| namespace Paper320 | |
| structure Tournament (k : ℕ) extends Digraph (Fin k) where | |
| loopless : ∀ i, ¬ Adj i i | |
| edge_compl : ∀ {i j}, i ≠ j → (Adj i j ↔ ¬ Adj j i) | |
| structure RegularTournament (M : ℕ) extends Tournament (2 * M^2 + 1) where | |
| outdegree : ∀ i, (Finset.univ.filter (Adj i)).card = M^2 | |
| structure GoodLabeling {k : ℕ} (T : Tournament k) (r : ℕ) where | |
| label : Fin k → Fin k → Fin r | |
| good : ∀ I : Finset (Fin k), I.card = 16 → ∀ m : Fin k → Fin r, | |
| ∃ i ∈ I, ∃ j ∈ I, T.Adj i j ∧ label i j ≠ m j | |
| namespace Tournament | |
| variable {k : ℕ} (T : Tournament k) | |
| theorem ne_of_adj {i j : Fin k} (h : T.Adj i j) : i ≠ j := by | |
| rintro rfl | |
| exact T.loopless i h | |
| theorem not_adj_reverse {i j : Fin k} (h : T.Adj i j) : ¬ T.Adj j i := | |
| (T.edge_compl (T.ne_of_adj h)).mp h | |
| theorem adj_or_reverse {i j : Fin k} (h : i ≠ j) : T.Adj i j ∨ T.Adj j i := by | |
| by_cases hh : T.Adj j i | |
| · exact Or.inr hh | |
| · exact Or.inl ((T.edge_compl h).mpr hh) | |
| theorem internal_sink_unique {I : Finset (Fin k)} {i j : Fin k} | |
| (hi : i ∈ I) (hj : j ∈ I) | |
| (hsi : ∀ v ∈ I, ¬ T.Adj i v) (hsj : ∀ v ∈ I, ¬ T.Adj j v) : i = j := by | |
| by_contra h | |
| rcases T.adj_or_reverse h with hh | hh | |
| · exact hsi j hj hh | |
| · exact hsj i hi hh | |
| end Tournament | |
| namespace GoodLabeling | |
| variable {k r : ℕ} {T : Tournament k} (A : GoodLabeling T r) | |
| theorem good_implies_card_lt_sixteen (I : Finset (Fin k)) (m : Fin k → Fin r) | |
| (h : ∀ i ∈ I, ∀ j ∈ I, T.Adj i j → A.label i j = m j) : I.card < 16 := by | |
| by_contra hn | |
| obtain ⟨J, hJI, hJ⟩ := Finset.exists_subset_card_eq (show 16 ≤ I.card by omega) | |
| obtain ⟨i, hi, j, hj, hij, hne⟩ := A.good J hJ m | |
| exact hne (h i (hJI hi) j (hJI hj) hij) | |
| end GoodLabeling | |
| end Paper320 | |
| end | |
| end OAI | |
Xet Storage Details
- Size:
- 2.12 kB
- Xet hash:
- ae2bfb78164ade76c26e9f244ae51651e7a999f3ddbf86825ed063f814649525
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.