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.Bounded.DualFieldSupport |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Regular.LocalCochainAcyclicity |
| 3 | |
| 4 | /-! # Dual First Relations -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Bounded.DualFirstRelations |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Over a regular local ring, a bounded finite free complex supported at the closed point has an exact reversed dual at its first relation module. This includes dimension one, where an endpoint outside the interval is zero. -/ |
| 11 | open _root_.CategoryTheory _root_.CategoryTheory.Limits IsLocalRing |
| 12 | universe u |
| 13 | |
| 14 | variable {R : Type u} [CommRing R] [IsLocalRing R] [IsNoetherianRing R] |
| 15 | |
| 16 | theorem regularLocal_boundedDual_homology_zero_below |
| 17 | (C : CochainComplex (ModuleCat.{u} R) ℕ) (g : ℕ) |
| 18 | (hfin : ∀ q, Module.Finite R (C.X q)) (hfree : ∀ q, Module.Free R (C.X q)) |
| 19 | (hbound : ∀ q, g < q → IsZero (C.X q)) |
| 20 | (rs : List R) (hlen : rs.length = g) (hreg : Regular.SequenceBasic.RingTheory.Sequence.IsRegular R rs) |
| 21 | (hgen : Regular.SequenceBasic.Ideal.ofList rs = maximalIdeal R) |
| 22 | (hfield : Cochain.FieldSupport.CochainFieldSupport C (maximalIdeal R)) : |
| 23 | ∀ q, q < g → IsZero ((DualCochain.boundedDualCochain C g).homology q) := by |
| 24 | have hff := DualCochain.boundedDualCochain_finite_free C g hfin hfree |
| 25 | exact Regular.LocalCochainAcyclicity.regularLocalCochain_homology_zero_below_regular_parameters g R |
| 26 | (DualCochain.boundedDualCochain C g) (fun q => (hff q).1) (fun q => (hff q).2) |
| 27 | rs hlen hreg hgen (DualFieldSupport.boundedDualCochain_fieldSupport C g hfin hfree hbound _ hfield) |
| 28 | |
| 29 | theorem regularLocal_firstDualRelations_exact |
| 30 | (C : CochainComplex (ModuleCat.{u} R) ℕ) (g : ℕ) (hg : 0 < g) |
| 31 | (hfin : ∀ q, Module.Finite R (C.X q)) (hfree : ∀ q, Module.Free R (C.X q)) |
| 32 | (hbound : ∀ q, g < q → IsZero (C.X q)) |
| 33 | (rs : List R) (hlen : rs.length = g) (hreg : Regular.SequenceBasic.RingTheory.Sequence.IsRegular R rs) |
| 34 | (hgen : Regular.SequenceBasic.Ideal.ofList rs = maximalIdeal R) |
| 35 | (hfield : Cochain.FieldSupport.CochainFieldSupport C (maximalIdeal R)) : |
| 36 | (HilbertConstruction.Module.DualFunctor.dualModuleShortComplex (C.sc' 0 1 2)).Exact := by |
| 37 | let j : Fin (g + 1) := ⟨g - 1, by omega⟩ |
| 38 | have hj : (DualCochain.finiteDualEmbedding g).f j = 1 := by |
| 39 | change j.rev.val = 1 |
| 40 | rw [Fin.val_rev] |
| 41 | change g + 1 - (g - 1 + 1) = 1 |
| 42 | omega |
| 43 | have hz := regularLocal_boundedDual_homology_zero_below C g hfin hfree hbound |
| 44 | rs hlen hreg hgen hfield (g - 1) (by omega) |
| 45 | have he : (DualCochain.boundedDualCochain C g).ExactAt (g - 1) := |
| 46 | ((DualCochain.boundedDualCochain C g).exactAt_iff_isZero_homology _).mpr hz |
| 47 | have hr : (DualCochain.finiteDualCochain C g).ExactAt j := |
| 48 | ((DualCochain.finiteDualCochain C g).extend_exactAt_iff (HilbertConstruction.Finite.CochainTruncation.finiteCochainEmbedding g) |
| 49 | (j := j) (j' := g - 1) rfl).mp he |
| 50 | let K : ChainComplex (ModuleCat.{u} R) ℕ := HilbertConstruction.Module.DualFunctor.dualModuleComplex C |
| 51 | let : K.IsStrictlySupported (DualCochain.finiteDualEmbedding g) := { |
| 52 | isZero := fun q hq => by |
| 53 | have hzq := hbound q ((DualCochain.finiteDualEmbedding_outside_iff g q).mp hq) |
| 54 | have : Subsingleton (C.X q) := ModuleCat.subsingleton_of_isZero hzq |
| 55 | change IsZero (ModuleCat.of R (Module.Dual R (C.X q))) |
| 56 | exact ModuleCat.isZero_of_subsingleton _ } |
| 57 | have heK : K.ExactAt 1 := by |
| 58 | have he' := (Additive.ComplexExtension.supported_restriction_exactAt_iff (DualCochain.finiteDualEmbedding g) K j).mp hr |
| 59 | simpa only [hj] using he' |
| 60 | exact (K.exactAt_iff' 2 1 0 (by simp) (by simp)).mp heK |
| 61 | |
| 62 | end |
| 63 | |
| 64 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Bounded.DualFirstRelations |