lean-golf Lean 4 proof leaderboard

Putnam 1993 A4

open: first valid proof sets the record

PutnamBench · 1993 A4 · Apache-2.0
PutnamBench contributors (Tsoukalas et al.).

Statement

import Mathlib
theorem LeanGolf.putnambench.putnam_1993_a4
  (x : Fin 19 → ℤ)
  (y : Fin 93 → ℤ)
  (hx : ∀ i, 0 < x i ∧ x i ≤ 93)
  (hy : ∀ j, 0 < y j ∧ y j ≤ 19) :
  ∃ (is : Finset (Fin 19)) (js : Finset (Fin 93)),
    is ≠ ∅ ∧ (∑ i : is, x i) = (∑ j : js, y j)