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.ConstantSheaf |
| 2 | import OAI.AlgebraicGeometry.Comparison.Betti.Acyclic.ResolutionHom |
| 3 | |
| 4 | /-! # Acyclic Resolution Sections -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.PadicHodge.GeometricComparison.Module.AcyclicResolutionSections.ModuleAcyclicResolutionSections |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Exact sections of an actual resolution by coefficient-Ext-acyclic module sheaves. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory Abelian Limits Opposite |
| 13 | |
| 14 | variable (R : Type) [CommRing R] (X : TopCat.{0}) |
| 15 | |
| 16 | local instance : HasExt.{1} (ConstantSheaf.ConstantSheafSections.Sheaves R X) := HasExt.standard _ |
| 17 | |
| 18 | variable (K : CochainComplex (ConstantSheaf.ConstantSheafSections.Sheaves R X) ℕ) |
| 19 | {F : ConstantSheaf.ConstantSheafSections.Sheaves R X} (e : F ⟶ K.X 0) |
| 20 | (w : e ≫ K.d 0 1 = 0) |
| 21 | |
| 22 | theorem exact_succ [Mono e] |
| 23 | (haug : (ShortComplex.mk e (K.d 0 1) w).Exact) |
| 24 | (hpos : ∀ n, (AlgebraicGeometry.Comparison.Betti.Acyclic.ResolutionCycles.Ext.resolutionSequence K n).Exact) |
| 25 | (hF : ∀ q, Subsingleton (Ext.{1} (ConstantSheaf.ConstantSheafSections.coefficient R X) F (q + 1))) |
| 26 | (hK : ∀ p q, Subsingleton (Ext.{1} (ConstantSheaf.ConstantSheafSections.coefficient R X) (K.X p) (q + 1))) |
| 27 | (n : ℕ) (x : (K.X (n + 1)).obj.obj (op ⊤)) |
| 28 | (hx : (K.d (n + 1) (n + 2)).hom.app (op ⊤) x = 0) : |
| 29 | ∃ y : (K.X n).obj.obj (op ⊤), (K.d n (n + 1)).hom.app (op ⊤) y = x := by |
| 30 | let z := (ConstantSheaf.ConstantSheafSections.linearEquiv R X (K.X (n + 1))).symm x |
| 31 | have hz : z ≫ K.d (n + 1) (n + 2) = 0 := by |
| 32 | apply (ConstantSheaf.ConstantSheafSections.linearEquiv R X (K.X (n + 2))).injective |
| 33 | rw [ConstantSheaf.ConstantSheafSections.naturality, map_zero] |
| 34 | exact (congrArg ((K.d (n + 1) (n + 2)).hom.app (op ⊤)) |
| 35 | ((ConstantSheaf.ConstantSheafSections.linearEquiv R X (K.X (n + 1))).apply_symm_apply x)).trans hx |
| 36 | obtain ⟨y, hy⟩ := AlgebraicGeometry.Comparison.Betti.Acyclic.ResolutionHom.Ext.acyclicResolution_hom_exact_succ |
| 37 | (ConstantSheaf.ConstantSheafSections.coefficient R X) K e w haug hpos hF hK n z hz |
| 38 | refine ⟨ConstantSheaf.ConstantSheafSections.linearEquiv R X (K.X n) y, ?_⟩ |
| 39 | rw [← ConstantSheaf.ConstantSheafSections.naturality, hy] |
| 40 | exact (ConstantSheaf.ConstantSheafSections.linearEquiv R X (K.X (n + 1))).apply_symm_apply x |
| 41 | |
| 42 | end |
| 43 | |
| 44 | end OAI.NumberTheory.PadicHodge.GeometricComparison.Module.AcyclicResolutionSections.ModuleAcyclicResolutionSections |