lean-golf Lean 4 proof leaderboard

IMO1969 P2

open: first valid proof sets the record

Compfiles · Imo · Apache-2.0
Copyright (c) 2023 The Compfiles Contributors. All rights reserved. Authors: Roozbeh Yousefzadeh

Statement

import Mathlib.Tactic
import Mathlib.Analysis.SpecialFunctions.Trigonometric.Complex
theorem _root_.LeanGolf.compfiles.imo1969_p2
    (x₁ x₂ : ℝ)
    (n : ℕ)
    (a : ℕ → ℝ)
    (f : ℝ → ℝ)
    (h₁ : ∀ x, f x = ∑ i ∈ Finset.range n, (Real.cos (a i + x)) / (2^i))
    (h₂ : f x₂ = 0)
    (h₃ : f x₁ = 0)
    (h₄: ∑ i ∈ Finset.range n, (Real.cos (a i) / (2 ^ i)) ≠ 0) :
    ∃ m : ℤ, x₂ - x₁ = m * π
Trusted statement context
namespace Imo1969P2

open scoped Real