lean-golf Lean 4 proof leaderboard

USA1978 P5

open: first valid proof sets the record

Compfiles · Usa · Apache-2.0
Copyright (c) 2026 The Compfiles Contributors. All rights reserved. Authors: Kimi K3

Statement

import Mathlib.AlgebraicTopology.SimplexCategory.Basic
theorem _root_.LeanGolf.compfiles.usa1978_p5 {L : Type*} (speaks : Fin 9 → Finset L)
    (hthree : ∀ d : Fin 9, (speaks d).card ≤ 3)
    (hpair : ∀ a b c : Fin 9, a ≠ b → a ≠ c → b ≠ c →
      Share speaks a b ∨ Share speaks b c ∨ Share speaks a c) :
    ∃ a b c : Fin 9, a ≠ b ∧ a ≠ c ∧ b ≠ c ∧
      ∃ l : L, l ∈ speaks a ∧ l ∈ speaks b ∧ l ∈ speaks c
Trusted statement context
noncomputable section

namespace Usa1978P5

abbrev Share {L : Type*} (speaks : Fin 9 → Finset L) (a b : Fin 9) : Prop :=
  ∃ l : L, l ∈ speaks a ∧ l ∈ speaks b

open Classical