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.Quotients.FiniteDescent.ProductBaseLift |
| 2 | import Mathlib.AlgebraicGeometry.Geometrically.Integral |
| 3 | import Mathlib.AlgebraicGeometry.Morphisms.Proper |
| 4 | import Mathlib.AlgebraicGeometry.Morphisms.Flat |
| 5 | import Mathlib.AlgebraicGeometry.Noetherian |
| 6 | |
| 7 | /-! # Product Integral -/ |
| 8 | |
| 9 | namespace OAI.AlgebraicGeometry.Quotients.FiniteDescent.ProductIntegral |
| 10 | |
| 11 | noncomputable section |
| 12 | |
| 13 | /-! Products of proper geometrically integral families have integral |
| 14 | fibers, using the Cartesian product model of each residue-field fiber. -/ |
| 15 | |
| 16 | set_option backward.isDefEq.respectTransparency false |
| 17 | |
| 18 | open _root_.AlgebraicGeometry _root_.CategoryTheory _root_.CategoryTheory.Limits |
| 19 | |
| 20 | universe u |
| 21 | |
| 22 | namespace Construction.ProductIntegralFibers |
| 23 | |
| 24 | variable {X Y S : Scheme.{u}} (f : X ⟶ S) (g : Y ⟶ S) |
| 25 | variable [IsProper f] [IsProper g] [Flat f] |
| 26 | variable [GeometricallyIntegral f] [GeometricallyIntegral g] |
| 27 | |
| 28 | theorem integral (x : S) : IsIntegral ((pullback.fst f g ≫ f).fiber x) := by |
| 29 | let t := S.fromSpecResidueField x |
| 30 | let f' := f.fiberToSpecResidueField x |
| 31 | let g' := g.fiberToSpecResidueField x |
| 32 | have : IsProper f' := inferInstanceAs (IsProper (pullback.snd f t)) |
| 33 | have : IsProper g' := inferInstanceAs (IsProper (pullback.snd g t)) |
| 34 | have : Flat f' := inferInstanceAs (Flat (pullback.snd f t)) |
| 35 | have : GeometricallyIntegral f' := inferInstanceAs (GeometricallyIntegral (f.fiberToSpecResidueField x)) |
| 36 | have : IsIntegral (g.fiber x) := inferInstance |
| 37 | have : IsLocallyNoetherian (g.fiber x) := LocallyOfFiniteType.isLocallyNoetherian g' |
| 38 | have : IsIntegral (pullback f' g') := inferInstance |
| 39 | let h := ProductBaseLift.Construction.ProductBaseChangeSquare.isPullback f g f' g' (f.fiberι x) (g.fiberι x) t |
| 40 | (IsPullback.of_hasPullback f t) (IsPullback.of_hasPullback g t) |
| 41 | exact IsIntegral.of_isIso h.isoPullback.hom |
| 42 | |
| 43 | end Construction.ProductIntegralFibers |
| 44 | |
| 45 | end |
| 46 | |
| 47 | end OAI.AlgebraicGeometry.Quotients.FiniteDescent.ProductIntegral |