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.Quotient.ConormalProjective |
| 2 | import Mathlib.RingTheory.Spectrum.Prime.FreeLocus |
| 3 | |
| 4 | /-! # Conormal Rank -/ |
| 5 | |
| 6 | namespace OAI |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | namespace NumberTheory.PadicHodge.IntegralComparison.Smooth.ConormalRank |
| 11 | |
| 12 | /-! The conormal rank of a smooth quotient is the difference of the two |
| 13 | relative differential ranks. The proof uses the actual split cotangent |
| 14 | sequence and works over an arbitrary coefficient ring. -/ |
| 15 | |
| 16 | open KaehlerDifferential |
| 17 | open scoped TensorProduct |
| 18 | |
| 19 | variable {k Q : Type*} [CommRing k] [CommRing Q] [Algebra k Q] |
| 20 | (P : Algebra.Extension k Q) [Algebra.Smooth k P.Ring] [Algebra.Smooth k Q] |
| 21 | |
| 22 | def differentialSplit : |
| 23 | P.CotangentSpace ≃ₗ[Q] P.Cotangent × Ω[Q⁄k] := |
| 24 | (P.exact_cotangentComplex_toKaehler.splitInjectiveEquiv P.toKaehler_surjective |
| 25 | ⟨Classical.choose (P.formallySmooth_iff_split_injection.mp inferInstance), |
| 26 | Classical.choose_spec (P.formallySmooth_iff_split_injection.mp inferInstance)⟩).1 |
| 27 | |
| 28 | theorem extension_rank [Module.Finite Q P.Cotangent] (p : PrimeSpectrum Q) : |
| 29 | Module.rankAtStalk Ω[P.Ring⁄k] (p.comap (algebraMap P.Ring Q)) = |
| 30 | Module.rankAtStalk P.Cotangent p + Module.rankAtStalk Ω[Q⁄k] p := by |
| 31 | let : Module.Projective Q P.Cotangent := AlgebraicGeometry.Resolution.Blowups.Smooth.ConormalDerivationLift.Construction.smooth_extension_conormal_projective P |
| 32 | have h := congrFun (Module.rankAtStalk_eq_of_equiv (differentialSplit P)) p |
| 33 | rw [Module.rankAtStalk_prod, Pi.add_apply] at h |
| 34 | change Module.rankAtStalk (Q ⊗[P.Ring] Ω[P.Ring⁄k]) p = _ at h |
| 35 | rw [Module.rankAtStalk_baseChange] at h |
| 36 | exact h |
| 37 | |
| 38 | variable {R : Type*} [CommRing R] [Algebra k R] [Algebra.Smooth k R] |
| 39 | [IsNoetherianRing R] (I : Ideal R) [Algebra.Smooth k (R ⧸ I)] |
| 40 | |
| 41 | theorem quotient_rank (p : PrimeSpectrum (R ⧸ I)) : |
| 42 | Module.rankAtStalk Ω[R⁄k] (p.comap (Ideal.Quotient.mk I)) = |
| 43 | Module.rankAtStalk I.Cotangent p + Module.rankAtStalk Ω[R ⧸ I⁄k] p := by |
| 44 | let P := Algebra.Extension.ofSurjective (Ideal.Quotient.mkₐ k I) Ideal.Quotient.mk_surjective |
| 45 | let : Algebra.Smooth k P.Ring := inferInstanceAs (Algebra.Smooth k R) |
| 46 | let e := AlgebraicGeometry.Resolution.Blowups.Quotient.ConormalProjective.Construction.quotientExtensionCotangentEquiv (k := k) I |
| 47 | let : Module.Finite (R ⧸ I) I.Cotangent := AlgebraicGeometry.Resolution.Blowups.Quotient.ConormalProjective.Construction.smooth_quotient_conormal_finite I |
| 48 | let : Module.Finite (R ⧸ I) P.Cotangent := Module.Finite.equiv e.symm |
| 49 | have h := extension_rank P p |
| 50 | have he := congrFun (Module.rankAtStalk_eq_of_equiv e) p |
| 51 | exact h.trans (congrArg (fun n => n + Module.rankAtStalk Ω[R ⧸ I⁄k] p) he) |
| 52 | |
| 53 | theorem quotient_rank_sub (p : PrimeSpectrum (R ⧸ I)) : |
| 54 | Module.rankAtStalk I.Cotangent p = |
| 55 | Module.rankAtStalk Ω[R⁄k] (p.comap (Ideal.Quotient.mk I)) - |
| 56 | Module.rankAtStalk Ω[R ⧸ I⁄k] p := by |
| 57 | rw [quotient_rank (k := k) I p, Nat.add_sub_cancel] |
| 58 | |
| 59 | end NumberTheory.PadicHodge.IntegralComparison.Smooth.ConormalRank |
| 60 | |
| 61 | namespace NumberTheory.PadicHodge.IntegralComparison.Smooth.ConormalRank.SplitNormalization |
| 62 | |
| 63 | /-! The chosen smooth cotangent splitting retains the actual conormal |
| 64 | inclusion and the actual projection to quotient Kähler differentials. -/ |
| 65 | |
| 66 | variable {R S : Type*} [CommRing R] [CommRing S] [Algebra R S] |
| 67 | (P : Algebra.Extension R S) [Algebra.Smooth R P.Ring] [Algebra.Smooth R S] |
| 68 | |
| 69 | theorem maps : |
| 70 | P.cotangentComplex = (differentialSplit P).symm.toLinearMap.comp |
| 71 | (LinearMap.inl S P.Cotangent Ω[S⁄R]) ∧ |
| 72 | P.toKaehler = (LinearMap.snd S P.Cotangent Ω[S⁄R]).comp |
| 73 | (differentialSplit P).toLinearMap := |
| 74 | (P.exact_cotangentComplex_toKaehler.splitInjectiveEquiv P.toKaehler_surjective |
| 75 | ⟨Classical.choose (P.formallySmooth_iff_split_injection.mp inferInstance), |
| 76 | Classical.choose_spec (P.formallySmooth_iff_split_injection.mp inferInstance)⟩).2 |
| 77 | |
| 78 | theorem inl (x : P.Cotangent) : |
| 79 | (differentialSplit P).symm (x, 0) = P.cotangentComplex x := |
| 80 | (LinearMap.congr_fun (maps P).1 x).symm |
| 81 | |
| 82 | theorem snd (x : P.CotangentSpace) : |
| 83 | (differentialSplit P x).2 = P.toKaehler x := |
| 84 | (LinearMap.congr_fun (maps P).2 x).symm |
| 85 | |
| 86 | end NumberTheory.PadicHodge.IntegralComparison.Smooth.ConormalRank.SplitNormalization |
| 87 | |
| 88 | end |
| 89 | |
| 90 | end OAI |