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.AbelianModuli.HilbertConstruction.Polynomial.Homogenization |
| 2 | import Mathlib.RingTheory.Ideal.Quotient.Operations |
| 3 | |
| 4 | /-! # Dehomogenization Kernel -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Polynomial.DehomogenizationKernel.PolynomialHomogenization |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Setting the extra homogeneous coordinate to one has exactly the expected kernel. -/ |
| 11 | |
| 12 | open _root_.MvPolynomial |
| 13 | |
| 14 | variable {R σ : Type*} [CommRing R] |
| 15 | |
| 16 | theorem dehomogenizeOption_surjective : |
| 17 | Function.Surjective (Homogenization.PolynomialHomogenization.dehomogenizeOption (σ := σ) R) := |
| 18 | fun p => ⟨rename some p, Homogenization.PolynomialHomogenization.dehomogenizeOption_rename_some p⟩ |
| 19 | |
| 20 | theorem dehomogenizeOption_kernel : |
| 21 | RingHom.ker (Homogenization.PolynomialHomogenization.dehomogenizeOption (σ := σ) R) = |
| 22 | Ideal.span {(X none - 1 : MvPolynomial (Option σ) R)} := by |
| 23 | let J : Ideal (MvPolynomial (Option σ) R) := Ideal.span {X none - 1} |
| 24 | have hX : Ideal.Quotient.mk J (X none) = 1 := by |
| 25 | apply sub_eq_zero.mp |
| 26 | rw [← map_one (Ideal.Quotient.mk J), ← map_sub] |
| 27 | exact Ideal.Quotient.eq_zero_iff_mem.mpr |
| 28 | (Ideal.subset_span (Set.mem_singleton (X none - 1))) |
| 29 | have hnorm : ((Ideal.Quotient.mk J).comp (rename some).toRingHom).comp |
| 30 | (Homogenization.PolynomialHomogenization.dehomogenizeOption (σ := σ) R) = Ideal.Quotient.mk J := by |
| 31 | apply ringHom_ext |
| 32 | · intro r |
| 33 | simp |
| 34 | · intro i |
| 35 | cases i with |
| 36 | | none => simpa only [RingHom.comp_apply, Homogenization.PolynomialHomogenization.dehomogenizeOption_X_none, map_one] using hX.symm |
| 37 | | some i => simp |
| 38 | apply le_antisymm |
| 39 | · intro p hp |
| 40 | apply Ideal.Quotient.eq_zero_iff_mem.mp |
| 41 | rw [← hnorm] |
| 42 | change ((Ideal.Quotient.mk J).comp (rename some).toRingHom) |
| 43 | (Homogenization.PolynomialHomogenization.dehomogenizeOption R p) = 0 |
| 44 | rw [show Homogenization.PolynomialHomogenization.dehomogenizeOption R p = 0 from hp, map_zero] |
| 45 | · apply Ideal.span_le.mpr |
| 46 | rintro p (rfl : p = X none - 1) |
| 47 | change Homogenization.PolynomialHomogenization.dehomogenizeOption R (X none - 1) = 0 |
| 48 | simp |
| 49 | |
| 50 | theorem dehomogenizeOption_comap_map (I : Ideal (MvPolynomial (Option σ) R)) : |
| 51 | Ideal.comap (Homogenization.PolynomialHomogenization.dehomogenizeOption R) (Ideal.map (Homogenization.PolynomialHomogenization.dehomogenizeOption R) I) = |
| 52 | I ⊔ Ideal.span {(X none - 1 : MvPolynomial (Option σ) R)} := by |
| 53 | rw [Ideal.comap_map_of_surjective _ dehomogenizeOption_surjective, |
| 54 | ← RingHom.ker_eq_comap_bot, dehomogenizeOption_kernel] |
| 55 | |
| 56 | end |
| 57 | |
| 58 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Polynomial.DehomogenizationKernel.PolynomialHomogenization |