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.NumberTheory.PadicHodge.IntegralComparison.Independent.QuasicoherentGluing |
| 2 | |
| 3 | /-! # Open Generators -/ |
| 4 | |
| 5 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.Independent.OpenGenerators |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | open _root_.CategoryTheory Limits _root_.AlgebraicGeometry _root_.TopologicalSpace |
| 10 | |
| 11 | universe u |
| 12 | |
| 13 | def restrict {X Y : Scheme.{u}} (j : X ⟶ Y) [IsOpenImmersion j] |
| 14 | {M : Y.Modules} (G : M.GeneratingSections) : (M.restrict j).GeneratingSections := |
| 15 | @SheafOfModules.GeneratingSections.map _ _ _ _ _ _ _ _ _ _ _ _ _ G |
| 16 | (Scheme.Modules.restrictFunctor j) |
| 17 | (Scheme.Modules.restrictAdjunction j).leftAdjoint_preservesColimits |
| 18 | (Scheme.Modules.restrictUnitIso j).symm |
| 19 | |
| 20 | theorem restrict_finite {X Y : Scheme.{u}} (j : X ⟶ Y) [IsOpenImmersion j] |
| 21 | {M : Y.Modules} (G : M.GeneratingSections) [hG : G.IsFiniteType] : |
| 22 | (OpenGenerators.restrict j G).IsFiniteType := by |
| 23 | constructor |
| 24 | exact hG.finite |
| 25 | |
| 26 | def fromOver {X : Scheme.{u}} (M : X.Modules) (U : X.Opens) |
| 27 | (G : (M.over U).GeneratingSections) : (M.restrict U.ι).GeneratingSections := by |
| 28 | let E := Scheme.Modules.overEquiv U |
| 29 | let hPres : PreservesColimitsOfSize.{u, u} E.functor := |
| 30 | E.toAdjunction.leftAdjoint_preservesColimits |
| 31 | let H := @SheafOfModules.GeneratingSections.map _ _ _ _ _ _ _ _ _ _ _ _ _ G E.functor hPres |
| 32 | (U.sheafOfModulesEquivOverUnit X.ringCatSheaf).symm |
| 33 | exact SheafOfModules.GeneratingSections.equivOfIso |
| 34 | ((Scheme.Modules.overFunctorEquiv U).app M) H |
| 35 | |
| 36 | theorem fromOver_finite {X : Scheme.{u}} (M : X.Modules) (U : X.Opens) |
| 37 | (G : (M.over U).GeneratingSections) [hG : G.IsFiniteType] : |
| 38 | (fromOver M U G).IsFiniteType := by |
| 39 | constructor |
| 40 | exact hG.finite |
| 41 | |
| 42 | def toOver {X : Scheme.{u}} (M : X.Modules) (U : X.Opens) |
| 43 | (G : (M.restrict U.ι).GeneratingSections) : (M.over U).GeneratingSections := by |
| 44 | let E := Scheme.Modules.overEquiv U |
| 45 | let hPres : PreservesColimitsOfSize.{u, u} E.inverse := |
| 46 | E.symm.toAdjunction.leftAdjoint_preservesColimits |
| 47 | let H := @SheafOfModules.GeneratingSections.map _ _ _ _ _ _ _ _ _ _ _ _ _ G E.inverse hPres |
| 48 | (U.sheafOfModulesEquivOverInverseUnit X.ringCatSheaf).symm |
| 49 | let e := (E.inverse.mapIso ((Scheme.Modules.overFunctorEquiv U).app M)).symm ≪≫ |
| 50 | (E.unitIso.app (M.over U)).symm |
| 51 | exact SheafOfModules.GeneratingSections.equivOfIso e H |
| 52 | |
| 53 | theorem toOver_finite {X : Scheme.{u}} (M : X.Modules) (U : X.Opens) |
| 54 | (G : (M.restrict U.ι).GeneratingSections) [hG : G.IsFiniteType] : |
| 55 | (toOver M U G).IsFiniteType := by |
| 56 | constructor |
| 57 | exact hG.finite |
| 58 | |
| 59 | theorem finiteType_of_open_generators {X : Scheme.{u}} (M : X.Modules) {ι : Type u} |
| 60 | (U : ι → X.Opens) (hU : IsOpenCover U) |
| 61 | (G : ∀ i, (M.restrict (U i).ι).GeneratingSections) |
| 62 | (hG : ∀ i, (G i).IsFiniteType) : M.IsFiniteType := by |
| 63 | let q : M.LocalGeneratorsData := |
| 64 | { I := ι |
| 65 | X := U |
| 66 | coversTop := (Opens.coversTop_iff X U).mpr hU |
| 67 | generators i := toOver M (U i) (G i) } |
| 68 | refine { exists_localGeneratorsData := ?_ } |
| 69 | refine ⟨q, ?_⟩ |
| 70 | constructor |
| 71 | intro i |
| 72 | exact ⟨(hG i).finite⟩ |
| 73 | |
| 74 | end |
| 75 | |
| 76 | end OAI.NumberTheory.PadicHodge.IntegralComparison.Independent.OpenGenerators |