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.Resolution.Blowups.Curve.CoefficientTangentIndependence |
| 2 | import OAI.AlgebraicGeometry.Resolution.Blowups.Coefficient.TangentBaseChange |
| 3 | import OAI.AlgebraicGeometry.Resolution.Blowups.NormalQuotientDimension |
| 4 | import OAI.AlgebraicGeometry.Resolution.Blowups.Coefficient.ComponentBaseChange |
| 5 | import Mathlib.RingTheory.Unramified.LocalStructure |
| 6 | |
| 7 | /-! # Surface Tangent Independence -/ |
| 8 | |
| 9 | namespace OAI.AlgebraicGeometry.Resolution.Blowups.Smooth.SurfaceTangentIndependence.Construction |
| 10 | |
| 11 | noncomputable section |
| 12 | |
| 13 | /-! Fixed-level coefficient tangent centers on smooth surfaces are independent of arbitrary normal equations. -/ |
| 14 | |
| 15 | universe u |
| 16 | |
| 17 | theorem smooth_surface_coefficient_tangent_center_independent_of_normal |
| 18 | (k : Type u) [Field k] [CharZero k] [IsAlgClosed k] |
| 19 | {R : Type u} [CommRing R] [Algebra k R] [Algebra ℚ R] [Algebra.Smooth k R] |
| 20 | (J : Ideal R) (n ℓ : ℕ) (z t : R) (D E : Derivation k R R) |
| 21 | (hD : D z = 1) (hE : E t = 1) |
| 22 | (hz : z ∈ Relative.DifferentialBlowup.Construction.iteratedRelativeDifferentialIdeal k J n) |
| 23 | (ht : t ∈ Relative.DifferentialBlowup.Construction.iteratedRelativeDifferentialIdeal k J n) |
| 24 | (hdim : ringKrullDim R ≤ 2) (hlevel : (n + 1).factorial ≤ ℓ + 1) |
| 25 | (hboundz : Relative.DifferentialBlowup.Construction.iteratedRelativeDifferentialIdeal k |
| 26 | (Relative.CoefficientIdeal.Construction.relativeCoefficientIdeal k z (Relative.DifferentialEquiv.Construction.relativeHomogenizedIdeal k J n) (n + 1)) (ℓ + 1) = ⊤) |
| 27 | (hboundt : Relative.DifferentialBlowup.Construction.iteratedRelativeDifferentialIdeal k |
| 28 | (Relative.CoefficientIdeal.Construction.relativeCoefficientIdeal k t (Relative.DifferentialEquiv.Construction.relativeHomogenizedIdeal k J n) (n + 1)) (ℓ + 1) = ⊤) : |
| 29 | Coefficient.TangentNaturality.Construction.coefficientTangentCenter k z (Relative.DifferentialEquiv.Construction.relativeHomogenizedIdeal k J n) (n + 1) ℓ = |
| 30 | Coefficient.TangentNaturality.Construction.coefficientTangentCenter k t (Relative.DifferentialEquiv.Construction.relativeHomogenizedIdeal k J n) (n + 1) ℓ := by |
| 31 | let : Algebra.Smooth k (R ⧸ Ideal.span {z}) := DifferentialHypersurface.Construction.smooth_quotient_of_derivation_one D z hD |
| 32 | let : Algebra.Smooth k (R ⧸ Ideal.span {t}) := DifferentialHypersurface.Construction.smooth_quotient_of_derivation_one E t hE |
| 33 | let : IsNoetherianRing R := Algebra.FiniteType.isNoetherianRing k R |
| 34 | let I := Coefficient.TangentNaturality.Construction.coefficientTangentCenter k z (Relative.DifferentialEquiv.Construction.relativeHomogenizedIdeal k J n) (n + 1) ℓ |
| 35 | let L := Coefficient.TangentNaturality.Construction.coefficientTangentCenter k t (Relative.DifferentialEquiv.Construction.relativeHomogenizedIdeal k J n) (n + 1) ℓ |
| 36 | apply Pointed.ComparisonGluing.Construction.ideal_eq_of_pointed_flat_comparisons I L |
| 37 | intro q hq |
| 38 | let : q.IsMaximal := hq |
| 39 | obtain ⟨s, hs, d, pAlg, htor, het⟩ := |
| 40 | Algebra.IsSmoothAt.exists_isStandardEtale_mvPolynomial (R := k) (p := q) |
| 41 | let S := Localization.Away s |
| 42 | let : Algebra (MvPolynomial (Fin d) k) S := pAlg |
| 43 | let : IsScalarTower k (MvPolynomial (Fin d) k) S := htor |
| 44 | let : Algebra.IsStandardEtale (MvPolynomial (Fin d) k) S := het |
| 45 | let : Algebra.Etale R S := Algebra.Etale.of_isLocalizationAway s |
| 46 | let f : R →ₐ[k] S := IsScalarTower.toAlgHom k R S |
| 47 | have hf : f.toRingHom.Etale := RingHom.etale_algebraMap.mpr inferInstance |
| 48 | let D' := Blowups.Etale.Derivation.Construction.extendEtaleRingDerivation (S := S) D |
| 49 | let E' := Blowups.Etale.Derivation.Construction.extendEtaleRingDerivation (S := S) E |
| 50 | have hD' : D' (f z) = 1 := by |
| 51 | change Blowups.Etale.Derivation.Construction.extendEtaleRingDerivation (S := S) D (algebraMap R S z) = 1 |
| 52 | rw [Blowups.Etale.Derivation.Construction.extendEtaleRingDerivation_algebraMap, hD, map_one] |
| 53 | have hE' : E' (f t) = 1 := by |
| 54 | change Blowups.Etale.Derivation.Construction.extendEtaleRingDerivation (S := S) E (algebraMap R S t) = 1 |
| 55 | rw [Blowups.Etale.Derivation.Construction.extendEtaleRingDerivation_algebraMap, hE, map_one] |
| 56 | have hT := DifferentialMap.Construction.smooth_iteratedRelativeDifferentialIdeal_map k f hf J n |
| 57 | have hz' : f z ∈ Relative.DifferentialBlowup.Construction.iteratedRelativeDifferentialIdeal k (J.map f.toRingHom) n := by |
| 58 | rw [← hT] |
| 59 | exact Ideal.mem_map_of_mem _ hz |
| 60 | have ht' : f t ∈ Relative.DifferentialBlowup.Construction.iteratedRelativeDifferentialIdeal k (J.map f.toRingHom) n := by |
| 61 | rw [← hT] |
| 62 | exact Ideal.mem_map_of_mem _ ht |
| 63 | let P := MvPolynomial (Fin d) k |
| 64 | let ε := MvPolynomial.renameEquiv k (Equiv.ulift : ULift.{u} (Fin d) ≃ Fin d) |
| 65 | let φ := (algebraMap P S).comp ε.toRingHom |
| 66 | have hφ : φ.Etale := RingHom.Etale.stableUnderComposition ε.toRingHom (algebraMap P S) |
| 67 | (RingHom.Etale.of_bijective ε.bijective) (RingHom.etale_algebraMap.mpr inferInstance) |
| 68 | have hφk (c : k) : φ (MvPolynomial.C c) = algebraMap k S c := by |
| 69 | change algebraMap P S (MvPolynomial.rename (Equiv.ulift : ULift.{u} (Fin d) ≃ Fin d) (MvPolynomial.C c)) = _ |
| 70 | rw [MvPolynomial.rename_C] |
| 71 | exact (IsScalarTower.algebraMap_apply k P S c).symm |
| 72 | let : Algebra (MvPolynomial (ULift.{u} (Fin d)) k) S := φ.toAlgebra |
| 73 | let : IsScalarTower k (MvPolynomial (ULift.{u} (Fin d)) k) S := |
| 74 | IsScalarTower.of_algebraMap_eq (fun c => (hφk c).symm) |
| 75 | let : Algebra.Etale (MvPolynomial (ULift.{u} (Fin d)) k) S := RingHom.etale_algebraMap.mp hφ |
| 76 | have hdS : ringKrullDim S ≤ 2 := (HypersurfaceDimension.Construction.localization_ringKrullDim_le (B := S) (Submonoid.powers s)).trans hdim |
| 77 | have hdz' : ringKrullDim (S ⧸ Ideal.span {f z}) ≤ 1 := NormalQuotientDimension.Construction.normal_quotient_dimension_induction D' (f z) hD' 1 hdS |
| 78 | have hdt' : ringKrullDim (S ⧸ Ideal.span {f t}) ≤ 1 := NormalQuotientDimension.Construction.normal_quotient_dimension_induction E' (f t) hE' 1 hdS |
| 79 | have hbz' := Coefficient.TangentBaseChange.Construction.homogenized_coefficient_bound_map_etale k f hf z J n (ℓ + 1) hboundz |
| 80 | have hbt' := Coefficient.TangentBaseChange.Construction.homogenized_coefficient_bound_map_etale k f hf t J n (ℓ + 1) hboundt |
| 81 | have heq := Curve.CoefficientTangentIndependence.Construction.curve_coefficient_tangent_center_independent_of_normal (k := k) (R := S) (σ := ULift.{u} (Fin d)) |
| 82 | (J.map f.toRingHom) n ℓ (f z) (f t) D' E' hD' hE' hz' ht' hdz' hdt' hlevel hbz' hbt' |
| 83 | have hIL : I.map f.toRingHom = L.map f.toRingHom := by |
| 84 | change (Coefficient.TangentNaturality.Construction.coefficientTangentCenter k z (Relative.DifferentialEquiv.Construction.relativeHomogenizedIdeal k J n) (n + 1) ℓ).map f.toRingHom = |
| 85 | (Coefficient.TangentNaturality.Construction.coefficientTangentCenter k t (Relative.DifferentialEquiv.Construction.relativeHomogenizedIdeal k J n) (n + 1) ℓ).map f.toRingHom |
| 86 | rw [Coefficient.TangentBaseChange.Construction.homogenized_coefficientTangentCenter_map_etale k f hf, |
| 87 | Coefficient.TangentBaseChange.Construction.homogenized_coefficientTangentCenter_map_etale k f hf] |
| 88 | exact heq |
| 89 | obtain ⟨Q, hQ⟩ := Blowups.Etale.RefinementHelpers.Construction.exists_localization_away_prime s ⟨q, inferInstance⟩ hs |
| 90 | exact ⟨S, inferInstance, f.toRingHom, f.toRingHom, Q.asIdeal, Q.isPrime, |
| 91 | (RingHom.Etale.iff_flat_and_formallyUnramified.mp hf).1, congrArg PrimeSpectrum.asIdeal hQ, hIL, rfl⟩ |
| 92 | |
| 93 | end |
| 94 | |
| 95 | end OAI.AlgebraicGeometry.Resolution.Blowups.Smooth.SurfaceTangentIndependence.Construction |