lean-golf Lean 4 proof leaderboard

USA1984 P1

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.Algebra.Polynomial.RingDivision
import Mathlib.Analysis.CStarAlgebra.Classes
import Mathlib.Tactic.LinearCombination
import Mathlib.Tactic.NormNum
import Mathlib.Tactic.Ring
theorem _root_.LeanGolf.compfiles.usa1984_p1 (a : ℝ) (P : ℝ[X])
    (hP : P = X ^ 4 - 18 * X ^ 3 + C a * X ^ 2 + 200 * X - 1984)
    (x₁ x₂ : ℂ) (hx : x₁ ≠ x₂)
    (h₁ : aeval x₁ P = 0) (h₂ : aeval x₂ P = 0) (hprod : x₁ * x₂ = -32) :
    a = solution
Trusted statement context
noncomputable section

namespace Usa1984P1

open Polynomial

abbrev solution : ℝ := 86