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.InternalHomCechConcentration |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Cech.ConcentratedNaturality |
| 3 | import OAI.NumberTheory.PadicHodge.IntegralComparison.InternalHomTotalNaturality |
| 4 | import OAI.NumberTheory.PadicHodge.IntegralComparison.ConcentratedSerre |
| 5 | |
| 6 | /-! # Internal Hom Concentration Naturality -/ |
| 7 | |
| 8 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.InternalHomConcentrationNaturality |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! The Serre comparison descends naturally to the actual surviving |
| 13 | cohomology sheaves of the internal Hom complexes. -/ |
| 14 | |
| 15 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 16 | |
| 17 | set_option backward.isDefEq.respectTransparency false |
| 18 | |
| 19 | universe u |
| 20 | |
| 21 | open OAI.NumberTheory.PadicHodge.IntegralComparison.InternalHomCechTotal |
| 22 | |
| 23 | variable {X S : Scheme.{u}} (π : X ⟶ S) [X.IsSeparated] |
| 24 | {ι : Type u} [LinearOrder ι] (U : ι → X.Opens) (hU : ∀ i, IsAffineOpen (U i)) |
| 25 | (N : X.Modules) {K L : CochainComplex X.Modulesᵒᵖ ℕ} |
| 26 | [∀ q, ((InternalHomCechTotal.internalComplex N K).X q).IsQuasicoherent] |
| 27 | [∀ q, ((InternalHomCechTotal.internalComplex N L).X q).IsQuasicoherent] |
| 28 | (c : ℕ) (hK : ∀ q, q ≠ c → (InternalHomCechTotal.internalComplex N K).ExactAt q) |
| 29 | (hL : ∀ q, q ≠ c → (InternalHomCechTotal.internalComplex N L).ExactAt q) (a : K ⟶ L) |
| 30 | |
| 31 | def cohomologyMap (n : ℕ) := |
| 32 | (forget₂ (ModuleCat.{u} Γ(S, ⊤)) AddCommGrpCat).map |
| 33 | (HomologicalComplex.homologyMap ((AlgebraicGeometry.SheafCohomology.Projective.OrderedBaseCechFunctor.Scheme.Modules.orderedBaseCechComplexFunctor π U).map |
| 34 | (HomologicalComplex.homologyMap (InternalHomTotalNaturality.internalMap N a) c)) n) |
| 35 | |
| 36 | @[reassoc] |
| 37 | theorem total_naturality (n : ℕ) : |
| 38 | HomologicalComplex.homologyMap (InternalHomTotalNaturality.totalMap π U N a) (n + c) ≫ |
| 39 | (InternalHomCechConcentration.totalHomologyIso π U hU N L c hL n).hom = |
| 40 | (InternalHomCechConcentration.totalHomologyIso π U hU N K c hK n).hom ≫ |
| 41 | cohomologyMap π U N c a n := by |
| 42 | let F := forget₂ (ModuleCat.{u} Γ(S, ⊤)) AddCommGrpCat |
| 43 | let b := OrderedCech.QuasiIso.map π U (InternalHomTotalNaturality.internalMap N a) |
| 44 | have hf : HomologicalComplex.homologyMap ((F.mapHomologicalComplex (.up ℕ)).map b) (n + c) ≫ |
| 45 | (((InternalHomCechTotal.total π U N L).sc (n + c)).mapHomologyIso F).hom = |
| 46 | (((InternalHomCechTotal.total π U N K).sc (n + c)).mapHomologyIso F).hom ≫ |
| 47 | F.map (HomologicalComplex.homologyMap b (n + c)) := |
| 48 | ShortComplex.mapHomologyIso_hom_naturality |
| 49 | ((HomologicalComplex.shortComplexFunctor (ModuleCat.{u} Γ(S, ⊤)) (.up ℕ) (n + c)).map b) F |
| 50 | have hc := DualComplexHomology.map_square F _ _ _ _ |
| 51 | (Cech.ConcentratedNaturality.naturality π U hU c hK hL |
| 52 | (InternalHomTotalNaturality.internalMap N a) n) |
| 53 | simpa only [InternalHomCechConcentration.totalHomologyIso, Iso.trans_hom, |
| 54 | Functor.mapIso_hom, cohomologyMap, F, b, InternalHomTotalNaturality.totalMap] using |
| 55 | DualComplexHomology.compose_squares _ _ _ _ _ _ _ hf hc |
| 56 | |
| 57 | @[reassoc] |
| 58 | theorem serre_naturality (n : ℕ) {D₁ D₂ : AddCommGrpCat.{u}} |
| 59 | (e₁ : InternalHomCechTotal.TotalIso π U N K (n + c) D₁) (e₂ : InternalHomCechTotal.TotalIso π U N L (n + c) D₂) |
| 60 | (b : D₁ ⟶ D₂) |
| 61 | (he : HomologicalComplex.homologyMap (InternalHomTotalNaturality.totalMap π U N a) (n + c) ≫ |
| 62 | e₂.hom = e₁.hom ≫ b) : |
| 63 | cohomologyMap π U N c a n ≫ (ConcentratedSerre.Comparison.iso π U hU N L c hL n e₂).hom = |
| 64 | (ConcentratedSerre.Comparison.iso π U hU N K c hK n e₁).hom ≫ b := by |
| 65 | have hi := CohomologyConcentrationNaturality.inverse_square _ _ |
| 66 | (InternalHomCechConcentration.totalHomologyIso π U hU N K c hK n) |
| 67 | (InternalHomCechConcentration.totalHomologyIso π U hU N L c hL n) |
| 68 | (total_naturality π U hU N c hK hL a n) |
| 69 | exact DualComplexHomology.compose_squares _ _ _ _ _ _ _ hi he |
| 70 | |
| 71 | end |
| 72 | |
| 73 | end OAI.NumberTheory.PadicHodge.IntegralComparison.InternalHomConcentrationNaturality |