lean_workbook_plus_44187
ProvedWe work backwards. Let the amount of money before entering the third store be . Then , so dollars. Similarly, the amount of money before entering the second store is dollars and the amount of money before entering the first store is dollars.
Preamble
import Mathlib.Analysis.Complex.Basic
Formal statement
theorem lean_workbook_plus_44187 (x y z : ℝ) (h₀ : x - (0.6 * x + 6) = 2) (h₁ : y - (0.5 * y + 5) = x) (h₂ : z - (0.4 * z + 4) = y) : z = 90 := by sorry
Source