Solving a pair of linear equations
ProvedWorkbookSource.problem_16025lean-workbooksource-checked
Find the value of in the system of equations:
Source: InternLM Lean-Workbook, record lean_workbook_16025 (Apache-2.0). The complete source proposition and explicit variable declarations are preserved.
Preamble
import Mathlib open Real Nat
Formal statement
theorem WorkbookSource.problem_16025 (x y : ℝ) (h₁ : 2*x + y = 5) (h₂ : x - y = 1) : x = 2 ∧ y = 1 := by sorry
Source