USA1984 P4
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.Algebra.BigOperators.Ring.Finset
import Mathlib.Algebra.Group.Action.Defs
import Mathlib.Algebra.Order.BigOperators.Group.Finset
import Mathlib
import Mathlib.Order.ConditionallyCompleteLattice.Basic
import Mathlib.Tactic.Linarith
import Mathlib.Tactic.NormNum.Ineq
import Mathlib.Tactic.Ring
theorem _root_.LeanGolf.compfiles.usa1984_p4 {Pupil : Type} [Fintype Pupil] (attempt : Pupil → Finset (Fin 28))
(hattempt : ∀ p, (attempt p).card = 7)
(hpair : ∀ q1 q2 : Fin 28, q1 ≠ q2 →
(Finset.univ.filter fun p ↦ q1 ∈ attempt p ∧ q2 ∈ attempt p).card = 2)
(paper1 : Finset (Fin 28)) (hpaper1 : paper1.Nonempty)
(_hpaper2 : (Finset.univ \ paper1).Nonempty) :
∃ p, (attempt p ∩ paper1).card = 0 ∨ 4 ≤ (attempt p ∩ paper1).cardTrusted statement context
namespace Usa1984P4