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.Foundations.Scheme.AffineComplexPoints |
| 2 | import Mathlib.RingTheory.Ideal.Quotient.Operations |
| 3 | |
| 4 | /-! # Quotient Complex Points -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.Foundations.Scheme.QuotientComplexPoints |
| 7 | |
| 8 | /-! |
| 9 | # Points of an affine quotient |
| 10 | |
| 11 | Complex points of `A ⧸ I` are exactly complex-algebra characters of `A` vanishing |
| 12 | on `I`. This is the actual algebraic universal property of the quotient, with |
| 13 | compatibility with the scheme morphism induced by the quotient map. |
| 14 | -/ |
| 15 | |
| 16 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 17 | |
| 18 | universe u |
| 19 | |
| 20 | variable {A : Type u} [CommRing A] [Algebra ℂ A] |
| 21 | |
| 22 | /-- The zero locus of an ideal among actual complex-algebra characters. -/ |
| 23 | def affineIdealZeroLocus (I : Ideal A) : Set (AffineComplexPoints.affineComplexPoints A) := |
| 24 | {x | ∀ a : A, a ∈ I → x a = 0} |
| 25 | |
| 26 | /-- Vanishing on an ideal is equivalently containment of that ideal in the character's kernel. -/ |
| 27 | theorem mem_affineIdealZeroLocus_iff_le_ker (I : Ideal A) (x : AffineComplexPoints.affineComplexPoints A) : |
| 28 | x ∈ affineIdealZeroLocus I ↔ I ≤ RingHom.ker x.toRingHom := Iff.rfl |
| 29 | |
| 30 | /-- Complex points of a quotient are exactly characters vanishing on the defining ideal. -/ |
| 31 | def quotientComplexPointsEquiv (I : Ideal A) : |
| 32 | AffineComplexPoints.affineComplexPoints (A ⧸ I) ≃ affineIdealZeroLocus I where |
| 33 | toFun x := ⟨x.comp (Ideal.Quotient.mkₐ ℂ I), by |
| 34 | intro a ha |
| 35 | change x (Ideal.Quotient.mk I a) = 0 |
| 36 | rw [Ideal.Quotient.eq_zero_iff_mem.mpr ha, map_zero]⟩ |
| 37 | invFun x := Ideal.Quotient.liftₐ I x.val x.property |
| 38 | left_inv x := by |
| 39 | apply Ideal.Quotient.algHom_ext ℂ |
| 40 | exact Ideal.Quotient.liftₐ_comp I _ _ |
| 41 | right_inv x := by |
| 42 | apply Subtype.ext |
| 43 | exact Ideal.Quotient.liftₐ_comp I _ _ |
| 44 | |
| 45 | /-- Restricting a quotient point is precomposition by the canonical algebra quotient map. -/ |
| 46 | @[simp] theorem quotientComplexPointsEquiv_val (I : Ideal A) |
| 47 | (x : AffineComplexPoints.affineComplexPoints (A ⧸ I)) : |
| 48 | (quotientComplexPointsEquiv I x).val = x.comp (Ideal.Quotient.mkₐ ℂ I) := rfl |
| 49 | |
| 50 | /-- The inverse is the standard quotient algebra lift. -/ |
| 51 | @[simp] theorem quotientComplexPointsEquiv_symm (I : Ideal A) |
| 52 | (x : affineIdealZeroLocus I) : |
| 53 | (quotientComplexPointsEquiv I).symm x = |
| 54 | Ideal.Quotient.liftₐ I x.val x.property := rfl |
| 55 | |
| 56 | /-- Quotient points are determined by the resulting characters on the original algebra. -/ |
| 57 | theorem quotientComplexPoints_restrict_injective (I : Ideal A) : |
| 58 | Function.Injective (fun x : AffineComplexPoints.affineComplexPoints (A ⧸ I) => |
| 59 | x.comp (Ideal.Quotient.mkₐ ℂ I)) := by |
| 60 | intro x y h |
| 61 | apply (quotientComplexPointsEquiv I).injective |
| 62 | exact Subtype.ext h |
| 63 | |
| 64 | /-- The image of restriction is exactly the ideal's zero locus. -/ |
| 65 | theorem range_quotientComplexPoints_restrict (I : Ideal A) : |
| 66 | Set.range (fun x : AffineComplexPoints.affineComplexPoints (A ⧸ I) => |
| 67 | x.comp (Ideal.Quotient.mkₐ ℂ I)) = affineIdealZeroLocus I := by |
| 68 | ext x |
| 69 | constructor |
| 70 | · rintro ⟨y, rfl⟩ |
| 71 | exact (quotientComplexPointsEquiv I y).property |
| 72 | · intro hx |
| 73 | refine ⟨(quotientComplexPointsEquiv I).symm ⟨x, hx⟩, ?_⟩ |
| 74 | exact congrArg Subtype.val ((quotientComplexPointsEquiv I).apply_symm_apply ⟨x, hx⟩) |
| 75 | |
| 76 | /-- On the scheme side, restriction is composition with `Spec` of the quotient map. -/ |
| 77 | theorem quotientComplexPointsEquiv_specMap {A : Type} [CommRing A] [Algebra ℂ A] |
| 78 | (I : Ideal A) (x : AffineComplexPoints.affineComplexPoints (A ⧸ I)) : |
| 79 | Spec.map (CommRingCat.ofHom (quotientComplexPointsEquiv I x).val.toRingHom) = |
| 80 | Spec.map (CommRingCat.ofHom x.toRingHom) ≫ |
| 81 | Spec.map (CommRingCat.ofHom (Ideal.Quotient.mk I)) := by |
| 82 | rw [← Spec.map_comp] |
| 83 | rfl |
| 84 | |
| 85 | end OAI.AlgebraicGeometry.Foundations.Scheme.QuotientComplexPoints |