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.IdealModule |
| 2 | import OAI.AlgebraicGeometry.Divisors.LineBundles.RegularPrincipalGenerator |
| 3 | |
| 4 | /-! # Ideal Equation Frame -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.Divisors.LineBundles.Scheme.IdealEquationFrame.BundleCycles |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! A regular equation for the actual section kernel gives |
| 11 | a genuine linear frame of the ideal's module of sections. -/ |
| 12 | |
| 13 | open _root_.AlgebraicGeometry _root_.CategoryTheory |
| 14 | |
| 15 | variable {X Z : Scheme.{0}} (i : Z ⟶ X) (U : X.Opens) (t : Γ(X, U)) |
| 16 | (ht : IsRegular t) (hk : RingHom.ker (i.app U).hom = Ideal.span {t}) |
| 17 | |
| 18 | def schemeIdealEquationSection : Γ(SchemeIdealModule.BundleCycles.schemeIdealModule i, U) := |
| 19 | (IdealModule.BundleCycles.schemeIdealModuleSectionsIso i U).inv ⟨t, hk.symm ▸ Ideal.subset_span (Set.mem_singleton t)⟩ |
| 20 | |
| 21 | theorem schemeIdealEquationSection_image : |
| 22 | IdealModule.BundleCycles.schemeIdealModuleSectionLinear i U (schemeIdealEquationSection i U t hk) = t := |
| 23 | (IdealModule.BundleCycles.schemeIdealModuleSectionLinear_apply i U _).trans (IdealModule.BundleCycles.schemeIdealModuleSectionsIso_inv_apply i U _) |
| 24 | |
| 25 | def schemeIdealEquationFrame : Γ(SchemeIdealModule.BundleCycles.schemeIdealModule i, U) ≃ₗ[Γ(X, U)] Γ(X, U) := by |
| 26 | let s := schemeIdealEquationSection i U t hk |
| 27 | have hs : IdealModule.BundleCycles.schemeIdealModuleSectionLinear i U s = t := schemeIdealEquationSection_image i U t hk |
| 28 | exact (RegularPrincipalGenerator.BundleCycles.regularPrincipalGeneratorEquiv (IdealModule.BundleCycles.schemeIdealModuleSectionLinear i U) |
| 29 | (IdealModule.BundleCycles.schemeIdealModuleSectionLinear_injective i U) s (hs.symm ▸ ht) |
| 30 | (fun m => by rw [hs, ← hk]; exact IdealModule.BundleCycles.schemeIdealModuleSectionLinear_mem i U m)).symm |
| 31 | |
| 32 | theorem schemeIdealEquationFrame_image (m : Γ(SchemeIdealModule.BundleCycles.schemeIdealModule i, U)) : |
| 33 | IdealModule.BundleCycles.schemeIdealModuleSectionLinear i U m = schemeIdealEquationFrame i U t ht hk m * t := by |
| 34 | let e := schemeIdealEquationFrame i U t ht hk |
| 35 | have h : m = e m • schemeIdealEquationSection i U t hk := (e.symm_apply_apply m).symm |
| 36 | calc |
| 37 | IdealModule.BundleCycles.schemeIdealModuleSectionLinear i U m = |
| 38 | IdealModule.BundleCycles.schemeIdealModuleSectionLinear i U (e m • schemeIdealEquationSection i U t hk) := |
| 39 | congrArg (IdealModule.BundleCycles.schemeIdealModuleSectionLinear i U) h |
| 40 | _ = e m * t := by rw [map_smul, schemeIdealEquationSection_image]; rfl |
| 41 | |
| 42 | theorem schemeIdealModuleSectionLinear_restrict {X Z : Scheme.{0}} |
| 43 | (i : Z ⟶ X) {U V : X.Opens} (h : V ≤ U) (m : Γ(SchemeIdealModule.BundleCycles.schemeIdealModule i, U)) : |
| 44 | IdealModule.BundleCycles.schemeIdealModuleSectionLinear i V ((SchemeIdealModule.BundleCycles.schemeIdealModule i).presheaf.map (homOfLE h).op m) = |
| 45 | X.presheaf.map (homOfLE h).op (IdealModule.BundleCycles.schemeIdealModuleSectionLinear i U m) := |
| 46 | (IdealModule.BundleCycles.schemeIdealModuleSectionLinear_apply i V _).trans ((IdealModule.BundleCycles.schemeIdealModuleInclusion_restrict i h m).trans |
| 47 | (congrArg (X.presheaf.map (homOfLE h).op) (IdealModule.BundleCycles.schemeIdealModuleSectionLinear_apply i U m).symm)) |
| 48 | |
| 49 | theorem schemeIdealEquationFrame_restrict {X Z : Scheme.{0}} (i : Z ⟶ X) |
| 50 | (U V : X.Opens) (h : U ≤ V) (tU : Γ(X, U)) (tV : Γ(X, V)) |
| 51 | (htU : IsRegular tU) (htV : IsRegular tV) |
| 52 | (hkU : RingHom.ker (i.app U).hom = Ideal.span {tU}) |
| 53 | (hkV : RingHom.ker (i.app V).hom = Ideal.span {tV}) (m : Γ(SchemeIdealModule.BundleCycles.schemeIdealModule i, V)) : |
| 54 | schemeIdealEquationFrame i U tU htU hkU ((SchemeIdealModule.BundleCycles.schemeIdealModule i).presheaf.map (homOfLE h).op m) * tU = |
| 55 | X.presheaf.map (homOfLE h).op (schemeIdealEquationFrame i V tV htV hkV m) * |
| 56 | X.presheaf.map (homOfLE h).op tV := by |
| 57 | rw [← schemeIdealEquationFrame_image, schemeIdealModuleSectionLinear_restrict, |
| 58 | schemeIdealEquationFrame_image i V tV htV hkV, map_mul] |
| 59 | |
| 60 | end |
| 61 | |
| 62 | end OAI.AlgebraicGeometry.Divisors.LineBundles.Scheme.IdealEquationFrame.BundleCycles |