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