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.AdicCompletion.AsTensorProduct |
| 2 | import Mathlib.RingTheory.Flat.FaithfullyFlat.Algebra |
| 3 | import Mathlib.RingTheory.LocalRing.MaximalIdeal.Basic |
| 4 | |
| 5 | /-! # Faithful Local Completion -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.Comparison.Betti.FaithfulLocalCompletion.Analytic |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Completion along an ideal inside the maximal ideal of a Noetherian |
| 12 | local ring is faithfully flat. -/ |
| 13 | |
| 14 | theorem local_completion_faithfullyFlat (R : Type*) [CommRing R] [IsNoetherianRing R] |
| 15 | [IsLocalRing R] (I : Ideal R) (hI : I ≤ IsLocalRing.maximalIdeal R) : |
| 16 | Module.FaithfullyFlat R (AdicCompletion I R) := by |
| 17 | let m := IsLocalRing.maximalIdeal R |
| 18 | let φ : AdicCompletion I R →+* R ⧸ m := |
| 19 | (Ideal.Quotient.factor hI).comp (AdicCompletion.evalOneₐ I).toRingHom |
| 20 | have hker : m.map (algebraMap R (AdicCompletion I R)) ≤ RingHom.ker φ := by |
| 21 | apply Ideal.map_le_iff_le_comap.mpr |
| 22 | intro r hr |
| 23 | change φ (algebraMap R (AdicCompletion I R) r) = 0 |
| 24 | change Ideal.Quotient.mk m r = 0 |
| 25 | exact Ideal.Quotient.eq_zero_iff_mem.mpr hr |
| 26 | refine ⟨fun J hJ => ?_⟩ |
| 27 | rw [IsLocalRing.eq_maximalIdeal hJ, Ideal.smul_top_eq_map] |
| 28 | intro htop |
| 29 | have hmem : (1 : AdicCompletion I R) ∈ m.map (algebraMap R (AdicCompletion I R)) := by |
| 30 | have h : (1 : AdicCompletion I R) ∈ (⊤ : Submodule R (AdicCompletion I R)) := Submodule.mem_top |
| 31 | rw [← htop] at h |
| 32 | exact h |
| 33 | have hz : φ 1 = 0 := hker hmem |
| 34 | exact one_ne_zero (by simpa only [map_one] using hz) |
| 35 | |
| 36 | end |
| 37 | |
| 38 | end OAI.AlgebraicGeometry.Comparison.Betti.FaithfulLocalCompletion.Analytic |