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.DualFirstRelations |
| 2 | |
| 3 | /-! # Local Dual Resolution Exactness -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Regular.LocalDualResolutionExactness |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! The full nonnegative chain dual of a dimension-bounded finite free complex supported at the closed point is exact in every positive degree. Only its degree-zero augmentation remains to identify a projective resolution. -/ |
| 10 | open _root_.CategoryTheory _root_.CategoryTheory.Limits IsLocalRing |
| 11 | universe u |
| 12 | variable {R : Type u} [CommRing R] [IsLocalRing R] [IsNoetherianRing R] |
| 13 | |
| 14 | theorem regularLocal_dualComplex_exact_positive |
| 15 | (C : CochainComplex (ModuleCat.{u} R) ℕ) (g : ℕ) |
| 16 | (hfin : ∀ q, Module.Finite R (C.X q)) (hfree : ∀ q, Module.Free R (C.X q)) |
| 17 | (hbound : ∀ q, g < q → IsZero (C.X q)) |
| 18 | (rs : List R) (hlen : rs.length = g) (hreg : SequenceBasic.RingTheory.Sequence.IsRegular R rs) |
| 19 | (hgen : SequenceBasic.Ideal.ofList rs = maximalIdeal R) |
| 20 | (hfield : Cochain.FieldSupport.CochainFieldSupport C (maximalIdeal R)) : |
| 21 | ∀ q, 0 < q → (HilbertConstruction.Module.DualFunctor.dualModuleComplex C).ExactAt q := by |
| 22 | let K : ChainComplex (ModuleCat.{u} R) ℕ := HilbertConstruction.Module.DualFunctor.dualModuleComplex C |
| 23 | let : K.IsStrictlySupported (Bounded.DualCochain.finiteDualEmbedding g) := { |
| 24 | isZero := fun q hq => by |
| 25 | have hz := hbound q ((Bounded.DualCochain.finiteDualEmbedding_outside_iff g q).mp hq) |
| 26 | have : Subsingleton (C.X q) := ModuleCat.subsingleton_of_isZero hz |
| 27 | change IsZero (ModuleCat.of R (Module.Dual R (C.X q))) |
| 28 | exact ModuleCat.isZero_of_subsingleton _ } |
| 29 | intro q hq |
| 30 | change K.ExactAt q |
| 31 | by_cases hqg : q ≤ g |
| 32 | · let j : Fin (g + 1) := ⟨g - q, by omega⟩ |
| 33 | have hj : (Bounded.DualCochain.finiteDualEmbedding g).f j = q := by |
| 34 | change j.rev.val = q |
| 35 | rw [Fin.val_rev] |
| 36 | change g + 1 - (g - q + 1) = q |
| 37 | omega |
| 38 | have hz := Bounded.DualFirstRelations.regularLocal_boundedDual_homology_zero_below C g hfin hfree hbound |
| 39 | rs hlen hreg hgen hfield (g - q) (by omega) |
| 40 | have he : (Bounded.DualCochain.boundedDualCochain C g).ExactAt (g - q) := |
| 41 | ((Bounded.DualCochain.boundedDualCochain C g).exactAt_iff_isZero_homology _).mpr hz |
| 42 | have hr : (Bounded.DualCochain.finiteDualCochain C g).ExactAt j := |
| 43 | ((Bounded.DualCochain.finiteDualCochain C g).extend_exactAt_iff (HilbertConstruction.Finite.CochainTruncation.finiteCochainEmbedding g) |
| 44 | (j := j) (j' := g - q) rfl).mp he |
| 45 | have he' := (Additive.ComplexExtension.supported_restriction_exactAt_iff (Bounded.DualCochain.finiteDualEmbedding g) K j).mp hr |
| 46 | simpa only [hj] using he' |
| 47 | · exact HomologicalComplex.ExactAt.of_isZero |
| 48 | (K.isZero_X_of_isStrictlySupported (Bounded.DualCochain.finiteDualEmbedding g) q |
| 49 | ((Bounded.DualCochain.finiteDualEmbedding_outside_iff g q).mpr (Nat.lt_of_not_ge hqg))) |
| 50 | |
| 51 | end |
| 52 | |
| 53 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Regular.LocalDualResolutionExactness |