IMO1961 P1B
open: first valid proof sets the record
Compfiles · Imo · Apache-2.0
Copyright (c) 2020 David Renshaw. All rights reserved. Authors: David Renshaw, Roozbeh Yousefzadeh
Statement
import Mathlib.Tactic
theorem _root_.LeanGolf.compfiles.imo1961_p1b (a b x y z : ℝ) (h₀ : IsSolution a b x y z) :
⟨a,b⟩ ∈ ab_that_make_xyz_positive_distinct ↔
(0 < x ∧ 0 < y ∧ 0 < z ∧ [x,y,z].Nodup)Trusted statement context
noncomputable section
namespace Imo1961P1
abbrev IsSolution (a b x y z : ℝ) : Prop :=
x + y + z = a ∧
x^2 + y^2 + z^2 = b^2 ∧
x * y = z^2
abbrev ab_that_make_xyz_positive_distinct : Set (ℝ × ℝ) :=
{ q | let ⟨a,b⟩ := q
0 < a ∧ b^2 < a^2 ∧ a^2 < 3 * b ^ 2 }