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.Mapped.HomologyProjection |
| 2 | import Mathlib.Algebra.Homology.ShortComplex.ModuleCat |
| 3 | import Mathlib.Algebra.Homology.ShortComplex.Abelian |
| 4 | |
| 5 | /-! # Module Class -/ |
| 6 | |
| 7 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.Mapped.ModuleClass |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Concrete module cycle classes commute with the canonical homology |
| 12 | comparison for an exact coefficient functor. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.CategoryTheory.Limits |
| 15 | |
| 16 | universe u v u' v' |
| 17 | variable {R : Type u} [CommRing R] {T : Type u'} [CommRing T] |
| 18 | (F : ModuleCat.{v} R ⥤ ModuleCat.{v'} T) |
| 19 | [F.Additive] [F.PreservesHomology] [PreservesFiniteLimits F] |
| 20 | (η : ∀ M : ModuleCat.{v} R, M →+ F.obj M) |
| 21 | (hη : ∀ {M N : ModuleCat.{v} R} (f : M ⟶ N) (x : M), |
| 22 | F.map f (η M x) = η N (f x)) |
| 23 | (S : ShortComplex (ModuleCat.{v} R)) |
| 24 | |
| 25 | def classMap (x : S.g.hom.ker) : S.homology := |
| 26 | S.moduleCatHomologyIso.inv (Submodule.Quotient.mk x) |
| 27 | |
| 28 | theorem classMap_eq (x : S.g.hom.ker) : |
| 29 | classMap S x = S.homologyπ (S.moduleCatCyclesIso.inv x) := |
| 30 | (congrArg (fun f => f x) S.moduleCatCyclesIso_inv_π).symm |
| 31 | |
| 32 | include hη in |
| 33 | omit [PreservesFiniteLimits F] in |
| 34 | theorem cycles (x : S.g.hom.ker) (y : (S.map F).g.hom.ker) |
| 35 | (hy : y.val = η S.X₂ x.val) : |
| 36 | (S.mapCyclesIso F).hom ((S.map F).moduleCatCyclesIso.inv y) = |
| 37 | η S.cycles (S.moduleCatCyclesIso.inv x) := by |
| 38 | apply (ModuleCat.mono_iff_injective (F.map S.iCycles)).mp inferInstance |
| 39 | have h₁ : F.map S.iCycles ((S.mapCyclesIso F).hom ((S.map F).moduleCatCyclesIso.inv y)) = |
| 40 | (S.map F).iCycles ((S.map F).moduleCatCyclesIso.inv y) := |
| 41 | congrArg (fun f => f ((S.map F).moduleCatCyclesIso.inv y)) |
| 42 | (S.mapCyclesIso_hom_iCycles F) |
| 43 | have h₂ : (S.map F).iCycles ((S.map F).moduleCatCyclesIso.inv y) = y.val := |
| 44 | congrArg (fun f => f y) (S.map F).moduleCatCyclesIso_inv_iCycles |
| 45 | have h₃ : S.iCycles (S.moduleCatCyclesIso.inv x) = x.val := |
| 46 | congrArg (fun f => f x) S.moduleCatCyclesIso_inv_iCycles |
| 47 | exact h₁.trans (h₂.trans (hy.trans ((congrArg (η S.X₂) h₃).symm.trans (hη _ _).symm))) |
| 48 | |
| 49 | include hη in |
| 50 | omit [PreservesFiniteLimits F] in |
| 51 | theorem homology (x : S.g.hom.ker) (y : (S.map F).g.hom.ker) |
| 52 | (hy : y.val = η S.X₂ x.val) : |
| 53 | (S.mapHomologyIso F).hom (classMap (S.map F) y) = η S.homology (classMap S x) := by |
| 54 | rw [classMap_eq, classMap_eq] |
| 55 | calc |
| 56 | (S.mapHomologyIso F).hom |
| 57 | ((S.map F).homologyπ ((S.map F).moduleCatCyclesIso.inv y)) = |
| 58 | F.map S.homologyπ ((S.mapCyclesIso F).hom ((S.map F).moduleCatCyclesIso.inv y)) := |
| 59 | congrArg (fun f => f ((S.map F).moduleCatCyclesIso.inv y)) |
| 60 | (HomologyProjection.projection S F) |
| 61 | _ = F.map S.homologyπ (η S.cycles (S.moduleCatCyclesIso.inv x)) := |
| 62 | congrArg (F.map S.homologyπ) (ModuleClass.cycles F η hη S x y hy) |
| 63 | _ = η S.homology (S.homologyπ (S.moduleCatCyclesIso.inv x)) := hη _ _ |
| 64 | |
| 65 | end |
| 66 | |
| 67 | end OAI.NumberTheory.PadicHodge.IntegralComparison.Mapped.ModuleClass |