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.NumberTheory.PadicHodge.IntegralComparison.Cech.ComplexDiagramNaturality |
| 2 | import OAI.NumberTheory.PadicHodge.GeometricComparison.CechCone.CoefficientTransformation |
| 3 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Presheaf.TotalCup |
| 4 | |
| 5 | /-! # Diagram Section Coordinates -/ |
| 6 | |
| 7 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.Cech.DiagramSectionCoordinates |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Pointwise coordinates for the original presheaf-valued Čech total, |
| 12 | natural in the actual section restriction maps. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.CategoryTheory.Limits Opposite |
| 15 | |
| 16 | universe u v d e r t |
| 17 | variable {C : Type u} [Category.{v} C] [HasBinaryProducts C] |
| 18 | {D : Type d} [Category.{e} D] (R : Type r) [CommRing R] |
| 19 | {ι : Type} [Finite ι] (U : ι → C) |
| 20 | (P : Cᵒᵖ ⥤ CochainComplex (Dᵒᵖ ⥤ ModuleCat.{t} R) ℕ) |
| 21 | |
| 22 | local notation "N" => OAI.NumberTheory.PadicHodge.IntegralComparison.NonemptyCechNerve.nerve U |
| 23 | |
| 24 | abbrev evaluation (V : Dᵒᵖ) : (Dᵒᵖ ⥤ ModuleCat.{t} R) ⥤ ModuleCat.{t} R := |
| 25 | (CategoryTheory.evaluation Dᵒᵖ (ModuleCat.{t} R)).obj V |
| 26 | |
| 27 | def diagram (V : Dᵒᵖ) := GeometricComparison.CechCone.TotalCoefficient.CechConeTotalCoefficient.mapped (DiagramSectionCoordinates.evaluation R V) P |
| 28 | |
| 29 | def complex (V : Dᵒᵖ) := ComplexDiagramCoordinates.complex (diagram R P V) |
| 30 | |
| 31 | def totalIso (V : Dᵒᵖ) : |
| 32 | ((DiagramSectionCoordinates.evaluation R V).mapHomologicalComplex (.up ℕ)).obj (GeometricComparison.CechCone.Total.CechConeTotal.total U P) ≅ |
| 33 | Presheaf.TotalCup.CechProduct.total.{u,v,0,t,r} N (complex R P V) := |
| 34 | GeometricComparison.CechCone.TotalCoefficient.CechConeTotalCoefficient.totalIso (DiagramSectionCoordinates.evaluation R V) U P ≪≫ |
| 35 | ComplexDiagramCoordinates.totalIso U (diagram R P V) |
| 36 | |
| 37 | def evaluationMap {V W : Dᵒᵖ} (α : V ⟶ W) : DiagramSectionCoordinates.evaluation R V ⟶ DiagramSectionCoordinates.evaluation R W := |
| 38 | (CategoryTheory.evaluation Dᵒᵖ (ModuleCat.{t} R)).map α |
| 39 | |
| 40 | def diagramMap {V W : Dᵒᵖ} (α : V ⟶ W) : diagram R P V ⟶ diagram R P W := |
| 41 | Functor.whiskerLeft P ((evaluationMap R α).mapHomologicalComplex (.up ℕ)) |
| 42 | |
| 43 | def complexMap {V W : Dᵒᵖ} (α : V ⟶ W) : complex R P V ⟶ complex R P W := |
| 44 | ComplexDiagramNaturality.Coordinates.complexMap (diagramMap R P α) |
| 45 | |
| 46 | def totalMap {V W : Dᵒᵖ} (α : V ⟶ W) := |
| 47 | ComplexDiagramNaturality.Coordinates.totalMap U (diagramMap R P α) |
| 48 | |
| 49 | theorem total_natural {V W : Dᵒᵖ} (α : V ⟶ W) : |
| 50 | ((evaluationMap R α).mapHomologicalComplex (.up ℕ)).app (GeometricComparison.CechCone.Total.CechConeTotal.total U P) ≫ |
| 51 | (totalIso R U P W).hom = (totalIso R U P V).hom ≫ totalMap R U P α := |
| 52 | GeometricComparison.ExactHomology.ExactHomologyComparison.compose _ _ _ _ _ _ _ |
| 53 | (GeometricComparison.CechCone.CoefficientTransformation.CechConeCoefficientTransformation.total (DiagramSectionCoordinates.evaluation R V) (DiagramSectionCoordinates.evaluation R W) |
| 54 | (evaluationMap R α) U P) |
| 55 | (ComplexDiagramNaturality.Coordinates.total_natural U (diagramMap R P α)) |
| 56 | |
| 57 | end |
| 58 | |
| 59 | end OAI.NumberTheory.PadicHodge.IntegralComparison.Cech.DiagramSectionCoordinates |