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.RingTheory.Flat.FaithfullyFlat.Algebra |
| 2 | import Mathlib.RingTheory.Flat.Stability |
| 3 | |
| 4 | /-! # Flat Composition Descent -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.FormalGeometry.Completion.FlatCompositionDescent.Construction |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! # Completion: flatness descends through a faithfully flat map on the source -/ |
| 11 | |
| 12 | open TensorProduct |
| 13 | open scoped TensorProduct |
| 14 | |
| 15 | universe u v w |
| 16 | |
| 17 | /-- If the total algebra is flat and faithfully flat over the intermediate algebra, |
| 18 | then the intermediate algebra is flat over the original base. -/ |
| 19 | theorem flat_of_faithfullyFlat_composition (R : Type u) (S : Type v) (T : Type w) |
| 20 | [CommRing R] [CommRing S] [CommRing T] [Algebra R S] [Algebra S T] [Algebra R T] |
| 21 | [IsScalarTower R S T] [Module.FaithfullyFlat S T] [Module.Flat R T] : Module.Flat R S := by |
| 22 | rw [Module.Flat.iff_lTensor_preserves_injective_linearMap] |
| 23 | intro M N _ _ _ _ f hf |
| 24 | rw [← AlgebraTensorModule.coe_lTensor (A := S)] |
| 25 | apply (Module.FaithfullyFlat.lTensor_injective_iff_injective S T |
| 26 | (AlgebraTensorModule.lTensor S S f)).mp |
| 27 | let eM := AlgebraTensorModule.cancelBaseChange R S S T M |
| 28 | let eN := AlgebraTensorModule.cancelBaseChange R S S T N |
| 29 | have he : (AlgebraTensorModule.lTensor S S f).lTensor T = |
| 30 | eN.symm.toLinearMap ∘ₗ (AlgebraTensorModule.lTensor S T f) ∘ₗ eM.toLinearMap := by |
| 31 | ext |
| 32 | simp [eM, eN] |
| 33 | rw [he] |
| 34 | exact eN.symm.injective.comp |
| 35 | ((Module.Flat.lTensor_preserves_injective_linearMap f hf).comp eM.injective) |
| 36 | |
| 37 | end |
| 38 | |
| 39 | end OAI.AlgebraicGeometry.FormalGeometry.Completion.FlatCompositionDescent.Construction |