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.Divisors.LineBundles.LineBundle.PullbackGeneratorOpen |
| 2 | import OAI.AlgebraicGeometry.Divisors.LineBundles.Module.PullbackOpenIso |
| 3 | import OAI.AlgebraicGeometry.Divisors.LineBundles.LineBundle.RationalCoefficient |
| 4 | import OAI.AlgebraicGeometry.Divisors.LineBundles.LineBundle.OpenRestriction |
| 5 | |
| 6 | /-! # Local Generator Pullback -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.Divisors.LineBundles.LineBundle.LocalGeneratorPullback.Cycles |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! # LineBundleCycles: actual local line-bundle generators survive arbitrary pullback and define nonzero generic coefficients -/ |
| 13 | |
| 14 | open _root_.AlgebraicGeometry _root_.CategoryTheory |
| 15 | |
| 16 | variable {X Y : Scheme.{0}} (f : X ⟶ Y) (L : LineBundles.Scheme.SchemeIdealModule.BundleCycles.SchemeLineBundle Y) |
| 17 | (U : Y.Opens) (e : L.sheaf.restrict U.ι ≅ DivisorClass.Chern.Line.Bundles.Construction.structureModule U.toScheme) |
| 18 | (s : Γ(L.sheaf, U)) |
| 19 | (hs : IsUnit (GlobalFrame.Cycles.lineBundleGlobalFrame (L := L.restrictToOpen U.ι) e ⊤ (Module.SectionHom.BundleCycles.moduleSectionAsGlobal L.sheaf U s))) |
| 20 | |
| 21 | include e hs in |
| 22 | theorem lineBundlePullback_localGenerator_ne_zero [Nonempty (f ⁻¹ᵁ U)] : |
| 23 | Module.OpenPullbackSections.BundleCycles.moduleSectionPullbackOnOpen f L.sheaf U s ≠ 0 := by |
| 24 | let V := f ⁻¹ᵁ U |
| 25 | let q := f ∣_ U |
| 26 | let : Nonempty (⊤ : V.toScheme.Opens) := ⟨⟨Classical.choice (inferInstance : Nonempty V), trivial⟩⟩ |
| 27 | have hn : Module.OpenPullbackSections.BundleCycles.moduleGlobalSectionPullback q (L.sheaf.restrict U.ι) (Module.SectionHom.BundleCycles.moduleSectionAsGlobal L.sheaf U s) ≠ 0 := |
| 28 | PullbackGeneratorOpen.Cycles.lineBundlePullbackSectionToOpen_ne_zero q (L := L.restrictToOpen U.ι) e ⊤ ⊤ |
| 29 | (fun _ _ => trivial) (Module.SectionHom.BundleCycles.moduleSectionAsGlobal L.sheaf U s) hs |
| 30 | intro hz |
| 31 | have hz' : Module.SectionHom.BundleCycles.moduleSectionAsGlobal ((Scheme.Modules.pullback f).obj L.sheaf) V |
| 32 | (Module.OpenPullbackSections.BundleCycles.moduleSectionPullbackOnOpen f L.sheaf U s) = 0 := |
| 33 | (congrArg (fun z => Module.SectionHom.BundleCycles.moduleSectionAsGlobal ((Scheme.Modules.pullback f).obj L.sheaf) V z) hz).trans |
| 34 | (((Scheme.Modules.pullback f).obj L.sheaf).presheaf.map |
| 35 | (homOfLE (Module.SectionHom.BundleCycles.openInclusionImage_le V ⊤)).op).hom.map_zero |
| 36 | have he := Module.PullbackOpenIso.BundleCycles.modulePullbackOpenIso_section f L.sheaf U s |
| 37 | have hzero := (congrArg (fun z => (Module.PullbackOpenIso.BundleCycles.modulePullbackOpenIso f L.sheaf U).hom.app ⊤ z) hz').trans |
| 38 | ((Module.PullbackOpenIso.BundleCycles.modulePullbackOpenIso f L.sheaf U).hom.app ⊤).hom.map_zero |
| 39 | exact hn (he.symm.trans hzero) |
| 40 | |
| 41 | def lineBundleLocalGeneratorPullbackCoefficient [IsIntegral X] [Nonempty (f ⁻¹ᵁ U)] : X.functionFieldˣ := |
| 42 | Units.mk0 ((L.pullback f).genericSectionCoefficient (f ⁻¹ᵁ U) (Module.OpenPullbackSections.BundleCycles.moduleSectionPullbackOnOpen f L.sheaf U s)) |
| 43 | ((L.pullback f).genericSectionCoefficient_ne_zero (f ⁻¹ᵁ U) _ |
| 44 | (lineBundlePullback_localGenerator_ne_zero f L U e s hs)) |
| 45 | |
| 46 | end |
| 47 | |
| 48 | end OAI.AlgebraicGeometry.Divisors.LineBundles.LineBundle.LocalGeneratorPullback.Cycles |