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.RowInjection |
| 2 | import OAI.AlgebraicGeometry.SheafCohomology.Cech.UpNatHorizontalEdge |
| 3 | |
| 4 | /-! # Horizontal Edge -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.TripleTotal.HorizontalEdge |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! A horizontal augmentation in the original triple complex is |
| 11 | the outer horizontal augmentation after the canonical row regrouping. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.CategoryTheory.Limits |
| 14 | |
| 15 | universe u v |
| 16 | variable {A : Type u} [Category.{v} A] [Abelian A] [HasFiniteCoproducts A] |
| 17 | attribute [local instance] Rotation.total Rotation.complexTotal |
| 18 | Rotation.flipZero Components.totalAdditive |
| 19 | |
| 20 | variable (S : HomologicalComplex₂ (CochainComplex A ℕ) (.up ℕ) (.up ℕ)) |
| 21 | (K : HomologicalComplex₂ A (.up ℕ) (.up ℕ)) |
| 22 | (u : K ⟶ (HomologicalComplex₂.flip S).X 0) |
| 23 | (w : ∀ i, u.f i ≫ (S.X i).d 0 1 = 0) |
| 24 | |
| 25 | def originalEdge : K ⟶ S.total (.up ℕ) := |
| 26 | (AlgebraicGeometry.SheafCohomology.Cech.UpNatHorizontalEdge.HomologicalComplex₂.totalUpNatHorizontalEdge S) K (fun i => u.f i) |
| 27 | (fun i i' _ => u.comm i i') w |
| 28 | |
| 29 | def leftMap : (HomologicalComplex₂.flip K).total (.up ℕ) ⟶ |
| 30 | (HomologicalComplex₂.flip (S.total (.up ℕ))).total (.up ℕ) := |
| 31 | HomologicalComplex₂.total.map |
| 32 | ((HomologicalComplex₂.flipFunctor A (.up ℕ) (.up ℕ)).map (originalEdge S K u w)) (.up ℕ) |
| 33 | |
| 34 | def rowMap := RowCoordinates.rowFunctor.map u |
| 35 | |
| 36 | include w in |
| 37 | omit [HasFiniteCoproducts A] in |
| 38 | theorem augmentation_zero : u ≫ (HomologicalComplex₂.flip S).d 0 1 = 0 := by |
| 39 | apply HomologicalComplex.Hom.ext |
| 40 | funext i |
| 41 | exact w i |
| 42 | |
| 43 | include w in |
| 44 | theorem row_cocycle (N : ℕ) : |
| 45 | (rowMap S K u).f N ≫ ((RowCoordinates.bicomplex S).X N).d 0 1 = 0 := by |
| 46 | have h : rowMap S K u ≫ RowCoordinates.rowFunctor.map |
| 47 | ((HomologicalComplex₂.flip S).d 0 1) = 0 := by |
| 48 | dsimp only [rowMap] |
| 49 | rw [← Functor.map_comp, augmentation_zero S K u w, Functor.map_zero] |
| 50 | exact congrArg (fun f => f.f N) h |
| 51 | |
| 52 | def rightMap : (HomologicalComplex₂.flip K).total (.up ℕ) ⟶ |
| 53 | (RowCoordinates.bicomplex S).total (.up ℕ) := |
| 54 | (AlgebraicGeometry.SheafCohomology.Cech.UpNatHorizontalEdge.HomologicalComplex₂.totalUpNatHorizontalEdge (RowCoordinates.bicomplex S)) |
| 55 | ((HomologicalComplex₂.flip K).total (.up ℕ)) (fun N => (rowMap S K u).f N) |
| 56 | (fun N N' _ => (rowMap S K u).comm N N') (row_cocycle S K u w) |
| 57 | |
| 58 | theorem left_injection (r i : ℕ) : |
| 59 | (HomologicalComplex₂.flip K).ιTotal (.up ℕ) r i (r+i) rfl ≫ (leftMap S K u w).f (r+i) = |
| 60 | (u.f i).f r ≫ RotationInjection.nativeInjection S r i 0 (r+i) (by omega) := by |
| 61 | dsimp only [leftMap] |
| 62 | erw [HomologicalComplex₂.ιTotal_map] |
| 63 | change ((u.f i ≫ S.ιTotal (.up ℕ) i 0 i rfl).f r) ≫ |
| 64 | (HomologicalComplex₂.flip (S.total (.up ℕ))).ιTotal (.up ℕ) r i (r+i) rfl = _ |
| 65 | exact Category.assoc _ _ _ |
| 66 | |
| 67 | theorem right_injection (r i : ℕ) : |
| 68 | (HomologicalComplex₂.flip K).ιTotal (.up ℕ) r i (r+i) rfl ≫ (rightMap S K u w).f (r+i) = |
| 69 | (u.f i).f r ≫ RowInjection.Coordinates.injection S r i 0 (r+i) (by omega) := by |
| 70 | dsimp only [rightMap] |
| 71 | erw [AlgebraicGeometry.SheafCohomology.Cech.UpNatHorizontalEdge.HomologicalComplex₂.totalUpNatHorizontalEdge_f, ← Category.assoc] |
| 72 | change ((HomologicalComplex₂.flip K).ιTotal (.up ℕ) r i (r+i) rfl ≫ |
| 73 | (HomologicalComplex₂.total.map |
| 74 | ((HomologicalComplex₂.flipFunctor A (.up ℕ) (.up ℕ)).map u) (.up ℕ)).f (r+i)) ≫ _ = _ |
| 75 | erw [HomologicalComplex₂.ιTotal_map] |
| 76 | exact Category.assoc _ _ _ |
| 77 | |
| 78 | theorem comparison : leftMap S K u w ≫ RowCoordinates.regroup S = rightMap S K u w := by |
| 79 | apply HomologicalComplex.Hom.ext |
| 80 | funext N |
| 81 | apply HomologicalComplex₂.total.hom_ext |
| 82 | intro r i hri |
| 83 | change r+i=N at hri |
| 84 | subst N |
| 85 | erw [HomologicalComplex.comp_f, ← Category.assoc, left_injection, |
| 86 | Category.assoc, RowInjection.Coordinates.injection_regroup, right_injection] |
| 87 | rfl |
| 88 | |
| 89 | end |
| 90 | |
| 91 | end OAI.NumberTheory.PadicHodge.IntegralComparison.TripleTotal.HorizontalEdge |