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.SaturatedCoefficientChange |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Affine.EmbeddedTorsionDetection |
| 3 | |
| 4 | /-! # Polarized Coefficient Change -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Embedded.PolarizedCoefficientChange |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Coefficient change of an embedded polarized family has an actual |
| 11 | isomorphism with the saturated extended homogeneous presentation. |
| 12 | The isomorphism preserves the projection and transports its O(1) |
| 13 | identification to the canonical graph power of the new family. -/ |
| 14 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 15 | universe u |
| 16 | set_option backward.isDefEq.respectTransparency false |
| 17 | set_option backward.isDefEq.respectTransparency.types false |
| 18 | variable {R C : Type u} [CommRing R] [IsNoetherianRing R] [CommRing C] |
| 19 | variable {g N r : ℕ} {δ : Fin g → ℕ} {P : Polynomial ℚ} |
| 20 | variable (A : PolarizationData.PolarizedAbelianWithFullLevel g δ N (Spec (.of R))) |
| 21 | variable (I : SaturatedFlatIdeals.SaturatedFlatHilbertIdeal R r P) |
| 22 | variable (e : A.abelian.scheme ≅ Projective.EmbeddingBaseChange.homogeneousProjectiveFamily I.ideal) (φ : R →+* C) |
| 23 | |
| 24 | def embeddedCoefficientChangeIso : |
| 25 | (A.pullback (Spec.map (CommRingCat.ofHom φ))).abelian.scheme ≅ |
| 26 | Projective.EmbeddingBaseChange.homogeneousProjectiveFamily (I.coefficientChange φ).ideal := |
| 27 | (Over.pullback (Spec.map (CommRingCat.ofHom φ))).mapIso e ≪≫ (I.coefficientChangeIso φ).symm |
| 28 | |
| 29 | theorem embeddedCoefficientChangeIso_projection : |
| 30 | (embeddedCoefficientChangeIso A I e φ).hom.left ≫ I.coefficientChangeMorphism φ = |
| 31 | pullback.fst A.abelian.scheme.hom (Spec.map (CommRingCat.ofHom φ)) ≫ e.hom.left := by |
| 32 | have he : (embeddedCoefficientChangeIso A I e φ).hom ≫ (I.coefficientChangeIso φ).hom = |
| 33 | (Over.pullback (Spec.map (CommRingCat.ofHom φ))).map e.hom := by |
| 34 | change (((Over.pullback (Spec.map (CommRingCat.ofHom φ))).map e.hom) ≫ |
| 35 | (I.coefficientChangeIso φ).inv) ≫ (I.coefficientChangeIso φ).hom = _ |
| 36 | rw [Category.assoc, Iso.inv_hom_id, Category.comp_id] |
| 37 | change (embeddedCoefficientChangeIso A I e φ).hom.left ≫ |
| 38 | ((I.coefficientChangeIso φ).hom.left ≫ pullback.fst _ _) = _ |
| 39 | have hl : (embeddedCoefficientChangeIso A I e φ).hom.left ≫ |
| 40 | (I.coefficientChangeIso φ).hom.left = |
| 41 | ((Over.pullback (Spec.map (CommRingCat.ofHom φ))).map e.hom).left := |
| 42 | congrArg Over.Hom.left he |
| 43 | rw [← Category.assoc, hl] |
| 44 | exact (Projective.PresentationBaseChange.overPullback_map_isPullback e.hom (Spec.map (CommRingCat.ofHom φ))).w.symm |
| 45 | |
| 46 | def embeddedCoefficientChangeTwistingIso |
| 47 | (eL : ((ProjectiveTwisting.Bundle.projectiveTwistingBundle I.ideal 1).pullback e.hom.left).sheaf ≅ |
| 48 | (A.graphBundle.tensorPower (2 * Graph.EmbeddingNumerics.graphSquareSectionRank g δ)).sheaf) : |
| 49 | ((ProjectiveTwisting.Bundle.projectiveTwistingBundle (I.coefficientChange φ).ideal 1).pullback |
| 50 | (embeddedCoefficientChangeIso A I e φ).hom.left).sheaf ≅ |
| 51 | ((A.pullback (Spec.map (CommRingCat.ofHom φ))).graphBundle.tensorPower |
| 52 | (2 * Graph.EmbeddingNumerics.graphSquareSectionRank g δ)).sheaf := by |
| 53 | let f := Spec.map (CommRingCat.ofHom φ) |
| 54 | let π := pullback.fst A.abelian.scheme.hom f |
| 55 | let B := A.pullback f |
| 56 | let a := (embeddedCoefficientChangeIso A I e φ).hom.left |
| 57 | let m := I.coefficientChangeMorphism φ |
| 58 | let L := ProjectiveTwisting.Bundle.projectiveTwistingBundle I.ideal 1 |
| 59 | exact (Scheme.Modules.pullback a).mapIso (I.coefficientChangeTwistingIso φ).symm ≪≫ |
| 60 | (Scheme.Modules.pullbackComp a m).app L.sheaf ≪≫ |
| 61 | (Scheme.Modules.pullbackCongr (embeddedCoefficientChangeIso_projection A I e φ)).app L.sheaf ≪≫ |
| 62 | (Scheme.Modules.pullbackComp π e.hom.left).symm.app L.sheaf ≪≫ |
| 63 | (Scheme.Modules.pullback π).mapIso eL ≪≫ |
| 64 | A.graphBundle.powerBaseChangeIso π (2 * Graph.EmbeddingNumerics.graphSquareSectionRank g δ) ≪≫ |
| 65 | (TensorPower.Maps.tensorPowerFunctor B.abelian.scheme.left (2 * Graph.EmbeddingNumerics.graphSquareSectionRank g δ)).mapIso |
| 66 | (A.graphBundle_baseChangeIso f).symm |
| 67 | |
| 68 | end |
| 69 | |
| 70 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Embedded.PolarizedCoefficientChange |