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.Picard.PoincareBundle.Affine.LineDescent |
| 2 | import Mathlib.RingTheory.Flat.Equalizer |
| 3 | |
| 4 | /-! # Presentation Flat Descent -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianScheme.IsogenyQuotient.Finite.PresentationFlatDescent.Construction |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Finite presentation, and hence invertibility, descends through a |
| 11 | faithfully flat ring map without a Noetherian assumption on the base. -/ |
| 12 | |
| 13 | open TensorProduct |
| 14 | |
| 15 | variable (R S M : Type*) [CommRing R] [CommRing S] [Algebra R S] |
| 16 | [AddCommGroup M] [Module R M] |
| 17 | |
| 18 | theorem module_finitePresentation_of_faithfullyFlat_baseChange |
| 19 | [Module.FaithfullyFlat R S] [Module.FinitePresentation S (S ⊗[R] M)] : |
| 20 | Module.FinitePresentation R M := by |
| 21 | have : Module.Finite R M := Module.Finite.of_finite_tensorProduct_of_faithfullyFlat S |
| 22 | obtain ⟨n, f, hf⟩ := Module.Finite.exists_fin' R M |
| 23 | let fS := AlgebraTensorModule.lTensor S S f |
| 24 | have hfS : Function.Surjective fS := (f.lTensor_surjective S hf) |
| 25 | have hker : fS.ker.FG := Module.FinitePresentation.fg_ker fS hfS |
| 26 | have : Module.Finite S fS.ker := Module.Finite.of_fg hker |
| 27 | have : Module.Finite S (S ⊗[R] f.ker) := |
| 28 | Module.Finite.equiv (LinearMap.tensorKerEquiv S S f).symm |
| 29 | have : Module.Finite R f.ker := Module.Finite.of_finite_tensorProduct_of_faithfullyFlat S |
| 30 | exact Module.finitePresentation_of_surjective f hf (Module.Finite.iff_fg.mp inferInstance) |
| 31 | |
| 32 | theorem module_invertible_of_faithfullyFlat_baseChange |
| 33 | [Module.FaithfullyFlat R S] [Module.Invertible S (S ⊗[R] M)] : Module.Invertible R M := by |
| 34 | have : Module.FinitePresentation S (S ⊗[R] M) := Module.finitePresentation_of_projective S (S ⊗[R] M) |
| 35 | have : Module.FinitePresentation R M := module_finitePresentation_of_faithfullyFlat_baseChange R S M |
| 36 | exact Picard.PoincareBundle.Affine.LineDescent.invertible_of_faithfullyFlat_baseChange R S M |
| 37 | |
| 38 | end |
| 39 | |
| 40 | end OAI.AlgebraicGeometry.AbelianScheme.IsogenyQuotient.Finite.PresentationFlatDescent.Construction |