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.Unramified.Field |
| 2 | import Mathlib.RingTheory.Flat.Basic |
| 3 | import Mathlib.RingTheory.Localization.FractionRing |
| 4 | |
| 5 | /-! # Etale Domain Reduced -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.EtaleDomainReduced |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Flat unramified algebras of essentially finite type over domains are reduced, by embedding in their generic fiber. -/ |
| 12 | |
| 13 | open scoped TensorProduct |
| 14 | |
| 15 | universe u v |
| 16 | |
| 17 | theorem flat_unramified_domain_isReduced (R : Type u) (S : Type v) |
| 18 | [CommRing R] [IsDomain R] [CommRing S] [Algebra R S] |
| 19 | [Module.Flat R S] [Algebra.FormallyUnramified R S] [Algebra.EssFiniteType R S] : IsReduced S := by |
| 20 | let K := FractionRing R |
| 21 | let f := Algebra.TensorProduct.includeRight (R := R) (A := K) (B := S) |
| 22 | have hf : Function.Injective f := by |
| 23 | have h : ⇑f = (LinearMap.rTensor S (Algebra.ofId R K).toLinearMap).comp |
| 24 | (Algebra.TensorProduct.lid R S).symm.toLinearMap := by |
| 25 | ext x |
| 26 | simp [f] |
| 27 | rw [h] |
| 28 | have hi : Function.Injective (LinearMap.rTensor S (Algebra.ofId R K).toLinearMap) := |
| 29 | Module.Flat.rTensor_preserves_injective_linearMap (Algebra.ofId R K).toLinearMap |
| 30 | (IsFractionRing.injective R K) |
| 31 | exact hi.comp (Algebra.TensorProduct.lid R S).symm.injective |
| 32 | have : IsReduced (K ⊗[R] S) := Algebra.FormallyUnramified.isReduced_of_field K _ |
| 33 | exact isReduced_of_injective f hf |
| 34 | |
| 35 | end |
| 36 | |
| 37 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.EtaleDomainReduced |