Hodge conjecture: the CM case in Lean, read and discussed
OpenAI's Lean proof of the Hodge conjecture for CM abelian varieties: rerun it, read its statement, and keep the open questions with their sources. The conjecture is open

| 1 | import OAI.AlgebraicGeometry.Comparison.Betti.Holomorphic.GermMaps |
| 2 | import Mathlib.Analysis.Calculus.ContDiff.Basic |
| 3 | |
| 4 | /-! # Local Holomorphic Composition -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.Comparison.Betti.LocalHolomorphicComposition.Analytic |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Holomorphic maps defined near a point act on the actual holomorphic germ rings. -/ |
| 11 | |
| 12 | open Set Filter |
| 13 | open scoped _root_.Topology ContDiff |
| 14 | |
| 15 | variable {E F : Type*} [NormedAddCommGroup E] [NormedSpace ℂ E] |
| 16 | [NormedAddCommGroup F] [NormedSpace ℂ F] |
| 17 | |
| 18 | theorem exists_open_differentiableOn_of_contDiffAt {f : E → F} {x : E} |
| 19 | (hf : ContDiffAt ℂ ω f x) : ∃ U : Set E, IsOpen U ∧ x ∈ U ∧ DifferentiableOn ℂ f U := by |
| 20 | have hd : ∀ᶠ y in 𝓝 x, DifferentiableAt ℂ f y := |
| 21 | (hf.eventually (by simp)).mono (fun _ h => h.differentiableAt (by simp)) |
| 22 | obtain ⟨U, hU, hopen, hx⟩ := mem_nhds_iff.mp hd |
| 23 | exact ⟨U, hopen, hx, fun y hy => (hU hy).differentiableWithinAt⟩ |
| 24 | |
| 25 | def localHolomorphicComposition (f : E → F) (x : E) (hf : ContDiffAt ℂ ω f x) : |
| 26 | ComplexGroups.HolomorphicAlgebraicity.HolomorphicGerms.Constructions.Germs.HolomorphicGerm (f x) →+* ComplexGroups.HolomorphicAlgebraicity.HolomorphicGerms.Constructions.Germs.HolomorphicGerm x where |
| 27 | toFun a := ⟨GermComposition.AnalyticLocal.germComposition f hf.continuousAt a.val, by |
| 28 | obtain ⟨v, hva, V, hV, hfxV, hv⟩ := a.property |
| 29 | obtain ⟨U, hU, hxU, hfd⟩ := exists_open_differentiableOn_of_contDiffAt hf |
| 30 | have hW : U ∩ f ⁻¹' V ∈ 𝓝 x := inter_mem (hU.mem_nhds hxU) (hf.continuousAt (hV.mem_nhds hfxV)) |
| 31 | obtain ⟨W, hWU, hWopen, hxW⟩ := mem_nhds_iff.mp hW |
| 32 | refine ⟨v ∘ f, ?_, W, hWopen, hxW, ?_⟩ |
| 33 | · rw [← hva] |
| 34 | rfl |
| 35 | · exact hv.comp (hfd.mono (fun y hy => (hWU hy).1)) (fun y hy => (hWU hy).2)⟩ |
| 36 | map_zero' := by apply Subtype.ext; exact map_zero (GermComposition.AnalyticLocal.germComposition f hf.continuousAt) |
| 37 | map_one' := by apply Subtype.ext; exact map_one (GermComposition.AnalyticLocal.germComposition f hf.continuousAt) |
| 38 | map_add' a b := by apply Subtype.ext; exact map_add (GermComposition.AnalyticLocal.germComposition f hf.continuousAt) a.val b.val |
| 39 | map_mul' a b := by apply Subtype.ext; exact map_mul (GermComposition.AnalyticLocal.germComposition f hf.continuousAt) a.val b.val |
| 40 | |
| 41 | theorem localHolomorphicComposition_val (f : E → F) (x : E) (hf : ContDiffAt ℂ ω f x) |
| 42 | (a : ComplexGroups.HolomorphicAlgebraicity.HolomorphicGerms.Constructions.Germs.HolomorphicGerm (f x)) : |
| 43 | (localHolomorphicComposition f x hf a).val = GermComposition.AnalyticLocal.germComposition f hf.continuousAt a.val := rfl |
| 44 | |
| 45 | def localHolomorphicCompositionAt (f : E → F) (x : E) (hf : ContDiffAt ℂ ω f x) |
| 46 | (y : F) (hxy : f x = y) : ComplexGroups.HolomorphicAlgebraicity.HolomorphicGerms.Constructions.Germs.HolomorphicGerm y →+* ComplexGroups.HolomorphicAlgebraicity.HolomorphicGerms.Constructions.Germs.HolomorphicGerm x := |
| 47 | hxy ▸ localHolomorphicComposition f x hf |
| 48 | |
| 49 | theorem localHolomorphicCompositionAt_val (f : E → F) (x : E) (hf : ContDiffAt ℂ ω f x) |
| 50 | (y : F) (hxy : f x = y) (a : ComplexGroups.HolomorphicAlgebraicity.HolomorphicGerms.Constructions.Germs.HolomorphicGerm y) : |
| 51 | (localHolomorphicCompositionAt f x hf y hxy a).val = |
| 52 | GermComposition.AnalyticLocal.germComposition f (by simpa only [hxy] using |
| 53 | (show Tendsto f (𝓝 x) (𝓝 (f x)) from hf.continuousAt)) a.val := by |
| 54 | subst y |
| 55 | rfl |
| 56 | |
| 57 | end |
| 58 | |
| 59 | end OAI.AlgebraicGeometry.Comparison.Betti.LocalHolomorphicComposition.Analytic |