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.Local.ProductFrame |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Local.PointedFiniteAffineCover |
| 3 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Projective.Products |
| 4 | |
| 5 | /-! # Product Triviality -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Local.ProductTriviality |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! The local product triviality criterion with the finite affine |
| 12 | covers and product projective presentation constructed internally. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 15 | open _root_.AlgebraicGeometry.Scheme.Modules |
| 16 | |
| 17 | universe u |
| 18 | |
| 19 | theorem localAbelianProduct_line_trivial_of_axes |
| 20 | {S : Scheme.{u}} [IsAffine S] [IsNoetherianRing Γ(S, ⊤)] [IsLocalRing Γ(S, ⊤)] |
| 21 | {g h : ℕ} (A : Abelian.Schemes.AbelianScheme g S) (B : Abelian.Schemes.AbelianScheme h S) |
| 22 | (PA : Projective.ProjectivePresentations.ProjectivePresentation A.scheme) (PB : Projective.ProjectivePresentations.ProjectivePresentation B.scheme) |
| 23 | (sA : S ⟶ A.scheme.left) (hsA : sA ≫ A.scheme.hom = 𝟙 _) |
| 24 | (sB : S ⟶ B.scheme.left) (hsB : sB ≫ B.scheme.hom = 𝟙 _) |
| 25 | (L : Line.Bundles.LineBundle (pullback A.scheme.hom B.scheme.hom)) |
| 26 | (eA : (L.pullback (Quotients.FiniteDescent.ProductBaseAxes.Construction.ProductBaseChangeAxes.left A.scheme.hom B.scheme.hom sB hsB)).sheaf ≅ |
| 27 | Line.Bundles.structureModule A.scheme.left) |
| 28 | (eB : (L.pullback (Quotients.FiniteDescent.ProductBaseAxes.Construction.ProductBaseChangeAxes.right A.scheme.hom B.scheme.hom sA hsA)).sheaf ≅ |
| 29 | Line.Bundles.structureModule B.scheme.left) |
| 30 | (he : (L.pullback (pullback.fst (pullback.fst A.scheme.hom B.scheme.hom ≫ A.scheme.hom) |
| 31 | (ReferenceFamily.Affine.CoefficientUnitExactness.coefficientFieldPoint S (IsLocalRing.ResidueField Γ(S, ⊤))))).sheaf ≅ |
| 32 | Line.Bundles.structureModule (pullback (pullback.fst A.scheme.hom B.scheme.hom ≫ A.scheme.hom) |
| 33 | (ReferenceFamily.Affine.CoefficientUnitExactness.coefficientFieldPoint S (IsLocalRing.ResidueField Γ(S, ⊤))))) : |
| 34 | Nonempty (L.sheaf ≅ Line.Bundles.structureModule (pullback A.scheme.hom B.scheme.hom)) := by |
| 35 | have : A.scheme.left.IsSeparated := ⟨by rw [← terminal.comp_from A.scheme.hom]; infer_instance⟩ |
| 36 | have : B.scheme.left.IsSeparated := ⟨by rw [← terminal.comp_from B.scheme.hom]; infer_instance⟩ |
| 37 | have : (pullback A.scheme.hom B.scheme.hom).IsSeparated := |
| 38 | ⟨by rw [← terminal.comp_from (pullback.fst A.scheme.hom B.scheme.hom)]; infer_instance⟩ |
| 39 | have : CompactSpace A.scheme.left := QuasiCompact.compactSpace_of_compactSpace A.scheme.hom |
| 40 | have : CompactSpace B.scheme.left := QuasiCompact.compactSpace_of_compactSpace B.scheme.hom |
| 41 | let C := PointedFiniteAffineCover.LocalPointedFiniteAffineCover.ofLocalBase sA |
| 42 | let D := PointedFiniteAffineCover.LocalPointedFiniteAffineCover.ofLocalBase sB |
| 43 | let := C.fintype |
| 44 | let := C.linearOrder |
| 45 | let := D.fintype |
| 46 | let := D.linearOrder |
| 47 | exact ProductFrame.localAbelianProduct_line_trivial A B PA PB (PA.product PB) |
| 48 | C.opens D.opens C.affine D.affine C.covers D.covers sA hsA sB hsB |
| 49 | C.distinguished C.point_in D.distinguished D.point_in L eA eB he |
| 50 | |
| 51 | end |
| 52 | |
| 53 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Local.ProductTriviality |