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.RotationInjection |
| 2 | |
| 3 | /-! # Row Coordinates -/ |
| 4 | |
| 5 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.TripleTotal.RowCoordinates |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! The other grouping is the actual outer complex of row totals. |
| 10 | Finite-coproduct evaluation gives the canonical coordinate isomorphism. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.CategoryTheory.Limits |
| 13 | |
| 14 | universe u v |
| 15 | variable {A : Type u} [Category.{v} A] [Abelian A] [HasFiniteCoproducts A] |
| 16 | attribute [local instance] Rotation.total Rotation.complexTotal |
| 17 | Rotation.flipZero Components.totalAdditive |
| 18 | |
| 19 | local instance flipAdditive : |
| 20 | (HomologicalComplex₂.flipFunctor A (.up ℕ) (.up ℕ)).Additive where |
| 21 | map_add := by |
| 22 | intros |
| 23 | ext i j |
| 24 | rfl |
| 25 | |
| 26 | def rowFunctor : HomologicalComplex₂ A (.up ℕ) (.up ℕ) ⥤ CochainComplex A ℕ := |
| 27 | HomologicalComplex₂.flipFunctor A (.up ℕ) (.up ℕ) ⋙ |
| 28 | HomologicalComplex₂.totalFunctor A (.up ℕ) (.up ℕ) (.up ℕ) |
| 29 | |
| 30 | instance rowAdditive : (rowFunctor (A := A)).Additive := by |
| 31 | dsimp only [rowFunctor] |
| 32 | infer_instance |
| 33 | |
| 34 | variable (S : HomologicalComplex₂ (CochainComplex A ℕ) (.up ℕ) (.up ℕ)) |
| 35 | |
| 36 | def bicomplex : HomologicalComplex₂ A (.up ℕ) (.up ℕ) := |
| 37 | HomologicalComplex₂.flip |
| 38 | (((rowFunctor (A := A)).mapHomologicalComplex (.up ℕ)).obj (HomologicalComplex₂.flip S)) |
| 39 | |
| 40 | def rowIso (j : ℕ) : ((HomologicalComplex₂.flip (bicomplex S)).X j) ≅ |
| 41 | (HomologicalComplex₂.flip (Components.leftBicomplex |
| 42 | (Rotation.rotate S))).X j := |
| 43 | AlgebraicGeometry.Comparison.Betti.Finite.TotalFunctor.finiteTotalComparisonIso (HomologicalComplex.eval A (.up ℕ) j) |
| 44 | (Rotation.rotate S) |
| 45 | |
| 46 | def flippedMap : HomologicalComplex₂.flip (bicomplex S) ⟶ |
| 47 | HomologicalComplex₂.flip (Components.leftBicomplex |
| 48 | (Rotation.rotate S)) where |
| 49 | f j := (rowIso S j).hom |
| 50 | comm' j j' _ := |
| 51 | (GeometricComparison.Finite.TotalTransformation.FiniteTotalTransformation.naturality |
| 52 | (HomologicalComplex.dNatTrans A (.up ℕ) j j') (Rotation.rotate S)).symm |
| 53 | |
| 54 | instance flippedMap_isIso : IsIso (flippedMap S) := by |
| 55 | let : ∀ j, IsIso ((flippedMap S).f j) := fun j => inferInstanceAs (IsIso (rowIso S j).hom) |
| 56 | exact HomologicalComplex.Hom.isIso_of_components _ |
| 57 | |
| 58 | def bicomplexIso : bicomplex S ≅ |
| 59 | Components.leftBicomplex (Rotation.rotate S) := |
| 60 | (HomologicalComplex₂.flipFunctor A (.up ℕ) (.up ℕ)).mapIso (asIso (flippedMap S)) |
| 61 | |
| 62 | def totalIso : (bicomplex S).total (.up ℕ) ≅ |
| 63 | Components.left (Rotation.rotate S) := |
| 64 | HomologicalComplex₂.total.mapIso (bicomplexIso S) (.up ℕ) |
| 65 | |
| 66 | def regroup : (HomologicalComplex₂.flip (S.total (.up ℕ))).total (.up ℕ) ⟶ |
| 67 | (bicomplex S).total (.up ℕ) := |
| 68 | Rotation.regroup S ≫ (totalIso S).inv |
| 69 | |
| 70 | end |
| 71 | |
| 72 | end OAI.NumberTheory.PadicHodge.IntegralComparison.TripleTotal.RowCoordinates |