import OAI.Analysis.CircleDomains.Reflection.ModulusBoundaryContinuation namespace OAI /-! The lower modulus bound in the logarithm argument is automatic locally from the actual boundary trace. -/ open Set Function Filter Metric Complex open scoped Topology noncomputable section namespace CircleDomainRigidity lemma exists_local_holomorphic_continuation_of_modulus_trace {R : ℝ} {f : ℂ → ℂ} (hR : 0 ‖f z‖) (𝓝[upperSemidisk R] p) (𝓝 1)) : ∃ (V : Set ℂ) (F : ℂ → ℂ), IsOpen V ∧ (0:ℂ)∈V ∧ V⊆ball 0 R ∧ DifferentiableOn ℂ F V ∧ EqOn F f (V∩{z : ℂ | 0 ‖f z‖) (𝓝[upperSemidisk r] p) (𝓝 1) := by intro p hp hp0 exact (htrace p (hp.trans hrR) hp0).mono_left (nhdsWithin_mono p (upperSemidisk_mono hrR)) obtain ⟨V,F,hV,h0,hVr,hFd,hFe⟩ := exists_holomorphic_continuation_of_modulus_trace hr (by norm_num : (0:ℝ)<1/2) (by norm_num : (1/2:ℝ)≤1) (hd.mono (upperSemidisk_mono hrR)) hlower (fun z hz => hupper z (upperSemidisk_mono hrR hz)) htr exact ⟨V,F,hV,h0,hVr.trans (ball_subset_ball (by linarith)),hFd,hFe⟩ end CircleDomainRigidity end end OAI