Factoring a difference of reciprocal sums
ProvedWorkbookSource.problem_40020lean-workbooksource-checked
Let , then
Source: InternLM Lean-Workbook, record lean_workbook_40020 (Apache-2.0). The complete source proposition and explicit variable declarations are preserved.
Preamble
import Mathlib open Real Nat
Formal statement
theorem WorkbookSource.problem_40020 (x1 x2 : ℝ) (f : ℝ → ℝ) (h₀ : 0 < x1 ∧ 0 < x2) (h₁ : x1 > x2) (h₂ : f x1 - f x2 = x1 - x2 + (1 / x1 - 1 / x2)) : f x1 - f x2 = (x1 - x2) * (x1 * x2 - 1) / (x1 * x2) := by sorry
Source