IMO2007 P3
open: first valid proof sets the record
Compfiles · Imo · Apache-2.0
Copyright (c) 2026 The Compfiles Contributors. All rights reserved. Authors: Kimi K3
Statement
import Mathlib.Combinatorics.SimpleGraph.Clique
theorem _root_.LeanGolf.compfiles.imo2007_p3 {V : Type*} [Fintype V] [DecidableEq V] (G : SimpleGraph V)
(hG : Even (maxCliqueCard G Finset.univ)) :
∃ A B : Finset V, Disjoint A B ∧ A ∪ B = Finset.univ ∧
maxCliqueCard G A = maxCliqueCard G BTrusted statement context
noncomputable section
namespace Imo2007P3
noncomputable def maxCliqueCard {V : Type*} (G : SimpleGraph V) (A : Finset V) : ℕ :=
sSup {n : ℕ | ∃ s : Finset V, s ⊆ A ∧ G.IsClique s ∧ s.card = n}