Documentation

Mathlib.Analysis.Complex.Convex

Theorems about convexity on the complex plane #

We show that the open and closed half-spaces in ℂ given by an inequality on either the real or imaginary part are all convex over ℝ. We also prove some results on star-convexity for the slit plane.

A version of convexHull_prod for Set.reProdIm.

The slit plane is star-convex at a positive number.

The slit plane is star-shaped at a positive real number.

The slit plane is star-shaped at 1.

theorem Complex.isConnected_of_upperHalfPlane {r : ℝ} {s : Set ℂ} (hs₁ : {z : ℂ | r < z.im} ⊆ s) (hs₂ : s ⊆ {z : ℂ | r ≤ z.im}) :
theorem Complex.isConnected_of_lowerHalfPlane {r : ℝ} {s : Set ℂ} (hs₁ : {z : ℂ | z.im < r} ⊆ s) (hs₂ : s ⊆ {z : ℂ | z.im ≤ r}) :
theorem Complex.rectangle_eq_convexHull (z w : ℂ) :
z.Rectangle w = (convexHull ℝ) {z, ↑z.re + ↑w.im * I, ↑w.re + ↑z.im * I, w}
theorem Complex.Convex.rectangle_subset {U : Set ℂ} (U_convex : Convex ℝ U) {z w : ℂ} (hz : z ∈ U) (hw : w ∈ U) (hzw : ↑z.re + ↑w.im * I ∈ U) (hwz : ↑w.re + ↑z.im * I ∈ U) :
z.Rectangle w ⊆ U

If opposite corners of a rectangle are contained in a convex set, the whole rectangle is.