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.TripleTotal.Association |
| 2 | import OAI.NumberTheory.PadicHodge.GeometricComparison.Finite.TotalTransformation |
| 3 | |
| 4 | /-! # Rotation -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.TripleTotal.Rotation |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Evaluation in the coefficient degree identifies the native |
| 11 | Čech-first grouping with the corresponding right-bracketed triple |
| 12 | total. This is the actual finite coproduct comparison. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.CategoryTheory.Limits |
| 15 | |
| 16 | universe u v |
| 17 | variable {A : Type u} [Category.{v} A] [Abelian A] [HasFiniteCoproducts A] |
| 18 | |
| 19 | local instance total (K : HomologicalComplex₂ A (.up ℕ) (.up ℕ)) : |
| 20 | K.HasTotal (.up ℕ) := AlgebraicGeometry.Comparison.Betti.TotalExists.hasTotal_of_finiteCoproducts K |
| 21 | local instance complexTotal (K : HomologicalComplex₂ (CochainComplex A ℕ) (.up ℕ) (.up ℕ)) : |
| 22 | K.HasTotal (.up ℕ) := AlgebraicGeometry.Comparison.Betti.TotalExists.hasTotal_of_finiteCoproducts K |
| 23 | |
| 24 | local instance flipZero : |
| 25 | (HomologicalComplex₂.flipFunctor A (.up ℕ) (.up ℕ)).PreservesZeroMorphisms where |
| 26 | map_zero := by |
| 27 | intros |
| 28 | ext i j |
| 29 | rfl |
| 30 | |
| 31 | variable (S : HomologicalComplex₂ (CochainComplex A ℕ) (.up ℕ) (.up ℕ)) |
| 32 | |
| 33 | def rotate : HomologicalComplex₂ (CochainComplex A ℕ) (.up ℕ) (.up ℕ) := |
| 34 | HomologicalComplex₂.flip |
| 35 | (((HomologicalComplex₂.flipFunctor A (.up ℕ) (.up ℕ)).mapHomologicalComplex (.up ℕ)).obj S) |
| 36 | |
| 37 | def rowIso (r : ℕ) : (Components.rightBicomplex (rotate S)).X r ≅ |
| 38 | (HomologicalComplex₂.flip (S.total (.up ℕ))).X r := |
| 39 | AlgebraicGeometry.Comparison.Betti.Finite.TotalFunctor.finiteTotalComparisonIso (HomologicalComplex.eval A (.up ℕ) r) S |
| 40 | |
| 41 | def bicomplexMap : Components.rightBicomplex (rotate S) ⟶ |
| 42 | HomologicalComplex₂.flip (S.total (.up ℕ)) where |
| 43 | f r := (rowIso S r).hom |
| 44 | comm' r r' _ := |
| 45 | (GeometricComparison.Finite.TotalTransformation.FiniteTotalTransformation.naturality (HomologicalComplex.dNatTrans A (.up ℕ) r r') S).symm |
| 46 | |
| 47 | instance bicomplexMap_isIso : IsIso (bicomplexMap S) := by |
| 48 | let : ∀ r, IsIso ((bicomplexMap S).f r) := fun r => |
| 49 | inferInstanceAs (IsIso (rowIso S r).hom) |
| 50 | exact HomologicalComplex.Hom.isIso_of_components _ |
| 51 | |
| 52 | def bicomplexIso : Components.rightBicomplex (rotate S) ≅ |
| 53 | HomologicalComplex₂.flip (S.total (.up ℕ)) := asIso (bicomplexMap S) |
| 54 | |
| 55 | def totalIso : Components.right (rotate S) ≅ |
| 56 | (HomologicalComplex₂.flip (S.total (.up ℕ))).total (.up ℕ) := |
| 57 | HomologicalComplex₂.total.mapIso (bicomplexIso S) (.up ℕ) |
| 58 | |
| 59 | def regroup : (HomologicalComplex₂.flip (S.total (.up ℕ))).total (.up ℕ) ⟶ |
| 60 | Components.left (rotate S) := |
| 61 | (totalIso S).inv ≫ Association.map (rotate S) |
| 62 | |
| 63 | end |
| 64 | |
| 65 | end OAI.NumberTheory.PadicHodge.IntegralComparison.TripleTotal.Rotation |