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.RowCoordinates |
| 2 | |
| 3 | /-! # Row Injection -/ |
| 4 | |
| 5 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.TripleTotal.RowInjection.Coordinates |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Injection normalization for the row-total coordinate isomorphism. -/ |
| 10 | |
| 11 | open _root_.CategoryTheory _root_.CategoryTheory.Limits |
| 12 | |
| 13 | universe u v |
| 14 | variable {A : Type u} [Category.{v} A] [Abelian A] [HasFiniteCoproducts A] |
| 15 | attribute [local instance] Rotation.total Rotation.complexTotal |
| 16 | variable (S : HomologicalComplex₂ (CochainComplex A ℕ) (.up ℕ) (.up ℕ)) |
| 17 | |
| 18 | def injection (r i j N : ℕ) (h : r+i+j=N) : |
| 19 | ((S.X i).X j).X r ⟶ ((RowCoordinates.bicomplex S).total (.up ℕ)).X N := |
| 20 | (HomologicalComplex₂.flip ((HomologicalComplex₂.flip S).X j)).ιTotal |
| 21 | (.up ℕ) r i (r+i) rfl ≫ (RowCoordinates.bicomplex S).ιTotal (.up ℕ) (r+i) j N h |
| 22 | |
| 23 | @[reassoc] |
| 24 | theorem injection_totalIso (r i j N : ℕ) (h : r+i+j=N) : |
| 25 | injection S r i j N h ≫ (RowCoordinates.totalIso S).hom.f N = |
| 26 | Components.leftInjection (Rotation.rotate S) r i j N h := by |
| 27 | dsimp only [injection, RowCoordinates.totalIso, HomologicalComplex₂.total.mapIso] |
| 28 | erw [Category.assoc, HomologicalComplex₂.ιTotal_map] |
| 29 | change (AlgebraicGeometry.Comparison.Betti.TotalComplexFunctor.mapBicomplex (HomologicalComplex.eval A (.up ℕ) j) |
| 30 | (Rotation.rotate S)).ιTotal (.up ℕ) r i (r+i) rfl ≫ |
| 31 | AlgebraicGeometry.Comparison.Betti.Finite.TotalFunctor.finiteTotalComparisonComponent (HomologicalComplex.eval A (.up ℕ) j) |
| 32 | (Rotation.rotate S) (r+i) ≫ |
| 33 | (Components.leftBicomplex (Rotation.rotate S)).ιTotal |
| 34 | (.up ℕ) (r+i) j N h = _ |
| 35 | erw [← Category.assoc, AlgebraicGeometry.Comparison.Betti.Finite.TotalFunctor.ι_finiteTotalComparisonComponent] |
| 36 | rfl |
| 37 | |
| 38 | @[reassoc] |
| 39 | theorem injection_regroup (r i j N : ℕ) (h : r+i+j=N) : |
| 40 | RotationInjection.nativeInjection S r i j N h ≫ (RowCoordinates.regroup S).f N = |
| 41 | injection S r i j N h := by |
| 42 | dsimp only [RowCoordinates.regroup, HomologicalComplex.comp_f] |
| 43 | erw [← Category.assoc, RotationInjection.injection_regroup, |
| 44 | ← injection_totalIso, Category.assoc, ← HomologicalComplex.comp_f, |
| 45 | Iso.hom_inv_id, HomologicalComplex.id_f, Category.comp_id] |
| 46 | |
| 47 | end |
| 48 | |
| 49 | end OAI.NumberTheory.PadicHodge.IntegralComparison.TripleTotal.RowInjection.Coordinates |