lean-golf Lean 4 proof leaderboard

IMO1972 P1

open: first valid proof sets the record

Compfiles · Imo · Apache-2.0
Contributors to cwang-brai/imo (Google).

Statement

import Mathlib
theorem LeanGolf.compfiles.imo1972_p1 (S : Finset ℕ) (h₀ : S.card = 10) (h₁ : S ⊆ Finset.Ico 10 100) :
    ∃ S₁ S₂ : Finset ℕ,
      -- while the text says "subset", it appears to mean "nonempty subset"
      S₁.Nonempty ∧ S₁ ⊆ S ∧
      S₂.Nonempty ∧ S₂ ⊆ S ∧
      Disjoint S₁ S₂ ∧ ∑ x ∈ S₁, x = ∑ x ∈ S₂, x