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.EmbeddedGroupParameters |
| 2 | import OAI.AlgebraicGeometry.ComplexMultiplication.CMAbelianVariety |
| 3 | |
| 4 | /-! # Embedded Group Coefficients -/ |
| 5 | |
| 6 | namespace OAI.ArithmeticGeometry.Descent.CMVariety.EmbeddedGroupCoefficients.Abelian |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | section |
| 11 | |
| 12 | /-! Actual smooth proper commutative group models over finite rational |
| 13 | coefficient rings, retaining a projective embedding and the complex group. -/ |
| 14 | |
| 15 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 16 | |
| 17 | open OAI.AlgebraicGeometry.PELModuli.IntegralModel.EmbeddedGroupParameters.Coefficients |
| 18 | |
| 19 | def abelianProjectiveEmbedding (A : AlgebraicGeometry.ComplexMultiplication.CMAbelianVariety.CM.AbelianVariety) : |
| 20 | A.toOver ⟶ AlgebraicGeometry.AbelianModuli.HilbertConstruction.Projective.ProjectivePresentations.affineProjectiveSpace ℂ A.variety.presentation.ambientDimension := |
| 21 | A.variety.presentation.projective.toOverHom |
| 22 | |
| 23 | instance abelianProjectiveEmbedding_closed (A : AlgebraicGeometry.ComplexMultiplication.CMAbelianVariety.CM.AbelianVariety) : |
| 24 | IsClosedImmersion (abelianProjectiveEmbedding A).left := |
| 25 | A.variety.presentation.projective.closedImmersion |
| 26 | |
| 27 | /-- The coefficient family and all its group laws are constructed from the |
| 28 | original abelian variety. Geometric connectedness of the family is a separate |
| 29 | spreading obligation. -/ |
| 30 | theorem abelian_variety_has_embedded_group_coefficient_model (A : AlgebraicGeometry.ComplexMultiplication.CMAbelianVariety.CM.AbelianVariety) : |
| 31 | ∃ (D : AlgebraicGeometry.PELModuli.IntegralModel.SmoothProjectiveParameters.Coefficients.EmbeddedCoefficientModel ℚ ℂ A.toOver A.variety.presentation.ambientDimension) |
| 32 | (groupD : GrpObj D.toModel.model), |
| 33 | Smooth D.toModel.model.hom ∧ IsProper D.toModel.model.hom ∧ |
| 34 | (letI := groupD; IsCommMonObj D.toModel.model) ∧ |
| 35 | (letI := groupD |
| 36 | letI : GrpObj ((Over.pullback (Models.CoefficientSystem.Constructions.Foundations.genericBaseMap ℚ ℂ D.toModel.coefficients)).obj |
| 37 | D.toModel.model) := Functor.grpObjObj |
| 38 | (F := Over.pullback (Models.CoefficientSystem.Constructions.Foundations.genericBaseMap ℚ ℂ D.toModel.coefficients)) |
| 39 | (G := D.toModel.model) |
| 40 | IsMonHom D.toModel.genericIso.hom) := by |
| 41 | have : Smooth A.toOver.hom := inferInstanceAs (Smooth A.variety.structureMap) |
| 42 | exact AlgebraicGeometry.PELModuli.IntegralModel.EmbeddedGroupParameters.Coefficients.smooth_projective_group_coefficient_model ℚ ℂ A.toOver _ |
| 43 | (abelianProjectiveEmbedding A) |
| 44 | |
| 45 | end |
| 46 | |
| 47 | /-! Multiplication of two open subschemes of a smooth group is smooth, |
| 48 | so its scheme-theoretic image is open. -/ |
| 49 | |
| 50 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 51 | open _root_.CategoryTheory.MonoidalCategory _root_.CategoryTheory.CartesianMonoidalCategory |
| 52 | open scoped _root_.CategoryTheory.MonObj _root_.CategoryTheory.Obj |
| 53 | |
| 54 | def groupRightShear {S : Scheme} (G : Over S) [GrpObj G] : G ⊗ G ≅ G ⊗ G where |
| 55 | hom := lift (fst G G * snd G G) (snd G G) |
| 56 | inv := lift (fst G G / snd G G) (snd G G) |
| 57 | hom_inv_id := by |
| 58 | apply hom_ext <;> simp [GrpObj.comp_div] |
| 59 | inv_hom_id := by |
| 60 | apply hom_ext <;> simp [MonObj.comp_mul] |
| 61 | |
| 62 | theorem group_multiplication_smooth {S : Scheme} (G : Over S) [GrpObj G] [Smooth G.hom] : |
| 63 | Smooth (MonObj.mul (X := G)).left := by |
| 64 | let e := groupRightShear G |
| 65 | have : IsIso e.hom.left := ((Over.forget S).mapIso e).isIso_hom |
| 66 | have h : e.hom ≫ fst G G = MonObj.mul := by |
| 67 | simp only [e, groupRightShear, lift_fst, MonObj.mul_eq_mul] |
| 68 | have hs : Smooth (e.hom.left ≫ (fst G G).left) := |
| 69 | inferInstanceAs (Smooth (e.hom.left ≫ pullback.fst G.hom G.hom)) |
| 70 | exact (congrArg (fun f : G ⊗ G ⟶ G => Smooth f.left) h) ▸ hs |
| 71 | |
| 72 | def groupOpenProduct {S : Scheme} {V G : Over S} [GrpObj G] (i : V ⟶ G) : V ⊗ V ⟶ G := |
| 73 | (i ⊗ₘ i) ≫ MonObj.mul |
| 74 | |
| 75 | theorem groupOpenProduct_points {S : Scheme} {V G T : Over S} [GrpObj G] |
| 76 | (i : V ⟶ G) (a b : T ⟶ V) : |
| 77 | lift a b ≫ groupOpenProduct i = (a ≫ i) * (b ≫ i) := by |
| 78 | change lift a b ≫ (i ⊗ₘ i) ≫ MonObj.mul = _ |
| 79 | rw [← Category.assoc, lift_map] |
| 80 | rfl |
| 81 | |
| 82 | theorem groupOpenProduct_eq {S : Scheme} {V G : Over S} [GrpObj G] (i : V ⟶ G) : |
| 83 | groupOpenProduct i = (fst V V ≫ i) * (snd V V ≫ i) := by |
| 84 | simpa only [lift_fst_snd, Category.id_comp] using groupOpenProduct_points i (fst V V) (snd V V) |
| 85 | |
| 86 | theorem groupOpenProduct_pullback {S T : Scheme} (f : T ⟶ S) |
| 87 | {V G : Over S} [GrpObj G] (i : V ⟶ G) : |
| 88 | (Over.pullback f).map (groupOpenProduct i) = |
| 89 | (prodComparisonIso (Over.pullback f) V V).hom ≫ groupOpenProduct ((Over.pullback f).map i) := by |
| 90 | rw [groupOpenProduct_eq, Functor.map_mul, groupOpenProduct_eq, MonObj.comp_mul] |
| 91 | simp only [Functor.map_comp, ← Category.assoc, prodComparisonIso_hom, |
| 92 | CartesianMonoidalCategory.prodComparison_fst, CartesianMonoidalCategory.prodComparison_snd] |
| 93 | |
| 94 | theorem groupOpenProduct_smooth {S : Scheme} {V G : Over S} [GrpObj G] [Smooth G.hom] |
| 95 | (i : V ⟶ G) [IsOpenImmersion i.left] : Smooth (groupOpenProduct i).left := by |
| 96 | have : Smooth (MonObj.mul (X := G)).left := group_multiplication_smooth G |
| 97 | have : IsOpenImmersion (i ⊗ₘ i).left := by |
| 98 | change IsOpenImmersion (pullback.map _ _ _ _ i.left i.left (𝟙 S) |
| 99 | ((Category.comp_id _).trans i.w.symm) ((Category.comp_id _).trans i.w.symm)) |
| 100 | infer_instance |
| 101 | exact inferInstanceAs (Smooth ((i ⊗ₘ i).left ≫ (MonObj.mul (X := G)).left)) |
| 102 | |
| 103 | end |
| 104 | |
| 105 | end OAI.ArithmeticGeometry.Descent.CMVariety.EmbeddedGroupCoefficients.Abelian |