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 Mathlib.Algebra.Homology.Embedding.TruncGEHomology |
| 2 | |
| 3 | /-! # Restriction Acyclicity -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.Comparison.Betti.RestrictionAcyclicity.Ext |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Restriction preserves and detects acyclicity when the original complex has the specified support. -/ |
| 10 | |
| 11 | open _root_.CategoryTheory _root_.CategoryTheory.Limits |
| 12 | |
| 13 | variable {C : Type*} [Category* C] [Abelian C] |
| 14 | {ι ι' : Type*} {c : ComplexShape ι} {c' : ComplexShape ι'} |
| 15 | (K : HomologicalComplex C c') (e : c.Embedding c') [e.IsTruncGE] [K.IsStrictlySupported e] |
| 16 | |
| 17 | def supportedRestrictionTruncIso : K.restriction e ≅ K.truncGE' e := by |
| 18 | have : IsIso (K.restrictionToTruncGE' e) := |
| 19 | HomologicalComplex.Hom.isIso_of_components _ |
| 20 | exact asIso (K.restrictionToTruncGE' e) |
| 21 | |
| 22 | theorem supportedRestriction_acyclic (hK : K.Acyclic) : (K.restriction e).Acyclic := by |
| 23 | intro i |
| 24 | have h : (K.truncGE' e).ExactAt i := |
| 25 | ((K.truncGE' e).extend_exactAt_iff e rfl).mp (hK.truncGE e (e.f i)) |
| 26 | exact h.of_iso (supportedRestrictionTruncIso K e).symm |
| 27 | |
| 28 | theorem acyclic_of_supportedRestriction (hK : (K.restriction e).Acyclic) : K.Acyclic := by |
| 29 | have ht (i : ι) : (K.truncGE' e).ExactAt i := |
| 30 | (hK i).of_iso (supportedRestrictionTruncIso K e) |
| 31 | have he : (K.truncGE e).Acyclic := by |
| 32 | intro i' |
| 33 | by_cases h : ∃ i, e.f i = i' |
| 34 | · obtain ⟨i, rfl⟩ := h |
| 35 | exact ((K.truncGE' e).extend_exactAt_iff e rfl).mpr (ht i) |
| 36 | · exact (K.truncGE e).exactAt_of_isSupported e i' (by simpa using h) |
| 37 | intro i' |
| 38 | exact (he i').of_iso (asIso (K.πTruncGE e)).symm |
| 39 | |
| 40 | end |
| 41 | |
| 42 | end OAI.AlgebraicGeometry.Comparison.Betti.RestrictionAcyclicity.Ext |