Documentation

PrimeNumberTheoremAnd.ResidueCalcOnRectangles

noncomputable def HIntegral {E : Type u_1} [NormedAddCommGroup E] [NormedSpace ℂ E] (f : ℂ → E) (x₁ x₂ y : ℝ) :
E
Equations
Instances For
    Inspect dependencies

    HIntegral · compiled type and proof/definition references.

    noncomputable def VIntegral {E : Type u_1} [NormedAddCommGroup E] [NormedSpace ℂ E] (f : ℂ → E) (x y₁ y₂ : ℝ) :
    E
    Equations
    Instances For
      Inspect dependencies

      VIntegral · compiled type and proof/definition references.

      noncomputable def HIntegral' {E : Type u_1} [NormedAddCommGroup E] [NormedSpace ℂ E] (f : ℂ → E) (x₁ x₂ y : ℝ) :
      E
      Equations
      Instances For
        Inspect dependencies

        HIntegral' · compiled type and proof/definition references.

        noncomputable def VIntegral' {E : Type u_1} [NormedAddCommGroup E] [NormedSpace ℂ E] (f : ℂ → E) (x y₁ y₂ : ℝ) :
        E
        Equations
        Instances For
          Inspect dependencies

          VIntegral' · compiled type and proof/definition references.

          theorem HIntegral_symm {E : Type u_1} [NormedAddCommGroup E] [NormedSpace ℂ E] {f : ℂ → E} {x₁ x₂ y : ℝ} :
          HIntegral f x₁ x₂ y = -HIntegral f x₂ x₁ y
          Inspect dependencies

          HIntegral_symm · compiled type and proof/definition references.

          theorem VIntegral_symm {E : Type u_1} [NormedAddCommGroup E] [NormedSpace ℂ E] {f : ℂ → E} {x y₁ y₂ : ℝ} :
          VIntegral f x y₁ y₂ = -VIntegral f x y₂ y₁
          Inspect dependencies

          VIntegral_symm · compiled type and proof/definition references.

          noncomputable def RectangleIntegral {E : Type u_1} [NormedAddCommGroup E] [NormedSpace ℂ E] (f : ℂ → E) (z w : ℂ) :
          E

          A RectangleIntegral of a function f is one over a rectangle determined by z and w in ℂ.

          Equations
          Instances For
            Inspect dependencies

            RectangleIntegral · compiled type and proof/definition references.

            @[reducible, inline]
            noncomputable abbrev RectangleIntegral' {E : Type u_1} [NormedAddCommGroup E] [NormedSpace ℂ E] (f : ℂ → E) (z w : ℂ) :
            E

            A RectangleIntegral' of a function f is one over a rectangle determined by z and w in ℂ, divided by 2 * π * I.

            Equations
            Instances For
              Inspect dependencies

              RectangleIntegral' · compiled type and proof/definition references.

              noncomputable def UpperUIntegral {E : Type u_1} [NormedAddCommGroup E] [NormedSpace ℂ E] (f : ℂ → E) (σ σ' T : ℝ) :
              E
              Equations
              Instances For
                Inspect dependencies

                UpperUIntegral · compiled type and proof/definition references.

                noncomputable def LowerUIntegral {E : Type u_1} [NormedAddCommGroup E] [NormedSpace ℂ E] (f : ℂ → E) (σ σ' T : ℝ) :
                E
                Equations
                Instances For
                  Inspect dependencies

                  LowerUIntegral · compiled type and proof/definition references.

                  noncomputable def VerticalIntegral {E : Type u_1} [NormedAddCommGroup E] [NormedSpace ℂ E] (f : ℂ → E) (σ : ℝ) :
                  E
                  Equations
                  Instances For
                    Inspect dependencies

                    VerticalIntegral · compiled type and proof/definition references.

                    @[reducible, inline]
                    noncomputable abbrev VerticalIntegral' {E : Type u_1} [NormedAddCommGroup E] [NormedSpace ℂ E] (f : ℂ → E) (σ : ℝ) :
                    E
                    Equations
                    Instances For
                      Inspect dependencies

                      VerticalIntegral' · compiled type and proof/definition references.

                      theorem verticalIntegral_split_three {E : Type u_1} [NormedAddCommGroup E] [NormedSpace ℂ E] {f : ℂ → E} {σ : ℝ} (a b : ℝ) (hf : MeasureTheory.Integrable (fun (t : ℝ) => f (↑σ + ↑t * Complex.I)) MeasureTheory.volume) :
                      VerticalIntegral f σ = (Complex.I • ∫ (t : ℝ) in Set.Iic a, f (↑σ + ↑t * Complex.I)) + VIntegral f σ a b + Complex.I • ∫ (t : ℝ) in Set.Ici b, f (↑σ + ↑t * Complex.I)
                      Inspect dependencies

                      verticalIntegral_split_three · compiled type and proof/definition references.

                      theorem DiffVertRect_eq_UpperLowerUs {E : Type u_1} [NormedAddCommGroup E] [NormedSpace ℂ E] {f : ℂ → E} {σ σ' T : ℝ} (f_int_σ : MeasureTheory.Integrable (fun (t : ℝ) => f (↑σ + ↑t * Complex.I)) MeasureTheory.volume) (f_int_σ' : MeasureTheory.Integrable (fun (t : ℝ) => f (↑σ' + ↑t * Complex.I)) MeasureTheory.volume) :
                      VerticalIntegral f σ' - VerticalIntegral f σ - RectangleIntegral f (↑σ - Complex.I * ↑T) (↑σ' + Complex.I * ↑T) = UpperUIntegral f σ σ' T - LowerUIntegral f σ σ' T
                      Inspect dependencies

                      DiffVertRect_eq_UpperLowerUs · compiled type and proof/definition references.

                      @[reducible, inline]
                      abbrev HolomorphicOn {E : Type u_1} [NormedAddCommGroup E] [NormedSpace ℂ E] (f : ℂ → E) (s : Set ℂ) :

                      A function is HolomorphicOn a set if it is complex differentiable on that set.

                      Equations
                      Instances For
                        Inspect dependencies

                        HolomorphicOn · compiled type and proof/definition references.

                        theorem existsDifferentiableOn_of_bddAbove {E : Type u_1} [NormedAddCommGroup E] [NormedSpace ℂ E] {f : ℂ → E} [CompleteSpace E] {s : Set ℂ} {c : ℂ} (hc : s ∈ nhds c) (hd : HolomorphicOn f (s \ {c})) (hb : BddAbove (norm ∘ f '' (s \ {c}))) :
                        ∃ (g : ℂ → E), HolomorphicOn g s ∧ Set.EqOn f g (s \ {c})
                        Inspect dependencies

                        existsDifferentiableOn_of_bddAbove · compiled type and proof/definition references.

                        theorem HolomorphicOn.vanishesOnRectangle {E : Type u_1} [NormedAddCommGroup E] [NormedSpace ℂ E] {f : ℂ → E} {z w : ℂ} [CompleteSpace E] {U : Set ℂ} (f_holo : HolomorphicOn f U) (hU : z.Rectangle w ⊆ U) :
                        Inspect dependencies

                        HolomorphicOn.vanishesOnRectangle · compiled type and proof/definition references.

                        theorem RectangleIntegral_congr {E : Type u_1} [NormedAddCommGroup E] [NormedSpace ℂ E] {f g : ℂ → E} {z w : ℂ} (h : Set.EqOn f g (RectangleBorder z w)) :
                        Inspect dependencies

                        RectangleIntegral_congr · compiled type and proof/definition references.

                        theorem RectangleIntegral'_congr {E : Type u_1} [NormedAddCommGroup E] [NormedSpace ℂ E] {f g : ℂ → E} {z w : ℂ} (h : Set.EqOn f g (RectangleBorder z w)) :
                        Inspect dependencies

                        RectangleIntegral'_congr · compiled type and proof/definition references.

                        Inspect dependencies

                        rectangleIntegral_symm · compiled type and proof/definition references.

                        theorem rectangleIntegral_symm_re {E : Type u_1} [NormedAddCommGroup E] [NormedSpace ℂ E] (f : ℂ → E) (z w : ℂ) :
                        RectangleIntegral f (↑w.re + ↑z.im * Complex.I) (↑z.re + ↑w.im * Complex.I) = -RectangleIntegral f z w
                        Inspect dependencies

                        rectangleIntegral_symm_re · compiled type and proof/definition references.

                        def RectangleBorderIntegrable {E : Type u_1} [NormedAddCommGroup E] (f : ℂ → E) (z w : ℂ) :
                        Equations
                        Instances For
                          Inspect dependencies

                          RectangleBorderIntegrable · compiled type and proof/definition references.

                          Inspect dependencies

                          RectangleBorderIntegrable.add · compiled type and proof/definition references.

                          Inspect dependencies

                          ContinuousOn.rectangleBorder_integrable · compiled type and proof/definition references.

                          Inspect dependencies

                          ContinuousOn.rectangleBorderIntegrable · compiled type and proof/definition references.

                          theorem ContinuousOn.rectangleBorderNoPIntegrable {E : Type u_1} [NormedAddCommGroup E] {f : ℂ → E} {z w p : ℂ} (hf : ContinuousOn f (z.Rectangle w \ {p})) (pNotOnBorder : p ∉ RectangleBorder z w) :
                          Inspect dependencies

                          ContinuousOn.rectangleBorderNoPIntegrable · compiled type and proof/definition references.

                          Inspect dependencies

                          HolomorphicOn.rectangleBorderIntegrable' · compiled type and proof/definition references.

                          Inspect dependencies

                          HolomorphicOn.rectangleBorderIntegrable · compiled type and proof/definition references.

                          theorem RectangleIntegralHSplit {E : Type u_1} [NormedAddCommGroup E] [NormedSpace ℂ E] {f : ℂ → E} {a x₀ x₁ y₀ y₁ : ℝ} (f_int_x₀_a_bot : IntervalIntegrable (fun (x : ℝ) => f (↑x + ↑y₀ * Complex.I)) MeasureTheory.volume x₀ a) (f_int_a_x₁_bot : IntervalIntegrable (fun (x : ℝ) => f (↑x + ↑y₀ * Complex.I)) MeasureTheory.volume a x₁) (f_int_x₀_a_top : IntervalIntegrable (fun (x : ℝ) => f (↑x + ↑y₁ * Complex.I)) MeasureTheory.volume x₀ a) (f_int_a_x₁_top : IntervalIntegrable (fun (x : ℝ) => f (↑x + ↑y₁ * Complex.I)) MeasureTheory.volume a x₁) :
                          RectangleIntegral f (↑x₀ + ↑y₀ * Complex.I) (↑x₁ + ↑y₁ * Complex.I) = RectangleIntegral f (↑x₀ + ↑y₀ * Complex.I) (↑a + ↑y₁ * Complex.I) + RectangleIntegral f (↑a + ↑y₀ * Complex.I) (↑x₁ + ↑y₁ * Complex.I)

                          Given x₀ a x₁ : ℝ, and y₀ y₁ : ℝ and a function f : ℂ → ℂ so that both (t : ℝ) ↦ f(t + y₀ * I) and (t : ℝ) ↦ f(t + y₁ * I) are integrable over both t ∈ Icc x₀ a and t ∈ Icc a x₁, we have that RectangleIntegral f (x₀ + y₀ * I) (x₁ + y₁ * I) is the sum of RectangleIntegral f (x₀ + y₀ * I) (a + y₁ * I) and RectangleIntegral f (a + y₀ * I) (x₁ + y₁ * I).

                          Inspect dependencies

                          RectangleIntegralHSplit · compiled type and proof/definition references.

                          theorem RectangleIntegralHSplit' {E : Type u_1} [NormedAddCommGroup E] [NormedSpace ℂ E] {f : ℂ → E} {a x₀ x₁ y₀ y₁ : ℝ} (ha : a ∈ Set.uIcc x₀ x₁) (hf : RectangleBorderIntegrable f (↑x₀ + ↑y₀ * Complex.I) (↑x₁ + ↑y₁ * Complex.I)) :
                          RectangleIntegral f (↑x₀ + ↑y₀ * Complex.I) (↑x₁ + ↑y₁ * Complex.I) = RectangleIntegral f (↑x₀ + ↑y₀ * Complex.I) (↑a + ↑y₁ * Complex.I) + RectangleIntegral f (↑a + ↑y₀ * Complex.I) (↑x₁ + ↑y₁ * Complex.I)
                          Inspect dependencies

                          RectangleIntegralHSplit' · compiled type and proof/definition references.

                          theorem RectangleIntegralVSplit {E : Type u_1} [NormedAddCommGroup E] [NormedSpace ℂ E] {f : ℂ → E} {b x₀ x₁ y₀ y₁ : ℝ} (f_int_y₀_b_left : IntervalIntegrable (fun (y : ℝ) => f (↑x₀ + ↑y * Complex.I)) MeasureTheory.volume y₀ b) (f_int_b_y₁_left : IntervalIntegrable (fun (y : ℝ) => f (↑x₀ + ↑y * Complex.I)) MeasureTheory.volume b y₁) (f_int_y₀_b_right : IntervalIntegrable (fun (y : ℝ) => f (↑x₁ + ↑y * Complex.I)) MeasureTheory.volume y₀ b) (f_int_b_y₁_right : IntervalIntegrable (fun (y : ℝ) => f (↑x₁ + ↑y * Complex.I)) MeasureTheory.volume b y₁) :
                          RectangleIntegral f (↑x₀ + ↑y₀ * Complex.I) (↑x₁ + ↑y₁ * Complex.I) = RectangleIntegral f (↑x₀ + ↑y₀ * Complex.I) (↑x₁ + ↑b * Complex.I) + RectangleIntegral f (↑x₀ + ↑b * Complex.I) (↑x₁ + ↑y₁ * Complex.I)
                          Inspect dependencies

                          RectangleIntegralVSplit · compiled type and proof/definition references.

                          theorem RectangleIntegralVSplit' {E : Type u_1} [NormedAddCommGroup E] [NormedSpace ℂ E] {f : ℂ → E} {b x₀ x₁ y₀ y₁ : ℝ} (hb : b ∈ Set.uIcc y₀ y₁) (hf : RectangleBorderIntegrable f (↑x₀ + ↑y₀ * Complex.I) (↑x₁ + ↑y₁ * Complex.I)) :
                          RectangleIntegral f (↑x₀ + ↑y₀ * Complex.I) (↑x₁ + ↑y₁ * Complex.I) = RectangleIntegral f (↑x₀ + ↑y₀ * Complex.I) (↑x₁ + ↑b * Complex.I) + RectangleIntegral f (↑x₀ + ↑b * Complex.I) (↑x₁ + ↑y₁ * Complex.I)
                          Inspect dependencies

                          RectangleIntegralVSplit' · compiled type and proof/definition references.

                          theorem RectanglePullToNhdOfPole' {E : Type u_1} [NormedAddCommGroup E] [NormedSpace ℂ E] {f : ℂ → E} [CompleteSpace E] {z₀ z₁ z₂ z₃ p : ℂ} (h_orientation : z₀.re ≤ z₃.re ∧ z₀.im ≤ z₃.im ∧ z₁.re ≤ z₂.re ∧ z₁.im ≤ z₂.im) (hp : z₁.Rectangle z₂ ∈ nhds p) (hz : z₁.Rectangle z₂ ⊆ z₀.Rectangle z₃) (fHolo : HolomorphicOn f (z₀.Rectangle z₃ \ {p})) :
                          RectangleIntegral f z₀ z₃ = RectangleIntegral f z₁ z₂
                          Inspect dependencies

                          RectanglePullToNhdOfPole' · compiled type and proof/definition references.

                          theorem RectanglePullToNhdOfPole {E : Type u_1} [NormedAddCommGroup E] [NormedSpace ℂ E] {f : ℂ → E} [CompleteSpace E] {z w p : ℂ} (zRe_lt_wRe : z.re ≤ w.re) (zIm_lt_wIm : z.im ≤ w.im) (hp : z.Rectangle w ∈ nhds p) (fHolo : HolomorphicOn f (z.Rectangle w \ {p})) :
                          ∀ᶠ (c : ℝ) in nhdsWithin 0 (Set.Ioi 0), RectangleIntegral f z w = RectangleIntegral f (-↑c - Complex.I * ↑c + p) (↑c + Complex.I * ↑c + p)

                          Given f holomorphic on a rectangle z and w except at a point p, the integral of f over the rectangle with corners z and w is the same as the integral of f over a small square centered at p.

                          Inspect dependencies

                          RectanglePullToNhdOfPole · compiled type and proof/definition references.

                          theorem RectanglePullToNhdOfPole'' {E : Type u_1} [NormedAddCommGroup E] [NormedSpace ℂ E] {f : ℂ → E} [CompleteSpace E] {z w p : ℂ} (zRe_le_wRe : z.re ≤ w.re) (zIm_le_wIm : z.im ≤ w.im) (pInRectInterior : z.Rectangle w ∈ nhds p) (fHolo : HolomorphicOn f (z.Rectangle w \ {p})) :
                          ∀ᶠ (c : ℝ) in nhdsWithin 0 (Set.Ioi 0), RectangleIntegral' f z w = RectangleIntegral' f (-↑c - Complex.I * ↑c + p) (↑c + Complex.I * ↑c + p)
                          Inspect dependencies

                          RectanglePullToNhdOfPole'' · compiled type and proof/definition references.

                          Inspect dependencies

                          ResidueTheoremAtOrigin_aux1c · compiled type and proof/definition references.

                          Inspect dependencies

                          ResidueTheoremAtOrigin_aux1c' · compiled type and proof/definition references.

                          theorem ResidueTheoremAtOrigin_aux2c (a b : ℝ) :
                          have f := fun (y : ℝ) => (1 + ↑y * Complex.I)⁻¹; IntervalIntegrable f MeasureTheory.volume a b
                          Inspect dependencies

                          ResidueTheoremAtOrigin_aux2c · compiled type and proof/definition references.

                          theorem ResidueTheoremAtOrigin_aux2c' (a b : ℝ) :
                          have f := fun (y : ℝ) => (-1 + ↑y * Complex.I)⁻¹; IntervalIntegrable f MeasureTheory.volume a b
                          Inspect dependencies

                          ResidueTheoremAtOrigin_aux2c' · compiled type and proof/definition references.

                          theorem RectangleIntegral.const_smul {E : Type u_1} [NormedAddCommGroup E] [NormedSpace ℂ E] (f : ℂ → E) (z w c : ℂ) :
                          RectangleIntegral (fun (s : ℂ) => c • f s) z w = c • RectangleIntegral f z w
                          Inspect dependencies

                          RectangleIntegral.const_smul · compiled type and proof/definition references.

                          theorem RectangleIntegral.const_mul' {E : Type u_1} [NormedAddCommGroup E] [NormedSpace ℂ E] (f : ℂ → E) (z w c : ℂ) :
                          RectangleIntegral' (fun (s : ℂ) => c • f s) z w = c • RectangleIntegral' f z w
                          Inspect dependencies

                          RectangleIntegral.const_mul' · compiled type and proof/definition references.

                          theorem RectangleIntegral.translate {E : Type u_1} [NormedAddCommGroup E] [NormedSpace ℂ E] (f : ℂ → E) (z w p : ℂ) :
                          RectangleIntegral (fun (s : ℂ) => f (s - p)) z w = RectangleIntegral f (z - p) (w - p)
                          Inspect dependencies

                          RectangleIntegral.translate · compiled type and proof/definition references.

                          theorem RectangleIntegral.translate' {E : Type u_1} [NormedAddCommGroup E] [NormedSpace ℂ E] (f : ℂ → E) (z w p : ℂ) :
                          RectangleIntegral' (fun (s : ℂ) => f (s - p)) z w = RectangleIntegral' f (z - p) (w - p)
                          Inspect dependencies

                          RectangleIntegral.translate' · compiled type and proof/definition references.

                          theorem Complex.inv_re_add_im {x y : ℝ} :
                          (↑x + ↑y * I)⁻¹ = (↑x - I * ↑y) / (↑x ^ 2 + ↑y ^ 2)
                          Inspect dependencies

                          Complex.inv_re_add_im · compiled type and proof/definition references.

                          theorem sq_add_sq_ne_zero {x y : ℝ} (hy : y ≠ 0) :
                          x ^ 2 + y ^ 2 ≠ 0
                          Inspect dependencies

                          sq_add_sq_ne_zero · compiled type and proof/definition references.

                          theorem continuous_self_div_sq_add_sq {y : ℝ} (hy : y ≠ 0) :
                          Continuous fun (x : ℝ) => x / (x ^ 2 + y ^ 2)
                          Inspect dependencies

                          continuous_self_div_sq_add_sq · compiled type and proof/definition references.

                          theorem integral_self_div_sq_add_sq {x₁ x₂ y : ℝ} (hy : y ≠ 0) :
                          ∫ (x : ℝ) in x₁..x₂, x / (x ^ 2 + y ^ 2) = Real.log (x₂ ^ 2 + y ^ 2) / 2 - Real.log (x₁ ^ 2 + y ^ 2) / 2
                          Inspect dependencies

                          integral_self_div_sq_add_sq · compiled type and proof/definition references.

                          theorem integral_const_div_sq_add_sq {x₁ x₂ y : ℝ} (hy : y ≠ 0) :
                          ∫ (x : ℝ) in x₁..x₂, y / (x ^ 2 + y ^ 2) = Real.arctan (x₂ / y) - Real.arctan (x₁ / y)
                          Inspect dependencies

                          integral_const_div_sq_add_sq · compiled type and proof/definition references.

                          theorem integral_const_div_self_add_im {A : ℂ} {x₁ x₂ y : ℝ} (hy : y ≠ 0) :
                          ∫ (x : ℝ) in x₁..x₂, A / (↑x + ↑y * Complex.I) = A * (↑(Real.log (x₂ ^ 2 + y ^ 2)) / 2 - ↑(Real.log (x₁ ^ 2 + y ^ 2)) / 2) - A * Complex.I * (↑(Real.arctan (x₂ / y)) - ↑(Real.arctan (x₁ / y)))
                          Inspect dependencies

                          integral_const_div_self_add_im · compiled type and proof/definition references.

                          theorem integral_const_div_re_add_self {A : ℂ} {x y₁ y₂ : ℝ} (hx : x ≠ 0) :
                          ∫ (y : ℝ) in y₁..y₂, A / (↑x + ↑y * Complex.I) = A / Complex.I * (↑(Real.log (y₂ ^ 2 + (-x) ^ 2)) / 2 - ↑(Real.log (y₁ ^ 2 + (-x) ^ 2)) / 2) - A / Complex.I * Complex.I * (↑(Real.arctan (y₂ / -x)) - ↑(Real.arctan (y₁ / -x)))
                          Inspect dependencies

                          integral_const_div_re_add_self · compiled type and proof/definition references.

                          theorem ResidueTheoremAtOrigin' {z w c : ℂ} (h1 : z.re < 0) (h2 : z.im < 0) (h3 : 0 < w.re) (h4 : 0 < w.im) :
                          RectangleIntegral (fun (s : ℂ) => c / s) z w = 2 * Complex.I * ↑Real.pi * c
                          Inspect dependencies

                          ResidueTheoremAtOrigin' · compiled type and proof/definition references.

                          theorem ResidueTheoremInRectangle {z w p c : ℂ} (zRe_le_wRe : z.re ≤ w.re) (zIm_le_wIm : z.im ≤ w.im) (pInRectInterior : z.Rectangle w ∈ nhds p) :
                          RectangleIntegral' (fun (s : ℂ) => c / (s - p)) z w = c
                          Inspect dependencies

                          ResidueTheoremInRectangle · compiled type and proof/definition references.

                          Inspect dependencies

                          ResidueTheoremAtOrigin · compiled type and proof/definition references.

                          theorem ResidueTheoremOnRectangleWithSimplePole {f g : ℂ → ℂ} {z w p A : ℂ} (zRe_le_wRe : z.re ≤ w.re) (zIm_le_wIm : z.im ≤ w.im) (pInRectInterior : z.Rectangle w ∈ nhds p) (gHolo : HolomorphicOn g (z.Rectangle w)) (principalPart : Set.EqOn (f - fun (s : ℂ) => A / (s - p)) g (z.Rectangle w \ {p})) :
                          Inspect dependencies

                          ResidueTheoremOnRectangleWithSimplePole · compiled type and proof/definition references.

                          theorem IsBigO_to_BddAbove {f : ℂ → ℂ} {p : ℂ} (f_near_p : f =O[nhdsWithin p {p}ᶜ] 1) :
                          ∃ U ∈ nhds p, BddAbove (norm ∘ f '' (U \ {p}))
                          Inspect dependencies

                          IsBigO_to_BddAbove · compiled type and proof/definition references.

                          theorem BddAbove_on_rectangle_of_bdd_near {z w p : ℂ} {f : ℂ → ℂ} (f_cont : ContinuousOn f (z.Rectangle w \ {p})) (f_near_p : f =O[nhdsWithin p {p}ᶜ] 1) :
                          Inspect dependencies

                          BddAbove_on_rectangle_of_bdd_near · compiled type and proof/definition references.

                          theorem ResidueTheoremOnRectangleWithSimplePole' {f : ℂ → ℂ} {z w p A : ℂ} (zRe_le_wRe : z.re ≤ w.re) (zIm_le_wIm : z.im ≤ w.im) (pInRectInterior : z.Rectangle w ∈ nhds p) (fHolo : HolomorphicOn f (z.Rectangle w \ {p})) (near_p : (f - fun (s : ℂ) => A / (s - p)) =O[nhdsWithin p {p}ᶜ] 1) :
                          Inspect dependencies

                          ResidueTheoremOnRectangleWithSimplePole' · compiled type and proof/definition references.

                          Residue calculus: residues, simple poles, and the rectangle residue theorem #

                          The simple-pole residue, sumResiduesIn, the HasSimplePolesOn scaffold, and the rectangle residue theorem RectangleIntegral'_eq_sumResiduesIn. Extracted from CH2.lean as general, reusable contour-integration lemmas (see issue #1537).

                          def HasSimplePolesOn (f : ℂ → ℂ) (s : Set ℂ) :

                          Every pole of f in s is at most simple: the meromorphic order is ≥ -1 everywhere on s (no poles of order ≤ -2).

                          Temporary scaffold. The placeholder residue below (and Mathlib's current residue-theorem API) is only correct for simple poles, so this hypothesis is added to Lemma 5.1 / Proposition 5.2 and their sub-lemmas to make them provable with the present API. It holds in the intended applications (e.g. ζ'/ζ, whose poles are all simple) and is to be removed once Mathlib gains general higher-order residue support.

                          Equations
                          Instances For
                            Inspect dependencies

                            HasSimplePolesOn · compiled type and proof/definition references.

                            theorem HasSimplePolesOn.mono {f : ℂ → ℂ} {s t : Set ℂ} (h : HasSimplePolesOn f t) (hst : s ⊆ t) :
                            Inspect dependencies

                            HasSimplePolesOn.mono · compiled type and proof/definition references.

                            noncomputable def residue (f : ℂ → ℂ) (z₀ : ℂ) :

                            Placeholder definition — valid only for simple poles. The residue of f at z₀, defined as the simple-pole limit lim_{z → z₀} (z - z₀) · f z (matching the convention of Phi_circ.residue / Phi_star.residue). At a point of analyticity this is 0 and at a simple pole it is the usual residue, but at a higher-order or essential singularity the limit diverges and this returns a junk value.

                            A general complex residue (and the residue theorem) is planned for Mathlib but not yet available, so results stated in terms of this residue are likely not provable in full generality with the current API. This is a deliberate stopgap, to be replaced with the robust notion once the Mathlib residue-theorem API lands.

                            Equations
                            Instances For
                              Inspect dependencies

                              residue · compiled type and proof/definition references.

                              noncomputable def sumResiduesIn (f : ℂ → ℂ) (S : Set ℂ) :

                              The sum of residues of f over a region S, as a tsum over S. Points of analyticity contribute 0, so this is effectively the sum over the poles of f in S; when finitely many poles lie in S the tsum equals the finite sum of their residues, regardless of |S|. (With infinitely many poles, summability must be assumed for the value to be meaningful.)

                              Equations
                              Instances For
                                Inspect dependencies

                                sumResiduesIn · compiled type and proof/definition references.

                                theorem residue_eq_of_tendsto {f : ℂ → ℂ} {p c : ℂ} (h : Filter.Tendsto (fun (z : ℂ) => (z - p) * f z) (nhdsWithin p {p}ᶜ) (nhds c)) :
                                residue f p = c
                                Inspect dependencies

                                residue_eq_of_tendsto · compiled type and proof/definition references.

                                theorem residue_analyticAt_eq_zero {f : ℂ → ℂ} {p : ℂ} (hf : AnalyticAt ℂ f p) :
                                residue f p = 0
                                Inspect dependencies

                                residue_analyticAt_eq_zero · compiled type and proof/definition references.

                                theorem simplePole_sub_residue_isBigO_one {f : ℂ → ℂ} {p : ℂ} (hf : MeromorphicAt f p) (hord : meromorphicOrderAt f p = ↑(-1)) :
                                (f - fun (z : ℂ) => residue f p / (z - p)) =O[nhdsWithin p {p}ᶜ] 1
                                Inspect dependencies

                                simplePole_sub_residue_isBigO_one · compiled type and proof/definition references.

                                Inspect dependencies

                                verticalPath_not_eventuallyConst · compiled type and proof/definition references.

                                theorem RectangleIntegral'_eq_sumResiduesIn {f : ℂ → ℂ} {z w : ℂ} (zRe_le_wRe : z.re ≤ w.re) (zIm_le_wIm : z.im ≤ w.im) (f_mero : MeromorphicOn f (z.Rectangle w)) (f_no_poles_boundary : Disjoint (RectangleBorder z w) {z : ℂ | meromorphicOrderAt f z < 0}) (f_poles_finite : (z.Rectangle w ∩ {z : ℂ | meromorphicOrderAt f z < 0}).Finite) (f_simple_poles : HasSimplePolesOn f (z.Rectangle w)) :

                                The Residue Theorem on a rectangle for functions with simple poles.

                                Inspect dependencies

                                RectangleIntegral'_eq_sumResiduesIn · compiled type and proof/definition references.

                                theorem residue_eq_zero_of_not_pole_of_meromorphicAt {F : ℂ → ℂ} {s : ℂ} (hs_mero : MeromorphicAt F s) (hs_not_pole : 0 ≤ meromorphicOrderAt F s) :
                                residue F s = 0
                                Inspect dependencies

                                residue_eq_zero_of_not_pole_of_meromorphicAt · compiled type and proof/definition references.

                                theorem sumResiduesIn_inter_eq_of_set_eq {F : ℂ → ℂ} {Rn S2 P : Set ℂ} (h_set_eq : Rn ∩ P = S2 ∩ P) (h_residue_zero : ∀ s ∈ S2, s ∉ P → residue F s = 0) :
                                Inspect dependencies

                                sumResiduesIn_inter_eq_of_set_eq · compiled type and proof/definition references.