IMO2008 P4
open: first valid proof sets the record
Compfiles · Imo · Apache-2.0
Copyright (c) 2023 Gian Sanjaya. All rights reserved. Authors: Gian Sanjaya
Statement
import Mathlib.Algebra.Order.Positive.Field
import Mathlib.Tactic
theorem _root_.LeanGolf.compfiles.imo2008_p4 (f : PosReal → PosReal) :
f ∈ solution_set ↔
∀ w x y z, w * x = y * z →
((f w)^2 + (f x)^2) * (y^2 + z^2) = (w^2 + x^2) * (f (y^2) + f (z^2))Trusted statement context
noncomputable section
namespace Imo2008P4
abbrev PosReal : Type := { x : ℝ // 0 < x }
abbrev solution_set : Set (PosReal → PosReal) := { f | f = id ∨ f = fun x ↦ 1 / x }