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.Module.IdealQuotient |
| 2 | |
| 3 | /-! # Coefficient Quotient Of -/ |
| 4 | |
| 5 | namespace OAI.NumberTheory.PadicHodge.GeometricComparison.CoefficientQuotientOf.CoefficientQuotientLift |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Cochain maps annihilating a coefficient ideal descend canonically |
| 10 | to the actual coefficient quotient complex, naturally in commuting squares. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory |
| 13 | |
| 14 | universe u v |
| 15 | variable (R : Type u) [CommRing R] (I : Ideal R) |
| 16 | {K L : CochainComplex (ModuleCat.{v} R) ℕ} (a : K ⟶ L) |
| 17 | (h : ∀ n, (I • ⊤ : Submodule R (K.X n)) ≤ LinearMap.ker (a.f n).hom) |
| 18 | |
| 19 | def map : IntegralComparison.Module.IdealQuotient.complex R I K ⟶ L where |
| 20 | f n := ModuleCat.ofHom ((I • ⊤ : Submodule R (K.X n)).liftQ (a.f n).hom (h n)) |
| 21 | comm' n m _ := by |
| 22 | apply ModuleCat.hom_ext |
| 23 | apply LinearMap.ext |
| 24 | intro x |
| 25 | obtain ⟨x, rfl⟩ := (I • ⊤ : Submodule R (K.X n)).mkQ_surjective x |
| 26 | exact congrArg (fun f : K.X n ⟶ L.X m => f x) (a.comm n m) |
| 27 | |
| 28 | theorem factorization : IntegralComparison.Module.IdealQuotient.complexProjection R I K ≫ CoefficientQuotientLift.map R I a h = a := by |
| 29 | apply HomologicalComplex.Hom.ext |
| 30 | funext n |
| 31 | apply ModuleCat.hom_ext |
| 32 | apply LinearMap.ext |
| 33 | intro x |
| 34 | rfl |
| 35 | |
| 36 | theorem unique (b : IntegralComparison.Module.IdealQuotient.complex R I K ⟶ L) |
| 37 | (hb : IntegralComparison.Module.IdealQuotient.complexProjection R I K ≫ b = a) : CoefficientQuotientLift.map R I a h = b := by |
| 38 | apply HomologicalComplex.Hom.ext |
| 39 | funext n |
| 40 | apply ModuleCat.hom_ext |
| 41 | apply LinearMap.ext |
| 42 | intro x |
| 43 | obtain ⟨x, rfl⟩ := (I • ⊤ : Submodule R (K.X n)).mkQ_surjective x |
| 44 | exact (congrArg (fun q : K.X n ⟶ L.X n => q x) (congrArg (fun q => q.f n) hb)).symm |
| 45 | |
| 46 | theorem kernel_of_annihilation (hL : ∀ n r, r ∈ I → ∀ x : L.X n, r • x = 0) (n : ℕ) : |
| 47 | (I • ⊤ : Submodule R (K.X n)) ≤ LinearMap.ker (a.f n).hom := by |
| 48 | apply Submodule.smul_le.mpr |
| 49 | intro r hr x _ |
| 50 | exact ((a.f n).hom.map_smul r x).trans (hL n r hr (a.f n x)) |
| 51 | |
| 52 | variable {K' L' : CochainComplex (ModuleCat.{v} R) ℕ} (b : K' ⟶ L') |
| 53 | (h' : ∀ n, (I • ⊤ : Submodule R (K'.X n)) ≤ LinearMap.ker (b.f n).hom) |
| 54 | (f : K ⟶ K') (g : L ⟶ L') (hsquare : a ≫ g = f ≫ b) |
| 55 | |
| 56 | include hsquare in |
| 57 | theorem naturality : CoefficientQuotientLift.map R I a h ≫ g = |
| 58 | (((IntegralComparison.Module.IdealQuotient.functor R I).mapHomologicalComplex (.up ℕ)).map f) ≫ CoefficientQuotientLift.map R I b h' := by |
| 59 | apply HomologicalComplex.Hom.ext |
| 60 | funext n |
| 61 | apply ModuleCat.hom_ext |
| 62 | apply LinearMap.ext |
| 63 | intro x |
| 64 | obtain ⟨x, rfl⟩ := (I • ⊤ : Submodule R (K.X n)).mkQ_surjective x |
| 65 | exact congrArg (fun q : K.X n ⟶ L'.X n => q x) (congrArg (fun q => q.f n) hsquare) |
| 66 | |
| 67 | end |
| 68 | |
| 69 | end OAI.NumberTheory.PadicHodge.GeometricComparison.CoefficientQuotientOf.CoefficientQuotientLift |