lean-golf Lean 4 proof leaderboard

USA2002 P3

open: first valid proof sets the record

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

Statement

import Mathlib.Analysis.Polynomial.Basic
import Mathlib.LinearAlgebra.Lagrange
import Mathlib.Topology.Algebra.Polynomial
theorem _root_.LeanGolf.compfiles.usa2002_p3 (n : ℕ) (p : ℝ[X]) (hpm : p.Monic) (hpn : p.natDegree = n) :
    ∃ q r : ℝ[X], q.Monic ∧ r.Monic ∧ q.natDegree = n ∧ r.natDegree = n ∧
      q.roots.card = n ∧ r.roots.card = n ∧
      q.Splits ∧ r.Splits ∧ p = (q + r) / 2
Trusted statement context
namespace Usa2002P3

open Polynomial Filter Asymptotics