USA1984 P2A
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.Star.Basic
import Mathlib
import Mathlib.Data.Nat.Factorization.Defs
import Mathlib.GroupTheory.GroupAction.Ring
import Mathlib.Order.Interval.Finset.Nat
import Mathlib.Tactic.LinearCombination
import Mathlib.Tactic.Ring.Basic
theorem _root_.LeanGolf.compfiles.usa1984_p2a (n : ℕ) :
if does_exist_finite then
∃ s : Finset ℕ, s.card = n ∧ (∀ x ∈ s, 0 < x) ∧
∀ t : Finset ℕ, t ⊆ s → t.Nonempty → ∃ m : ℕ, m ^ t.card = ∏ x ∈ t, x
else
¬ ∃ s : Finset ℕ, s.card = n ∧ (∀ x ∈ s, 0 < x) ∧
∀ t : Finset ℕ, t ⊆ s → t.Nonempty → ∃ m : ℕ, m ^ t.card = ∏ x ∈ t, xTrusted statement context
noncomputable section
namespace Usa1984P2
open scoped Nat
abbrev does_exist_finite : Bool := true