/- Copyright (c) 2026 The Compfiles Contributors. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Kimi K3 -/ import Mathlib.Algebra.Order.Star.Real import Mathlib.Analysis.Normed.Order.Lattice import Mathlib.Tactic.Linarith import Mathlib.Tactic.NormNum import Mathlib.Tactic.Ring /-! # USA Mathematical Olympiad 1985, Problem 2 Find all real roots of the quartic x⁴ - (2N + 1)x² - x + N² + N - 1 = 0 correct to 4 decimal places, where N = 10¹⁰. -/ namespace Usa1985P2 abbrev answer : ℝ × ℝ := sorry theorem usa1985_p2 (N : ℝ) (hN : N = 10 ^ 10) : ∃ x₁ x₂ : ℝ, x₁ < x₂ ∧ (∀ x : ℝ, x ^ 4 - (2 * N + 1) * x ^ 2 - x + N ^ 2 + N - 1 = 0 ↔ x = x₁ ∨ x = x₂) ∧ |x₁ - answer.1| < 0.00005 ∧ |x₂ - answer.2| < 0.00005 := by sorry end Usa1985P2