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.Ext.ModuleFunctor |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Ext.DimensionShift |
| 3 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Acyclic.Resolution |
| 4 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Augmented.ResolutionCycleMaps |
| 5 | |
| 6 | /-! # Source Module -/ |
| 7 | |
| 8 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.Ext.SourceModule |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! Precomposition acts naturally on original Ext modules, connecting maps, and section complexes. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory |
| 15 | |
| 16 | open Abelian |
| 17 | |
| 18 | universe u v z t |
| 19 | |
| 20 | variable {C : Type u} [Category.{v} C] [Abelian C] [HasExt.{z} C] |
| 21 | (R : Type t) [CommRing R] [Linear R C] {X X' : C} (f : X' ⟶ X) |
| 22 | |
| 23 | def component (n : ℕ) (Y : C) : (ModuleFunctor.functor R X n).obj Y ⟶ |
| 24 | (ModuleFunctor.functor R X' n).obj Y := |
| 25 | ModuleCat.ofHom ((Ext.mk₀ f).precompOfLinear R Y (zero_add n)) |
| 26 | |
| 27 | theorem naturality (n : ℕ) {Y Z : C} (g : Y ⟶ Z) : |
| 28 | (ModuleFunctor.functor R X n).map g ≫ component R f n Z = |
| 29 | component R f n Y ≫ (ModuleFunctor.functor R X' n).map g := by |
| 30 | apply ModuleCat.hom_ext |
| 31 | apply LinearMap.ext |
| 32 | intro α |
| 33 | exact (Ext.comp_assoc_of_third_deg_zero (Ext.mk₀ f) α (Ext.mk₀ g) (zero_add n)).symm |
| 34 | |
| 35 | def transformation (n : ℕ) : ModuleFunctor.functor R X n ⟶ ModuleFunctor.functor R X' n where |
| 36 | app := component R f n |
| 37 | naturality _ _ g := SourceModule.naturality R f n g |
| 38 | |
| 39 | def shortMap (n : ℕ) (T : ShortComplex C) : T.map (ModuleFunctor.functor R X n) ⟶ |
| 40 | T.map (ModuleFunctor.functor R X' n) where |
| 41 | τ₁ := component R f n T.X₁ |
| 42 | τ₂ := component R f n T.X₂ |
| 43 | τ₃ := component R f n T.X₃ |
| 44 | comm₁₂ := (SourceModule.naturality R f n T.f).symm |
| 45 | comm₂₃ := (SourceModule.naturality R f n T.g).symm |
| 46 | |
| 47 | theorem connecting {S : ShortComplex C} (hS : S.ShortExact) (n : ℕ) (α : Ext.{z} X S.X₃ n) : |
| 48 | DimensionShift.connecting X' hS n (component R f n S.X₃ α) = |
| 49 | component R f (n + 1) S.X₁ (DimensionShift.connecting X hS n α) := |
| 50 | Ext.comp_assoc (Ext.mk₀ f) α hS.extClass (zero_add n) rfl (by omega) |
| 51 | |
| 52 | def complexMap (K : CochainComplex C ℕ) : Acyclic.Resolution.Comparison.complex R X K ⟶ |
| 53 | Acyclic.Resolution.Comparison.complex R X' K where |
| 54 | f i := component R f 0 (K.X i) |
| 55 | comm' i j _ := (SourceModule.naturality R f 0 (K.d i j)).symm |
| 56 | |
| 57 | theorem differential (K : CochainComplex C ℕ) (n : ℕ) : |
| 58 | Augmented.ResolutionCycleMaps.differential (complexMap R f K) n = |
| 59 | shortMap R f 0 (Augmented.ResolutionCycles.differentialSequence K n) := rfl |
| 60 | |
| 61 | end |
| 62 | |
| 63 | end OAI.NumberTheory.PadicHodge.IntegralComparison.Ext.SourceModule |