Shared Infrastructure for Winding Weight Computations #
Common helpers used across the ρ, ρ+1, and i winding weight proofs: trigonometric identities, old-style segment selectors, the unified arc formula, and FTC lemmas for log-derivative integrals.
theorem
ftc_log_piece
{g h : ℝ → ℂ}
{a b : ℝ}
(hab : a ≤ b)
(hh_cont : ContinuousOn h (Set.Icc a b))
(hh_diff : ∀ t ∈ Set.Ioo a b, DifferentiableAt ℝ h t)
(hh_deriv_cont : ContinuousOn (deriv h) (Set.Icc a b))
(hh_slit : ∀ t ∈ Set.Icc a b, h t ∈ Complex.slitPlane)
(heq : ∀ t ∈ Set.Ioo a b, g t = h t ∧ deriv g t = deriv h t)
(heq_a : g a = h a)
(heq_b : g b = h b)
:
IntervalIntegrable (fun (t : ℝ) => deriv g t / g t) MeasureTheory.volume a b ∧ ∫ (t : ℝ) in a..b, deriv g t / g t = Complex.log (g b) - Complex.log (g a)
theorem
ftc_log_piece_upper
{g h : ℝ → ℂ}
{a b : ℝ}
(hab : a ≤ b)
(hh_cont : ContinuousOn h (Set.Icc a b))
(hh_diff : ∀ t ∈ Set.Ioo a b, DifferentiableAt ℝ h t)
(hh_deriv_cont : ContinuousOn (deriv h) (Set.Icc a b))
(hh_im_nn : ∀ t ∈ Set.Icc a b, 0 ≤ (h t).im)
(hh_ne : ∀ t ∈ Set.Icc a b, h t ≠ 0)
(hh_slit_interior : ∀ t ∈ Set.Ioo a b, h t ∈ Complex.slitPlane)
(heq : ∀ t ∈ Set.Ioo a b, g t = h t ∧ deriv g t = deriv h t)
(heq_a : g a = h a)
(heq_b : g b = h b)
:
IntervalIntegrable (fun (t : ℝ) => deriv g t / g t) MeasureTheory.volume a b ∧ ∫ (t : ℝ) in a..b, deriv g t / g t = Complex.log (g b) - Complex.log (g a)
theorem
ftc_log_piece_lower
{g h : ℝ → ℂ}
{a b : ℝ}
(hab : a ≤ b)
(hh_cont : ContinuousOn h (Set.Icc a b))
(hh_diff : ∀ t ∈ Set.Ioo a b, DifferentiableAt ℝ h t)
(hh_deriv_cont : ContinuousOn (deriv h) (Set.Icc a b))
(hh_im_np : ∀ t ∈ Set.Icc a b, (h t).im ≤ 0)
(hh_ne : ∀ t ∈ Set.Icc a b, h t ≠ 0)
(hh_im_neg_interior : ∀ t ∈ Set.Ioo a b, (h t).im < 0)
(heq : ∀ t ∈ Set.Ioo a b, g t = h t ∧ deriv g t = deriv h t)
(heq_a : g a = h a)
(heq_b : g b = h b)
:
IntervalIntegrable (fun (t : ℝ) => deriv g t / g t) MeasureTheory.volume a b ∧ ∫ (t : ℝ) in a..b, deriv g t / g t = Complex.log (-g b) - Complex.log (-g a)
theorem
ftc_piece_of_hasDerivAt
{g h : ℝ → ℂ}
{a b : ℝ}
{d : ℝ → ℂ}
(hab : a ≤ b)
(hd : ∀ (t : ℝ), HasDerivAt h (d t) t)
(hd_cont : Continuous d)
(hg_eq : ∀ (t : ℝ), a ≤ t → t ≤ b → g t = h t)
(hg_eq_nhds : ∀ t ∈ Set.Ioo a b, g =ᶠ[nhds t] h)
(hh_slit : ∀ t ∈ Set.Icc a b, h t ∈ Complex.slitPlane)
:
IntervalIntegrable (fun (t : ℝ) => deriv g t / g t) MeasureTheory.volume a b ∧ ∫ (t : ℝ) in a..b, deriv g t / g t = Complex.log (g b) - Complex.log (g a)
FTC piece helper: given HasDerivAt h d t for all t, g = h on [a,b],
and h t ∈ slitPlane, get integrability + ∫ g'/g = log(g(b)) - log(g(a)).
theorem
ftc_piece_upper_of_hasDerivAt
{g h : ℝ → ℂ}
{a b : ℝ}
{d : ℝ → ℂ}
(hab : a ≤ b)
(hd : ∀ (t : ℝ), HasDerivAt h (d t) t)
(hd_cont : Continuous d)
(hg_eq : ∀ (t : ℝ), a ≤ t → t ≤ b → g t = h t)
(hg_eq_nhds : ∀ t ∈ Set.Ioo a b, g =ᶠ[nhds t] h)
(hh_im_nn : ∀ t ∈ Set.Icc a b, 0 ≤ (h t).im)
(hh_ne : ∀ t ∈ Set.Icc a b, h t ≠ 0)
(hh_slit_int : ∀ t ∈ Set.Ioo a b, h t ∈ Complex.slitPlane)
:
IntervalIntegrable (fun (t : ℝ) => deriv g t / g t) MeasureTheory.volume a b ∧ ∫ (t : ℝ) in a..b, deriv g t / g t = Complex.log (g b) - Complex.log (g a)
FTC piece variant for upper half-plane (im ≥ 0).