IMO1988 P2
open: first valid proof sets the record
Compfiles · Imo · Apache-2.0
Copyright (c) 2026 The Compfiles Contributors. All rights reserved.
Statement
import Mathlib
theorem _root_.LeanGolf.compfiles.imo1988_p2 (n : ℕ) :
n ∈ SolutionSet ↔
(0 < n ∧
∀ (B : Type) [DecidableEq B] (A : Fin (2 * n + 1) → Finset B),
(∀ i, (A i).card = 2 * n) →
(∀ i j, i ≠ j → (A i ∩ A j).card = 1) →
(∀ b : B, 2 ≤ (Finset.univ.filter (fun i ↦ b ∈ A i)).card) →
∃ f : B → Fin 2, ∀ i, ((A i).filter (fun b ↦ f b = 0)).card = n)Trusted statement context
noncomputable section
namespace Imo1988P2
abbrev SolutionSet : Set ℕ := {n | 0 < n ∧ Even n}