Solving a natural-number equation
ProvedWorkbookSource.problem_26643lean-workbooksource-checked
Find the value of in the equation .
Source: InternLM Lean-Workbook, record lean_workbook_26643 (Apache-2.0). The complete source proposition and its explicit variable declarations are preserved.
Preamble
import Mathlib open Real Nat
Formal statement
theorem WorkbookSource.problem_26643 (x : ℕ) (h : 2 * x + 5 = 17) : x = 6 := by sorry
Source