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.ArithmeticGeometry.OrdinaryLocus.Openness.ConstantProductCoordinates |
| 2 | |
| 3 | /-! # Constant Product Associativity -/ |
| 4 | |
| 5 | namespace OAI.ArithmeticGeometry.OrdinaryLocus.Openness.ConstantProductAssociativity.Construction |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! The product of two constant families is the usual triple product over the field. -/ |
| 10 | |
| 11 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 12 | open CartesianMonoidalCategory MonoidalCategory |
| 13 | |
| 14 | universe u |
| 15 | |
| 16 | variable {K : Type u} [Field K] (A B S : Over (Spec (.of K))) |
| 17 | |
| 18 | def constantProductPair : ConstantProductCoordinates.Construction.constantProduct A B S ⟶ A ⊗ B := |
| 19 | lift (ConstantProductCoordinates.Construction.constantProductLeft A B S ≫ fst A S) (ConstantProductCoordinates.Construction.constantProductRight A B S ≫ fst B S) |
| 20 | |
| 21 | theorem constantProduct_isPullback : |
| 22 | IsPullback (constantProductPair A B S).left (ConstantProductCoordinates.Construction.constantProductProjection A B S) (A ⊗ B).hom S.hom := |
| 23 | AlgebraicGeometry.Quotients.FiniteDescent.ProductBaseLift.Construction.ProductBaseChangeSquare.isPullback A.hom B.hom (ConstantProductCoordinates.Construction.constantLeftBase A S) (ConstantProductCoordinates.Construction.constantRightBase B S) |
| 24 | (fst A S).left (fst B S).left S.hom |
| 25 | (IsPullback.of_hasPullback A.hom S.hom) (IsPullback.of_hasPullback B.hom S.hom) |
| 26 | |
| 27 | def constantProductAssocIso : ConstantProductCoordinates.Construction.constantProduct A B S ≅ (A ⊗ B) ⊗ S := |
| 28 | Over.isoMk (constantProduct_isPullback A B S).isoPullback (by |
| 29 | rw [← Over.w (snd (A ⊗ B) S), ← Category.assoc] |
| 30 | exact congrArg (fun m ↦ m ≫ S.hom) (constantProduct_isPullback A B S).isoPullback_hom_snd) |
| 31 | |
| 32 | theorem constantProductAssocIso_pair : |
| 33 | (constantProductAssocIso A B S).hom ≫ fst (A ⊗ B) S = constantProductPair A B S := by |
| 34 | apply Over.OverMorphism.ext |
| 35 | exact (constantProduct_isPullback A B S).isoPullback_hom_fst |
| 36 | |
| 37 | theorem constantProductAssocIso_base : |
| 38 | (constantProductAssocIso A B S).hom ≫ snd (A ⊗ B) S = ConstantProductCoordinates.Construction.constantProductBase A B S := by |
| 39 | apply Over.OverMorphism.ext |
| 40 | exact (constantProduct_isPullback A B S).isoPullback_hom_snd |
| 41 | |
| 42 | theorem constantProductAssocIso_first : |
| 43 | (constantProductAssocIso A B S).hom ≫ fst (A ⊗ B) S ≫ fst A B = |
| 44 | ConstantProductCoordinates.Construction.constantProductLeft A B S ≫ fst A S := by |
| 45 | rw [← Category.assoc, constantProductAssocIso_pair] |
| 46 | exact lift_fst _ _ |
| 47 | |
| 48 | theorem constantProductAssocIso_second : |
| 49 | (constantProductAssocIso A B S).hom ≫ fst (A ⊗ B) S ≫ snd A B = |
| 50 | ConstantProductCoordinates.Construction.constantProductRight A B S ≫ fst B S := by |
| 51 | rw [← Category.assoc, constantProductAssocIso_pair] |
| 52 | exact lift_snd _ _ |
| 53 | |
| 54 | end |
| 55 | |
| 56 | end OAI.ArithmeticGeometry.OrdinaryLocus.Openness.ConstantProductAssociativity.Construction |