Update meromorphicOn_decompose.lean

This commit is contained in:
Stefan Kebekus 2024-11-08 12:00:37 +01:00
parent de501a7384
commit 4145a9ebc9
1 changed files with 26 additions and 7 deletions

View File

@ -9,6 +9,20 @@ import Nevanlinna.stronglyMeromorphicOn
open scoped Interval Topology open scoped Interval Topology
open Real Filter MeasureTheory intervalIntegral open Real Filter MeasureTheory intervalIntegral
lemma WithTopCoe
{n : WithTop } :
WithTop.map (Nat.cast : ) n = 0 → n = 0 := by
rcases n with h|h
· intro h
contradiction
· intro h₁
simp only [WithTop.map, Option.map] at h₁
have : (h : ) = 0 := by
exact WithTop.coe_eq_zero.mp h₁
have : h = 0 := by
exact Int.ofNat_eq_zero.mp this
rw [this]
rfl
theorem MeromorphicOn.decompose theorem MeromorphicOn.decompose
{f : } {f : }
@ -41,13 +55,18 @@ theorem MeromorphicOn.decompose
have A := (h₄g z hz).meromorphicAt_order have A := (h₄g z hz).meromorphicAt_order
rw [h₂g ⟨z, hz⟩] at A rw [h₂g ⟨z, hz⟩] at A
have t₀ : (0 : WithTop ) = WithTop.map Nat.cast (0 : WithTop ) := by have t₀ : (h₄g z hz).order ≠ := by
sorry by_contra hC
--rw [← this] at A rw [hC] at A
tauto
rw [WithTop.map_coe] at A have t₁ : ∃ n : , (h₄g z hz).order = n := by
exact Option.ne_none_iff_exists'.mp t₀
sorry obtain ⟨n, hn⟩ := t₁
rw [hn] at A
apply WithTopCoe
rw [eq_comm]
rw [hn]
exact A
· intro z hz · intro z hz
sorry sorry