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.BoundIndependence |
| 2 | import OAI.AlgebraicGeometry.Resolution.Blowups.Coefficient.TangentBaseChange |
| 3 | import OAI.AlgebraicGeometry.Resolution.Blowups.Coefficient.ComponentBaseChange |
| 4 | import OAI.AlgebraicGeometry.Resolution.Blowups.Etale.RefinementHelpers |
| 5 | import Mathlib.RingTheory.Unramified.LocalStructure |
| 6 | |
| 7 | /-! # Coefficient Bound Independence -/ |
| 8 | |
| 9 | namespace OAI.AlgebraicGeometry.Resolution.Blowups.Smooth.CoefficientBoundIndependence.Construction |
| 10 | |
| 11 | noncomputable section |
| 12 | |
| 13 | /-! Normal-equation independence of coefficient differential bounds on every smooth affine algebra. -/ |
| 14 | |
| 15 | universe u |
| 16 | |
| 17 | theorem smooth_coefficient_bound_of_other_normal |
| 18 | (k : Type u) [Field k] |
| 19 | {R : Type u} [CommRing R] [Algebra k R] [Algebra ℚ R] [Algebra.Smooth k R] |
| 20 | (J : Ideal R) (n m : ℕ) (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 | (hbound : Relative.DifferentialBlowup.Construction.iteratedRelativeDifferentialIdeal k |
| 25 | (Relative.CoefficientIdeal.Construction.relativeCoefficientIdeal k z (Relative.DifferentialEquiv.Construction.relativeHomogenizedIdeal k J n) (n + 1)) m = ⊤) : |
| 26 | Relative.DifferentialBlowup.Construction.iteratedRelativeDifferentialIdeal k |
| 27 | (Relative.CoefficientIdeal.Construction.relativeCoefficientIdeal k t (Relative.DifferentialEquiv.Construction.relativeHomogenizedIdeal k J n) (n + 1)) m = ⊤ := by |
| 28 | let : Algebra.Smooth k (R ⧸ Ideal.span {z}) := DifferentialHypersurface.Construction.smooth_quotient_of_derivation_one D z hD |
| 29 | let : Algebra.Smooth k (R ⧸ Ideal.span {t}) := DifferentialHypersurface.Construction.smooth_quotient_of_derivation_one E t hE |
| 30 | let H := Relative.DifferentialEquiv.Construction.relativeHomogenizedIdeal k J n |
| 31 | let L := Coefficient.TangentNaturality.Construction.coefficientTangentCenter k t H (n + 1) m |
| 32 | by_contra hnot |
| 33 | have hproper : L ≠ ⊤ := by |
| 34 | intro he |
| 35 | apply hnot |
| 36 | have hq := Coefficient.TangentNaturality.Construction.coefficientTangentCenter_quotient k t H (n + 1) m |
| 37 | change L.map (Ideal.Quotient.mk (Ideal.span {t})) = _ at hq |
| 38 | rw [he, Ideal.map_top] at hq |
| 39 | exact hq.symm |
| 40 | obtain ⟨q, hq, hLq⟩ := Ideal.exists_le_maximal L hproper |
| 41 | let : q.IsMaximal := hq |
| 42 | obtain ⟨s, hs, d, pAlg, htor, het⟩ := |
| 43 | Algebra.IsSmoothAt.exists_isStandardEtale_mvPolynomial (R := k) (p := q) |
| 44 | let S := Localization.Away s |
| 45 | let : Algebra (MvPolynomial (Fin d) k) S := pAlg |
| 46 | let : IsScalarTower k (MvPolynomial (Fin d) k) S := htor |
| 47 | let : Algebra.IsStandardEtale (MvPolynomial (Fin d) k) S := het |
| 48 | let : Algebra.Etale R S := Algebra.Etale.of_isLocalizationAway s |
| 49 | let f : R →ₐ[k] S := IsScalarTower.toAlgHom k R S |
| 50 | have hf : f.toRingHom.Etale := RingHom.etale_algebraMap.mpr inferInstance |
| 51 | let D' := Blowups.Etale.Derivation.Construction.extendEtaleRingDerivation (S := S) D |
| 52 | let E' := Blowups.Etale.Derivation.Construction.extendEtaleRingDerivation (S := S) E |
| 53 | have hD' : D' (f z) = 1 := by |
| 54 | change Blowups.Etale.Derivation.Construction.extendEtaleRingDerivation (S := S) D (algebraMap R S z) = 1 |
| 55 | rw [Blowups.Etale.Derivation.Construction.extendEtaleRingDerivation_algebraMap, hD, map_one] |
| 56 | have hE' : E' (f t) = 1 := by |
| 57 | change Blowups.Etale.Derivation.Construction.extendEtaleRingDerivation (S := S) E (algebraMap R S t) = 1 |
| 58 | rw [Blowups.Etale.Derivation.Construction.extendEtaleRingDerivation_algebraMap, hE, map_one] |
| 59 | have hT := DifferentialMap.Construction.smooth_iteratedRelativeDifferentialIdeal_map k f hf J n |
| 60 | have hz' : f z ∈ Relative.DifferentialBlowup.Construction.iteratedRelativeDifferentialIdeal k (J.map f.toRingHom) n := by |
| 61 | rw [← hT] |
| 62 | exact Ideal.mem_map_of_mem _ hz |
| 63 | have ht' : f t ∈ Relative.DifferentialBlowup.Construction.iteratedRelativeDifferentialIdeal k (J.map f.toRingHom) n := by |
| 64 | rw [← hT] |
| 65 | exact Ideal.mem_map_of_mem _ ht |
| 66 | let P := MvPolynomial (Fin d) k |
| 67 | let ε := MvPolynomial.renameEquiv k (Equiv.ulift : ULift.{u} (Fin d) ≃ Fin d) |
| 68 | let φ := (algebraMap P S).comp ε.toRingHom |
| 69 | have hφ : φ.Etale := RingHom.Etale.stableUnderComposition ε.toRingHom (algebraMap P S) |
| 70 | (RingHom.Etale.of_bijective ε.bijective) (RingHom.etale_algebraMap.mpr inferInstance) |
| 71 | have hφk (c : k) : φ (MvPolynomial.C c) = algebraMap k S c := by |
| 72 | change algebraMap P S (MvPolynomial.rename (Equiv.ulift : ULift.{u} (Fin d) ≃ Fin d) (MvPolynomial.C c)) = _ |
| 73 | rw [MvPolynomial.rename_C] |
| 74 | exact (IsScalarTower.algebraMap_apply k P S c).symm |
| 75 | let : Algebra (MvPolynomial (ULift.{u} (Fin d)) k) S := φ.toAlgebra |
| 76 | let : IsScalarTower k (MvPolynomial (ULift.{u} (Fin d)) k) S := |
| 77 | IsScalarTower.of_algebraMap_eq (fun c => (hφk c).symm) |
| 78 | let : Algebra.Etale (MvPolynomial (ULift.{u} (Fin d)) k) S := RingHom.etale_algebraMap.mp hφ |
| 79 | have hbz := Coefficient.TangentBaseChange.Construction.homogenized_coefficient_bound_map_etale k f hf z J n m hbound |
| 80 | have hbt := Coefficient.BoundIndependence.Construction.coefficient_bound_of_other_normal (k := k) (R := S) (σ := ULift.{u} (Fin d)) |
| 81 | (J.map f.toRingHom) n m (f z) (f t) D' E' hD' hE' hz' ht' hbz |
| 82 | have hm := Coefficient.TangentBaseChange.Construction.homogenized_coefficientTangentCenter_map_etale k f hf t J n m |
| 83 | change L.map f.toRingHom = Coefficient.TangentNaturality.Construction.coefficientTangentCenter k (f t) |
| 84 | (Relative.DifferentialEquiv.Construction.relativeHomogenizedIdeal k (J.map f.toRingHom) n) (n + 1) m at hm |
| 85 | have hunit : L.map f.toRingHom = ⊤ := by |
| 86 | rw [hm] |
| 87 | unfold Coefficient.TangentNaturality.Construction.coefficientTangentCenter |
| 88 | rw [hbt, Ideal.comap_top] |
| 89 | obtain ⟨Q, hQ⟩ := Blowups.Etale.RefinementHelpers.Construction.exists_localization_away_prime s ⟨q, inferInstance⟩ hs |
| 90 | have hle : L.map f.toRingHom ≤ Q.asIdeal := by |
| 91 | rw [Ideal.map_le_iff_le_comap] |
| 92 | exact hLq.trans_eq (congrArg PrimeSpectrum.asIdeal hQ).symm |
| 93 | rw [hunit] at hle |
| 94 | exact Q.isPrime.ne_top (top_le_iff.mp hle) |
| 95 | |
| 96 | theorem smooth_coefficient_bound_independent_of_normal |
| 97 | (k : Type u) [Field k] {R : Type u} [CommRing R] [Algebra k R] [Algebra ℚ R] [Algebra.Smooth k R] |
| 98 | (J : Ideal R) (n m : ℕ) (z t : R) (D E : Derivation k R R) |
| 99 | (hD : D z = 1) (hE : E t = 1) |
| 100 | (hz : z ∈ Relative.DifferentialBlowup.Construction.iteratedRelativeDifferentialIdeal k J n) |
| 101 | (ht : t ∈ Relative.DifferentialBlowup.Construction.iteratedRelativeDifferentialIdeal k J n) : |
| 102 | Relative.DifferentialBlowup.Construction.iteratedRelativeDifferentialIdeal k |
| 103 | (Relative.CoefficientIdeal.Construction.relativeCoefficientIdeal k z (Relative.DifferentialEquiv.Construction.relativeHomogenizedIdeal k J n) (n + 1)) m = ⊤ ↔ |
| 104 | Relative.DifferentialBlowup.Construction.iteratedRelativeDifferentialIdeal k |
| 105 | (Relative.CoefficientIdeal.Construction.relativeCoefficientIdeal k t (Relative.DifferentialEquiv.Construction.relativeHomogenizedIdeal k J n) (n + 1)) m = ⊤ := |
| 106 | ⟨smooth_coefficient_bound_of_other_normal k J n m z t D E hD hE hz ht, |
| 107 | smooth_coefficient_bound_of_other_normal k J n m t z E D hE hD ht hz⟩ |
| 108 | |
| 109 | end |
| 110 | |
| 111 | end OAI.AlgebraicGeometry.Resolution.Blowups.Smooth.CoefficientBoundIndependence.Construction |