USA2006 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.Order.Ring.Star
import Mathlib.Analysis.MeanInequalities
import Mathlib
import Mathlib.NumberTheory.Real.Irrational
import Mathlib.Tactic.NormNum.Prime
theorem _root_.LeanGolf.compfiles.usa2006_p4 (n : ℕ) (hn : 0 < n) :
n ∈ SolutionSet ↔
∃ l : List ℚ, 2 ≤ l.length ∧ (∀ x ∈ l, 0 < x) ∧ l.sum = (n : ℚ) ∧
l.prod = (n : ℚ)Trusted statement context
noncomputable section
namespace Usa2006P4
abbrev SolutionSet : Set ℕ := { n | n = 4 ∨ 6 ≤ n }