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.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Regular.LocalCochainAcyclicity |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Additive.ComplexExtension |
| 3 | |
| 4 | /-! # Local Negative Cochain Exactness -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Regular.LocalNegativeCochainExactness |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! A finite free complex beginning in degree -g over a regular local |
| 11 | ring of dimension g is exact in every negative degree when its field |
| 12 | fibers away from the closed point are acyclic. The proof shifts the |
| 13 | actual complex to nonnegative degrees before applying local acyclicity. -/ |
| 14 | open _root_.CategoryTheory _root_.CategoryTheory.Limits IsLocalRing |
| 15 | universe u |
| 16 | |
| 17 | theorem regularLocal_negative_cochain_exact |
| 18 | {R : Type u} [CommRing R] [IsLocalRing R] [IsNoetherianRing R] |
| 19 | (C : CochainComplex (ModuleCat.{u} R) ℤ) (g : ℕ) |
| 20 | (hfin : ∀ i, Module.Finite R (C.X i)) (hfree : ∀ i, Module.Free R (C.X i)) |
| 21 | (hbelow : ∀ i, i < -(g : ℤ) → IsZero (C.X i)) |
| 22 | (rs : List R) (hlen : rs.length = g) (hreg : SequenceBasic.RingTheory.Sequence.IsRegular R rs) |
| 23 | (hgen : SequenceBasic.Ideal.ofList rs = maximalIdeal R) |
| 24 | (hfield : ∀ (B : Type u) [Field B] [Algebra R B], |
| 25 | ¬ maximalIdeal R ≤ RingHom.ker (algebraMap R B) → |
| 26 | (((HilbertConstruction.Module.BaseChangeComplex.LocalSectionLifting.moduleBaseChangeFunctor R B).mapHomologicalComplex (.up ℤ)).obj C).Acyclic) : |
| 27 | ∀ i, i < 0 → C.ExactAt i := by |
| 28 | let e := ComplexShape.embeddingUpIntGE (-(g : ℤ)) |
| 29 | have hout (i : ℤ) (hi : ∀ n, e.f n ≠ i) : i < -(g : ℤ) := by |
| 30 | by_contra h |
| 31 | apply hi (i + g).toNat |
| 32 | change -(g : ℤ) + ((i + g).toNat : ℤ) = i |
| 33 | omega |
| 34 | let : C.IsStrictlySupported e := { isZero := fun i hi => hbelow i (hout i hi) } |
| 35 | let D := C.restriction e |
| 36 | have hfieldD : Cochain.FieldSupport.CochainFieldSupport D (maximalIdeal R) := by |
| 37 | intro B _ _ hnot |
| 38 | let F := HilbertConstruction.Module.BaseChangeComplex.LocalSectionLifting.moduleBaseChangeFunctor R B |
| 39 | let CB := (F.mapHomologicalComplex (.up ℤ)).obj C |
| 40 | let : CB.IsStrictlySupported e := { |
| 41 | isZero := fun i hi => F.map_isZero (hbelow i (hout i hi)) } |
| 42 | have hD : ((F.mapHomologicalComplex (.up ℕ)).obj D).Acyclic := by |
| 43 | change (CB.restriction e).Acyclic |
| 44 | exact Additive.ComplexExtension.supported_restriction_acyclic e CB (hfield B hnot) |
| 45 | intro q |
| 46 | exact (Base.ChangeTensorExactness.baseChange_exactAt_iff_tensor D q).mp (hD q) |
| 47 | have hz := LocalCochainAcyclicity.regularLocalCochain_homology_zero_below_regular_parameters g R D |
| 48 | (fun q => hfin (e.f q)) (fun q => hfree (e.f q)) rs hlen hreg hgen hfieldD |
| 49 | intro i hi |
| 50 | by_cases hib : i < -(g : ℤ) |
| 51 | · exact HomologicalComplex.ExactAt.of_isZero (hbelow i hib) |
| 52 | · let q := (i + g).toNat |
| 53 | have hqi : e.f q = i := by |
| 54 | change -(g : ℤ) + ((i + g).toNat : ℤ) = i |
| 55 | omega |
| 56 | have hqg : q < g := by dsimp [q]; omega |
| 57 | have hD : D.ExactAt q := (D.exactAt_iff_isZero_homology q).mpr (hz q hqg) |
| 58 | have hC := (Additive.ComplexExtension.supported_restriction_exactAt_iff e C q).mp hD |
| 59 | simpa only [hqi] using hC |
| 60 | |
| 61 | end |
| 62 | |
| 63 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Regular.LocalNegativeCochainExactness |