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.QuotientLocalizationIs |
| 2 | import Mathlib.RingTheory.Smooth.Locus |
| 3 | import OAI.Geometry.ComplexTorus.RiemannProjectivity.GraphRegular |
| 4 | |
| 5 | /-! # Smooth Reference Point -/ |
| 6 | |
| 7 | namespace OAI |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | namespace Geometry.ComplexTorus.RiemannProjectivity.SmoothReferencePoint.Constructions.SmoothPointLocalization |
| 12 | |
| 13 | /-! # RiemannProjectivity: smoothness at genuine algebraic points descends through localization -/ |
| 14 | |
| 15 | variable {A B : Type*} [CommRing A] [CommRing B] [Algebra ℂ A] [Algebra ℂ B] |
| 16 | |
| 17 | def pointPrime (q : A →ₐ[ℂ] ℂ) : PrimeSpectrum A := |
| 18 | ⟨RingHom.ker q.toRingHom, RingHom.ker_isPrime _⟩ |
| 19 | |
| 20 | theorem mem_smoothLocus_of_away [Algebra.FinitePresentation ℂ A] |
| 21 | (q : A →ₐ[ℂ] ℂ) (s : A) (hs : q s ≠ 0) |
| 22 | [Algebra.Smooth ℂ (Localization.Away s)] : |
| 23 | pointPrime q ∈ Algebra.smoothLocus ℂ A := by |
| 24 | apply (Algebra.basicOpen_subset_smoothLocus_iff_smooth (R := ℂ) (A := A) (f := s)).mpr |
| 25 | inferInstance |
| 26 | exact hs |
| 27 | |
| 28 | theorem mem_smoothLocus_of_localization [Algebra A B] [IsScalarTower ℂ A B] |
| 29 | (r : A) [IsLocalization.Away r B] (q : B →ₐ[ℂ] ℂ) |
| 30 | (hq : pointPrime q ∈ Algebra.smoothLocus ℂ B) : |
| 31 | pointPrime (q.comp (Algebra.algHom ℂ A B)) ∈ Algebra.smoothLocus ℂ A := by |
| 32 | rw [← Algebra.smoothLocus_comap_of_isLocalization (R := ℂ) (Af := B) r] at hq |
| 33 | exact hq |
| 34 | |
| 35 | theorem mem_smoothLocus_of_equiv (e : A ≃ₐ[ℂ] B) (q : B →ₐ[ℂ] ℂ) |
| 36 | (hq : pointPrime (q.comp e.toAlgHom) ∈ Algebra.smoothLocus ℂ A) : |
| 37 | pointPrime q ∈ Algebra.smoothLocus ℂ B := by |
| 38 | let : Algebra B A := e.symm.toRingHom.toAlgebra |
| 39 | let : IsScalarTower ℂ B A := IsScalarTower.of_algHom e.symm.toAlgHom |
| 40 | let : IsLocalization.Away (1 : B) A := IsLocalization.of_le_isUnit_of_bijective |
| 41 | (by simp [Algebra.algebraMapSubmonoid]) e.symm.bijective |
| 42 | have h := mem_smoothLocus_of_localization (1 : B) (q.comp e.toAlgHom) hq |
| 43 | have heq : (q.comp e.toAlgHom).comp (Algebra.algHom ℂ B A) = q := by |
| 44 | ext b |
| 45 | exact congrArg q (e.apply_symm_apply b) |
| 46 | rwa [heq] at h |
| 47 | |
| 48 | theorem quotient_mem_smoothLocus |
| 49 | [Algebra A B] [IsScalarTower ℂ A B] [Algebra.FinitePresentation ℂ B] [IsNoetherianRing B] |
| 50 | (r : A) [IsLocalization.Away r B] (I : Ideal A) |
| 51 | (q : (B ⧸ I.map (algebraMap A B)) →ₐ[ℂ] ℂ) |
| 52 | (s : B ⧸ I.map (algebraMap A B)) (hs : q s ≠ 0) |
| 53 | [Algebra.Smooth ℂ (Localization.Away s)] : |
| 54 | pointPrime (q.comp (Algebra.algHom ℂ (A ⧸ I) (B ⧸ I.map (algebraMap A B)))) ∈ |
| 55 | Algebra.smoothLocus ℂ (A ⧸ I) := by |
| 56 | let : IsLocalization.Away (Ideal.Quotient.mk I r) (B ⧸ I.map (algebraMap A B)) := |
| 57 | QuotientLocalizationIs.Constructions.QuotientLocalization.isLocalization_away r I |
| 58 | let : Algebra.FinitePresentation ℂ (B ⧸ I.map (algebraMap A B)) := |
| 59 | Algebra.FinitePresentation.quotient (IsNoetherian.noetherian _) |
| 60 | exact mem_smoothLocus_of_localization (Ideal.Quotient.mk I r) q |
| 61 | (mem_smoothLocus_of_away q s hs) |
| 62 | |
| 63 | end Geometry.ComplexTorus.RiemannProjectivity.SmoothReferencePoint.Constructions.SmoothPointLocalization |
| 64 | |
| 65 | namespace Geometry.ComplexTorus.RiemannProjectivity.SmoothReferencePoint.Constructions.ReferenceQuotientSmoothPoint |
| 66 | |
| 67 | /-! # RiemannProjectivity: smoothness on an equation presentation descends to the original quotient -/ |
| 68 | |
| 69 | open OAI.Geometry.ComplexTorus.RiemannProjectivity.SmoothReferencePoint.Constructions.SmoothPointLocalization |
| 70 | |
| 71 | variable {A : Type*} [CommRing A] [Algebra ℂ A] |
| 72 | [Algebra.FinitePresentation ℂ A] [IsNoetherianRing A] |
| 73 | |
| 74 | theorem exists_smooth_point (J I : Ideal A) (hJI : J ≤ I) (r : A ⧸ J) |
| 75 | (q : Localization.Away r →ₐ[ℂ] ℂ) |
| 76 | (hq : I.map ((algebraMap (A ⧸ J) (Localization.Away r)).comp (Ideal.Quotient.mk J)) ≤ |
| 77 | RingHom.ker q.toRingHom) |
| 78 | (s : Localization.Away r) (hs : q s ≠ 0) |
| 79 | (hsm : Algebra.Smooth ℂ (Localization.Away (Ideal.Quotient.mk |
| 80 | (I.map ((algebraMap (A ⧸ J) (Localization.Away r)).comp (Ideal.Quotient.mk J))) s))) : |
| 81 | ∃ qI : (A ⧸ I) →ₐ[ℂ] ℂ, |
| 82 | (∀ a, qI (Ideal.Quotient.mk I a) = q (algebraMap (A ⧸ J) (Localization.Away r) |
| 83 | (Ideal.Quotient.mk J a))) ∧ SmoothPointLocalization.pointPrime qI ∈ Algebra.smoothLocus ℂ (A ⧸ I) := by |
| 84 | let K : Ideal (A ⧸ J) := I.map (Ideal.Quotient.mk J) |
| 85 | let B := Localization.Away r |
| 86 | have hmap : K.map (algebraMap (A ⧸ J) B) = |
| 87 | I.map ((algebraMap (A ⧸ J) B).comp (Ideal.Quotient.mk J)) := by |
| 88 | exact Ideal.map_map _ _ |
| 89 | have hk : K.map (algebraMap (A ⧸ J) B) ≤ RingHom.ker q.toRingHom := by |
| 90 | rw [hmap] |
| 91 | exact hq |
| 92 | let qB : (B ⧸ K.map (algebraMap (A ⧸ J) B)) →ₐ[ℂ] ℂ := |
| 93 | Ideal.Quotient.liftₐ _ q hk |
| 94 | let qK := qB.comp (Algebra.algHom ℂ ((A ⧸ J) ⧸ K) (B ⧸ K.map (algebraMap (A ⧸ J) B))) |
| 95 | let : Algebra.FinitePresentation ℂ (A ⧸ J) := |
| 96 | Algebra.FinitePresentation.quotient (IsNoetherian.noetherian _) |
| 97 | let : Algebra.FinitePresentation ℂ B := Algebra.FinitePresentation.trans ℂ (A ⧸ J) B |
| 98 | let : Algebra.Smooth ℂ (Localization.Away (Ideal.Quotient.mk (K.map (algebraMap (A ⧸ J) B)) s)) := by |
| 99 | rwa [hmap] |
| 100 | have hqK : SmoothPointLocalization.pointPrime qK ∈ Algebra.smoothLocus ℂ ((A ⧸ J) ⧸ K) := |
| 101 | SmoothPointLocalization.quotient_mem_smoothLocus r K qB (Ideal.Quotient.mk _ s) hs |
| 102 | let e : ((A ⧸ J) ⧸ K) ≃ₐ[ℂ] (A ⧸ I) := DoubleQuot.quotQuotEquivQuotOfLEₐ ℂ hJI |
| 103 | let qI := qK.comp e.symm.toAlgHom |
| 104 | refine ⟨qI, ?_, ?_⟩ |
| 105 | · intro a |
| 106 | rfl |
| 107 | · apply SmoothPointLocalization.mem_smoothLocus_of_equiv e qI |
| 108 | have heq : qI.comp e.toAlgHom = qK := by |
| 109 | ext a |
| 110 | exact congrArg qK (e.symm_apply_apply a) |
| 111 | rwa [heq] |
| 112 | |
| 113 | end Geometry.ComplexTorus.RiemannProjectivity.SmoothReferencePoint.Constructions.ReferenceQuotientSmoothPoint |
| 114 | |
| 115 | namespace Geometry.ComplexTorus.RiemannProjectivity.SmoothReferencePoint.Constructions.AffineGraphSmoothPoint |
| 116 | |
| 117 | /-! # RiemannProjectivity: regular coordinate graphs give smooth points of the actual affine vanishing ideal -/ |
| 118 | |
| 119 | open Set _root_.Polynomial |
| 120 | open OAI.Geometry.ComplexTorus.RiemannProjectivity.JacobianLocalizationAt.Constructions.SmoothEquationPoint OAI.Geometry.ComplexTorus.RiemannProjectivity.JacobianLocalizationAt.Constructions.SplitPolynomialJacobian OAI.Geometry.ComplexTorus.RiemannProjectivity.LocalizedGraph.Constructions.LocalizedGraphGerms OAI.Geometry.ComplexTorus.RiemannProjectivity.SmoothReferencePoint.Constructions.SmoothPointLocalization |
| 121 | |
| 122 | variable {n m : ℕ} |
| 123 | |
| 124 | theorem exists_smooth_point |
| 125 | (F : Fin m → Polynomial (MvPolynomial (Fin n) ℂ)) (hF : ∀ j, F j ≠ 0) |
| 126 | (x : Fin n → ℂ) (ψ : (Fin n → ℂ) → Fin m → ℂ) |
| 127 | {U : Set (Fin n → ℂ)} (hU : IsOpen U) (hx : x ∈ U) (hψ : DifferentiableOn ℂ ψ U) |
| 128 | (hzero : ∀ y ∈ U, ∀ j, (F j).eval₂ (MvPolynomial.eval y) (ψ y j) = 0) |
| 129 | (hderiv : ∀ j, ((F j).map (MvPolynomial.eval x)).derivative.eval (ψ x j) ≠ 0) |
| 130 | (S : Set (Fin n ⊕ Fin m → ℂ)) (hS : ∀ y ∈ U, GraphGermsOn.Constructions.GraphGerms.graph ψ y ∈ S) |
| 131 | (hrel : ∀ w ∈ S, ∀ j, MvPolynomial.eval w (JacobianLocalizationAt.Constructions.SplitPolynomialJacobian.equation j (F j)) = 0) : |
| 132 | ∃ q : (MvPolynomial (Fin n ⊕ Fin m) ℂ ⧸ MvPolynomial.vanishingIdeal ℂ S) →ₐ[ℂ] ℂ, |
| 133 | (∀ p, q (Ideal.Quotient.mk _ p) = MvPolynomial.eval (GraphGermsOn.Constructions.GraphGerms.graph ψ x) p) ∧ |
| 134 | SmoothPointLocalization.pointPrime q ∈ Algebra.smoothLocus ℂ |
| 135 | (MvPolynomial (Fin n ⊕ Fin m) ℂ ⧸ MvPolynomial.vanishingIdeal ℂ S) := by |
| 136 | obtain ⟨s, q, hq, hs, hsm⟩ := GraphRegular.Constructions.GraphVanishingIdeal.exists_smooth_point_neighborhood |
| 137 | F hF x ψ hU hx hψ hzero hderiv S hS |
| 138 | let J : Ideal (MvPolynomial (Fin n ⊕ Fin m) ℂ) := Ideal.span (range (fun j => JacobianLocalizationAt.Constructions.SplitPolynomialJacobian.equation j (F j))) |
| 139 | let I := MvPolynomial.vanishingIdeal ℂ S |
| 140 | have hJI : J ≤ I := by |
| 141 | apply Ideal.span_le.mpr |
| 142 | rintro _ ⟨j, rfl⟩ |
| 143 | exact fun w hw => hrel w hw j |
| 144 | have hk : I.map (GraphRegular.Constructions.GraphVanishingIdeal.polynomialMap F) ≤ RingHom.ker q.toRingHom := by |
| 145 | apply Ideal.map_le_iff_le_comap.mpr |
| 146 | intro p hp |
| 147 | change q (GraphRegular.Constructions.GraphVanishingIdeal.polynomialMap F p) = 0 |
| 148 | rw [hq] |
| 149 | exact hp (GraphGermsOn.Constructions.GraphGerms.graph ψ x) (hS x hx) |
| 150 | obtain ⟨qI, hqI, hpoint⟩ := ReferenceQuotientSmoothPoint.exists_smooth_point |
| 151 | J I hJI (JacobianLocalizationAt.Constructions.SmoothEquationPoint.presentation F).jacobian q hk s hs hsm |
| 152 | refine ⟨qI, ?_, hpoint⟩ |
| 153 | intro p |
| 154 | exact (hqI p).trans (hq p) |
| 155 | |
| 156 | end Geometry.ComplexTorus.RiemannProjectivity.SmoothReferencePoint.Constructions.AffineGraphSmoothPoint |
| 157 | |
| 158 | end |
| 159 | |
| 160 | end OAI |