USA2016 P1
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.Order.Ring.Star
import Mathlib.AlgebraicTopology.SimplexCategory.Basic
import Mathlib.Data.Fin.VecNotation
import Mathlib.Data.Fintype.Powerset
theorem _root_.LeanGolf.compfiles.usa2016_p1 : IsLeast {n | HasChain n} solution_valueTrusted statement context
noncomputable section
namespace Usa2016P1
open Finset
def HasChain (n : ℕ) : Prop :=
∃ X : Fin 100 → Finset (Fin n),
(∀ i, (X i).Nonempty) ∧
(∀ i j, X i = X j → i = j) ∧
∀ i : Fin 99, Disjoint (X i.castSucc) (X i.succ) ∧
X i.castSucc ∪ X i.succ ≠ univ
abbrev solution_value : ℕ := 8