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.FunctionSheaf |
| 2 | import OAI.AlgebraicGeometry.Comparison.Betti.Holomorphic.GermMaps |
| 3 | import OAI.Geometry.ComplexTorus.RiemannProjectivity.HolomorphicContourF |
| 4 | |
| 5 | /-! # Section Germs -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.Comparison.Betti.Holomorphic.SectionGerms.AnalyticLocal |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Actual holomorphic sections determine germs, compatibly with open |
| 12 | restriction; every holomorphic germ has such a section representative. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.TopologicalSpace Opposite Set Filter |
| 15 | open scoped ContDiff _root_.Topology |
| 16 | |
| 17 | open OAI.AlgebraicGeometry.Comparison.Betti.Holomorphic.FunctionSheaf |
| 18 | |
| 19 | variable {E : Type} [NormedAddCommGroup E] [NormedSpace ℂ E] |
| 20 | |
| 21 | def holomorphicSectionGerm (U : Opens E) (x : E) (hx : x ∈ U) : |
| 22 | FunctionPure.holomorphicFunctions U →+* ComplexGroups.HolomorphicAlgebraicity.HolomorphicGerms.Constructions.Germs.HolomorphicGerm x where |
| 23 | toFun f := ComplexGroups.HolomorphicAlgebraicity.HolomorphicGerms.Constructions.Germs.ofFunction x (CoefficientMem.openCoefficientExtension U f.val) U.isOpen hx |
| 24 | ((show ContDiffOn ℂ ∞ (CoefficientMem.openCoefficientExtension U f.val) (U : Set E) from f.property).differentiableOn |
| 25 | (by norm_num)) |
| 26 | map_zero' := by |
| 27 | apply Subtype.ext |
| 28 | apply Germ.coe_eq.mpr |
| 29 | filter_upwards [U.isOpen.mem_nhds hx] with y hy |
| 30 | change CoefficientMem.openCoefficientExtension U (0 : FunctionPure.holomorphicFunctions U).val y = 0 |
| 31 | rw [CoefficientMem.openCoefficientExtension_apply U _ ⟨y, hy⟩] |
| 32 | rfl |
| 33 | map_one' := by |
| 34 | apply Subtype.ext |
| 35 | apply Germ.coe_eq.mpr |
| 36 | filter_upwards [U.isOpen.mem_nhds hx] with y hy |
| 37 | change CoefficientMem.openCoefficientExtension U (1 : FunctionPure.holomorphicFunctions U).val y = 1 |
| 38 | rw [CoefficientMem.openCoefficientExtension_apply U _ ⟨y, hy⟩] |
| 39 | rfl |
| 40 | map_add' f g := by |
| 41 | apply Subtype.ext |
| 42 | apply Germ.coe_eq.mpr |
| 43 | filter_upwards [U.isOpen.mem_nhds hx] with y hy |
| 44 | change CoefficientMem.openCoefficientExtension U (f + g).val y = |
| 45 | CoefficientMem.openCoefficientExtension U f.val y + CoefficientMem.openCoefficientExtension U g.val y |
| 46 | rw [CoefficientMem.openCoefficientExtension_apply U _ ⟨y, hy⟩, |
| 47 | CoefficientMem.openCoefficientExtension_apply U _ ⟨y, hy⟩, CoefficientMem.openCoefficientExtension_apply U _ ⟨y, hy⟩] |
| 48 | rfl |
| 49 | map_mul' f g := by |
| 50 | apply Subtype.ext |
| 51 | apply Germ.coe_eq.mpr |
| 52 | filter_upwards [U.isOpen.mem_nhds hx] with y hy |
| 53 | change CoefficientMem.openCoefficientExtension U (f * g).val y = |
| 54 | CoefficientMem.openCoefficientExtension U f.val y * CoefficientMem.openCoefficientExtension U g.val y |
| 55 | rw [CoefficientMem.openCoefficientExtension_apply U _ ⟨y, hy⟩, |
| 56 | CoefficientMem.openCoefficientExtension_apply U _ ⟨y, hy⟩, CoefficientMem.openCoefficientExtension_apply U _ ⟨y, hy⟩] |
| 57 | rfl |
| 58 | |
| 59 | theorem holomorphicSectionGerm_restrict {U V : Opens E} (h : V ≤ U) (x : E) (hx : x ∈ V) : |
| 60 | (holomorphicSectionGerm V x hx).comp (Restrictions.holomorphicFunctionRestrict h).toRingHom = |
| 61 | holomorphicSectionGerm U x (h hx) := by |
| 62 | apply RingHom.ext |
| 63 | intro f |
| 64 | apply Subtype.ext |
| 65 | apply Germ.coe_eq.mpr |
| 66 | filter_upwards [V.isOpen.mem_nhds hx] with y hy |
| 67 | change CoefficientMem.openCoefficientExtension V (Restrictions.holomorphicFunctionRestrict h f).val y = |
| 68 | CoefficientMem.openCoefficientExtension U f.val y |
| 69 | rw [CoefficientMem.openCoefficientExtension_apply V _ ⟨y, hy⟩, CoefficientMem.openCoefficientExtension_apply U _ ⟨y, h hy⟩] |
| 70 | rfl |
| 71 | |
| 72 | theorem exists_holomorphicSectionGerm [FiniteDimensional ℂ E] (x : E) (a : ComplexGroups.HolomorphicAlgebraicity.HolomorphicGerms.Constructions.Germs.HolomorphicGerm x) : |
| 73 | ∃ (U : Opens E) (hx : x ∈ U) (f : FunctionPure.holomorphicFunctions U), holomorphicSectionGerm U x hx f = a := by |
| 74 | obtain ⟨F, hFa, W, hW, hxW, hF⟩ := a.property |
| 75 | let U : Opens E := ⟨W, hW⟩ |
| 76 | have hFsmooth := Geometry.ComplexTorus.RiemannProjectivity.HolomorphicContourF.Constructions.HolomorphicDerivative.contDiffOn_infty_of_differentiableOn hW hF |
| 77 | let f : FunctionPure.holomorphicFunctions U := ⟨fun y => F y, by |
| 78 | apply hFsmooth.congr |
| 79 | intro y hy |
| 80 | exact CoefficientMem.openCoefficientExtension_apply U (fun y => F y) ⟨y, hy⟩⟩ |
| 81 | refine ⟨U, hxW, f, ?_⟩ |
| 82 | apply Subtype.ext |
| 83 | change (CoefficientMem.openCoefficientExtension U f.val : Germ (𝓝 x) ℂ) = a.val |
| 84 | rw [← hFa] |
| 85 | apply Germ.coe_eq.mpr |
| 86 | filter_upwards [hW.mem_nhds hxW] with y hy |
| 87 | exact CoefficientMem.openCoefficientExtension_apply U f.val ⟨y, hy⟩ |
| 88 | |
| 89 | end |
| 90 | |
| 91 | end OAI.AlgebraicGeometry.Comparison.Betti.Holomorphic.SectionGerms.AnalyticLocal |