Update divisor.lean

This commit is contained in:
Stefan Kebekus 2024-10-01 06:51:18 +02:00
parent 76c6aa1639
commit 551b4a2463
1 changed files with 24 additions and 0 deletions

View File

@ -11,6 +11,7 @@ open Real Filter MeasureTheory intervalIntegral
structure Divisor where
toFun :
-- This is not what we want. We want: locally finite
discreteSupport : DiscreteTopology (Function.support toFun)
instance : CoeFun Divisor (fun _ ↦ ) where
@ -32,6 +33,29 @@ noncomputable def Divisor.N_trunk
(D : Divisor) : := fun k r ↦ ∫ (t : ) in (1)..r, (D.n_trunk k t) / t
theorem Divisor.support_cap_closed₁
{S U : Set }
(hS : DiscreteTopology S)
(hU : IsClosed U) :
IsClosed (U ∩ S) := by
rw [← isOpen_compl_iff]
rw [isOpen_iff_forall_mem_open]
intro x hx
by_cases h₁x : x ∈ U
· simp at hx
sorry
· use Uᶜ
constructor
· simp
· constructor
· exact IsClosed.isOpen_compl
· assumption
theorem Divisor.support_cap_closed
(D : Divisor)
{U : Set }