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.GenericCoefficientOpen |
| 2 | import OAI.AlgebraicGeometry.Divisors.LineBundles.LineBundle.GenericCoefficientIso |
| 3 | import OAI.AlgebraicGeometry.Divisors.LineBundles.LineBundle.OpenDivisor |
| 4 | import OAI.AlgebraicGeometry.Divisors.LineBundles.Module.OpenSectionPullback |
| 5 | |
| 6 | /-! # Open Pullback Coefficient -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.Divisors.LineBundles |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! # LineBundleCycles: actual open pullback of a rational section and its exact divisor -/ |
| 13 | |
| 14 | open _root_.AlgebraicGeometry _root_.CategoryTheory |
| 15 | |
| 16 | variable {X Y : Scheme.{0}} [IsIntegral X] [IsIntegral Y] |
| 17 | [AlgebraicGeometry.IsNoetherian X] [AlgebraicGeometry.IsNoetherian Y] |
| 18 | (L : LineBundles.Scheme.SchemeIdealModule.BundleCycles.SchemeLineBundle X) (i : Y ⟶ X) [IsOpenImmersion i] |
| 19 | |
| 20 | def Scheme.SchemeIdealModule.BundleCycles.SchemeLineBundle.openPullbackSectionCoefficient (a : X.functionFieldˣ) : Y.functionFieldˣ := |
| 21 | LineBundle.OpenDivisor.Cycles.lineBundleIsoSectionCoefficient (L.restrictToOpenPullbackIso i) (L.openSectionCoefficient i a) |
| 22 | |
| 23 | theorem Scheme.SchemeIdealModule.BundleCycles.SchemeLineBundle.openPullback_section_divisor (a : X.functionFieldˣ) : |
| 24 | (L.pullback i).rationalSectionPointDivisorWithCoefficient (L.openPullbackSectionCoefficient i a) = |
| 25 | Finsupp.comapDomain i (L.rationalSectionPointDivisorWithCoefficient a) i.isOpenEmbedding.injective.injOn := by |
| 26 | unfold LineBundles.Scheme.SchemeIdealModule.BundleCycles.SchemeLineBundle.openPullbackSectionCoefficient |
| 27 | rw [LineBundle.OpenDivisor.Cycles.lineBundleIso_section_divisor, L.open_section_divisor i a] |
| 28 | |
| 29 | omit [AlgebraicGeometry.IsNoetherian X] [AlgebraicGeometry.IsNoetherian Y] in |
| 30 | theorem Scheme.SchemeIdealModule.BundleCycles.SchemeLineBundle.genericSectionCoefficient_openPullback (a : X.functionFieldˣ) |
| 31 | (U : X.Opens) [Nonempty U] (V : Y.Opens) [Nonempty V] (hV : V ≤ i ⁻¹ᵁ U) |
| 32 | (s : Γ(L.sheaf, U)) (hs : L.genericSectionCoefficient U s = a.val) : |
| 33 | (L.pullback i).genericSectionCoefficient V (Module.SectionPullbackComposition.BundleCycles.moduleSectionPullbackToOpen i L.sheaf U V hV s) = |
| 34 | (L.openPullbackSectionCoefficient i a).val := by |
| 35 | let hUV : i ''ᵁ V ≤ U := (i.image_mono hV).trans (i.image_preimage_le U) |
| 36 | let t : Γ((L.restrictToOpen i).sheaf, V) := |
| 37 | (L.sheaf.restrictAppIso i V).inv (L.sheaf.presheaf.map (homOfLE hUV).op s) |
| 38 | have ht : L.genericSectionCoefficient (i ''ᵁ V) ((L.sheaf.restrictAppIso i V).hom t) = a.val := by |
| 39 | change L.genericSectionCoefficient (i ''ᵁ V) |
| 40 | ((L.sheaf.restrictAppIso i V).hom ((L.sheaf.restrictAppIso i V).inv _)) = _ |
| 41 | rw [Iso.inv_hom_id_apply] |
| 42 | exact (L.genericSectionCoefficient_restrict hUV s).trans hs |
| 43 | have ho := L.genericSectionCoefficient_open i V t |
| 44 | rw [ht] at ho |
| 45 | have hc : (L.restrictToOpen i).genericSectionCoefficient V t = |
| 46 | (L.openSectionCoefficient i a).val := by |
| 47 | unfold LineBundles.Scheme.SchemeIdealModule.BundleCycles.SchemeLineBundle.openSectionCoefficient |
| 48 | rw [Units.val_div_eq_div_val] |
| 49 | apply (eq_div_iff (L.openRationalCoefficient i).ne_zero).mpr |
| 50 | exact (mul_comm _ _).trans ho.symm |
| 51 | have hp := Module.OpenSectionPullback.BundleCycles.moduleOpenPullbackIso_toOpen i L.sheaf U V hV s |
| 52 | have hi := LineBundle.GenericCoefficientIso.Cycles.genericSectionCoefficient_iso (L.restrictToOpenPullbackIso i) V t |
| 53 | calc |
| 54 | _ = (L.pullback i).genericSectionCoefficient V ((L.restrictToOpenPullbackIso i).hom.app V t) := |
| 55 | congrArg ((L.pullback i).genericSectionCoefficient V) hp.symm |
| 56 | _ = (LineBundle.IsoCoefficient.Cycles.lineBundleIsoRationalCoefficient (L.restrictToOpenPullbackIso i)).val * |
| 57 | (L.restrictToOpen i).genericSectionCoefficient V t := hi |
| 58 | _ = _ := by rw [hc]; exact mul_comm _ _ |
| 59 | |
| 60 | omit [AlgebraicGeometry.IsNoetherian X] [AlgebraicGeometry.IsNoetherian Y] in |
| 61 | theorem Scheme.SchemeIdealModule.BundleCycles.SchemeLineBundle.genericSectionCoefficient_openPullback_onOpen (a : X.functionFieldˣ) |
| 62 | (U : X.Opens) [Nonempty U] [Nonempty (i ⁻¹ᵁ U)] |
| 63 | (s : Γ(L.sheaf, U)) (hs : L.genericSectionCoefficient U s = a.val) : |
| 64 | (L.pullback i).genericSectionCoefficient (i ⁻¹ᵁ U) (Module.OpenPullbackSections.BundleCycles.moduleSectionPullbackOnOpen i L.sheaf U s) = |
| 65 | (L.openPullbackSectionCoefficient i a).val := |
| 66 | ((L.pullback i).genericSectionCoefficient_restrict le_rfl _).symm.trans |
| 67 | (L.genericSectionCoefficient_openPullback i a U (i ⁻¹ᵁ U) le_rfl s hs) |
| 68 | |
| 69 | end |
| 70 | |
| 71 | end OAI.AlgebraicGeometry.Divisors.LineBundles |