Combining two rational terms involving a natural power
ProvedWorkbookSource.problem_19563lean-workbooksource-checked
Prove that:
Source: InternLM Lean-Workbook, record lean_workbook_19563 (Apache-2.0). The complete source proposition and explicit variable declarations are preserved.
Preamble
import Mathlib open Real Nat
Formal statement
theorem WorkbookSource.problem_19563 (n : ℕ) (hn : n ≠ 0) : (n : ℝ) / (n + 1) - (n : ℝ) / ((n + 1) * n ^ n) = (n * (n ^ n - 1)) / (n ^ n * (n + 1)) := by sorry
Source