IMO2008 P3
open: first valid proof sets the record
Compfiles · Imo · Apache-2.0
Copyright (c) 2021 Manuel Candales. All rights reserved. Authors: Manuel Candales
Statement
import Mathlib
import Mathlib.Data.Nat.Prime.Basic
import Mathlib.NumberTheory.PrimesCongruentOne
import Mathlib.NumberTheory.LegendreSymbol.QuadraticReciprocity
import Mathlib.Tactic.LinearCombination
theorem _root_.LeanGolf.compfiles.imo2008_p3 : ∀ N : ℕ, ∃ n : ℕ, n ≥ N ∧
∃ p : ℕ, Nat.Prime p ∧ p ∣ n ^ 2 + 1 ∧ (p : ℝ) > 2 * n + sqrt (2 * n)Trusted statement context
open Real
namespace Imo2008P3