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.Geometry.ComplexTorus.RiemannProjectivity.ChartPeriodSmoothness |
| 2 | import OAI.AlgebraicGeometry.Foundations.Scheme.AffineSchemeComplexPoints |
| 3 | import OAI.AlgebraicGeometry.Foundations.Scheme.AffineClosedImmersion |
| 4 | |
| 5 | /-! # Affine Image Algebra Eq -/ |
| 6 | |
| 7 | namespace OAI |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | namespace Geometry.ComplexTorus.RiemannProjectivity.AffineImageAlgebraEq.Constructions.AffineImageAlgebra |
| 12 | |
| 13 | /-! # RiemannProjectivity: identify a reduced affine algebra from its actual complex-point image -/ |
| 14 | |
| 15 | open Set |
| 16 | |
| 17 | variable {ι : Type*} {A : Type*} [CommRing A] [Algebra ℂ A] |
| 18 | |
| 19 | def coordinates (f : MvPolynomial ι ℂ →ₐ[ℂ] A) (q : A →ₐ[ℂ] ℂ) : ι → ℂ := |
| 20 | fun i => q (f (MvPolynomial.X i)) |
| 21 | |
| 22 | theorem eval_coordinates (f : MvPolynomial ι ℂ →ₐ[ℂ] A) (q : A →ₐ[ℂ] ℂ) |
| 23 | (p : MvPolynomial ι ℂ) : MvPolynomial.eval (coordinates f q) p = q (f p) := by |
| 24 | have h : MvPolynomial.aeval (coordinates f q) = q.comp f := by |
| 25 | ext i |
| 26 | simp [coordinates] |
| 27 | exact congrArg (fun f : MvPolynomial ι ℂ →ₐ[ℂ] ℂ => f p) h |
| 28 | |
| 29 | theorem kernel_eq_vanishingIdeal [Algebra.FiniteType ℂ A] [IsReduced A] |
| 30 | (f : MvPolynomial ι ℂ →ₐ[ℂ] A) (S : Set (ι → ℂ)) |
| 31 | (hS : range (coordinates f) = S) : RingHom.ker f.toRingHom = MvPolynomial.vanishingIdeal ℂ S := by |
| 32 | ext p |
| 33 | constructor |
| 34 | · intro hp x hx |
| 35 | rw [← hS] at hx |
| 36 | obtain ⟨q, rfl⟩ := hx |
| 37 | change MvPolynomial.eval (coordinates f q) p = 0 |
| 38 | rw [eval_coordinates, show f p = 0 from hp, map_zero] |
| 39 | · intro hp |
| 40 | change f p = 0 |
| 41 | apply CharacterSeparationEq.Constructions.CharacterSeparation.eq_zero_of_all_points_zero |
| 42 | intro q |
| 43 | rw [← eval_coordinates] |
| 44 | apply hp |
| 45 | rw [← hS] |
| 46 | exact ⟨q, rfl⟩ |
| 47 | |
| 48 | theorem smooth [Algebra.FiniteType ℂ A] [IsReduced A] |
| 49 | (f : MvPolynomial ι ℂ →ₐ[ℂ] A) (hf : Function.Surjective f) (S : Set (ι → ℂ)) |
| 50 | (hS : range (coordinates f) = S) |
| 51 | (hsm : Algebra.Smooth ℂ (AffineVanishing.Constructions.AffineVanishingPoints.coordinateRing S)) : Algebra.Smooth ℂ A := by |
| 52 | have hker := kernel_eq_vanishingIdeal f S hS |
| 53 | let : Algebra.Smooth ℂ (MvPolynomial ι ℂ ⧸ RingHom.ker f.toRingHom) := by |
| 54 | rwa [hker] |
| 55 | let e : (MvPolynomial ι ℂ ⧸ RingHom.ker f.toRingHom) ≃ₐ[ℂ] A := |
| 56 | Ideal.quotientKerAlgEquivOfSurjective hf |
| 57 | exact Algebra.Smooth.of_equiv e |
| 58 | |
| 59 | end Geometry.ComplexTorus.RiemannProjectivity.AffineImageAlgebraEq.Constructions.AffineImageAlgebra |
| 60 | |
| 61 | namespace Geometry.ComplexTorus.RiemannProjectivity.AffineImageAlgebraEq.Constructions.AffineSchemeAlgebra |
| 62 | |
| 63 | /-! # RiemannProjectivity: smooth polynomial coordinate algebras yield smooth native affine schemes -/ |
| 64 | |
| 65 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 66 | |
| 67 | variable {A : Type} [CommRing A] [Algebra ℂ A] |
| 68 | (X : Over AlgebraicGeometry.Foundations.Scheme.ProjectiveSpace.complexBase) [IsAffine X.left] |
| 69 | |
| 70 | def coordinateHom (j : X ⟶ AlgebraicGeometry.Foundations.Scheme.AffineComplexPoints.affineSchemeOver ℂ A) : A →ₐ[ℂ] Γ(X.left, ⊤) := |
| 71 | (AlgebraicGeometry.Foundations.Scheme.AffineComplexPoints.affineAlgHomOverSpecEquiv ℂ A Γ(X.left, ⊤)).symm ((AlgebraicGeometry.Foundations.Scheme.AffineSchemeComplexPoints.affineOverIso X).inv ≫ j) |
| 72 | |
| 73 | set_option backward.isDefEq.respectTransparency false in |
| 74 | theorem coordinateHom_spec (j : X ⟶ AlgebraicGeometry.Foundations.Scheme.AffineComplexPoints.affineSchemeOver ℂ A) : |
| 75 | Spec.map (CommRingCat.ofHom (coordinateHom X j).toRingHom) = X.left.isoSpec.inv ≫ j.left := by |
| 76 | have h := congrArg Over.Hom.left |
| 77 | ((AlgebraicGeometry.Foundations.Scheme.AffineComplexPoints.affineAlgHomOverSpecEquiv ℂ A Γ(X.left, ⊤)).apply_symm_apply ((AlgebraicGeometry.Foundations.Scheme.AffineSchemeComplexPoints.affineOverIso X).inv ≫ j)) |
| 78 | simpa only [coordinateHom, AlgebraicGeometry.Foundations.Scheme.AffineComplexPoints.affineAlgHomOverSpecEquiv_left, Over.comp_left, |
| 79 | AlgebraicGeometry.Foundations.Scheme.AffineSchemeComplexPoints.affineOverIso_inv_left] using h |
| 80 | |
| 81 | set_option backward.isDefEq.respectTransparency false in |
| 82 | theorem coordinateHom_surjective (j : X ⟶ AlgebraicGeometry.Foundations.Scheme.AffineComplexPoints.affineSchemeOver ℂ A) [IsClosedImmersion j.left] : |
| 83 | Function.Surjective (coordinateHom X j) := by |
| 84 | have : IsClosedImmersion (Spec.map (CommRingCat.ofHom (coordinateHom X j).toRingHom)) := by |
| 85 | rw [coordinateHom_spec] |
| 86 | infer_instance |
| 87 | exact AlgebraicGeometry.Foundations.Scheme.AffineClosedImmersion.ringMap_surjective_of_spec_closedImmersion (CommRingCat.ofHom (coordinateHom X j).toRingHom) |
| 88 | |
| 89 | set_option backward.isDefEq.respectTransparency false in |
| 90 | theorem coordinateHom_point (j : X ⟶ AlgebraicGeometry.Foundations.Scheme.AffineComplexPoints.affineSchemeOver ℂ A) (q : Γ(X.left, ⊤) →ₐ[ℂ] ℂ) : |
| 91 | AlgebraicGeometry.Foundations.Scheme.AffineComplexPoints.affineComplexPointsOverEquiv A (q.comp (coordinateHom X j)) = |
| 92 | (AlgebraicGeometry.Foundations.Scheme.AffineSchemeComplexPoints.affineNativePointEquiv X).symm q ≫ j := by |
| 93 | apply Over.OverMorphism.ext |
| 94 | simp only [AlgebraicGeometry.Foundations.Scheme.AffineComplexPoints.affineComplexPointsOverEquiv_left, Over.comp_left, AlgebraicGeometry.Foundations.Scheme.AffineSchemeComplexPoints.affineNativePointEquiv_symm_left] |
| 95 | calc |
| 96 | Spec.map (CommRingCat.ofHom (q.comp (coordinateHom X j)).toRingHom) = |
| 97 | Spec.map (CommRingCat.ofHom q.toRingHom) ≫ |
| 98 | Spec.map (CommRingCat.ofHom (coordinateHom X j).toRingHom) := by |
| 99 | rw [← Spec.map_comp] |
| 100 | rfl |
| 101 | _ = (Spec.map (CommRingCat.ofHom q.toRingHom) ≫ X.left.isoSpec.inv) ≫ j.left := by |
| 102 | rw [coordinateHom_spec, Category.assoc] |
| 103 | |
| 104 | set_option backward.isDefEq.respectTransparency false in |
| 105 | theorem smooth_of_algebra [Algebra.Smooth ℂ Γ(X.left, ⊤)] : Smooth X.hom := by |
| 106 | have : Smooth (AlgebraicGeometry.Foundations.Scheme.AffineComplexPoints.affineSchemeOver ℂ Γ(X.left, ⊤)).hom := by |
| 107 | change Smooth (Spec.map (CommRingCat.ofHom (algebraMap ℂ Γ(X.left, ⊤)))) |
| 108 | rw [HasRingHomProperty.Spec_iff (P := @Smooth)] |
| 109 | exact (inferInstance : Algebra.Smooth ℂ Γ(X.left, ⊤)) |
| 110 | rw [← (AlgebraicGeometry.Foundations.Scheme.AffineSchemeComplexPoints.affineOverIso X).hom.w] |
| 111 | infer_instance |
| 112 | |
| 113 | theorem smooth_of_polynomial_point_image {ι : Type} [Finite ι] [IsReduced X.left] |
| 114 | (j : X ⟶ AlgebraicGeometry.Foundations.Scheme.AffineComplexPoints.affineSchemeOver ℂ (MvPolynomial ι ℂ)) [IsClosedImmersion j.left] |
| 115 | (S : Set (ι → ℂ)) (hS : Set.range (AffineImageAlgebra.coordinates (coordinateHom X j)) = S) |
| 116 | (hsm : Algebra.Smooth ℂ (AffineVanishing.Constructions.AffineVanishingPoints.coordinateRing S)) : Smooth X.hom := by |
| 117 | have hf := coordinateHom_surjective X j |
| 118 | let : Algebra.FiniteType ℂ Γ(X.left, ⊤) := Algebra.FiniteType.of_surjective (coordinateHom X j) hf |
| 119 | let : Algebra.Smooth ℂ Γ(X.left, ⊤) := AffineImageAlgebra.smooth (coordinateHom X j) hf S hS hsm |
| 120 | exact smooth_of_algebra X |
| 121 | |
| 122 | end Geometry.ComplexTorus.RiemannProjectivity.AffineImageAlgebraEq.Constructions.AffineSchemeAlgebra |
| 123 | |
| 124 | end |
| 125 | |
| 126 | end OAI |