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.Algebra.Category.Ring.Constructions |
| 2 | import Mathlib.RingTheory.TensorProduct.Quotient |
| 3 | |
| 4 | /-! # Quotient Pushout -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.FormalGeometry.Completion.QuotientPushout.Construction |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Quotient-ring pushouts, with the actual quotient and structure maps. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.CategoryTheory.Limits |
| 13 | open scoped TensorProduct |
| 14 | |
| 15 | set_option backward.defeqAttrib.useBackward true |
| 16 | set_option backward.isDefEq.respectTransparency false |
| 17 | |
| 18 | universe u |
| 19 | |
| 20 | variable {R S : Type u} [CommRing R] [CommRing S] (f : R →+* S) (I : Ideal R) |
| 21 | |
| 22 | /-- Extending an ideal is the pushout of its quotient map. -/ |
| 23 | theorem quotient_isPushout : |
| 24 | IsPushout (CommRingCat.ofHom f) (CommRingCat.ofHom (Ideal.Quotient.mk I)) |
| 25 | (CommRingCat.ofHom (Ideal.Quotient.mk (I.map f))) |
| 26 | (CommRingCat.ofHom (Ideal.quotientMap (I.map f) f (Ideal.le_comap_map))) := by |
| 27 | let : Algebra R S := f.toAlgebra |
| 28 | let e := (Algebra.TensorProduct.quotIdealMapEquivTensorQuot S I).toRingEquiv.toCommRingCatIso |
| 29 | apply (CommRingCat.isPushout_tensorProduct R S (R ⧸ I)).of_iso |
| 30 | (Iso.refl _) (Iso.refl _) (Iso.refl _) e.symm |
| 31 | · rfl |
| 32 | · rfl |
| 33 | · ext x |
| 34 | exact (Algebra.TensorProduct.quotIdealMapEquivTensorQuot S I).symm_apply_eq.mpr rfl |
| 35 | · ext x |
| 36 | apply (Algebra.TensorProduct.quotIdealMapEquivTensorQuot S I).injective |
| 37 | simp [e] |
| 38 | change (f x * 1) ⊗ₜ[R] 1 = f x ⊗ₜ[R] 1 |
| 39 | rw [mul_one] |
| 40 | |
| 41 | /-- Any actual pushout square against a quotient has the same quotient target. -/ |
| 42 | def quotientPushoutIso {T : CommRingCat.{u}} |
| 43 | {a : CommRingCat.of S ⟶ T} {b : CommRingCat.of (R ⧸ I) ⟶ T} |
| 44 | (h : IsPushout (CommRingCat.ofHom f) (CommRingCat.ofHom (Ideal.Quotient.mk I)) a b) : |
| 45 | CommRingCat.of (S ⧸ I.map f) ≅ T := |
| 46 | (quotient_isPushout f I).isoIsPushout _ _ h |
| 47 | |
| 48 | theorem quotientPushoutIso_mk {T : CommRingCat.{u}} |
| 49 | {a : CommRingCat.of S ⟶ T} {b : CommRingCat.of (R ⧸ I) ⟶ T} |
| 50 | (h : IsPushout (CommRingCat.ofHom f) (CommRingCat.ofHom (Ideal.Quotient.mk I)) a b) |
| 51 | (s : S) : (quotientPushoutIso f I h).hom (Ideal.Quotient.mk (I.map f) s) = a s := by |
| 52 | exact ConcreteCategory.congr_hom ((quotient_isPushout f I).inl_isoIsPushout_hom _ _ h) s |
| 53 | |
| 54 | end |
| 55 | |
| 56 | end OAI.AlgebraicGeometry.FormalGeometry.Completion.QuotientPushout.Construction |