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.Finite.ProperEquationIdeals |
| 2 | import Mathlib.CategoryTheory.Monoidal.Cartesian.Grp |
| 3 | |
| 4 | /-! # Operations -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Multiplication, unit, and inversion are actual family morphisms; six explicit finite diagrams express the commutative-group laws. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 13 | open _root_.CategoryTheory.MonoidalCategory _root_.CategoryTheory.CartesianMonoidalCategory |
| 14 | |
| 15 | universe u |
| 16 | |
| 17 | structure FamilyGroup.Operations.FamilyGroupOperations {S : Scheme.{u}} (X : Over S) where |
| 18 | unit : 𝟙_ (Over S) ⟶ X |
| 19 | mul : X ⊗ X ⟶ X |
| 20 | inv : X ⟶ X |
| 21 | |
| 22 | structure FamilyGroup.Operations.FamilyGroupOperations.Laws {S : Scheme.{u}} {X : Over S} (D : FamilyGroup.Operations.FamilyGroupOperations X) : Prop where |
| 23 | one_mul : D.unit ▷ X ≫ D.mul = (λ_ X).hom |
| 24 | mul_one : X ◁ D.unit ≫ D.mul = (ρ_ X).hom |
| 25 | mul_assoc : D.mul ▷ X ≫ D.mul = (α_ X X X).hom ≫ X ◁ D.mul ≫ D.mul |
| 26 | left_inv : lift D.inv (𝟙 X) ≫ D.mul = toUnit X ≫ D.unit |
| 27 | right_inv : lift (𝟙 X) D.inv ≫ D.mul = toUnit X ≫ D.unit |
| 28 | mul_comm : (β_ X X).hom ≫ D.mul = D.mul |
| 29 | |
| 30 | @[instance_reducible] def FamilyGroup.Operations.FamilyGroupOperations.groupObj {S : Scheme.{u}} {X : Over S} |
| 31 | (D : FamilyGroup.Operations.FamilyGroupOperations X) (h : D.Laws) : GrpObj X where |
| 32 | one := D.unit |
| 33 | mul := D.mul |
| 34 | inv := D.inv |
| 35 | one_mul := h.one_mul |
| 36 | mul_one := h.mul_one |
| 37 | mul_assoc := h.mul_assoc |
| 38 | left_inv := h.left_inv |
| 39 | right_inv := h.right_inv |
| 40 | |
| 41 | theorem FamilyGroup.Operations.FamilyGroupOperations.groupObj_comm {S : Scheme.{u}} {X : Over S} |
| 42 | (D : FamilyGroup.Operations.FamilyGroupOperations X) (h : D.Laws) : letI := D.groupObj h; IsCommMonObj X := by |
| 43 | let : GrpObj X := D.groupObj h |
| 44 | exact ⟨h.mul_comm⟩ |
| 45 | |
| 46 | def Finite.ProperEquationIdeals.ProperFamilyMorphismEquation.ofMaps {S : Scheme.{u}} {X Y : Over S} |
| 47 | [IsProper X.hom] [Flat X.hom] [IsSeparated Y.hom] (u v : X ⟶ Y) : Finite.ProperEquationIdeals.ProperFamilyMorphismEquation S where |
| 48 | source := X |
| 49 | target := Y |
| 50 | proper := inferInstance |
| 51 | flat := inferInstance |
| 52 | separated := inferInstance |
| 53 | lhs := u |
| 54 | rhs := v |
| 55 | |
| 56 | end |
| 57 | |
| 58 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction |