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.AbelianModuli.HilbertConstruction.Coefficient.QuotientTwistingFrames |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.ProjectiveTwisting.TwistingRestriction |
| 3 | |
| 4 | /-! # Coefficient Change -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.ProjectiveTwisting.CoefficientChange |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The actual ambient projective O(1) commutes with every change of coefficient ring. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 13 | |
| 14 | universe u |
| 15 | |
| 16 | variable {R A : CommRingCat.{u}} (φ : R ⟶ A) (n : ℕ) |
| 17 | |
| 18 | def zeroQuotientCoefficientMorphism : |
| 19 | Proj (HilbertScheme.Presentations.Graded.Quotient.GradedHilbert.quotientGrading (⊥ : HomogeneousIdeal (HilbertScheme.Presentations.Hilbert.Polynomial.GradedHilbert.grading A n))) ⟶ |
| 20 | Proj (HilbertScheme.Presentations.Graded.Quotient.GradedHilbert.quotientGrading (⊥ : HomogeneousIdeal (HilbertScheme.Presentations.Hilbert.Polynomial.GradedHilbert.grading R n))) := |
| 21 | (Projective.QuotientZero.projectiveQuotientZeroIso A n).hom.left ≫ Projective.CoefficientFunctoriality.polynomialProjectiveMap φ n ≫ |
| 22 | (Projective.QuotientZero.projectiveQuotientZeroIso R n).inv.left |
| 23 | |
| 24 | theorem zeroQuotientCoefficientMorphism_factor : |
| 25 | zeroQuotientCoefficientMorphism φ n ≫ HilbertScheme.Presentations.Projective.Quotient.GradedHilbert.projectiveQuotientInclusion (⊥ : HomogeneousIdeal (HilbertScheme.Presentations.Hilbert.Polynomial.GradedHilbert.grading R n)) = |
| 26 | HilbertScheme.Presentations.Projective.Quotient.GradedHilbert.projectiveQuotientInclusion (⊥ : HomogeneousIdeal (HilbertScheme.Presentations.Hilbert.Polynomial.GradedHilbert.grading A n)) ≫ Projective.CoefficientFunctoriality.polynomialProjectiveMap φ n := by |
| 27 | have he : (Projective.QuotientZero.projectiveQuotientZeroIso R n).inv.left ≫ |
| 28 | HilbertScheme.Presentations.Projective.Quotient.GradedHilbert.projectiveQuotientInclusion (⊥ : HomogeneousIdeal (HilbertScheme.Presentations.Hilbert.Polynomial.GradedHilbert.grading R n)) = 𝟙 _ := |
| 29 | congrArg Over.Hom.left (Projective.QuotientZero.projectiveQuotientZeroIso R n).inv_hom_id |
| 30 | exact (Category.assoc _ _ _).trans |
| 31 | (congrArg (fun z => (Projective.QuotientZero.projectiveQuotientZeroIso A n).hom.left ≫ z) |
| 32 | ((Category.assoc _ _ _).trans |
| 33 | ((congrArg (fun z => Projective.CoefficientFunctoriality.polynomialProjectiveMap φ n ≫ z) he).trans (Category.comp_id _)))) |
| 34 | |
| 35 | theorem zeroQuotientCoefficientMorphism_from_ambient : |
| 36 | (Projective.QuotientZero.projectiveQuotientZeroIso A n).inv.left ≫ zeroQuotientCoefficientMorphism φ n = |
| 37 | Projective.CoefficientFunctoriality.polynomialProjectiveMap φ n ≫ (Projective.QuotientZero.projectiveQuotientZeroIso R n).inv.left := by |
| 38 | have he : (Projective.QuotientZero.projectiveQuotientZeroIso A n).inv.left ≫ (Projective.QuotientZero.projectiveQuotientZeroIso A n).hom.left = 𝟙 _ := |
| 39 | congrArg Over.Hom.left (Projective.QuotientZero.projectiveQuotientZeroIso A n).inv_hom_id |
| 40 | change (Projective.QuotientZero.projectiveQuotientZeroIso A n).inv.left ≫ |
| 41 | (Projective.QuotientZero.projectiveQuotientZeroIso A n).hom.left ≫ Projective.CoefficientFunctoriality.polynomialProjectiveMap φ n ≫ |
| 42 | (Projective.QuotientZero.projectiveQuotientZeroIso R n).inv.left = _ |
| 43 | rw [← Category.assoc, he, Category.id_comp] |
| 44 | |
| 45 | def affineProjectiveTwistingBundle_coefficientIso : |
| 46 | ((Section.AbsoluteTwistingBundle.affineProjectiveTwistingBundle R n).pullback (Projective.CoefficientFunctoriality.polynomialProjectiveMap φ n)).sheaf ≅ |
| 47 | (Section.AbsoluteTwistingBundle.affineProjectiveTwistingBundle A n).sheaf := by |
| 48 | let O := Bundle.projectiveTwistingBundle (⊥ : HomogeneousIdeal (HilbertScheme.Presentations.Hilbert.Polynomial.GradedHilbert.grading R n)) 1 |
| 49 | let m := zeroQuotientCoefficientMorphism φ n |
| 50 | let a := (Projective.QuotientZero.projectiveQuotientZeroIso A n).inv.left |
| 51 | let e := Coefficient.QuotientTwistingFrames.coefficientQuotientTwistingBundleIso φ |
| 52 | (⊥ : HomogeneousIdeal (HilbertScheme.Presentations.Hilbert.Polynomial.GradedHilbert.grading A n)) (⊥ : HomogeneousIdeal (HilbertScheme.Presentations.Hilbert.Polynomial.GradedHilbert.grading R n)) m |
| 53 | (zeroQuotientCoefficientMorphism_factor φ n) |
| 54 | exact (Scheme.Modules.pullbackComp (Projective.CoefficientFunctoriality.polynomialProjectiveMap φ n) (Projective.QuotientZero.projectiveQuotientZeroIso R n).inv.left).app |
| 55 | O.sheaf ≪≫ |
| 56 | (Scheme.Modules.pullbackCongr (zeroQuotientCoefficientMorphism_from_ambient φ n).symm).app O.sheaf ≪≫ |
| 57 | (Scheme.Modules.pullbackComp a m).symm.app O.sheaf ≪≫ (Scheme.Modules.pullback a).mapIso e |
| 58 | |
| 59 | end |
| 60 | |
| 61 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.ProjectiveTwisting.CoefficientChange |