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.PELModuli.IntegralModel.Section.ConormalMaps |
| 2 | import Mathlib.RingTheory.Etale.Kaehler |
| 3 | import Mathlib.LinearAlgebra.TensorProduct.Tower |
| 4 | |
| 5 | /-! # Conormal Etale -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.PELModuli.IntegralModel.Section.ConormalEtale.SectionConormal |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Restricting a smooth section through an étale ambient morphism |
| 12 | induces an isomorphism of the actual conormal modules. -/ |
| 13 | |
| 14 | open scoped TensorProduct |
| 15 | open TensorProduct |
| 16 | |
| 17 | variable (R B C : Type) [CommRing R] [CommRing B] [CommRing C] |
| 18 | [Algebra R B] [Algebra R C] [Algebra B C] [IsScalarTower R B C] |
| 19 | [Algebra B R] [Algebra C R] [IsScalarTower R B R] [IsScalarTower R C R] |
| 20 | [IsScalarTower B C R] [Algebra.FormallySmooth R B] [Algebra.FormallySmooth R C] |
| 21 | [Algebra.FormallyEtale B C] |
| 22 | |
| 23 | def etaleEquiv : (RingHom.ker (algebraMap B R)).Cotangent ≃ₗ[R] |
| 24 | (RingHom.ker (algebraMap C R)).Cotangent := |
| 25 | (Divisors.LineBundles.Smooth.SectionCotangent.BundleCycles.smoothSectionCotangentEquiv R B).trans |
| 26 | ((AlgebraTensorModule.cancelBaseChange B C R R (KaehlerDifferential R B)).symm.trans |
| 27 | ((LinearEquiv.baseChange C R _ _ |
| 28 | (KaehlerDifferential.tensorKaehlerEquivOfFormallyEtale R B C)).trans |
| 29 | (Divisors.LineBundles.Smooth.SectionCotangent.BundleCycles.smoothSectionCotangentEquiv R C).symm)) |
| 30 | |
| 31 | theorem etaleEquiv_toCotangent (b : RingHom.ker (algebraMap B R)) : |
| 32 | etaleEquiv R B C (Ideal.toCotangent _ b) = |
| 33 | Ideal.toCotangent _ ⟨algebraMap B C b, |
| 34 | by rw [RingHom.mem_ker, ← IsScalarTower.algebraMap_apply B C R]; exact b.property⟩ := by |
| 35 | apply (Divisors.LineBundles.Smooth.SectionCotangent.BundleCycles.smoothSectionCotangentEquiv R C).injective |
| 36 | simp only [etaleEquiv, LinearEquiv.trans_apply, LinearEquiv.apply_symm_apply, |
| 37 | Divisors.LineBundles.Smooth.SectionCotangent.BundleCycles.smoothSectionCotangentEquiv_toCotangent, |
| 38 | AlgebraTensorModule.cancelBaseChange_symm_tmul, LinearEquiv.baseChange_tmul, |
| 39 | KaehlerDifferential.tensorKaehlerEquivOfFormallyEtale_apply, |
| 40 | KaehlerDifferential.mapBaseChange_tmul, one_smul, KaehlerDifferential.map_D] |
| 41 | |
| 42 | theorem etaleEquiv_eq_map : (etaleEquiv R B C).toLinearMap = |
| 43 | Ideal.mapCotangent (RingHom.ker (algebraMap B R)) (RingHom.ker (algebraMap C R)) |
| 44 | (IsScalarTower.toAlgHom R B C) |
| 45 | (fun b hb => by |
| 46 | change algebraMap C R (algebraMap B C b) = 0 |
| 47 | rw [← IsScalarTower.algebraMap_apply B C R] |
| 48 | exact hb) := by |
| 49 | apply LinearMap.ext |
| 50 | intro v |
| 51 | obtain ⟨b, rfl⟩ := Ideal.toCotangent_surjective (RingHom.ker (algebraMap B R)) v |
| 52 | exact etaleEquiv_toCotangent R B C b |
| 53 | |
| 54 | end |
| 55 | |
| 56 | end OAI.AlgebraicGeometry.PELModuli.IntegralModel.Section.ConormalEtale.SectionConormal |