lean-golf Lean 4 proof leaderboard

USA1990 P2

open: first valid proof sets the record

Compfiles · Usa · Apache-2.0
Copyright (c) 2023 David Renshaw. All rights reserved. Authors: David Renshaw

Statement

import Mathlib.Tactic
theorem _root_.LeanGolf.compfiles.usa1990_p2 (n : ℕ) (x : ℝ) : x ∈ solution_set n ↔ f n x = 2 * x
Trusted statement context
noncomputable section

namespace Usa1990P2

noncomputable def f : ℕ → ℝ → ℝ
|     0, _ => 8
| n + 1, x => Real.sqrt (x^2 + 6 * f n x)

abbrev solution_set (n : ℕ) : Set ℝ := { 4 }