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.AffineClosedImmersion |
| 2 | import OAI.AlgebraicGeometry.ComplexPoints.Analytic.QuotientPointTopology |
| 3 | |
| 4 | /-! # Closed Immersion Point Topology -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! |
| 11 | # Ordinary topology of affine closed immersions |
| 12 | |
| 13 | A surjective complex algebra map induces a closed embedding of its actual |
| 14 | complex-point spaces. The image is exactly the common zero locus of its kernel. |
| 15 | Mathlib's characterization of affine scheme closed immersions then applies |
| 16 | this result to the actual spectrum map, rather than an assumed presentation. |
| 17 | -/ |
| 18 | |
| 19 | universe u v |
| 20 | |
| 21 | variable {A : Type u} {B : Type v} |
| 22 | variable [CommRing A] [Algebra ℂ A] [CommRing B] [Algebra ℂ B] |
| 23 | |
| 24 | /-- A surjective algebra map identifies target points with the zero locus of its kernel. -/ |
| 25 | def Foundations.Scheme.AffineComplexPoints.affineComplexPoints.surjectiveComapHomeomorph (f : A →ₐ[ℂ] B) (hf : Function.Surjective f) : |
| 26 | Foundations.Scheme.AffineComplexPoints.affineComplexPoints B ≃ₜ Foundations.Scheme.QuotientComplexPoints.affineIdealZeroLocus (RingHom.ker f) := |
| 27 | (Foundations.Scheme.AffineComplexPoints.affineComplexPoints.comapHomeomorph (Ideal.quotientKerAlgEquivOfSurjective hf)).trans |
| 28 | (ComplexPoints.Analytic.QuotientPointTopology.quotientComplexPointsHomeomorph (RingHom.ker f)) |
| 29 | |
| 30 | /-- The homeomorphism is the actual precomposition map on algebra characters. -/ |
| 31 | @[simp] |
| 32 | theorem Foundations.Scheme.AffineComplexPoints.affineComplexPoints.surjectiveComapHomeomorph_val (f : A →ₐ[ℂ] B) (hf : Function.Surjective f) |
| 33 | (x : Foundations.Scheme.AffineComplexPoints.affineComplexPoints B) : |
| 34 | (Foundations.Scheme.AffineComplexPoints.affineComplexPoints.surjectiveComapHomeomorph f hf x).val = x.comp f := by |
| 35 | ext a |
| 36 | rfl |
| 37 | |
| 38 | /-- The image of a surjective algebra map on complex points is its kernel zero locus. -/ |
| 39 | theorem Foundations.Scheme.AffineComplexPoints.affineComplexPoints.range_comap_of_surjective (f : A →ₐ[ℂ] B) (hf : Function.Surjective f) : |
| 40 | Set.range (Foundations.Scheme.AffineComplexPoints.affineComplexPoints.comap f) = Foundations.Scheme.QuotientComplexPoints.affineIdealZeroLocus (RingHom.ker f) := by |
| 41 | ext x |
| 42 | constructor |
| 43 | · rintro ⟨y, rfl⟩ |
| 44 | change y.comp f ∈ Foundations.Scheme.QuotientComplexPoints.affineIdealZeroLocus (RingHom.ker f) |
| 45 | rw [← Foundations.Scheme.AffineComplexPoints.affineComplexPoints.surjectiveComapHomeomorph_val f hf y] |
| 46 | exact (Foundations.Scheme.AffineComplexPoints.affineComplexPoints.surjectiveComapHomeomorph f hf y).property |
| 47 | · intro hx |
| 48 | refine ⟨(Foundations.Scheme.AffineComplexPoints.affineComplexPoints.surjectiveComapHomeomorph f hf).symm ⟨x, hx⟩, ?_⟩ |
| 49 | change ((Foundations.Scheme.AffineComplexPoints.affineComplexPoints.surjectiveComapHomeomorph f hf).symm ⟨x, hx⟩).comp f = x |
| 50 | rw [← Foundations.Scheme.AffineComplexPoints.affineComplexPoints.surjectiveComapHomeomorph_val f hf] |
| 51 | exact congrArg Subtype.val ((Foundations.Scheme.AffineComplexPoints.affineComplexPoints.surjectiveComapHomeomorph f hf).apply_symm_apply ⟨x, hx⟩) |
| 52 | |
| 53 | /-- A surjective algebra map induces a closed embedding for ordinary complex-point topologies. -/ |
| 54 | theorem Foundations.Scheme.AffineComplexPoints.affineComplexPoints.isClosedEmbedding_comap_of_surjective (f : A →ₐ[ℂ] B) |
| 55 | (hf : Function.Surjective f) : Topology.IsClosedEmbedding (Foundations.Scheme.AffineComplexPoints.affineComplexPoints.comap f) := by |
| 56 | have heq : (fun x : Foundations.Scheme.AffineComplexPoints.affineComplexPoints B => (Foundations.Scheme.AffineComplexPoints.affineComplexPoints.surjectiveComapHomeomorph f hf x).val) = |
| 57 | Foundations.Scheme.AffineComplexPoints.affineComplexPoints.comap f := by |
| 58 | funext x |
| 59 | exact Foundations.Scheme.AffineComplexPoints.affineComplexPoints.surjectiveComapHomeomorph_val f hf x |
| 60 | rw [← heq] |
| 61 | exact (ComplexPoints.Analytic.QuotientPointTopology.isClosed_affineIdealZeroLocus (RingHom.ker f)).isClosedEmbedding_subtypeVal.comp |
| 62 | (Foundations.Scheme.AffineComplexPoints.affineComplexPoints.surjectiveComapHomeomorph f hf).isClosedEmbedding |
| 63 | |
| 64 | /-- A genuine affine spectrum closed immersion induces an ordinary closed point embedding. -/ |
| 65 | theorem Foundations.Scheme.AffineComplexPoints.affineComplexPoints.isClosedEmbedding_comap_of_spec_closedImmersion |
| 66 | {A B : Type u} [CommRing A] [Algebra ℂ A] [CommRing B] [Algebra ℂ B] |
| 67 | (f : A →ₐ[ℂ] B) |
| 68 | [AlgebraicGeometry.IsClosedImmersion |
| 69 | (AlgebraicGeometry.Spec.map (CommRingCat.ofHom f.toRingHom))] : |
| 70 | Topology.IsClosedEmbedding (Foundations.Scheme.AffineComplexPoints.affineComplexPoints.comap f) := |
| 71 | Foundations.Scheme.AffineComplexPoints.affineComplexPoints.isClosedEmbedding_comap_of_surjective f |
| 72 | (Foundations.Scheme.AffineClosedImmersion.ringMap_surjective_of_spec_closedImmersion (CommRingCat.ofHom f.toRingHom)) |
| 73 | |
| 74 | end |
| 75 | |
| 76 | end OAI.AlgebraicGeometry |