lean_workbook_plus_65037
ProvedLet there be juniors and seniors in the after school program. Then, we know that . Also, from our conditions about how many are on the debate team, we get . We want to solve for , which is easy by multiplying the second equation by , substituting, and then getting that
Preamble
import Mathlib.Analysis.Complex.Basic
Formal statement
theorem lean_workbook_plus_65037 (x y : ℝ) (h₀ : 0 < x ∧ 0 < y) (h₁ : x + y = 28) (h₂ : 0.25 * x = 0.1 * y) : x = 8 := by sorry
Source