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.Scheme.IdealModuleGenerator |
| 2 | import OAI.AlgebraicGeometry.Divisors.LineBundles.Module.SectionHom |
| 3 | |
| 4 | /-! # Ideal Open Generator -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.Divisors.LineBundles.Scheme.IdealOpenGenerator.BundleCycles |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! A section generating the actual regular principal kernels on |
| 11 | subopens gives a frame for the restricted ideal module. -/ |
| 12 | |
| 13 | open _root_.AlgebraicGeometry _root_.CategoryTheory |
| 14 | |
| 15 | variable {X Z : Scheme.{0}} (f : Z ⟶ X) (U : X.Opens) (s : Γ(SchemeIdealModule.BundleCycles.schemeIdealModule f, U)) |
| 16 | |
| 17 | theorem schemeIdealOpenSectionHom_bijective (V : U.toScheme.Opens) |
| 18 | (hreg : IsRegular (X.presheaf.map (homOfLE (Module.SectionHom.BundleCycles.openInclusionImage_le U V)).op |
| 19 | ((SchemeIdealModule.BundleCycles.schemeIdealModuleInclusion f).app U s))) |
| 20 | (hker : RingHom.ker (f.app (U.ι ''ᵁ V)).hom = |
| 21 | Ideal.span {X.presheaf.map (homOfLE (Module.SectionHom.BundleCycles.openInclusionImage_le U V)).op |
| 22 | ((SchemeIdealModule.BundleCycles.schemeIdealModuleInclusion f).app U s)}) : |
| 23 | Function.Bijective ((Module.SectionHom.BundleCycles.moduleSectionHomOnOpen (SchemeIdealModule.BundleCycles.schemeIdealModule f) U s).app V) := by |
| 24 | let q := (SchemeIdealModule.BundleCycles.schemeIdealModule f).presheaf.map (homOfLE (Module.SectionHom.BundleCycles.openInclusionImage_le U V)).op s |
| 25 | have hq : IdealModule.BundleCycles.schemeIdealModuleSectionLinear f (U.ι ''ᵁ V) q = |
| 26 | X.presheaf.map (homOfLE (Module.SectionHom.BundleCycles.openInclusionImage_le U V)).op ((SchemeIdealModule.BundleCycles.schemeIdealModuleInclusion f).app U s) := |
| 27 | (IdealModule.BundleCycles.schemeIdealModuleSectionLinear_apply f _ q).trans (IdealModule.BundleCycles.schemeIdealModuleInclusion_restrict f _ s) |
| 28 | have hr : IsRegular (IdealModule.BundleCycles.schemeIdealModuleSectionLinear f (U.ι ''ᵁ V) q) := hq.symm ▸ hreg |
| 29 | have hspan : ∀ m, IdealModule.BundleCycles.schemeIdealModuleSectionLinear f (U.ι ''ᵁ V) m ∈ |
| 30 | Ideal.span {IdealModule.BundleCycles.schemeIdealModuleSectionLinear f (U.ι ''ᵁ V) q} := by |
| 31 | intro m |
| 32 | rw [hq, ← hker] |
| 33 | exact IdealModule.BundleCycles.schemeIdealModuleSectionLinear_mem f _ m |
| 34 | have hb := RegularPrincipalGenerator.BundleCycles.regularPrincipalGenerator_bijective (IdealModule.BundleCycles.schemeIdealModuleSectionLinear f (U.ι ''ᵁ V)) |
| 35 | (IdealModule.BundleCycles.schemeIdealModuleSectionLinear_injective f _) q hr hspan |
| 36 | have he : (fun r : Γ(U.toScheme, V) => (Module.SectionHom.BundleCycles.moduleSectionHomOnOpen (SchemeIdealModule.BundleCycles.schemeIdealModule f) U s).app V r) = |
| 37 | (fun r : Γ(X, U.ι ''ᵁ V) => r • q) := by |
| 38 | funext r |
| 39 | have h := Module.SectionHom.BundleCycles.moduleSectionHomOnOpen_app (SchemeIdealModule.BundleCycles.schemeIdealModule f) U s V r |
| 40 | rw [Module.SectionHom.BundleCycles.moduleSectionAsGlobal_restrict] at h |
| 41 | exact h.trans (LineBundle.Frames.Cycles.LineBundleConstruction.openRestriction_smul (SchemeIdealModule.BundleCycles.schemeIdealModule f) U V r q).symm |
| 42 | exact (congrArg Function.Bijective he).mpr hb |
| 43 | |
| 44 | end |
| 45 | |
| 46 | end OAI.AlgebraicGeometry.Divisors.LineBundles.Scheme.IdealOpenGenerator.BundleCycles |