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 Mathlib.RingTheory.Smooth.Basic |
| 2 | |
| 3 | /-! # Section Cotangent -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.Divisors.LineBundles.Smooth.SectionCotangent.BundleCycles |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! # LineBundleCycles: the actual conormal module of a smooth algebra section -/ |
| 10 | |
| 11 | open KaehlerDifferential TensorProduct |
| 12 | |
| 13 | variable (A B : Type) [CommRing A] [CommRing B] [Algebra A B] [Algebra B A] |
| 14 | [IsScalarTower A B A] [Algebra.FormallySmooth A B] |
| 15 | |
| 16 | omit [Algebra.FormallySmooth A B] in |
| 17 | theorem algebraSection_surjective : Function.Surjective (algebraMap B A) := by |
| 18 | intro a |
| 19 | exact ⟨algebraMap A B a, (IsScalarTower.algebraMap_apply A B A a).symm⟩ |
| 20 | |
| 21 | theorem smoothSectionCotangent_injective : Function.Injective (kerCotangentToTensor A B A) := |
| 22 | (Algebra.FormallySmooth.kerCotangentToTensor_injective_iff (R := A) (A := A) (P := B) |
| 23 | (algebraSection_surjective A B)).mpr inferInstance |
| 24 | |
| 25 | omit [Algebra.FormallySmooth A B] in |
| 26 | theorem smoothSectionCotangent_surjective : Function.Surjective (kerCotangentToTensor A B A) := by |
| 27 | intro x |
| 28 | exact (exact_kerCotangentToTensor_mapBaseChange A B A (algebraSection_surjective A B) x).mp |
| 29 | (Subsingleton.elim _ _) |
| 30 | |
| 31 | def smoothSectionCotangentEquivOverAmbient : |
| 32 | (RingHom.ker (algebraMap B A)).Cotangent ≃ₗ[B] A ⊗[B] Ω[B⁄A] := |
| 33 | LinearEquiv.ofBijective (kerCotangentToTensor A B A) |
| 34 | ⟨smoothSectionCotangent_injective A B, smoothSectionCotangent_surjective A B⟩ |
| 35 | |
| 36 | def smoothSectionCotangentEquiv : |
| 37 | (RingHom.ker (algebraMap B A)).Cotangent ≃ₗ[A] A ⊗[B] Ω[B⁄A] := |
| 38 | (smoothSectionCotangentEquivOverAmbient A B).restrictScalars A |
| 39 | |
| 40 | theorem smoothSectionCotangentEquiv_toCotangent (x : RingHom.ker (algebraMap B A)) : |
| 41 | smoothSectionCotangentEquiv A B (Ideal.toCotangent _ x) = 1 ⊗ₜ D A B x.1 := rfl |
| 42 | |
| 43 | instance smoothSectionCotangent_projective : Module.Projective A (RingHom.ker (algebraMap B A)).Cotangent := |
| 44 | Module.Projective.of_equiv (smoothSectionCotangentEquiv A B).symm |
| 45 | |
| 46 | instance smoothSectionCotangent_finite [IsNoetherianRing B] : |
| 47 | Module.Finite A (RingHom.ker (algebraMap B A)).Cotangent := by |
| 48 | have : Module.Finite B (RingHom.ker (algebraMap B A)).Cotangent := |
| 49 | Module.Finite.of_surjective (Ideal.toCotangent (RingHom.ker (algebraMap B A))) |
| 50 | (Ideal.toCotangent_surjective _) |
| 51 | have : Module.Finite B (A ⊗[B] Ω[B⁄A]) := Module.Finite.equiv (smoothSectionCotangentEquivOverAmbient A B) |
| 52 | have : Module.Finite A (A ⊗[B] Ω[B⁄A]) := Module.Finite.of_restrictScalars_finite B A _ |
| 53 | exact Module.Finite.equiv (smoothSectionCotangentEquiv A B).symm |
| 54 | |
| 55 | end |
| 56 | |
| 57 | end OAI.AlgebraicGeometry.Divisors.LineBundles.Smooth.SectionCotangent.BundleCycles |