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.GeometricComparison.FirstThree.MappedTotalOne |
| 2 | import OAI.NumberTheory.PadicHodge.GeometricComparison.NaturalTotalImage |
| 3 | import OAI.NumberTheory.PadicHodge.GeometricComparison.ComplexMap |
| 4 | |
| 5 | /-! # Mapped Total -/ |
| 6 | |
| 7 | namespace OAI.NumberTheory.PadicHodge.GeometricComparison.FirstThree.MappedTotal.FirstThreeMappedTotalHodge |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Retaining the first three form degrees preserves each actual |
| 12 | form-degree Hodge image on total H-one. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.CategoryTheory.Limits |
| 15 | |
| 16 | universe a b |
| 17 | variable (R : Type) [CommRing R] {C : Type a} [Category.{b} C] [Abelian C] |
| 18 | (G : C ⥤ CochainComplex (ModuleCat.{0} R) ℕ) [G.Additive] |
| 19 | (K : CochainComplex C ℕ) (r : ℤ) |
| 20 | |
| 21 | local notation "B" => Functor.obj (Functor.mapHomologicalComplex G (ComplexShape.up ℕ)) K |
| 22 | local notation "B'" => Functor.obj (Functor.mapHomologicalComplex G (ComplexShape.up ℕ)) (OAI.NumberTheory.PadicHodge.GeometricComparison.FirstThree.ThreeComplex.FirstThreeComplex.complex K) |
| 23 | |
| 24 | def truncatedMap : AlgebraicGeometry.Crystalline.Cohomology.HodgeFiltrationD.HodgeFiltration.brutal B r ⟶ AlgebraicGeometry.Crystalline.Cohomology.HodgeFiltrationD.HodgeFiltration.brutal B' r := |
| 25 | ComplexMap.HodgeComplexMap.map (MappedTotalOne.FirstThreeMappedTotalHOne.bicomplexMap.{0, 0, a, b} R G K) r |
| 26 | |
| 27 | theorem row_isIso (q : ℕ) (hq : q ≤ 2) : IsIso ((truncatedMap R G K r).f q) := by |
| 28 | let : IsIso ((MappedTotalOne.FirstThreeMappedTotalHOne.bicomplexMap.{0, 0, a, b} R G K).f q) := |
| 29 | MappedTotalOne.FirstThreeMappedTotalHOne.row_isIso.{0, 0, a, b} R G K q hq |
| 30 | exact ComplexMap.HodgeComplexMap.component_isIso _ r q |
| 31 | |
| 32 | def map := HomologicalComplex₂.total.map (truncatedMap R G K r) (.up ℕ) |
| 33 | |
| 34 | theorem quasiIsoAt : QuasiIsoAt (FirstThreeMappedTotalHodge.map R G K r) 1 := by |
| 35 | let : IsIso ((truncatedMap R G K r).f 0) := row_isIso R G K r 0 (by decide) |
| 36 | let : IsIso ((truncatedMap R G K r).f 1) := row_isIso R G K r 1 (by decide) |
| 37 | let : IsIso ((truncatedMap R G K r).f 2) := row_isIso R G K r 2 le_rfl |
| 38 | exact Module.TotalOneQuasiIso.ModuleTotalHOneQuasiIso.quasiIsoAt (truncatedMap R G K r) inferInstance inferInstance inferInstance |
| 39 | |
| 40 | def homologyIso : (HomologicalComplex₂.total (AlgebraicGeometry.Crystalline.Cohomology.HodgeFiltrationD.HodgeFiltration.brutal B r) (.up ℕ)).homology 1 ≅ |
| 41 | (HomologicalComplex₂.total (AlgebraicGeometry.Crystalline.Cohomology.HodgeFiltrationD.HodgeFiltration.brutal B' r) (.up ℕ)).homology 1 := by |
| 42 | let := quasiIsoAt R G K r |
| 43 | exact isoOfQuasiIsoAt (FirstThreeMappedTotalHodge.map R G K r) 1 |
| 44 | |
| 45 | theorem inclusion : |
| 46 | ModuleCat.ofHom (NaturalTotalImage.NaturalTotalHodgeImage.filtrationMap B 1 r) ≫ |
| 47 | HomologicalComplex.homologyMap (MappedTotalOne.FirstThreeMappedTotalHOne.map.{0, 0, a, b} R G K) 1 = |
| 48 | (homologyIso R G K r).hom ≫ ModuleCat.ofHom (NaturalTotalImage.NaturalTotalHodgeImage.filtrationMap B' 1 r) := by |
| 49 | let F := HomologicalComplex₂.totalFunctor (ModuleCat.{0} R) (.up ℕ) (.up ℕ) (.up ℕ) |
| 50 | let H := HomologicalComplex.homologyFunctor (ModuleCat.{0} R) (.up ℕ) 1 |
| 51 | have h := congrArg F.map |
| 52 | (ComplexMap.HodgeComplexMap.inclusion (MappedTotalOne.FirstThreeMappedTotalHOne.bicomplexMap.{0, 0, a, b} R G K) r).symm |
| 53 | simp only [Functor.map_comp] at h |
| 54 | have h' := congrArg H.map h |
| 55 | simp only [Functor.map_comp] at h' |
| 56 | apply ModuleCat.hom_ext |
| 57 | apply LinearMap.ext |
| 58 | intro x |
| 59 | exact ConcreteCategory.congr_hom h' x |
| 60 | |
| 61 | end |
| 62 | |
| 63 | end OAI.NumberTheory.PadicHodge.GeometricComparison.FirstThree.MappedTotal.FirstThreeMappedTotalHodge |