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.RepresentationTheory.Theta.Geometric.Universal.DifferentialJet |
| 2 | import OAI.RepresentationTheory.Theta.Geometric.TangentNeighborhoods |
| 3 | import Mathlib.CategoryTheory.Monoidal.Cartesian.Grp |
| 4 | import Mathlib.RingTheory.Spectrum.Prime.Topology |
| 5 | |
| 6 | /-! # Group Jet -/ |
| 7 | |
| 8 | namespace OAI.RepresentationTheory.Theta.Geometric.Universal.GroupJet |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! Subtracting the constant affine test point from its universal jet |
| 13 | gives an actual infinitesimal point at the identity of a group scheme. -/ |
| 14 | |
| 15 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 16 | open scoped _root_.CategoryTheory.MonObj |
| 17 | |
| 18 | attribute [local instance] DifferentialJet.differentialOppositeModule |
| 19 | |
| 20 | def differentialJetTest (R : CommAlgCat.{0} ℂ) : Over AlgebraicGeometry.Foundations.Scheme.ProjectiveSpace.complexBase := |
| 21 | AlgebraicGeometry.AbelianScheme.TateComparison.FormConstants.affineComplexTest (CommAlgCat.of ℂ (DifferentialJet.differentialJetRing R)) |
| 22 | |
| 23 | def differentialJetOrigin (R : CommAlgCat.{0} ℂ) : AlgebraicGeometry.AbelianScheme.TateComparison.FormConstants.affineComplexTest R ⟶ differentialJetTest R := |
| 24 | AlgebraicGeometry.AbelianScheme.TateComparison.FormConstants.affineComplexMap (CommAlgCat.ofHom (TrivSqZeroExt.fstHom ℂ R (KaehlerDifferential ℂ R))) |
| 25 | |
| 26 | def differentialJetProjection (R : CommAlgCat.{0} ℂ) : differentialJetTest R ⟶ AlgebraicGeometry.AbelianScheme.TateComparison.FormConstants.affineComplexTest R := |
| 27 | AlgebraicGeometry.AbelianScheme.TateComparison.FormConstants.affineComplexMap (CommAlgCat.ofHom (TrivSqZeroExt.inlAlgHom ℂ R (KaehlerDifferential ℂ R))) |
| 28 | |
| 29 | def differentialJetPoint (R : CommAlgCat.{0} ℂ) : differentialJetTest R ⟶ AlgebraicGeometry.AbelianScheme.TateComparison.FormConstants.affineComplexTest R := |
| 30 | AlgebraicGeometry.AbelianScheme.TateComparison.FormConstants.affineComplexMap (CommAlgCat.ofHom (DifferentialJet.differentialJet R)) |
| 31 | |
| 32 | theorem differentialJetOrigin_projection (R : CommAlgCat.{0} ℂ) : |
| 33 | differentialJetOrigin R ≫ differentialJetProjection R = 𝟙 (AlgebraicGeometry.AbelianScheme.TateComparison.FormConstants.affineComplexTest R) := by |
| 34 | apply Over.OverMorphism.ext |
| 35 | change Spec.map _ ≫ Spec.map _ = 𝟙 _ |
| 36 | rw [← Spec.map_comp] |
| 37 | exact Spec.map_id _ |
| 38 | |
| 39 | theorem differentialJetOrigin_point (R : CommAlgCat.{0} ℂ) : |
| 40 | differentialJetOrigin R ≫ differentialJetPoint R = 𝟙 (AlgebraicGeometry.AbelianScheme.TateComparison.FormConstants.affineComplexTest R) := by |
| 41 | apply Over.OverMorphism.ext |
| 42 | change Spec.map _ ≫ Spec.map _ = 𝟙 _ |
| 43 | rw [← Spec.map_comp] |
| 44 | exact Spec.map_id _ |
| 45 | |
| 46 | theorem differentialJetOrigin_surjective (R : CommAlgCat.{0} ℂ) : |
| 47 | Function.Surjective (differentialJetOrigin R).left := by |
| 48 | let f := (TrivSqZeroExt.fstHom ℂ R (KaehlerDifferential ℂ R)).toRingHom |
| 49 | change Function.Surjective (PrimeSpectrum.comap f) |
| 50 | intro p |
| 51 | change p ∈ Set.range (PrimeSpectrum.comap f) |
| 52 | rw [range_comap_of_surjective R f TrivSqZeroExt.fst_surjective] |
| 53 | intro z hz |
| 54 | have he : z.fst = 0 := hz |
| 55 | have hs : z * z = 0 := by |
| 56 | apply TrivSqZeroExt.ext |
| 57 | · change z.fst * z.fst = 0 |
| 58 | rw [he, zero_mul] |
| 59 | · change z.fst • z.snd + z.fst • z.snd = 0 |
| 60 | rw [he, zero_smul, zero_add] |
| 61 | exact (p.isPrime.mem_or_mem (hs ▸ p.asIdeal.zero_mem)).elim id id |
| 62 | |
| 63 | variable {G : Over AlgebraicGeometry.Foundations.Scheme.ProjectiveSpace.complexBase} [GrpObj G] |
| 64 | |
| 65 | def universalGroupJet (R : CommAlgCat.{0} ℂ) (x : AlgebraicGeometry.AbelianScheme.TateComparison.FormConstants.affineComplexTest R ⟶ G) : |
| 66 | differentialJetTest R ⟶ G := |
| 67 | (differentialJetProjection R ≫ x)⁻¹ * (differentialJetPoint R ≫ x) |
| 68 | |
| 69 | theorem universalGroupJet_origin (R : CommAlgCat.{0} ℂ) (x : AlgebraicGeometry.AbelianScheme.TateComparison.FormConstants.affineComplexTest R ⟶ G) : |
| 70 | differentialJetOrigin R ≫ universalGroupJet R x = 1 := by |
| 71 | rw [universalGroupJet, MonObj.comp_mul, GrpObj.comp_inv, ← Category.assoc, |
| 72 | ← Category.assoc, differentialJetOrigin_projection, differentialJetOrigin_point, |
| 73 | Category.id_comp, inv_mul_cancel] |
| 74 | |
| 75 | def differentialJetSchemeMap {R S : CommAlgCat.{0} ℂ} (f : R ⟶ S) : |
| 76 | differentialJetTest S ⟶ differentialJetTest R := |
| 77 | AlgebraicGeometry.AbelianScheme.TateComparison.FormConstants.affineComplexMap (CommAlgCat.ofHom (DifferentialJet.differentialJetMap f)) |
| 78 | |
| 79 | theorem differentialJetSchemeMap_point {R S : CommAlgCat.{0} ℂ} (f : R ⟶ S) : |
| 80 | differentialJetSchemeMap f ≫ differentialJetPoint R = |
| 81 | differentialJetPoint S ≫ AlgebraicGeometry.AbelianScheme.TateComparison.FormConstants.affineComplexMap f := by |
| 82 | apply Over.OverMorphism.ext |
| 83 | change Spec.map _ ≫ Spec.map _ = Spec.map _ ≫ Spec.map _ |
| 84 | rw [← Spec.map_comp, ← Spec.map_comp] |
| 85 | exact congrArg (fun g => Spec.map (CommRingCat.ofHom g.toRingHom)) (DifferentialJet.differentialJetMap_jet f) |
| 86 | |
| 87 | theorem differentialJetSchemeMap_projection {R S : CommAlgCat.{0} ℂ} (f : R ⟶ S) : |
| 88 | differentialJetSchemeMap f ≫ differentialJetProjection R = |
| 89 | differentialJetProjection S ≫ AlgebraicGeometry.AbelianScheme.TateComparison.FormConstants.affineComplexMap f := by |
| 90 | apply Over.OverMorphism.ext |
| 91 | change Spec.map _ ≫ Spec.map _ = Spec.map _ ≫ Spec.map _ |
| 92 | rw [← Spec.map_comp, ← Spec.map_comp] |
| 93 | exact congrArg (fun g => Spec.map (CommRingCat.ofHom g.toRingHom)) (DifferentialJet.differentialJetMap_inl f) |
| 94 | |
| 95 | theorem universalGroupJet_naturality {R S : CommAlgCat.{0} ℂ} (f : R ⟶ S) |
| 96 | (x : AlgebraicGeometry.AbelianScheme.TateComparison.FormConstants.affineComplexTest R ⟶ G) : |
| 97 | differentialJetSchemeMap f ≫ universalGroupJet R x = |
| 98 | universalGroupJet S (AlgebraicGeometry.AbelianScheme.TateComparison.FormConstants.affineComplexMap f ≫ x) := by |
| 99 | rw [universalGroupJet, MonObj.comp_mul, GrpObj.comp_inv, ← Category.assoc, |
| 100 | ← Category.assoc, differentialJetSchemeMap_projection, differentialJetSchemeMap_point] |
| 101 | rfl |
| 102 | |
| 103 | end |
| 104 | |
| 105 | end OAI.RepresentationTheory.Theta.Geometric.Universal.GroupJet |