lean-golf Lean 4 proof leaderboard

USA1995 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.Algebra.Order.Ring.Star
import Mathlib
import Mathlib.LinearAlgebra.Lagrange
import Mathlib.Tactic.LinearCombination
import Mathlib.Tactic.LinearCombination.Lemmas
import Mathlib.Tactic.Ring.Compare
theorem _root_.LeanGolf.compfiles.usa1995_p4 (a : ℕ → ℤ)
    (hdiv : ∀ n m : ℕ, ((n : ℤ) - (m : ℤ)) ∣ a n - a m)
    (hp : ∃ p : ℤ[X], ∀ n : ℕ, p.eval (n : ℤ) > |a n|) :
    ∃ q : ℚ[X], ∀ n : ℕ, q.eval (n : ℚ) = (a n : ℚ)
Trusted statement context
namespace Usa1995P4

open Polynomial