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.AbelianModuli.HilbertConstruction.Affine.Frames |
| 2 | import OAI.AlgebraicGeometry.SheafCohomology.Projective.OpenRestrictionComposition |
| 3 | |
| 4 | /-! # Generic Line Frame -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.PELModuli.IntegralModel.GenericLineFrame |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! A line-bundle identification on a nonempty open gives an actual |
| 11 | structure-module frame on a nonempty affine open of the ambient scheme. -/ |
| 12 | |
| 13 | set_option backward.isDefEq.respectTransparency false |
| 14 | set_option backward.isDefEq.respectTransparency.types false |
| 15 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 16 | open _root_.AlgebraicGeometry.Scheme.Modules |
| 17 | |
| 18 | universe u |
| 19 | |
| 20 | def imageRestrictionIso {X Y : Scheme.{u}} (f : Y ⟶ X) [IsOpenImmersion f] |
| 21 | (W : Y.Opens) (M : X.Modules) : |
| 22 | M.restrict (f ''ᵁ W).ι ≅ ((M.restrict f).restrict W.ι).restrict (f.isoImage W).inv := |
| 23 | (restrictFunctorCongr (f.isoImage_inv_ι W).symm).app M ≪≫ |
| 24 | (restrictFunctorComp (f.isoImage W).inv (W.ι ≫ f)).app M ≪≫ |
| 25 | (restrictFunctor (f.isoImage W).inv).mapIso ((restrictFunctorComp W.ι f).app M) |
| 26 | |
| 27 | theorem exists_generic_line_frame |
| 28 | {X : Scheme.{u}} (M : X.Modules) (U : X.Opens) [Nonempty U] |
| 29 | (L : AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle U.toScheme) (e : M.restrict U.ι ≅ L.sheaf) : |
| 30 | ∃ V : X.Opens, V ≤ U ∧ Nonempty V ∧ IsAffineOpen V ∧ |
| 31 | Nonempty (M.restrict V.ι ≅ SheafCohomology.Projective.Invertible.Scheme.Modules.unitObj V.toScheme) := by |
| 32 | obtain ⟨W, hxW, hW, ⟨b⟩⟩ := L.exists_affine_frame (Classical.arbitrary U) |
| 33 | let V : X.Opens := U.ι ''ᵁ W |
| 34 | have hV : Nonempty V := ⟨⟨U.ι (Classical.arbitrary U), _, hxW, rfl⟩⟩ |
| 35 | let b' : (M.restrict U.ι).restrict W.ι ≅ SheafCohomology.Projective.Invertible.Scheme.Modules.unitObj W.toScheme := |
| 36 | (restrictFunctor W.ι).mapIso e ≪≫ |
| 37 | (restrictFunctorIsoPullback W.ι).app L.sheaf ≪≫ b |
| 38 | exact ⟨V, U.ι_image_le W, hV, hW.image_of_isOpenImmersion U.ι, |
| 39 | ⟨imageRestrictionIso U.ι W M ≪≫ |
| 40 | (restrictFunctor (U.ι.isoImage W).inv).mapIso b' ≪≫ |
| 41 | restrictUnitIso (U.ι.isoImage W).inv⟩⟩ |
| 42 | |
| 43 | end |
| 44 | |
| 45 | end OAI.AlgebraicGeometry.PELModuli.IntegralModel.GenericLineFrame |