A floor and fractional-part equation has no positive solution
ProvedWorkbookSource.problem_2274lean-workbooksource-checked
Prove that there's no real positive solutions for
Source: InternLM Lean-Workbook, record lean_workbook_2274 (Apache-2.0). The complete source proposition and explicit variable declarations are preserved.
Preamble
import Mathlib open Real Nat
Formal statement
theorem WorkbookSource.problem_2274 (x : ℝ) (hx : 0 < x): ¬ (x + 2022 = Int.floor x * (x - Int.floor x)) := by sorry
Source