@@ -71,7 +71,8 @@ set_option backward.isDefEq.respectTransparency false in
7171If a function `f : ℂ → ℝ` is harmonic on an open ball, then `f` is the real part of a function
7272`F : ℂ → ℂ` that is holomorphic on the ball.
7373-/
74- theorem harmonic_is_realOfHolomorphic {z : ℂ} {R : ℝ} (hf : HarmonicOnNhd f (ball z R)) :
74+ theorem InnerProductSpace.HarmonicOnNhd.exists_analyticOnNhd_ball_re_eq {z : ℂ} {R : ℝ}
75+ (hf : HarmonicOnNhd f (ball z R)) :
7576 ∃ F : ℂ → ℂ, (AnalyticOnNhd ℂ F (ball z R)) ∧ ((ball z R).EqOn (fun z ↦ (F z).re) f) := by
7677 by_cases hR : R ≤ 0
7778 · simp [ball_eq_empty.2 hR]
@@ -102,11 +103,15 @@ theorem harmonic_is_realOfHolomorphic {z : ℂ} {R : ℝ} (hf : HarmonicOnNhd f
102103 simp [HasDerivAt.deriv (hF.2 y hy), g]
103104 all_goals simp_all
104105
106+ @ [deprecated (since := "2026-03-03" )]
107+ alias harmonic_is_realOfHolomorphic :=
108+ InnerProductSpace.HarmonicOnNhd.exists_analyticOnNhd_ball_re_eq
109+
105110set_option backward.isDefEq.respectTransparency false in
106111/--
107112If a function `f : ℂ → ℝ` is harmonic, then `f` is the real part of a holomorphic function.
108113-/
109- theorem InnerProductSpace.harmonic_is_realOfHolomorphic_univ {f : ℂ → ℝ}
114+ theorem InnerProductSpace.HarmonicOnNhd.exists_analyticOnNhd_univ_re_eq {f : ℂ → ℝ}
110115 (hf : HarmonicOnNhd f univ) :
111116 ∃ F : ℂ → ℂ, (AnalyticOnNhd ℂ F univ) ∧ ((fun z ↦ (F z).re) = f) := by
112117 let g := ofRealCLM ∘ (fderiv ℝ f · 1 ) - I • ofRealCLM ∘ (fderiv ℝ f · I)
@@ -132,13 +137,18 @@ theorem InnerProductSpace.harmonic_is_realOfHolomorphic_univ {f : ℂ → ℝ}
132137 · simp
133138 all_goals simp_all
134139
140+ @ [deprecated (since := "2026-03-03" )]
141+ alias InnerProductSpace.harmonic_is_realOfHolomorphic_univ :=
142+ InnerProductSpace.HarmonicOnNhd.exists_analyticOnNhd_univ_re_eq
143+
135144set_option backward.isDefEq.respectTransparency false in
136145/-
137146Harmonic functions are real analytic.
138147TODO: Prove this for harmonic functions on an arbitrary f.d. inner product space (not just on `ℂ`).
139148-/
140149theorem HarmonicAt.analyticAt (hf : HarmonicAt f x) : AnalyticAt ℝ f x := by
141150 obtain ⟨ε, h₁ε, h₂ε⟩ := isOpen_iff.1 (isOpen_setOf_harmonicAt (f := f)) x hf
142- obtain ⟨F, h₁F, h₂F⟩ := harmonic_is_realOfHolomorphic (fun _ hy ↦ h₂ε hy)
151+ obtain ⟨F, h₁F, h₂F⟩ := InnerProductSpace.HarmonicOnNhd.exists_analyticOnNhd_ball_re_eq
152+ (fun _ hy ↦ h₂ε hy)
143153 rw [analyticAt_congr (Filter.eventually_of_mem (ball_mem_nhds x h₁ε) (fun y hy ↦ h₂F.symm hy))]
144154 exact (reCLM.analyticAt (F x)).comp (h₁F x (mem_ball_self h₁ε)).restrictScalars
0 commit comments