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.NumberTheory.PadicHodge.IntegralComparison.DualCoordinateConormalBasis |
| 2 | import OAI.AlgebraicGeometry.Resolution.Blowups.Smooth.ExtendedQuotient |
| 3 | import Mathlib.RingTheory.Etale.Kaehler |
| 4 | |
| 5 | /-! # Conormal Rank -/ |
| 6 | |
| 7 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.Etale.ConormalRank |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! The rank of the genuine conormal module is unchanged on an étale |
| 12 | ambient neighborhood. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.AlgebraicGeometry KaehlerDifferential |
| 15 | |
| 16 | universe u |
| 17 | |
| 18 | variable {R S : Type u} [CommRing R] [CommRing S] [Algebra R S] |
| 19 | [Algebra.Etale R S] |
| 20 | |
| 21 | theorem quotient_etale (I : Ideal R) : |
| 22 | Algebra.Etale (R ⧸ I) (S ⧸ I.map (algebraMap R S)) := by |
| 23 | have hbase : Etale (Spec.map (CommRingCat.ofHom (algebraMap R S))) := by |
| 24 | rw [HasRingHomProperty.Spec_iff (P := @Etale)] |
| 25 | exact RingHom.etale_algebraMap.mpr inferInstance |
| 26 | have h := MorphismProperty.of_isPullback (P := @Etale) |
| 27 | (AlgebraicGeometry.Resolution.Blowups.Affine.QuotientBaseChange.Construction.affineQuotient_baseChange_isPullback (S := S) I).flip hbase |
| 28 | exact RingHom.etale_algebraMap.mp ((HasRingHomProperty.Spec_iff (P := @Etale)).mp h) |
| 29 | |
| 30 | variable {k : Type u} [CommRing k] [Algebra k R] [Algebra k S] |
| 31 | [IsScalarTower k R S] [Algebra.Smooth k R] [IsNoetherianRing R] |
| 32 | (I : Ideal R) [Algebra.Smooth k (R ⧸ I)] |
| 33 | |
| 34 | include k in |
| 35 | theorem rank_eq (q : PrimeSpectrum (S ⧸ I.map (algebraMap R S))) : |
| 36 | Module.rankAtStalk (I.map (algebraMap R S)).Cotangent q = |
| 37 | Module.rankAtStalk I.Cotangent |
| 38 | (q.comap (algebraMap (R ⧸ I) (S ⧸ I.map (algebraMap R S)))) := by |
| 39 | let : Algebra.Smooth k S := Algebra.Smooth.comp k R S |
| 40 | let : IsNoetherianRing S := Algebra.FiniteType.isNoetherianRing R S |
| 41 | let : Algebra.Smooth k (S ⧸ I.map (algebraMap R S)) := AlgebraicGeometry.Resolution.Blowups.Smooth.ExtendedQuotient.Construction.smooth_extended_quotient I |
| 42 | let : Algebra.Etale (R ⧸ I) (S ⧸ I.map (algebraMap R S)) := quotient_etale I |
| 43 | let : IsScalarTower k (R ⧸ I) (S ⧸ I.map (algebraMap R S)) := |
| 44 | AlgebraicGeometry.Resolution.Blowups.Smooth.TransformedCoordinateHypersurface.Construction.extendedQuotient_scalarTower I |
| 45 | rw [IntegralComparison.Smooth.ConormalRank.quotient_rank_sub (k := k), |
| 46 | IntegralComparison.Smooth.ConormalRank.quotient_rank_sub (k := k)] |
| 47 | have h₁ := Module.rankAtStalk_isBaseChange |
| 48 | (KaehlerDifferential.isBaseChange_of_formallyEtale k R S) |
| 49 | (q.comap (Ideal.Quotient.mk (I.map (algebraMap R S)))) |
| 50 | have h₂ := Module.rankAtStalk_isBaseChange |
| 51 | (KaehlerDifferential.isBaseChange_of_formallyEtale k (R ⧸ I) |
| 52 | (S ⧸ I.map (algebraMap R S))) q |
| 53 | rw [h₁, h₂] |
| 54 | congr 2 |
| 55 | |
| 56 | variable {ι : Type*} [Fintype ι] [DecidableEq ι] |
| 57 | (z : ι → I.map (algebraMap R S)) (D : ι → Derivation k S S) |
| 58 | (hD : ∀ i j, D i (z j).val = if i = j then 1 else 0) |
| 59 | (hgen : Ideal.span (Set.range (fun i => (z i).val)) = I.map (algebraMap R S)) |
| 60 | |
| 61 | include hD hgen in |
| 62 | theorem cardinal_eq_rank (q : PrimeSpectrum (S ⧸ I.map (algebraMap R S))) : |
| 63 | Fintype.card ι = Module.rankAtStalk I.Cotangent |
| 64 | (q.comap (algebraMap (R ⧸ I) (S ⧸ I.map (algebraMap R S)))) := by |
| 65 | rw [← rank_eq (k := k) I q] |
| 66 | exact (DualCoordinateConormalBasis.rankAtStalk _ z D hD hgen q).symm |
| 67 | |
| 68 | end |
| 69 | |
| 70 | end OAI.NumberTheory.PadicHodge.IntegralComparison.Etale.ConormalRank |