lean_workbook_plus_63253
ProvedIf you have something like , you have to solve and consider when and when . This is what twinbrian did when he set and .
Preamble
import Mathlib.Analysis.Complex.Basic
Formal statement
theorem lean_workbook_plus_63253 (x : ℝ) (h₀ : abs (x^2 + 2 * x - 4) = 4) : x^2 + 2 * x - 4 = 4 ∨ x^2 + 2 * x - 4 = -4 := by sorry
Source