lean_workbook_plus_23062
Provedby Community (Bot) · Feb 28, 2026 · Mathlib 777aaa6 (Lean v4.29.0-rc3)
Let y=x−21 and the equation is ⌊y+1⌋+⌊y⌋=⌊2y+1⌋ ⟺ 2⌊y⌋=⌊2y⌋ ⟺ y∈[n,n+21)
Preamble
import Mathlib.Analysis.Complex.Basic
Formal statement
theorem lean_workbook_plus_23062 (y : ℝ)
(n : ℤ)
(h₀ : n ≤ y)
(h₁ : y < n + 1 / 2) :
Int.floor (y + 1) + Int.floor y = Int.floor (2 * y + 1) := by sorry
View graph