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 Mathlib.CategoryTheory.Limits.Constructions.Over.Connected |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Line.Bundles |
| 3 | import Mathlib.AlgebraicGeometry.Pullbacks |
| 4 | import Mathlib.CategoryTheory.Monoidal.Cartesian.Over |
| 5 | import Mathlib.CategoryTheory.Limits.Shapes.Pullback.IsPullback.Basic |
| 6 | |
| 7 | /-! # Family Map Square -/ |
| 8 | |
| 9 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Cartesian.FamilyMapSquare |
| 10 | |
| 11 | noncomputable section |
| 12 | |
| 13 | /-! The family map induced by a morphism is its actual pullback along the second projection. -/ |
| 14 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 15 | open _root_.CategoryTheory.MonoidalCategory _root_.CategoryTheory.CartesianMonoidalCategory |
| 16 | universe u |
| 17 | variable {S : Scheme.{u}} (T : Over S) {X Y : Over S} (f : X ⟶ Y) |
| 18 | |
| 19 | theorem cartesianFamilyMapSquare : |
| 20 | IsPullback (snd T X) (T ◁ f) f (snd T Y) where |
| 21 | isLimit' := ⟨Limits.PullbackCone.isLimitAux' _ (fun s => by |
| 22 | change { l : s.pt ⟶ T ⊗ X // l ≫ snd T X = s.fst ∧ l ≫ (T ◁ f) = s.snd ∧ |
| 23 | ∀ {m : s.pt ⟶ T ⊗ X}, m ≫ snd T X = s.fst → m ≫ (T ◁ f) = s.snd → m = l } |
| 24 | refine ⟨lift (s.snd ≫ fst T Y) s.fst, ?_, ?_, ?_⟩ |
| 25 | · exact lift_snd _ _ |
| 26 | · apply CartesianMonoidalCategory.hom_ext |
| 27 | · rw [Category.assoc, whiskerLeft_fst, lift_fst] |
| 28 | · rw [Category.assoc, whiskerLeft_snd, ← Category.assoc, lift_snd] |
| 29 | exact s.condition |
| 30 | · intro m h₁ h₂ |
| 31 | apply CartesianMonoidalCategory.hom_ext |
| 32 | · simpa only [Category.assoc, whiskerLeft_fst, lift_fst] using |
| 33 | congrArg (fun k => k ≫ fst T Y) h₂ |
| 34 | · simpa only [lift_snd] using h₁)⟩ |
| 35 | |
| 36 | theorem cartesianFamilyMapSquare_left : |
| 37 | IsPullback (snd T X).left (T ◁ f).left f.left (snd T Y).left := |
| 38 | (cartesianFamilyMapSquare T f).map (Over.forget S) |
| 39 | |
| 40 | end |
| 41 | |
| 42 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Cartesian.FamilyMapSquare |