Solving a product equation for its second variable
ProvedWorkbookSource.problem_16851lean-workbooksource-checked
Combine all the fractions to get:
.
Solving for gives:
.
Source: InternLM Lean-Workbook, record lean_workbook_16851 (Apache-2.0). The complete source proposition and explicit variable declarations are preserved.
Preamble
import Mathlib open Real Nat
Formal statement
theorem WorkbookSource.problem_16851 (x y : ℝ) (h₀ : x ≠ 1) (h₁ : x * y ≠ 0) (h₂ : (x - 1) * y = x * x + 1) : y = (x * x + 1) / (x - 1) := by sorry
Source