/-- The Hales-Jewett theorem. This version has a restriction on universe levels which is necessary [...] 2014261 /-- The Hales-Jewett theorem. This version has a restriction on universe levels which is necessary [...];intro α _ ihα κ _ [...] 40 /-- The Hales-Jewett theorem. This version has a restriction on universe levels which is necessary [...];intro α _ ihα κ _ [...];intro α _ ihα κ _ [...] 53904 /-- The Hales-Jewett theorem. This version has a restriction on universe levels which is necessary [...];intro α _ ihα κ _ [...];intro α _ ihα κ _ [...];suffices key : [...] 211 /-- The Hales-Jewett theorem. This version has a restriction on universe levels which is necessary [...];intro α _ ihα κ _ [...];intro α _ ihα κ _ [...];suffices key : [...];expected type: , term 5 /-- The Hales-Jewett theorem. This version has a restriction on universe levels which is necessary [...];intro α _ ihα κ _ [...];intro α _ ihα κ _ [...];suffices key : [...];expected type: , term;expected type: , term 93 /-- The Hales-Jewett theorem. This version has a restriction on universe levels which is necessary [...];intro α _ ihα κ _ [...];intro α _ ihα κ _ [...];suffices key : [...];expected type: , term;expected type: , term;expected type: Prop, term 6 /-- The Hales-Jewett theorem. This version has a restriction on universe levels which is necessary [...];intro α _ ihα κ _ [...];intro α _ ihα κ _ [...];suffices key : [...];expected type: , term;expected type: , term;expected type: Prop, term;expected type: Prop, term 50 /-- The Hales-Jewett theorem. This version has a restriction on universe levels which is necessary [...];intro α _ ihα κ _ [...];intro α _ ihα κ _ [...];suffices key : [...];expected type: , term;expected type: , term;expected type: Prop, term;expected type: Prop, term;expected type: Type → Prop, term 5 /-- The Hales-Jewett theorem. This version has a restriction on universe levels which is necessary [...];intro α _ ihα κ _ [...];intro α _ ihα κ _ [...];suffices key : [...];expected type: , term;expected type: , term;expected type: Prop, term;expected type: Prop, term;expected type: Type → Prop, term;expected type: Type → Prop, term 41 /-- The Hales-Jewett theorem. This version has a restriction on universe levels which is necessary [...];intro α _ ihα κ _ [...];intro α _ ihα κ _ [...];suffices key : [...];expected type: , term;expected type: , term;expected type: Prop, term;expected type: Prop, term;expected type: Type → Prop, term;expected type: Type → Prop, term;expected type: Prop, term 72 /-- The Hales-Jewett theorem. This version has a restriction on universe levels which is necessary [...];intro α _ ihα κ _ [...];intro α _ ihα κ _ [...];suffices key : [...];expected type: , term;expected type: , term;expected type: Prop, term;expected type: Prop, term;expected type: Type → Prop, term;expected type: Type → Prop, term;expected type: Prop, term;expected type: Fintype ι → Prop, term 4 /-- The Hales-Jewett theorem. This version has a restriction on universe levels which is necessary [...];intro α _ ihα κ _ [...];intro α _ ihα κ _ [...];suffices key : [...];expected type: , term;expected type: , term;expected type: Prop, term;expected type: Prop, term;expected type: Type → Prop, term;expected type: Type → Prop, term;expected type: Prop, term;expected type: Fintype ι → Prop, term;expected type: Fintype ι → Prop, term 107 /-- The Hales-Jewett theorem. This version has a restriction on universe levels which is necessary [...];intro α _ ihα κ _ [...];intro α _ ihα κ _ [...];suffices key : [...];expected type: , term;expected type: , term;expected type: Prop, term;expected type: Prop, term;expected type: Type → Prop, term;expected type: Type → Prop, term;expected type: Prop, term;expected type: Fintype ι → Prop, term;expected type: Fintype ι → Prop, term;expected type: Prop, term 4 /-- The Hales-Jewett theorem. This version has a restriction on universe levels which is necessary [...];intro α _ ihα κ _ [...];intro α _ ihα κ _ [...];suffices key : [...];expected type: , term;expected type: , term;expected type: Prop, term;expected type: Prop, term;expected type: Type → Prop, term;expected type: Type → Prop, term;expected type: Prop, term;expected type: Fintype ι → Prop, term;expected type: Fintype ι → Prop, term;expected type: Prop, term;expected type: Prop, term 101 /-- The Hales-Jewett theorem. This version has a restriction on universe levels which is necessary [...];intro α _ ihα κ _ [...];intro α _ ihα κ _ [...];suffices key : [...];expected type: , term;expected type: , term;expected type: Prop, term;expected type: Prop, term;expected type: Type → Prop, term;expected type: Type → Prop, term;expected type: Prop, term;expected type: Fintype ι → Prop, term;expected type: Fintype ι → Prop, term;expected type: Prop, term;expected type: Prop, term;expected type: Prop, term 7 /-- The Hales-Jewett theorem. This version has a restriction on universe levels which is necessary [...];intro α _ ihα κ _ [...];intro α _ ihα κ _ [...];suffices key : [...];expected type: , term;expected type: , term;expected type: Prop, term;expected type: Prop, term;expected type: Type → Prop, term;expected type: Type → Prop, term;expected type: Prop, term;expected type: Fintype ι → Prop, term;expected type: Fintype ι → Prop, term;expected type: Prop, term;expected type: Prop, term;expected type: Prop, term;expected type: Prop, term 269 /-- The Hales-Jewett theorem. This version has a restriction on universe levels which is necessary [...];intro α _ ihα κ _ [...];intro α _ ihα κ _ [...];suffices key : [...];expected type: , term;expected type: , term;expected type: Prop, term;expected type: Prop, term;expected type: Type → Prop, term;expected type: Type → Prop, term;expected type: Prop, term;expected type: Fintype ι → Prop, term;expected type: Fintype ι → Prop, term;expected type: Prop, term;expected type: Prop, term;expected type: Prop, term;expected type: Prop, term;expected type: Prop, term 4 /-- The Hales-Jewett theorem. This version has a restriction on universe levels which is necessary [...];intro α _ ihα κ _ [...];intro α _ ihα κ _ [...];suffices key : [...];expected type: , term;expected type: , term;expected type: Prop, term;expected type: Prop, term;expected type: Type → Prop, term;expected type: Type → Prop, term;expected type: Prop, term;expected type: Fintype ι → Prop, term;expected type: Fintype ι → Prop, term;expected type: Prop, term;expected type: Prop, term;expected type: Prop, term;expected type: Prop, term;expected type: Prop, term;expected type: Prop, term 4 /-- The Hales-Jewett theorem. This version has a restriction on universe levels which is necessary [...];intro α _ ihα κ _ [...];intro α _ ihα κ _ [...];suffices key : [...];expected type: , term;expected type: , term;expected type: Prop, term;expected type: Prop, term;expected type: Type → Prop, term;expected type: Type → Prop, term;expected type: Prop, term;expected type: Fintype ι → Prop, term;expected type: Fintype ι → Prop, term;expected type: Prop, term;expected type: Prop, term;expected type: Prop, term;expected type: Prop, term;expected type: Prop, term;expected type: Prop, term;expected type: Prop, term 52 /-- The Hales-Jewett theorem. This version has a restriction on universe levels which is necessary [...];intro α _ ihα κ _ [...];intro α _ ihα κ _ [...];suffices key : [...];expected type: , term;expected type: , term;expected type: Prop, term;expected type: Prop, term;expected type: Type → Prop, term;expected type: Type → Prop, term;expected type: Prop, term;expected type: Fintype ι → Prop, term;expected type: Fintype ι → Prop, term;expected type: Prop, term;expected type: Prop, term;expected type: Prop, term;expected type: Prop, term;expected type: Prop, term;expected type: Prop, term;expected type: Prop, term;expected type: Combinatorics.Line.ColorFocused C → Prop, term 4 /-- The Hales-Jewett theorem. This version has a restriction on universe levels which is necessary [...];intro α _ ihα κ _ [...];intro α _ ihα κ _ [...];suffices key : [...];expected type: , term;expected type: , term;expected type: Prop, term;expected type: Prop, term;expected type: Type → Prop, term;expected type: Type → Prop, term;expected type: Prop, term;expected type: Fintype ι → Prop, term;expected type: Fintype ι → Prop, term;expected type: Prop, term;expected type: Prop, term;expected type: Prop, term;expected type: Prop, term;expected type: Prop, term;expected type: Prop, term;expected type: Prop, term;expected type: Combinatorics.Line.ColorFocused C → Prop, term;expected type: Combinatorics.Line.ColorFocused C → Prop, term 174 /-- The Hales-Jewett theorem. This version has a restriction on universe levels which is necessary [...];intro α _ ihα κ _ [...];intro α _ ihα κ _ [...];suffices key : [...];expected type: , term;expected type: , term;expected type: Prop, term;expected type: Prop, term;expected type: Type → Prop, term;expected type: Type → Prop, term;expected type: Prop, term;expected type: Fintype ι → Prop, term;expected type: Fintype ι → Prop, term;expected type: Prop, term;expected type: Prop, term;expected type: Prop, term;expected type: Prop, term;expected type: Prop, term;expected type: Prop, term;expected type: Prop, term;expected type: Combinatorics.Line.ColorFocused C → Prop, term;expected type: Combinatorics.Line.ColorFocused C → Prop, term;expected type: Prop, term 7 /-- The Hales-Jewett theorem. This version has a restriction on universe levels which is necessary [...];intro α _ ihα κ _ [...];intro α _ ihα κ _ [...];suffices key : [...];expected type: , term;expected type: , term;expected type: Prop, term;expected type: Prop, term;expected type: Type → Prop, term;expected type: Type → Prop, term;expected type: Prop, term;expected type: Fintype ι → Prop, term;expected type: Fintype ι → Prop, term;expected type: Prop, term;expected type: Prop, term;expected type: Prop, term;expected type: Prop, term;expected type: Prop, term;expected type: Prop, term;expected type: Prop, term;expected type: Combinatorics.Line.ColorFocused C → Prop, term;expected type: Combinatorics.Line.ColorFocused C → Prop, term;expected type: Prop, term;expected type: Prop, term 112 /-- The Hales-Jewett theorem. This version has a restriction on universe levels which is necessary [...];intro α _ ihα κ _ [...];intro α _ ihα κ _ [...];suffices key : [...];expected type: , term;expected type: , term;expected type: Prop, term;expected type: Prop, term;expected type: Type → Prop, term;expected type: Type → Prop, term;expected type: Prop, term;expected type: Fintype ι → Prop, term;expected type: Fintype ι → Prop, term;expected type: Prop, term;expected type: Prop, term;expected type: Prop, term;expected type: Prop, term;expected type: Prop, term;expected type: Prop, term;expected type: Prop, term;expected type: Combinatorics.Line.ColorFocused C → Prop, term;expected type: Combinatorics.Line.ColorFocused C → Prop, term;expected type: Prop, term;expected type: Prop, term;expected type: , term 365 /-- The Hales-Jewett theorem. This version has a restriction on universe levels which is necessary [...];intro α _ ihα κ _ [...];intro α _ ihα κ _ [...];suffices key : [...];expected type: , term;expected type: , term;expected type: Prop, term;expected type: Prop, term;expected type: Type → Prop, term;expected type: Type → Prop, term;expected type: Prop, term;expected type: Fintype ι → Prop, term;expected type: Fintype ι → Prop, term;expected type: Prop, term;expected type: Prop, term;expected type: Prop, term;expected type: Prop, term;expected type: Prop, term;expected type: Prop, term;expected type: Prop, term;expected type: Combinatorics.Line.ColorFocused C → Prop, term;expected type: Combinatorics.Line.ColorFocused C → Prop, term;expected type: Prop, term;expected type: Prop, term;expected type: , term;✅ CoeFun (Multiset ?m.8463 →+ ℕ) fun x ↦ Multiset ?m.8463 → ℕ 40374 /-- The Hales-Jewett theorem. This version has a restriction on universe levels which is necessary [...];intro α _ ihα κ _ [...];intro α _ ihα κ _ [...];· simp_rw [Multiset.mem_cons, Multiset.mem_map] [...] 97 /-- The Hales-Jewett theorem. This version has a restriction on universe levels which is necessary [...];intro α _ ihα κ _ [...];intro α _ ihα κ _ [...];· simp_rw [Multiset.mem_cons, Multiset.mem_map] [...];simp_rw [Multiset.mem_cons, Multiset.mem_map] [...] 7099 /-- The Hales-Jewett theorem. This version has a restriction on universe levels which is necessary [...];intro α _ ihα κ _ [...];intro α _ ihα κ _ [...];· simp_rw [Multiset.mem_cons, Multiset.mem_map] [...];simp_rw [Multiset.mem_cons, Multiset.mem_map] [...];simp_rw [Multiset.mem_cons, Multiset.mem_map] 16608 /-- The Hales-Jewett theorem. This version has a restriction on universe levels which is necessary [...];intro α _ ihα κ _ [...];intro α _ ihα κ _ [...];· rw [Multiset.map_cons, Multiset.map_map, Multiset.nodup_cons, Multiset.mem_map] [...] 103 /-- The Hales-Jewett theorem. This version has a restriction on universe levels which is necessary [...];intro α _ ihα κ _ [...];intro α _ ihα κ _ [...];· rw [Multiset.map_cons, Multiset.map_map, Multiset.nodup_cons, Multiset.mem_map] [...];rw [Multiset.map_cons, Multiset.map_map, Multiset.nodup_cons, Multiset.mem_map] [...] 7628 /-- The Hales-Jewett theorem. This version has a restriction on universe levels which is necessary [...];intro α _ ihα κ _ [...];intro α _ ihα κ _ [...];· rw [Multiset.map_cons, Multiset.map_map, Multiset.nodup_cons, Multiset.mem_map] [...];rw [Multiset.map_cons, Multiset.map_map, Multiset.nodup_cons, Multiset.mem_map] [...];exact ⟨fun ⟨q, hq, he⟩ => h ⟨q, hq, he⟩, s.distinct_colors⟩ 237 /-- The Hales-Jewett theorem. This version has a restriction on universe levels which is necessary [...];intro α _ ihα κ _ [...];intro α _ ihα κ _ [...];· rw [Multiset.map_cons, Multiset.map_map, Multiset.nodup_cons, Multiset.mem_map] [...];rw [Multiset.map_cons, Multiset.map_map, Multiset.nodup_cons, Multiset.mem_map] [...];exact ⟨fun ⟨q, hq, he⟩ => h ⟨q, hq, he⟩, s.distinct_colors⟩;expected type: (¬∃ a, [...], term 44 /-- The Hales-Jewett theorem. This version has a restriction on universe levels which is necessary [...];intro α _ ihα κ _ [...];intro α _ ihα κ _ [...];· rw [Multiset.map_cons, Multiset.map_map, Multiset.nodup_cons, Multiset.mem_map] [...];rw [Multiset.map_cons, Multiset.map_map, Multiset.nodup_cons, Multiset.mem_map] [...];exact ⟨fun ⟨q, hq, he⟩ => h ⟨q, hq, he⟩, s.distinct_colors⟩;expected type: (¬∃ a, [...], term;expected type: (¬∃ a, [...], term 909 /-- The Hales-Jewett theorem. This version has a restriction on universe levels which is necessary [...];intro α _ ihα κ _ [...];intro α _ ihα κ _ [...];· rw [Multiset.map_cons, Multiset.map_map, Multiset.nodup_cons, Multiset.mem_map] [...];rw [Multiset.map_cons, Multiset.map_map, Multiset.nodup_cons, Multiset.mem_map] [...];exact ⟨fun ⟨q, hq, he⟩ => h ⟨q, hq, he⟩, s.distinct_colors⟩;expected type: (¬∃ a, [...], term;expected type: (¬∃ a, [...], term;expected type: ¬∃ a, [...], term 11 /-- The Hales-Jewett theorem. This version has a restriction on universe levels which is necessary [...];intro α _ ihα κ _ [...];intro α _ ihα κ _ [...];· rw [Multiset.map_cons, Multiset.map_map, Multiset.nodup_cons, Multiset.mem_map] [...];rw [Multiset.map_cons, Multiset.map_map, Multiset.nodup_cons, Multiset.mem_map] [...];exact ⟨fun ⟨q, hq, he⟩ => h ⟨q, hq, he⟩, s.distinct_colors⟩;expected type: (¬∃ a, [...], term;expected type: (¬∃ a, [...], term;expected type: ¬∃ a, [...], term;expected type: ¬∃ a, [...], term 420 /-- The Hales-Jewett theorem. This version has a restriction on universe levels which is necessary [...];intro α _ ihα κ _ [...];intro α _ ihα κ _ [...];· rw [Multiset.map_cons, Multiset.map_map, Multiset.nodup_cons, Multiset.mem_map] [...];rw [Multiset.map_cons, Multiset.map_map, Multiset.nodup_cons, Multiset.mem_map] [...];exact ⟨fun ⟨q, hq, he⟩ => h ⟨q, hq, he⟩, s.distinct_colors⟩;expected type: (¬∃ a, [...], term;expected type: (¬∃ a, [...], term;expected type: ¬∃ a, [...], term;expected type: ¬∃ a, [...], term;expected type: False, term 18790 /-- The Hales-Jewett theorem. This version has a restriction on universe levels which is necessary [...];intro α _ ihα κ _ [...];intro α _ ihα κ _ [...];· rw [Multiset.card_cons, Multiset.card_map, sr] 15 /-- The Hales-Jewett theorem. This version has a restriction on universe levels which is necessary [...];intro α _ ihα κ _ [...];intro α _ ihα κ _ [...];· rw [Multiset.card_cons, Multiset.card_map, sr];rw [Multiset.card_cons, Multiset.card_map, sr] 4 /-- The Hales-Jewett theorem. This version has a restriction on universe levels which is necessary [...];intro α _ ihα κ _ [...];intro α _ ihα κ _ [...];· rw [Multiset.card_cons, Multiset.card_map, sr];rw [Multiset.card_cons, Multiset.card_map, sr];rw [Multiset.card_cons, Multiset.card_map, sr] 5 /-- The Hales-Jewett theorem. This version has a restriction on universe levels which is necessary [...];intro α _ ihα κ _ [...];intro α _ ihα κ _ [...];· rw [Multiset.card_cons, Multiset.card_map, sr];rw [Multiset.card_cons, Multiset.card_map, sr];rw [Multiset.card_cons, Multiset.card_map, sr];(rewrite [Multiset.card_cons, Multiset.card_map, sr]; with_annotate_state"]" (try (with_reducible rfl))) 3 /-- The Hales-Jewett theorem. This version has a restriction on universe levels which is necessary [...];intro α _ ihα κ _ [...];intro α _ ihα κ _ [...];· rw [Multiset.card_cons, Multiset.card_map, sr];rw [Multiset.card_cons, Multiset.card_map, sr];rw [Multiset.card_cons, Multiset.card_map, sr];(rewrite [Multiset.card_cons, Multiset.card_map, sr]; with_annotate_state"]" (try (with_reducible rfl)));rewrite [Multiset.card_cons, Multiset.card_map, sr]; with_annotate_state"]" (try (with_reducible rfl)) 5 /-- The Hales-Jewett theorem. This version has a restriction on universe levels which is necessary [...];intro α _ ihα κ _ [...];intro α _ ihα κ _ [...];· rw [Multiset.card_cons, Multiset.card_map, sr];rw [Multiset.card_cons, Multiset.card_map, sr];rw [Multiset.card_cons, Multiset.card_map, sr];(rewrite [Multiset.card_cons, Multiset.card_map, sr]; with_annotate_state"]" (try (with_reducible rfl)));rewrite [Multiset.card_cons, Multiset.card_map, sr]; with_annotate_state"]" (try (with_reducible rfl));rewrite [Multiset.card_cons, Multiset.card_map, sr]; with_annotate_state"]" (try (with_reducible rfl)) 589 /-- The Hales-Jewett theorem. This version has a restriction on universe levels which is necessary [...];intro α _ ihα κ _ [...];intro α _ ihα κ _ [...];· rw [Multiset.card_cons, Multiset.card_map, sr];rw [Multiset.card_cons, Multiset.card_map, sr];rw [Multiset.card_cons, Multiset.card_map, sr];(rewrite [Multiset.card_cons, Multiset.card_map, sr]; with_annotate_state"]" (try (with_reducible rfl)));rewrite [Multiset.card_cons, Multiset.card_map, sr]; with_annotate_state"]" (try (with_reducible rfl));rewrite [Multiset.card_cons, Multiset.card_map, sr]; with_annotate_state"]" (try (with_reducible rfl));rewrite [Multiset.card_cons, Multiset.card_map, sr] 53864 /-- The Hales-Jewett theorem. This version has a restriction on universe levels which is necessary [...];intro α _ ihα κ _ [...];intro α _ ihα κ _ [...];· rw [Multiset.card_cons, Multiset.card_map, sr];rw [Multiset.card_cons, Multiset.card_map, sr];rw [Multiset.card_cons, Multiset.card_map, sr];(rewrite [Multiset.card_cons, Multiset.card_map, sr]; with_annotate_state"]" (try (with_reducible rfl)));rewrite [Multiset.card_cons, Multiset.card_map, sr]; with_annotate_state"]" (try (with_reducible rfl));rewrite [Multiset.card_cons, Multiset.card_map, sr]; with_annotate_state"]" (try (with_reducible rfl));rewrite [Multiset.card_cons, Multiset.card_map, sr];✅ fun _a ↦ [...] 15124 /-- The Hales-Jewett theorem. This version has a restriction on universe levels which is necessary [...];intro α _ ihα κ _ [...];intro α _ ihα κ _ [...];· rw [Multiset.card_cons, Multiset.card_map, sr];rw [Multiset.card_cons, Multiset.card_map, sr];rw [Multiset.card_cons, Multiset.card_map, sr];(rewrite [Multiset.card_cons, Multiset.card_map, sr]; with_annotate_state"]" (try (with_reducible rfl)));rewrite [Multiset.card_cons, Multiset.card_map, sr]; with_annotate_state"]" (try (with_reducible rfl));rewrite [Multiset.card_cons, Multiset.card_map, sr]; with_annotate_state"]" (try (with_reducible rfl));rewrite [Multiset.card_cons, Multiset.card_map, sr];✅ fun _a ↦ [...] 21081 /-- The Hales-Jewett theorem. This version has a restriction on universe levels which is necessary [...];intro α _ ihα κ _ [...];intro α _ ihα κ _ [...];· rw [Multiset.card_cons, Multiset.card_map, sr];rw [Multiset.card_cons, Multiset.card_map, sr];rw [Multiset.card_cons, Multiset.card_map, sr];(rewrite [Multiset.card_cons, Multiset.card_map, sr]; with_annotate_state"]" (try (with_reducible rfl)));rewrite [Multiset.card_cons, Multiset.card_map, sr]; with_annotate_state"]" (try (with_reducible rfl));rewrite [Multiset.card_cons, Multiset.card_map, sr]; with_annotate_state"]" (try (with_reducible rfl));rewrite [Multiset.card_cons, Multiset.card_map, sr];✅ fun _a ↦ (↑Multiset.card s.lines + 1 = Nat.succ r) = (_a + 1 = Nat.succ r) 21505 /-- The Hales-Jewett theorem. This version has a restriction on universe levels which is necessary [...];typechecking declaration 17232 running linters 5507 running linters;running linter: Lean.Linter.unusedVariables 1062829 /-- The Hales-Jewett theorem: for any finite types `α` and `κ`, there exists a finite type `ι` such [...] 10368