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.Section.FunctorRefinementCoordinates |
| 2 | import OAI.NumberTheory.PadicHodge.GeometricComparison.CechAssembly.RefinementCohomology |
| 3 | import OAI.NumberTheory.PadicHodge.GeometricComparison.Cech.RefinementConeOneCoordinates |
| 4 | |
| 5 | /-! # Functor Refinement One -/ |
| 6 | |
| 7 | namespace OAI.NumberTheory.PadicHodge.GeometricComparison.Section.FunctorRefinementOne.SectionFunctorRefinementHOne |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! H-one refinement and cone/comparison naturality in explicitly |
| 12 | composed section-functor coordinates, before native specialization. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.CategoryTheory.Limits |
| 15 | |
| 16 | universe u v a b c d e f g h |
| 17 | variable (R : Type u) [CommRing R] |
| 18 | {A : Type a} [Category.{b} A] [Preadditive A] |
| 19 | {C : Type c} [Category.{d} C] [HasBinaryProducts C] |
| 20 | {D : Type e} [Category.{f} D] [Quiver.IsThin D] [HasBinaryProducts D] |
| 21 | {E : Type g} [Category.{h} E] |
| 22 | (S : A ⥤ (Eᵒᵖ ⥤ ModuleCat.{max u v} R)) [S.Additive] (K : CochainComplex A ℕ) |
| 23 | (G : C ⥤ D) (F : D ⥤ E) {ι κ : Type} (U : ι → C) (V : κ → D) |
| 24 | [∀ (q : ℕ) (t : Fin (q + 1) → ι), PreservesLimit (Discrete.functor (U ∘ t)) G] |
| 25 | (r : FormalCoproduct.mk ι (G.obj ∘ U) ⟶ FormalCoproduct.mk κ V) |
| 26 | |
| 27 | local instance limits : HasLimitsOfSize.{0, 0} (ModuleCat.{max u v} R) := |
| 28 | ModuleCat.hasLimitsOfSize.{0, 0, max u v, u} |
| 29 | local instance colimits : HasColimitsOfSize.{0, 0} (ModuleCat.{max u v} R) := |
| 30 | ModuleCat.hasColimitsOfSize.{max u v, u, 0, 0} R |
| 31 | |
| 32 | def mapHOne : |
| 33 | ((CechPresheaf.ConeTotal.CechPresheafConeTotal.bicomplex V (FunctorRefinementCoordinates.SectionFunctorRefinementCoordinates.oldSections S K F)).total (.up ℕ)).homology 1 ⟶ |
| 34 | ((CechPresheaf.ConeTotal.CechPresheafConeTotal.bicomplex U (FunctorRefinementCoordinates.SectionFunctorRefinementCoordinates.newSections S K G F)).total (.up ℕ)).homology 1 := |
| 35 | HomologicalComplex.homologyMap (FunctorRefinementCoordinates.SectionFunctorRefinementCoordinates.refinement S K G F U V r) 1 |
| 36 | |
| 37 | variable (P : Dᵒᵖ ⥤ CochainComplex (ModuleCat.{max u v} R) ℕ) |
| 38 | (φ : AlgebraicGeometry.Crystalline.Cohomology.ComplexAssemblyQuasi.ComplexAssembly.complex (.up ℕ) P ⟶ FunctorRefinementCoordinates.SectionFunctorRefinementCoordinates.oldSections S K F) |
| 39 | (ψ : AlgebraicGeometry.Crystalline.Cohomology.ComplexAssemblyQuasi.ComplexAssembly.complex (.up ℕ) (G.op ⋙ P) ⟶ FunctorRefinementCoordinates.SectionFunctorRefinementCoordinates.newSections S K G F) |
| 40 | (hφ : ∀ q, q ≤ 1 → ∀ W, |
| 41 | ((((NonemptyCech.ProductBicomplex.NonemptyCechProductBicomplex.pullback G).mapHomologicalComplex (.up ℕ)).map φ).f q).app W = |
| 42 | (ψ.f q).app W) |
| 43 | |
| 44 | include hφ in |
| 45 | theorem comparison : CechPresheaf.RefinedHomotopy.CechPresheafRefinedHomotopy.mapHOne R V φ ≫ mapHOne R S K G F U V r = |
| 46 | CechAssembly.RefinementCohomology.CechAssemblyRefinementHOne.mapHOne R G U V r P ≫ |
| 47 | CechPresheaf.RefinedHomotopy.CechPresheafRefinedHomotopy.mapHOne R U ψ := |
| 48 | CechAssembly.RefinementCohomology.CechAssemblyRefinementHOne.comparison R G U V r P φ ψ hφ |
| 49 | |
| 50 | def pulled : AlgebraicGeometry.Crystalline.Cohomology.ComplexAssemblyQuasi.ComplexAssembly.complex (.up ℕ) (G.op ⋙ P) ⟶ |
| 51 | FunctorRefinementCoordinates.SectionFunctorRefinementCoordinates.newSections S K G F := |
| 52 | ((NonemptyCech.ProductBicomplex.NonemptyCechProductBicomplex.pullback G).mapHomologicalComplex (.up ℕ)).map φ |
| 53 | |
| 54 | def pulledHOne := CechPresheaf.RefinedHomotopy.CechPresheafRefinedHomotopy.mapHOne R U (pulled R S K G F P φ) |
| 55 | |
| 56 | theorem naturality : CechPresheaf.RefinedHomotopy.CechPresheafRefinedHomotopy.mapHOne R V φ ≫ mapHOne R S K G F U V r = |
| 57 | CechAssembly.RefinementCohomology.CechAssemblyRefinementHOne.mapHOne R G U V r P ≫ |
| 58 | pulledHOne R S K G F U P φ := |
| 59 | comparison R S K G F U V r P φ (pulled R S K G F P φ) (fun _ _ _ => rfl) |
| 60 | |
| 61 | end |
| 62 | |
| 63 | end OAI.NumberTheory.PadicHodge.GeometricComparison.Section.FunctorRefinementOne.SectionFunctorRefinementHOne |