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.Albanese.Construction.SegreClosed |
| 2 | import Mathlib.CategoryTheory.Limits.Shapes.Products |
| 3 | |
| 4 | /-! # Products -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.HodgeConjecture.CMVariety.Products.CM.Abelian |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! |
| 11 | Actual fourfold products for CMAbelianVariety. The binary construction uses the scheme |
| 12 | fiber product, the Segre closed immersion, and native product group laws. |
| 13 | No product-existence or cycle-algebraicity hypothesis is introduced here. |
| 14 | -/ |
| 15 | |
| 16 | open _root_.CategoryTheory _root_.CategoryTheory.Limits |
| 17 | open MonoidalCategory CartesianMonoidalCategory |
| 18 | |
| 19 | section Cartesian |
| 20 | |
| 21 | universe u v |
| 22 | variable {C : Type u} [Category.{v} C] [CartesianMonoidalCategory C] |
| 23 | |
| 24 | def fourCartesianProjection (X : Fin 4 → C) : |
| 25 | ∀ i : Fin 4, (X 0 ⊗ X 1) ⊗ (X 2 ⊗ X 3) ⟶ X i := by |
| 26 | refine Fin.cases ?_ (Fin.cases ?_ (Fin.cases ?_ (Fin.cases ?_ (fun i => Fin.elim0 i)))) |
| 27 | · exact fst _ _ ≫ fst _ _ |
| 28 | · exact fst _ _ ≫ snd _ _ |
| 29 | · exact snd _ _ ≫ fst _ _ |
| 30 | · exact snd _ _ ≫ snd _ _ |
| 31 | |
| 32 | @[simp] theorem fourCartesianProjection_zero (X : Fin 4 → C) : |
| 33 | fourCartesianProjection X 0 = fst _ _ ≫ fst (X 0) (X 1) := rfl |
| 34 | |
| 35 | @[simp] theorem fourCartesianProjection_one (X : Fin 4 → C) : |
| 36 | fourCartesianProjection X 1 = fst _ _ ≫ snd (X 0) (X 1) := rfl |
| 37 | |
| 38 | @[simp] theorem fourCartesianProjection_two (X : Fin 4 → C) : |
| 39 | fourCartesianProjection X 2 = snd _ _ ≫ fst (X 2) (X 3) := rfl |
| 40 | |
| 41 | @[simp] theorem fourCartesianProjection_three (X : Fin 4 → C) : |
| 42 | fourCartesianProjection X 3 = snd _ _ ≫ snd (X 2) (X 3) := rfl |
| 43 | |
| 44 | def fourCartesianIsLimit (X : Fin 4 → C) : |
| 45 | IsLimit (Fan.mk ((X 0 ⊗ X 1) ⊗ (X 2 ⊗ X 3)) |
| 46 | (fourCartesianProjection X)) := by |
| 47 | refine Fan.IsLimit.mk _ (fun s => |
| 48 | lift (lift (s.proj 0) (s.proj 1)) (lift (s.proj 2) (s.proj 3))) ?_ ?_ |
| 49 | · intro s i |
| 50 | fin_cases i <;> simp [Fan.proj] |
| 51 | · intro s m h |
| 52 | apply CartesianMonoidalCategory.hom_ext |
| 53 | · apply CartesianMonoidalCategory.hom_ext |
| 54 | · simpa [Category.assoc] using h 0 |
| 55 | · simpa [Category.assoc] using h 1 |
| 56 | · apply CartesianMonoidalCategory.hom_ext |
| 57 | · simpa [Category.assoc] using h 2 |
| 58 | · simpa [Category.assoc] using h 3 |
| 59 | |
| 60 | end Cartesian |
| 61 | |
| 62 | def fourProduct (A : Fin 4 → ComplexMultiplication.CMAbelianVariety.CM.AbelianVariety) : ComplexMultiplication.CMAbelianVariety.CM.AbelianVariety := |
| 63 | Albanese.Construction.SegreClosed.abelianProduct (Albanese.Construction.SegreClosed.abelianProduct (A 0) (A 1)) |
| 64 | (Albanese.Construction.SegreClosed.abelianProduct (A 2) (A 3)) |
| 65 | |
| 66 | def fourProjection (A : Fin 4 → ComplexMultiplication.CMAbelianVariety.CM.AbelianVariety) : |
| 67 | ∀ i : Fin 4, (fourProduct A).toOver ⟶ (A i).toOver := |
| 68 | fourCartesianProjection (fun i => (A i).toOver) |
| 69 | |
| 70 | /-- The fourfold abelian variety is a product in schemes over `Spec ℂ`. -/ |
| 71 | def fourProductIsLimit (A : Fin 4 → ComplexMultiplication.CMAbelianVariety.CM.AbelianVariety) : |
| 72 | IsLimit (Fan.mk (fourProduct A).toOver (fourProjection A)) := |
| 73 | fourCartesianIsLimit (fun i => (A i).toOver) |
| 74 | |
| 75 | end |
| 76 | |
| 77 | end OAI.AlgebraicGeometry.HodgeConjecture.CMVariety.Products.CM.Abelian |