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.Picard.ThetaConstruction.RelativeFiniteType |
| 2 | import OAI.AlgebraicGeometry.FormalGeometry.Completion.GroupSubobject |
| 3 | |
| 4 | /-! # Relative Zero Group -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.Picard.ThetaConstruction.RelativeZeroGroup.Geometric.RelativeRigidifiedCharts |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! If the actual zero condition is closed under the group operations |
| 11 | on all test schemes, its represented finite-type locus is a |
| 12 | group scheme, including its nonreduced structure. Closedness is a separate obligation. -/ |
| 13 | |
| 14 | open _root_.AlgebraicGeometry _root_.CategoryTheory |
| 15 | open _root_.CategoryTheory.MonoidalCategory _root_.CategoryTheory.CartesianMonoidalCategory |
| 16 | open scoped _root_.CategoryTheory.MonObj |
| 17 | |
| 18 | open OAI.AlgebraicGeometry.FormalGeometry.Completion.GroupSubobject.Construction |
| 19 | |
| 20 | variable {S : Scheme} {A B : Over S} [GrpObj A] [GrpObj B] |
| 21 | (D : AbelianScheme.IsogenyQuotient.Relative.RigidifiedLine.Construction.RelativeRigidifiedProductLine A B) |
| 22 | |
| 23 | structure ZeroIsSubgroup : Prop where |
| 24 | one (T : Over S) : D.relativeValue (1 : T ⟶ B) = AbelianModuli.HilbertConstruction.Picard.PicardSheaf.trivialPicardClass A T |
| 25 | mul {T : Over S} (a b : T ⟶ B) |
| 26 | (ha : D.relativeValue a = AbelianModuli.HilbertConstruction.Picard.PicardSheaf.trivialPicardClass A T) (hb : D.relativeValue b = AbelianModuli.HilbertConstruction.Picard.PicardSheaf.trivialPicardClass A T) : |
| 27 | D.relativeValue (a * b) = AbelianModuli.HilbertConstruction.Picard.PicardSheaf.trivialPicardClass A T |
| 28 | inv {T : Over S} (a : T ⟶ B) |
| 29 | (ha : D.relativeValue a = AbelianModuli.HilbertConstruction.Picard.PicardSheaf.trivialPicardClass A T) : |
| 30 | D.relativeValue a⁻¹ = AbelianModuli.HilbertConstruction.Picard.PicardSheaf.trivialPicardClass A T |
| 31 | |
| 32 | variable [IsProper A.hom] [Smooth A.hom] |
| 33 | [GeometricallyConnected A.hom] [IsLocallyNoetherian B.left] (P : AbelianModuli.HilbertConstruction.Projective.ProjectivePresentations.ProjectivePresentation A) |
| 34 | |
| 35 | omit [GrpObj B] in |
| 36 | theorem zeroInclusion_relative_zero : D.relativeValue (RelativeZeroScheme.Geometric.RelativeRigidifiedCharts.zeroInclusion D P) = AbelianModuli.HilbertConstruction.Picard.PicardSheaf.trivialPicardClass A (RelativeZeroScheme.Geometric.RelativeRigidifiedCharts.zeroSchemeOver D P) := by |
| 37 | apply (RelativeZeroScheme.Geometric.RelativeRigidifiedCharts.zeroScheme_hasLift_iff D P (RelativeZeroScheme.Geometric.RelativeRigidifiedCharts.zeroInclusion D P)).mp |
| 38 | exact ⟨𝟙 (RelativeZeroScheme.Geometric.RelativeRigidifiedCharts.zeroScheme D P)⟩ |
| 39 | |
| 40 | omit [GrpObj B] in |
| 41 | theorem zeroInclusion_comp_relative_zero {T : Over S} (a : T ⟶ (RelativeZeroScheme.Geometric.RelativeRigidifiedCharts.zeroSchemeOver D P)) : |
| 42 | D.relativeValue (a ≫ (RelativeZeroScheme.Geometric.RelativeRigidifiedCharts.zeroInclusion D P)) = AbelianModuli.HilbertConstruction.Picard.PicardSheaf.trivialPicardClass A T := by |
| 43 | rw [← D.relativeValue_natural, zeroInclusion_relative_zero D P, AbelianModuli.HilbertConstruction.Picard.PicardSheaf.trivialPicardClass_naturality] |
| 44 | |
| 45 | structure ZeroGroupData where |
| 46 | group : GrpObj (RelativeZeroScheme.Geometric.RelativeRigidifiedCharts.zeroSchemeOver D P) |
| 47 | monHom : letI := group; IsMonHom (RelativeZeroScheme.Geometric.RelativeRigidifiedCharts.zeroInclusion D P) |
| 48 | |
| 49 | def zeroGroupData (H : ZeroIsSubgroup D) : ZeroGroupData D P := by |
| 50 | apply Classical.choice |
| 51 | let Z := (RelativeZeroScheme.Geometric.RelativeRigidifiedCharts.zeroSchemeOver D P) |
| 52 | let i := (RelativeZeroScheme.Geometric.RelativeRigidifiedCharts.zeroInclusion D P) |
| 53 | have h1 : D.relativeValue (MonObj.one : 𝟙_ (Over S) ⟶ B) = |
| 54 | AbelianModuli.HilbertConstruction.Picard.PicardSheaf.trivialPicardClass A (𝟙_ (Over S)) := by |
| 55 | rw [MonObj.one_eq_one] |
| 56 | exact H.one _ |
| 57 | obtain ⟨e, he⟩ := (RelativeZeroScheme.Geometric.RelativeRigidifiedCharts.zeroInclusion_factorization D P _ MonObj.one).mp h1 |
| 58 | have hm0 := H.mul (fst Z Z ≫ i) (snd Z Z ≫ i) |
| 59 | (zeroInclusion_comp_relative_zero D P (fst Z Z)) (zeroInclusion_comp_relative_zero D P (snd Z Z)) |
| 60 | obtain ⟨m, hm⟩ := (RelativeZeroScheme.Geometric.RelativeRigidifiedCharts.zeroInclusion_factorization D P _ ((fst Z Z ≫ i) * (snd Z Z ≫ i))).mp hm0 |
| 61 | have hm' : m ≫ i = (i ⊗ₘ i) ≫ MonObj.mul := by |
| 62 | simpa only [Hom.mul_def, lift_fst_comp_snd_comp] using hm |
| 63 | obtain ⟨r, hr⟩ := (RelativeZeroScheme.Geometric.RelativeRigidifiedCharts.zeroInclusion_factorization D P _ i⁻¹).mp |
| 64 | (H.inv i (zeroInclusion_relative_zero D P)) |
| 65 | have hr' : r ≫ i = i ≫ GrpObj.inv := hr |
| 66 | exact ⟨⟨FormalGeometry.Completion.GroupSubobject.Construction.grpObjOfMono i e m r he hm' hr', FormalGeometry.Completion.GroupSubobject.Construction.grpObjOfMono_isMonHom i e m r he hm' hr'⟩⟩ |
| 67 | |
| 68 | end |
| 69 | |
| 70 | end OAI.AlgebraicGeometry.Picard.ThetaConstruction.RelativeZeroGroup.Geometric.RelativeRigidifiedCharts |