Order_is_Preserved_on_Positive_Reals_by_Squaring
Provedanalysisinequalitiesproofwiki
For non-negative reals x, y: x < y iff x^2 < y^2.
Preamble
import Mathlib.Analysis.Complex.Basic
Formal statement
theorem Order_is_Preserved_on_Positive_Reals_by_Squaring (x y : ℝ) (hx : 0 ≤ x) (hy : 0 ≤ y) : x < y ↔ x ^ 2 < y ^ 2 := by sorry
Source