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.Coefficient.ComponentComparison |
| 2 | import OAI.AlgebraicGeometry.Resolution.Blowups.Coefficient.TangentCurveCenter |
| 3 | import OAI.AlgebraicGeometry.Resolution.Blowups.TwoTransverseEquationComparison |
| 4 | import OAI.AlgebraicGeometry.Resolution.Blowups.Pointed.ComparisonGluing |
| 5 | import OAI.AlgebraicGeometry.Resolution.Blowups.Etale.RefinementHelpers |
| 6 | |
| 7 | /-! # Coefficient Tangent Independence -/ |
| 8 | |
| 9 | namespace OAI.AlgebraicGeometry.Resolution.Blowups.Curve.CoefficientTangentIndependence.Construction |
| 10 | |
| 11 | noncomputable section |
| 12 | |
| 13 | /-! Fixed-level curve coefficient tangent centers are independent of both normal-equation choices. -/ |
| 14 | |
| 15 | universe u |
| 16 | |
| 17 | theorem curve_coefficient_tangent_center_independent_of_normal |
| 18 | {σ k R : Type u} [Field k] [CharZero k] [IsAlgClosed k] [CommRing R] |
| 19 | [Algebra k R] [Algebra ℚ R] |
| 20 | [Algebra (MvPolynomial σ k) R] [Algebra.Etale (MvPolynomial σ k) R] |
| 21 | [IsScalarTower k (MvPolynomial σ k) R] [Fintype σ] [DecidableEq σ] |
| 22 | (J : Ideal R) (n ℓ : ℕ) (z t : R) (D E : Derivation k R R) |
| 23 | (hD : D z = 1) (hE : E t = 1) |
| 24 | (hz : z ∈ Relative.DifferentialBlowup.Construction.iteratedRelativeDifferentialIdeal k J n) |
| 25 | (ht : t ∈ Relative.DifferentialBlowup.Construction.iteratedRelativeDifferentialIdeal k J n) |
| 26 | (hdz : ringKrullDim (R ⧸ Ideal.span {z}) ≤ 1) |
| 27 | (hdt : ringKrullDim (R ⧸ Ideal.span {t}) ≤ 1) (hlevel : (n + 1).factorial ≤ ℓ + 1) |
| 28 | (hboundz : Relative.DifferentialBlowup.Construction.iteratedRelativeDifferentialIdeal k |
| 29 | (Relative.CoefficientIdeal.Construction.relativeCoefficientIdeal k z (Relative.DifferentialEquiv.Construction.relativeHomogenizedIdeal k J n) (n + 1)) (ℓ + 1) = ⊤) |
| 30 | (hboundt : Relative.DifferentialBlowup.Construction.iteratedRelativeDifferentialIdeal k |
| 31 | (Relative.CoefficientIdeal.Construction.relativeCoefficientIdeal k t (Relative.DifferentialEquiv.Construction.relativeHomogenizedIdeal k J n) (n + 1)) (ℓ + 1) = ⊤) : |
| 32 | Coefficient.TangentNaturality.Construction.coefficientTangentCenter k z (Relative.DifferentialEquiv.Construction.relativeHomogenizedIdeal k J n) (n + 1) ℓ = |
| 33 | Coefficient.TangentNaturality.Construction.coefficientTangentCenter k t (Relative.DifferentialEquiv.Construction.relativeHomogenizedIdeal k J n) (n + 1) ℓ := by |
| 34 | let : Algebra.Smooth k (MvPolynomial σ k) := ⟨inferInstance, inferInstance⟩ |
| 35 | let : Algebra.Smooth k R := Algebra.Smooth.comp k (MvPolynomial σ k) R |
| 36 | let : Algebra.Smooth k (R ⧸ Ideal.span {z}) := Blowups.Smooth.DifferentialHypersurface.Construction.smooth_quotient_of_derivation_one D z hD |
| 37 | let : Algebra.Smooth k (R ⧸ Ideal.span {t}) := Blowups.Smooth.DifferentialHypersurface.Construction.smooth_quotient_of_derivation_one E t hE |
| 38 | let : IsNoetherianRing R := Algebra.FiniteType.isNoetherianRing k R |
| 39 | let H := Relative.DifferentialEquiv.Construction.relativeHomogenizedIdeal k J n |
| 40 | let I := Coefficient.TangentNaturality.Construction.coefficientTangentCenter k z H (n + 1) ℓ |
| 41 | let L := Coefficient.TangentNaturality.Construction.coefficientTangentCenter k t H (n + 1) ℓ |
| 42 | let T := Relative.DifferentialBlowup.Construction.iteratedRelativeDifferentialIdeal k J n |
| 43 | have hJI : J ≤ I ^ (n + 1) := (Relative.DifferentialEquiv.Construction.le_relativeHomogenizedIdeal k J n).trans |
| 44 | (Coefficient.TangentCurveCenter.Construction.coefficientTangentCenter_curve_permissible k D z hD H (n + 1) ℓ hdz hlevel hboundz).1 |
| 45 | have hJL : J ≤ L ^ (n + 1) := (Relative.DifferentialEquiv.Construction.le_relativeHomogenizedIdeal k J n).trans |
| 46 | (Coefficient.TangentCurveCenter.Construction.coefficientTangentCenter_curve_permissible k E t hE H (n + 1) ℓ hdt hlevel hboundt).1 |
| 47 | have hTI : T ≤ I := Blowups.Ideal.ImageCongruence.Construction.relative_tangent_le_permissible_center k J I n hJI |
| 48 | have hTL : T ≤ L := Blowups.Ideal.ImageCongruence.Construction.relative_tangent_le_permissible_center k J L n hJL |
| 49 | apply Pointed.ComparisonGluing.Construction.ideal_eq_of_pointed_flat_comparisons I L |
| 50 | intro q hq |
| 51 | let : q.IsMaximal := hq |
| 52 | by_cases hT : T ≤ q |
| 53 | · let r : R →ₐ[k] q.ResidueField := IsScalarTower.toAlgHom k R q.ResidueField |
| 54 | have htransz : ∃ i : σ, i ∉ (∅ : Finset σ) ∧ r (Blowups.Etale.DifferentialEquation.Construction.etaleRelativePartial (K := k) (S := R) i z) ≠ 0 := by |
| 55 | apply Blowups.Etale.TransverseDirection.Construction.exists_transverse_partial_of_boundary_derivation ∅ D r z (by simp) |
| 56 | rw [hD, map_one] |
| 57 | exact one_ne_zero |
| 58 | have htranst : ∃ i : σ, i ∉ (∅ : Finset σ) ∧ r (Blowups.Etale.DifferentialEquation.Construction.etaleRelativePartial (K := k) (S := R) i t) ≠ 0 := by |
| 59 | apply Blowups.Etale.TransverseDirection.Construction.exists_transverse_partial_of_boundary_derivation ∅ E r t (by simp) |
| 60 | rw [hE, map_one] |
| 61 | exact one_ne_zero |
| 62 | have hrz : r z = 0 := Ideal.algebraMap_residueField_eq_zero.mpr (hT hz) |
| 63 | have hrt : r t = 0 := Ideal.algebraMap_residueField_eq_zero.mpr (hT ht) |
| 64 | obtain ⟨U, instU, instkU, f, g, v, hf, hg, heq, _, hH, hvf, _, hcenters⟩ := |
| 65 | TwoTransverseEquationComparison.Construction.exists_two_transverse_equation_center_comparison J ∅ z t n r htransz htranst hz ht (hrz.trans hrt.symm) |
| 66 | let : CommRing U := instU |
| 67 | let : Algebra k U := instkU |
| 68 | have hcoeff := Blowups.Etale.QuotientNaturality.Construction.relativeCoefficientIdeal_comparison_eq (σ := σ) f g hf hg z t heq H H hH (n + 1) |
| 69 | have hIL : I.map f.toRingHom = L.map g.toRingHom := |
| 70 | Coefficient.TangentNaturality.Construction.coefficientTangentCenter_compared_ambient_ideals f g hf hg z t heq H H (n + 1) ℓ hcoeff |
| 71 | let Q := RingHom.ker v.toRingHom |
| 72 | let : Q.IsPrime := Ideal.comap_isPrime v.toRingHom ⊥ |
| 73 | have hQ : Q.comap f.toRingHom = q := by |
| 74 | ext x |
| 75 | change v (f x) = 0 ↔ x ∈ q |
| 76 | rw [hvf x] |
| 77 | exact Ideal.algebraMap_residueField_eq_zero |
| 78 | exact ⟨U, instU, f.toRingHom, g.toRingHom, Q, inferInstance, |
| 79 | (RingHom.Etale.iff_flat_and_formallyUnramified.mp hf).1, hQ, hIL, hcenters L hJL⟩ |
| 80 | · change ¬ ∀ x : R, x ∈ T → x ∈ q at hT |
| 81 | push Not at hT |
| 82 | obtain ⟨a, ha, haq⟩ := hT |
| 83 | let S := Localization.Away a |
| 84 | let f := algebraMap R S |
| 85 | obtain ⟨Q, hQ⟩ := Blowups.Etale.RefinementHelpers.Construction.exists_localization_away_prime a ⟨q, inferInstance⟩ haq |
| 86 | have hIf : I.map f = ⊤ := IdempotentQuotientCenter.Construction.center_map_away_member_eq_top I a (hTI ha) |
| 87 | have hLf : L.map f = ⊤ := IdempotentQuotientCenter.Construction.center_map_away_member_eq_top L a (hTL ha) |
| 88 | have hf : f.Etale := RingHom.etale_algebraMap.mpr (Algebra.Etale.of_isLocalizationAway a) |
| 89 | exact ⟨S, inferInstance, f, f, Q.asIdeal, Q.isPrime, |
| 90 | (RingHom.Etale.iff_flat_and_formallyUnramified.mp hf).1, |
| 91 | congrArg PrimeSpectrum.asIdeal hQ, hIf.trans hLf.symm, rfl⟩ |
| 92 | |
| 93 | end |
| 94 | |
| 95 | end OAI.AlgebraicGeometry.Resolution.Blowups.Curve.CoefficientTangentIndependence.Construction |