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.Basic |
| 2 | import Mathlib.CategoryTheory.Limits.Shapes.Pullback.IsPullback.Defs |
| 3 | import Mathlib.RingTheory.Ideal.Quotient.Operations |
| 4 | |
| 5 | /-! # Ring Pushout Kernel -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.Divisors.LineBundles.RingPushoutKernel.BundleCycles |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Base change of a surjective ring homomorphism carries its |
| 12 | actual kernel to the extended kernel ideal. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory |
| 15 | |
| 16 | theorem ringPushout_kernel {R B S T : CommRingCat.{0}} (q : R ⟶ B) (φ : R ⟶ S) |
| 17 | (ψ : B ⟶ T) (q' : S ⟶ T) (hp : IsPushout q φ ψ q') (hq : Function.Surjective q) : |
| 18 | RingHom.ker q'.hom = (RingHom.ker q.hom).map φ.hom := by |
| 19 | let I := (RingHom.ker q.hom).map φ.hom |
| 20 | let π : S ⟶ CommRingCat.of (S ⧸ I) := CommRingCat.ofHom (Ideal.Quotient.mk I) |
| 21 | have hk : ∀ r ∈ RingHom.ker q.hom, (π.hom.comp φ.hom) r = 0 := by |
| 22 | intro r hr |
| 23 | exact Ideal.Quotient.eq_zero_iff_mem.mpr (Ideal.mem_map_of_mem φ.hom hr) |
| 24 | let u := Ideal.Quotient.lift (RingHom.ker q.hom) (π.hom.comp φ.hom) hk |
| 25 | let a : B ⟶ CommRingCat.of (S ⧸ I) := |
| 26 | CommRingCat.ofHom (u.comp (q.hom.quotientKerEquivOfSurjective hq).symm.toRingHom) |
| 27 | have ha : q ≫ a = φ ≫ π := by |
| 28 | ext r |
| 29 | change u ((q.hom.quotientKerEquivOfSurjective hq).symm (q r)) = π (φ r) |
| 30 | rw [RingHom.quotientKerEquivOfSurjective_symm_apply, Ideal.Quotient.lift_mk] |
| 31 | rfl |
| 32 | let δ := hp.desc a π ha |
| 33 | have hδ : q' ≫ δ = π := hp.inr_desc a π ha |
| 34 | apply le_antisymm |
| 35 | · intro s hs |
| 36 | change q' s = 0 at hs |
| 37 | apply Ideal.Quotient.eq_zero_iff_mem.mp |
| 38 | have he := ConcreteCategory.congr_hom hδ s |
| 39 | change δ (q' s) = π s at he |
| 40 | exact he.symm.trans (by rw [hs, map_zero]) |
| 41 | · apply Ideal.map_le_iff_le_comap.mpr |
| 42 | intro r hr |
| 43 | change q r = 0 at hr |
| 44 | change q' (φ r) = 0 |
| 45 | have he := ConcreteCategory.congr_hom hp.w r |
| 46 | change ψ (q r) = q' (φ r) at he |
| 47 | exact he.symm.trans (by rw [hr, map_zero]) |
| 48 | |
| 49 | end |
| 50 | |
| 51 | end OAI.AlgebraicGeometry.Divisors.LineBundles.RingPushoutKernel.BundleCycles |