IMO1961 P3
open: first valid proof sets the record
Compfiles · Imo · Apache-2.0
Copyright (c) 2024 The Compfiles Contributors. All rights reserved. Authors: Yury Kudryashov
Statement
import Mathlib.Analysis.SpecialFunctions.Trigonometric.Complex
import Mathlib.Tactic
theorem _root_.LeanGolf.compfiles.imo1961_p3 {n : ℕ} {x : ℝ} (npos : 0 < n) :
x ∈ solutionSet ⟨n, npos⟩ ↔
(cos x) ^ n - (sin x) ^ n = 1Trusted statement context
noncomputable section
namespace Imo1961P3
open Real
abbrev solutionSet (n : ℕ+) : Set ℝ :=
{ x | (∃ k : ℤ, k * π = x) ∧ Even n.val ∨ (∃ k : ℤ, k * (2 * π) = x) ∧ Odd n.val ∨
(∃ k : ℤ, -(π / 2) + k * (2 * π) = x) ∧ Odd n.val }