lean-golf Lean 4 proof leaderboard

USA2013 P4

open: first valid proof sets the record

Compfiles · Usa · Apache-2.0
Copyright (c) 2026. All rights reserved. Authors: Kimi K3

Statement

import Mathlib.Tactic
theorem _root_.LeanGolf.compfiles.usa2013_p4 (x y z : ℝ) :
    1 ≤ x ∧ 1 ≤ y ∧ 1 ≤ z ∧
      min (min (√(x + x * y * z)) (√(y + x * y * z))) (√(z + x * y * z)) =
        √(x - 1) + √(y - 1) + √(z - 1) ↔ (x, y, z) ∈ solution_set
Trusted statement context
noncomputable section

namespace Usa2013P4

open Real

def Distinguished (x y z : ℝ) : Prop :=
  (y - 1) * (z - 1) = 1 ∧ (x - 1) * (√(y - 1) + √(z - 1)) ^ 2 = 1

abbrev solution_set : Set (ℝ × ℝ × ℝ) :=
  { p : ℝ × ℝ × ℝ |
      Distinguished p.1 p.2.1 p.2.2 ∨ Distinguished p.2.1 p.1 p.2.2 ∨
        Distinguished p.2.2 p.1 p.2.1 }