lean_workbook_plus_23106
ProvedWe have a system of two equations: Amount Sold Last Week Amount Sold This Week From there we get our first equation based on the fact that she sold this week six more than three times last week and our second one based on the fact that the amount sold last week and this week totals to . We transform the second equation like so: From there we plug in the newly transformed second equation into the first to get This simplifies to or Then we substitute into the second equation to get or Therefore, she sold CD's on the first week and on the second.
Preamble
import Mathlib.Analysis.Complex.Basic
Formal statement
theorem lean_workbook_plus_23106 (l t : ℕ) (h₁ : l = 3 * t + 6) (h₂ : l + t = 110) : l = 84 ∧ t = 26 := by sorry
Source