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.ShortComplex.PreservesHomology |
| 2 | |
| 3 | /-! # Homology Preservation Compose -/ |
| 4 | |
| 5 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.HomologyPreservationCompose |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Preserving the homology of a fixed complex survives an exact change of coefficients. -/ |
| 10 | |
| 11 | open _root_.CategoryTheory Limits |
| 12 | |
| 13 | variable {C D E : Type*} [Category* C] [Category* D] [Category* E] |
| 14 | [HasZeroMorphisms C] [HasZeroMorphisms D] [HasZeroMorphisms E] |
| 15 | (F : C ⥤ D) (G : D ⥤ E) [F.PreservesZeroMorphisms] [G.PreservesZeroMorphisms] |
| 16 | [PreservesFiniteLimits G] [PreservesFiniteColimits G] (S : ShortComplex C) |
| 17 | |
| 18 | theorem left [F.PreservesLeftHomologyOf S] : (F ⋙ G).PreservesLeftHomologyOf S where |
| 19 | isPreservedBy h := by |
| 20 | have := ShortComplex.LeftHomologyData.IsPreservedBy.hg h F |
| 21 | have := ShortComplex.LeftHomologyData.IsPreservedBy.hf' h F |
| 22 | exact { g := inferInstance, f' := inferInstance } |
| 23 | |
| 24 | theorem right [F.PreservesRightHomologyOf S] : (F ⋙ G).PreservesRightHomologyOf S where |
| 25 | isPreservedBy h := by |
| 26 | have := ShortComplex.RightHomologyData.IsPreservedBy.hf h F |
| 27 | have := ShortComplex.RightHomologyData.IsPreservedBy.hg' h F |
| 28 | exact { f := inferInstance, g' := inferInstance } |
| 29 | |
| 30 | end |
| 31 | |
| 32 | end OAI.NumberTheory.PadicHodge.IntegralComparison.HomologyPreservationCompose |