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.FormalGeometry.Completion.Rigidified.ZeroSchemeFiniteType |
| 2 | import OAI.AlgebraicGeometry.FormalGeometry.Completion.GroupSubobject |
| 3 | import OAI.AlgebraicGeometry.FormalGeometry.Completion.GroupMonomorphismClosed |
| 4 | |
| 5 | /-! # Zero Subgroup Closed -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.FormalGeometry.Completion.Rigidified |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! If the actual zero condition is closed under the group operations |
| 12 | on all test schemes, its represented finite-type locus is a closed |
| 13 | subgroup scheme, including its nonreduced structure. -/ |
| 14 | |
| 15 | set_option backward.isDefEq.respectTransparency false |
| 16 | |
| 17 | open _root_.AlgebraicGeometry _root_.CategoryTheory |
| 18 | open _root_.CategoryTheory.MonoidalCategory _root_.CategoryTheory.CartesianMonoidalCategory |
| 19 | open scoped _root_.CategoryTheory.MonObj |
| 20 | |
| 21 | universe u |
| 22 | variable {K : Type u} [Field K] {A B : Over (Spec (.of K))} [GrpObj A] [GrpObj B] |
| 23 | (D : ProductLine.Construction.RigidifiedProductLine A B) |
| 24 | |
| 25 | structure ProductLine.Construction.RigidifiedProductLine.ZeroIsSubgroup : Prop where |
| 26 | one (T : Over (Spec (.of K))) : D.relativeValue (1 : T ⟶ B) = AbelianModuli.HilbertConstruction.Picard.PicardSheaf.trivialPicardClass A T |
| 27 | mul {T : Over (Spec (.of K))} (a b : T ⟶ B) |
| 28 | (ha : D.relativeValue a = AbelianModuli.HilbertConstruction.Picard.PicardSheaf.trivialPicardClass A T) (hb : D.relativeValue b = AbelianModuli.HilbertConstruction.Picard.PicardSheaf.trivialPicardClass A T) : |
| 29 | D.relativeValue (a * b) = AbelianModuli.HilbertConstruction.Picard.PicardSheaf.trivialPicardClass A T |
| 30 | inv {T : Over (Spec (.of K))} (a : T ⟶ B) |
| 31 | (ha : D.relativeValue a = AbelianModuli.HilbertConstruction.Picard.PicardSheaf.trivialPicardClass A T) : |
| 32 | D.relativeValue a⁻¹ = AbelianModuli.HilbertConstruction.Picard.PicardSheaf.trivialPicardClass A T |
| 33 | |
| 34 | variable [IsAlgClosed K] [IsCommMonObj A] [IsProper A.hom] [Smooth A.hom] |
| 35 | [GeometricallyIntegral A.hom] [IsLocallyNoetherian B.left] |
| 36 | |
| 37 | omit [GrpObj B] in |
| 38 | theorem ProductLine.Construction.RigidifiedProductLine.zeroInclusion_relative_zero : D.relativeValue D.zeroInclusion = AbelianModuli.HilbertConstruction.Picard.PicardSheaf.trivialPicardClass A D.zeroSchemeOver := by |
| 39 | apply (D.zeroScheme_hasLift_iff D.zeroInclusion).mp |
| 40 | exact ⟨𝟙 D.zeroScheme⟩ |
| 41 | |
| 42 | omit [GrpObj B] in |
| 43 | theorem ProductLine.Construction.RigidifiedProductLine.zeroInclusion_comp_relative_zero {T : Over (Spec (.of K))} (a : T ⟶ D.zeroSchemeOver) : |
| 44 | D.relativeValue (a ≫ D.zeroInclusion) = AbelianModuli.HilbertConstruction.Picard.PicardSheaf.trivialPicardClass A T := by |
| 45 | rw [← D.relativeValue_natural, D.zeroInclusion_relative_zero, AbelianModuli.HilbertConstruction.Picard.PicardSheaf.trivialPicardClass_naturality] |
| 46 | |
| 47 | structure ProductLine.Construction.RigidifiedProductLine.ZeroGroupData where |
| 48 | group : GrpObj D.zeroSchemeOver |
| 49 | monHom : letI := group; IsMonHom D.zeroInclusion |
| 50 | |
| 51 | def ProductLine.Construction.RigidifiedProductLine.zeroGroupData (H : D.ZeroIsSubgroup) : D.ZeroGroupData := by |
| 52 | apply Classical.choice |
| 53 | let Z := D.zeroSchemeOver |
| 54 | let i := D.zeroInclusion |
| 55 | have h1 : D.relativeValue (MonObj.one : 𝟙_ (Over (Spec (.of K))) ⟶ B) = |
| 56 | AbelianModuli.HilbertConstruction.Picard.PicardSheaf.trivialPicardClass A (𝟙_ (Over (Spec (.of K)))) := by |
| 57 | rw [MonObj.one_eq_one] |
| 58 | exact H.one _ |
| 59 | obtain ⟨e, he⟩ := (D.zeroInclusion_factorization _ MonObj.one).mp h1 |
| 60 | have hm0 := H.mul (fst Z Z ≫ i) (snd Z Z ≫ i) |
| 61 | (D.zeroInclusion_comp_relative_zero (fst Z Z)) (D.zeroInclusion_comp_relative_zero (snd Z Z)) |
| 62 | obtain ⟨m, hm⟩ := (D.zeroInclusion_factorization _ ((fst Z Z ≫ i) * (snd Z Z ≫ i))).mp hm0 |
| 63 | have hm' : m ≫ i = (i ⊗ₘ i) ≫ MonObj.mul := by |
| 64 | simpa only [Hom.mul_def, lift_fst_comp_snd_comp] using hm |
| 65 | obtain ⟨r, hr⟩ := (D.zeroInclusion_factorization _ i⁻¹).mp |
| 66 | (H.inv i D.zeroInclusion_relative_zero) |
| 67 | have hr' : r ≫ i = i ≫ GrpObj.inv := hr |
| 68 | exact ⟨⟨GroupSubobject.Construction.grpObjOfMono i e m r he hm' hr', GroupSubobject.Construction.grpObjOfMono_isMonHom i e m r he hm' hr'⟩⟩ |
| 69 | |
| 70 | theorem ProductLine.Construction.RigidifiedProductLine.zeroScheme_closed [LocallyOfFiniteType B.hom] (H : D.ZeroIsSubgroup) : |
| 71 | IsClosedImmersion D.zeroScheme.hom := by |
| 72 | let G := D.zeroGroupData H |
| 73 | let := G.group |
| 74 | have : IsMonHom D.zeroInclusion := G.monHom |
| 75 | exact GroupMonomorphismClosed.Construction.groupMonomorphism_isClosedImmersion D.zeroInclusion |
| 76 | |
| 77 | end |
| 78 | |
| 79 | end OAI.AlgebraicGeometry.FormalGeometry.Completion.Rigidified |