lean_workbook_plus_8048
ProvedFinding the greatest value of is just like finding the maximum of , and then square rooting that. Taking the derivative, we have so and the max is , thus the max of is .
Preamble
import Mathlib.Analysis.Complex.Basic
Formal statement
theorem lean_workbook_plus_8048 (x : ℝ) (h₀ : 0 ≤ 5 - x^2) : Real.sqrt (5 - x^2) ≤ Real.sqrt 5 := by sorry
Source