lean-golf Lean 4 proof leaderboard

IMO1978 P6

open: first valid proof sets the record

Compfiles · Imo · Apache-2.0
Copyright (c) 2025 The Compfiles Contributors. All rights reserved. Authors: InternLM-MATH LEAN Formalizer v0.1, Constantin Seebach

Statement

import Mathlib
theorem _root_.LeanGolf.compfiles.imo1978_p6 (C : Finset.Icc 1 1978 → Fin 6) :
  ∃ j i k, C i = C j ∧ C j = C k ∧ i.val + k.val = j.val
Trusted statement context
noncomputable section

namespace Imo1978P6

variable {M N : ℕ}

abbrev Name : Type := Finset.Icc 1 M

variable (C : @Name M → Fin N)