lean_workbook_plus_18570
ProvedSolve , and get .9-x^2 has a maximum at x=0, where the function is 3. It has a minimum when x=-3,3, and the function is o. So the domain is [-3,3] and the range is [0,3]
Preamble
import Mathlib.Analysis.Complex.Basic
Formal statement
theorem lean_workbook_plus_18570 (x : ℝ) (h₀ : 9 - x^2 ≥ 0) : -3 ≤ x ∧ x ≤ 3 := by sorry
Source