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.AlgebraicGeometry.Morphisms.LocalFlatDescent |
| 2 | import Mathlib.RingTheory.Flat.FaithfullyFlat.Basic |
| 3 | |
| 4 | /-! # Morphism Descent -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Flat.MorphismDescent |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Flatness itself descends under faithfully flat quasi-compact base change. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.AlgebraicGeometry TensorProduct |
| 13 | |
| 14 | universe u |
| 15 | |
| 16 | private theorem flat_of_faithfullyFlat_tensor (R B A : Type u) |
| 17 | [CommRing R] [CommRing B] [CommRing A] [Algebra R B] [Algebra R A] |
| 18 | (hB : (algebraMap R B).FaithfullyFlat) |
| 19 | (hA : (algebraMap B (B ⊗[R] A)).Flat) : (algebraMap R A).Flat := by |
| 20 | have : Module.FaithfullyFlat R B := (RingHom.faithfullyFlat_algebraMap_iff).mp hB |
| 21 | have : Module.Flat B (B ⊗[R] A) := (RingHom.flat_algebraMap_iff).mp hA |
| 22 | exact RingHom.flat_algebraMap_iff.mpr (Module.Flat.of_flat_tensorProduct R A B) |
| 23 | |
| 24 | /-- Flat ring maps descend along faithfully flat ring maps. -/ |
| 25 | theorem ringFlat_codescendsAlong_faithfullyFlat : |
| 26 | RingHom.CodescendsAlong RingHom.Flat RingHom.FaithfullyFlat := by |
| 27 | apply RingHom.CodescendsAlong.mk _ RingHom.Flat.respectsIso |
| 28 | exact flat_of_faithfullyFlat_tensor |
| 29 | |
| 30 | /-- Flat scheme morphisms descend under faithfully flat quasi-compact base change. -/ |
| 31 | instance flat_descendsAlong_fpqc : |
| 32 | MorphismProperty.DescendsAlong (@Flat.{u}) (@Surjective ⊓ @Flat ⊓ @QuasiCompact) := |
| 33 | HasRingHomProperty.descendsAlong_flat ringFlat_codescendsAlong_faithfullyFlat |
| 34 | |
| 35 | end |
| 36 | |
| 37 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Flat.MorphismDescent |