lean_workbook_plus_38237
Provedis the nearest integer to , for large
Preamble
import Mathlib.Analysis.Complex.Basic
Formal statement
theorem lean_workbook_plus_38237 (p q : ℕ → ℕ) (n : ℕ) (h₁ : ∀ n, p n = Int.floor (q n * Real.sqrt 2)) (h₂ : ∀ n, q n * Real.sqrt 2 - p n < 1 / 2) : ∃ n, q n * Real.sqrt 2 - p n < 1 / 2 ∧ p n = Int.floor (q n * Real.sqrt 2) := by sorry
Source