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.Divisors.LineBundles.LocalizedSectionNormalCone |
| 2 | import OAI.AlgebraicGeometry.Divisors.LineBundles.Normal.ConeLocalDetection |
| 3 | import OAI.AlgebraicGeometry.Divisors.LineBundles.Normal.ConeSymmetric |
| 4 | |
| 5 | /-! # Section Normal Cone -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.Divisors.LineBundles.Affine.SectionNormalCone.BundleCycles |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! # LineBundleCycles: the actual normal cone of any essentially finite-type smooth ring section -/ |
| 12 | |
| 13 | theorem normalConeSymmetricMap_top_injective (R : Type) [CommRing R] : |
| 14 | Function.Injective (Normal.ConeSymmetric.BundleCycles.normalConeSymmetricMap (⊤ : Ideal R)) := by |
| 15 | have : Subsingleton (R ⧸ (⊤ : Ideal R)) := inferInstance |
| 16 | have : Subsingleton (SymmetricAlgebra (R ⧸ (⊤ : Ideal R)) (⊤ : Ideal R).Cotangent) := |
| 17 | Algebra.subsingleton (R ⧸ (⊤ : Ideal R)) _ |
| 18 | exact Function.injective_of_subsingleton _ |
| 19 | |
| 20 | variable (A B : Type) [CommRing A] [CommRing B] [Algebra A B] [Algebra B A] |
| 21 | [IsScalarTower A B A] [Algebra.FormallySmooth A B] [Algebra.EssFiniteType A B] |
| 22 | |
| 23 | theorem affineSection_normalConeSymmetricMap_bijective : |
| 24 | Function.Bijective (Normal.ConeSymmetric.BundleCycles.normalConeSymmetricMap (RingHom.ker (algebraMap B A))) := by |
| 25 | refine ⟨Normal.ConeLocalDetection.BundleCycles.normalConeSymmetricMap_injective_of_localizations _ ?_, Normal.ConeSymmetric.BundleCycles.normalConeSymmetricMap_surjective _⟩ |
| 26 | intro p hp |
| 27 | by_cases hI : RingHom.ker (algebraMap B A) ≤ p |
| 28 | · let q : Ideal A := p.map (algebraMap B A) |
| 29 | have : q.IsPrime := Ideal.map_isPrime_of_surjective (Smooth.SectionCotangent.BundleCycles.algebraSection_surjective A B) hI |
| 30 | have hq : q.comap (algebraMap B A) = p := by |
| 31 | change (p.map (algebraMap B A)).comap (algebraMap B A) = p |
| 32 | rw [Ideal.comap_map_of_surjective _ (Smooth.SectionCotangent.BundleCycles.algebraSection_surjective A B)] |
| 33 | exact sup_of_le_left hI |
| 34 | have h := (LocalizedSectionNormalCone.BundleCycles.localizedSection_normalConeSymmetricMap_bijective A B q).injective |
| 35 | exact Normal.ConeLocalDetection.BundleCycles.normalConeSymmetricMap_localization_congr _ hq h |
| 36 | · rw [IsLocalization.AtPrime.map_eq_top_of_not_le (S := Localization.AtPrime p) hI] |
| 37 | exact normalConeSymmetricMap_top_injective _ |
| 38 | |
| 39 | def affineSectionNormalConeEquiv : |
| 40 | SymmetricAlgebra (B ⧸ RingHom.ker (algebraMap B A)) (RingHom.ker (algebraMap B A)).Cotangent ≃+* |
| 41 | Normal.Cone.BundleCycles.NormalConeRing (RingHom.ker (algebraMap B A)) := |
| 42 | RingEquiv.ofBijective (Normal.ConeSymmetric.BundleCycles.normalConeSymmetricMap _) (affineSection_normalConeSymmetricMap_bijective A B) |
| 43 | |
| 44 | end |
| 45 | |
| 46 | end OAI.AlgebraicGeometry.Divisors.LineBundles.Affine.SectionNormalCone.BundleCycles |