IMO1963 P1
open: first valid proof sets the record
Compfiles · Imo · Apache-2.0
Copyright (c) 2024 The Compfiles Contributors. All rights reserved. Authors: Hongyu Ouyang
Statement
import Mathlib.Tactic
import Mathlib.Analysis.SpecialFunctions.Pow.Real
theorem _root_.LeanGolf.compfiles.imo1963_p1 : ∀ (p x : ℝ), (x ^ 2 - p) ≥ 0 → (x ^ 2 - 1) ≥ 0 →
(Real.sqrt (x ^ 2 - p) + 2 * Real.sqrt (x ^ 2 - 1) = x ↔ (x ∈ f p))Trusted statement context
noncomputable section
namespace Imo1963P1
noncomputable abbrev f (p : ℝ) : Set ℝ :=
if 0 ≤ p ∧ p ≤ (4 : ℝ) / 3
then { (4 - p) / (2 * Real.sqrt (4 - 2 * p)) }
else ∅