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.Principal.AdditiveSections |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.AugmentedCech.CoefficientHomology |
| 3 | |
| 4 | /-! # Additive Restriction -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.Principal.AdditiveRestriction |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The original additive principal-support restriction is the |
| 11 | scalar-forgotten affine-module restriction, also on actual cohomology. -/ |
| 12 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry Opposite _root_.HomologicalComplex |
| 13 | set_option backward.defeqAttrib.useBackward true |
| 14 | set_option backward.isDefEq.respectTransparency false |
| 15 | set_option backward.isDefEq.respectTransparency.types false |
| 16 | universe u |
| 17 | open OAI.NumberTheory.PadicHodge.IntegralComparison.Principal.SectionPresheaf OAI.NumberTheory.PadicHodge.IntegralComparison.Principal.AdditiveSections |
| 18 | variable {X : Scheme.{u}} (U : X.Opens) (hU : IsAffineOpen U) |
| 19 | (K : CochainComplex X.Modules ℕ) |
| 20 | {ι : Type u} [LinearOrder ι] (W : ι → SectionPresheaf.Index U) |
| 21 | |
| 22 | local instance finiteBiproducts : HasFiniteBiproducts (ModuleCat.{u} Γ(X, U)) := |
| 23 | Abelian.hasFiniteBiproducts |
| 24 | |
| 25 | def ambientIso : ((AdditiveSections.forgetScalars U).mapHomologicalComplex (.up ℕ)).obj |
| 26 | (AugmentedOrdered.CechForget.ambientComplex (AdditiveSections.linearComplex U hU K)) ≅ AugmentedOrdered.CechForget.ambientComplex (AdditiveSections.additiveComplex U hU K) := |
| 27 | (((CategoryTheory.evaluation (SectionPresheaf.Index U)ᵒᵖ AddCommGrpCat.{u}).obj |
| 28 | (op (⊤_ SectionPresheaf.Index U))).mapHomologicalComplex (.up ℕ)).mapIso |
| 29 | (AdditiveSections.complexIso U hU K) |
| 30 | |
| 31 | theorem comparison : (AdditiveSections.totalIso U hU K W).hom ≫ AugmentedOrdered.CechForget.forgetSupport W (AdditiveSections.additiveComplex U hU K) = |
| 32 | ((AdditiveSections.forgetScalars U).mapHomologicalComplex (.up ℕ)).map |
| 33 | (AugmentedOrdered.CechForget.forgetSupport W (AdditiveSections.linearComplex U hU K)) ≫ (ambientIso U hU K).hom := by |
| 34 | change (AugmentedCech.CoefficientTotal.totalIso W (AdditiveSections.forgetScalars U) (AdditiveSections.linearComplex U hU K)).hom ≫ |
| 35 | AugmentedOrdered.CechForgetNaturality.map W (AdditiveSections.complexIso U hU K).hom ≫ |
| 36 | AugmentedOrdered.CechForget.forgetSupport W (AdditiveSections.additiveComplex U hU K) = _ |
| 37 | rw [AugmentedOrdered.CechForgetNaturality.comparison, |
| 38 | ← Category.assoc, AugmentedCech.CoefficientForget.comparison] |
| 39 | rfl |
| 40 | |
| 41 | def ambientHomologyIso (q : ℕ) : (AdditiveSections.forgetScalars U).obj |
| 42 | ((AugmentedOrdered.CechForget.ambientComplex (AdditiveSections.linearComplex U hU K)).homology q) ≅ |
| 43 | (AugmentedOrdered.CechForget.ambientComplex (AdditiveSections.additiveComplex U hU K)).homology q := |
| 44 | (((AugmentedOrdered.CechForget.ambientComplex (AdditiveSections.linearComplex U hU K)).sc q).mapHomologyIso (AdditiveSections.forgetScalars U)).symm ≪≫ |
| 45 | homologyMapIso (ambientIso U hU K) q |
| 46 | |
| 47 | theorem homology (q : ℕ) : (AdditiveSections.homologyIso U hU K W q).hom ≫ |
| 48 | homologyMap (AugmentedOrdered.CechForget.forgetSupport W (AdditiveSections.additiveComplex U hU K)) q = |
| 49 | (AdditiveSections.forgetScalars U).map (homologyMap (AugmentedOrdered.CechForget.forgetSupport W (AdditiveSections.linearComplex U hU K)) q) ≫ |
| 50 | (ambientHomologyIso U hU K q).hom := by |
| 51 | have h := congrArg (fun a => homologyMap a q) (comparison U hU K W) |
| 52 | simp only [homologyMap_comp] at h |
| 53 | let L := (AugmentedOrdered.CechFunctor.bicomplex W (AdditiveSections.linearComplex U hU K)).total (.up ℕ) |
| 54 | let M := AugmentedOrdered.CechForget.ambientComplex (AdditiveSections.linearComplex U hU K) |
| 55 | have hn : (AdditiveSections.forgetScalars U).map (homologyMap (AugmentedOrdered.CechForget.forgetSupport W (AdditiveSections.linearComplex U hU K)) q) ≫ |
| 56 | ((M.sc q).mapHomologyIso (AdditiveSections.forgetScalars U)).inv = |
| 57 | ((L.sc q).mapHomologyIso (AdditiveSections.forgetScalars U)).inv ≫ |
| 58 | homologyMap (((AdditiveSections.forgetScalars U).mapHomologicalComplex (.up ℕ)).map |
| 59 | (AugmentedOrdered.CechForget.forgetSupport W (AdditiveSections.linearComplex U hU K))) q := |
| 60 | ShortComplex.mapHomologyIso_inv_naturality |
| 61 | ((shortComplexFunctor (ModuleCat.{u} Γ(X, U)) (.up ℕ) q).map |
| 62 | (AugmentedOrdered.CechForget.forgetSupport W (AdditiveSections.linearComplex U hU K))) (AdditiveSections.forgetScalars U) |
| 63 | change (((L.sc q).mapHomologyIso (AdditiveSections.forgetScalars U)).inv ≫ |
| 64 | homologyMap (AdditiveSections.totalIso U hU K W).hom q) ≫ _ = _ |
| 65 | rw [Category.assoc, h, ← Category.assoc] |
| 66 | exact (congrArg (fun a => a ≫ homologyMap (ambientIso U hU K).hom q) hn.symm).trans |
| 67 | (Category.assoc _ _ _) |
| 68 | |
| 69 | end |
| 70 | |
| 71 | end OAI.NumberTheory.PadicHodge.IntegralComparison.Principal.AdditiveRestriction |