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.GroupSchemes.LocalObstruction |
| 2 | |
| 3 | /-! # Kernel Ideal -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.GroupSchemes.KernelIdeal.FiniteEtale |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Translate a kernel identity on every affine algebra into the defining coordinate ideal. -/ |
| 10 | |
| 11 | universe u |
| 12 | |
| 13 | variable {k A B : Type u} [Field k] [CommRing A] [CommRing B] |
| 14 | [Algebra k A] [Algebra k B] |
| 15 | |
| 16 | /-- The ideal pulled back from the augmentation by an algebra endomorphism. -/ |
| 17 | def augmentationPullback (ε : A →ₐ[k] k) (m : A →ₐ[k] A) : Ideal A := |
| 18 | Ideal.span (m '' (RingHom.ker ε.toRingHom : Set A)) |
| 19 | |
| 20 | /-- Vanishing on the pulled-back augmentation ideal is exactly the constant-point equation. -/ |
| 21 | theorem kills_augmentationPullback_iff (ε : A →ₐ[k] k) (m : A →ₐ[k] A) |
| 22 | (f : A →ₐ[k] B) : |
| 23 | augmentationPullback ε m ≤ RingHom.ker f.toRingHom ↔ |
| 24 | f.comp m = (Algebra.ofId k B).comp ε := by |
| 25 | rw [augmentationPullback, Ideal.span_le] |
| 26 | constructor |
| 27 | · intro h |
| 28 | ext x |
| 29 | have hx : x - algebraMap k A (ε x) ∈ RingHom.ker ε.toRingHom := by |
| 30 | change ε (x - algebraMap k A (ε x)) = 0 |
| 31 | simp |
| 32 | have hz := h (Set.mem_image_of_mem m hx) |
| 33 | change f (m (x - algebraMap k A (ε x))) = 0 at hz |
| 34 | simpa only [map_sub, AlgHom.commutes, sub_eq_zero, AlgHom.comp_apply, |
| 35 | Algebra.ofId_apply] using hz |
| 36 | · intro h |
| 37 | rintro _ ⟨x, hx, rfl⟩ |
| 38 | have he := AlgHom.congr_fun h x |
| 39 | change ε x = 0 at hx |
| 40 | change f (m x) = 0 |
| 41 | simpa only [AlgHom.comp_apply, Algebra.ofId_apply, hx, map_zero] using he |
| 42 | |
| 43 | /-- The functor-of-points kernel property determines its ideal, even on nonreduced rings. -/ |
| 44 | theorem kernel_eq_augmentationPullback (ε : A →ₐ[k] k) (m : A →ₐ[k] A) |
| 45 | (q : A →ₐ[k] B) |
| 46 | (hpoints : ∀ (T : CommAlgCat.{u} k) (f : A →ₐ[k] T), |
| 47 | (∃ g : B →ₐ[k] T, g.comp q = f) ↔ |
| 48 | f.comp m = (Algebra.ofId k T).comp ε) : |
| 49 | RingHom.ker q.toRingHom = augmentationPullback ε m := by |
| 50 | apply le_antisymm |
| 51 | · let I := augmentationPullback ε m |
| 52 | let π := Ideal.Quotient.mkₐ k I |
| 53 | have hπ : π.comp m = (Algebra.ofId k (A ⧸ I)).comp ε := by |
| 54 | apply (kills_augmentationPullback_iff ε m π).mp |
| 55 | change I ≤ RingHom.ker (Ideal.Quotient.mkₐ k I : A →+* A ⧸ I) |
| 56 | rw [Ideal.Quotient.mkₐ_ker] |
| 57 | obtain ⟨g, hg⟩ := (hpoints (CommAlgCat.of k (A ⧸ I)) π).mpr hπ |
| 58 | intro x hx |
| 59 | have he := AlgHom.congr_fun hg x |
| 60 | change q x = 0 at hx |
| 61 | have hz : π x = 0 := by simpa only [AlgHom.comp_apply, hx, map_zero] using he.symm |
| 62 | exact Ideal.Quotient.eq_zero_iff_mem.mp hz |
| 63 | · apply (kills_augmentationPullback_iff ε m q).mpr |
| 64 | exact (hpoints (CommAlgCat.of k B) q).mp ⟨AlgHom.id k B, rfl⟩ |
| 65 | |
| 66 | end |
| 67 | |
| 68 | end OAI.AlgebraicGeometry.GroupSchemes.KernelIdeal.FiniteEtale |