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.Affine.IntersectionBaseMaps |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.StableIntersection.ProjectiveTransport |
| 3 | import OAI.AlgebraicGeometry.HilbertScheme.Presentations.Affine.ProjectiveAmbientNaturality |
| 4 | |
| 5 | /-! # Stable Chart Frames -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.StableChartFrames |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Raw affine chart vectors have projective frames and actual |
| 12 | intersection orbit relations for every base morphism Spec C → Spec R. |
| 13 | Their coefficient naturality uses the spectrum/global-sections identity. -/ |
| 14 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 15 | open OAI.AlgebraicGeometry.HilbertScheme.Presentations.Affine.ProjectiveAmbientNaturality.GradedHilbert |
| 16 | universe u |
| 17 | set_option backward.isDefEq.respectTransparency false |
| 18 | set_option backward.isDefEq.respectTransparency.types false |
| 19 | variable (R : Type u) [CommRing R] {C A : Type u} [CommRing C] [CommRing A] |
| 20 | variable {n m : ℕ} (i : Fin m) (j k : Stable.BalancedFrameIndex.StableBalancedFrameIndex.{u} (n + 1) m) |
| 21 | variable {f : Spec (.of C) ⟶ Spec (.of R)} |
| 22 | |
| 23 | theorem stablePolynomialChartPointCoefficients_coefficient |
| 24 | (x : Over.mk f ⟶ Stable.ConfigurationPolynomialRankLocus.stableConfigurationPolynomialRankAmbient R i j) (φ : C →+* A) : |
| 25 | Stable.PolynomialMatrixCoefficients.stablePolynomialChartPointCoefficients R i j (.of A) (HilbertScheme.Presentations.Affine.ProjectiveAmbientNaturality.GradedHilbert.affineTestMap f φ ≫ x) = |
| 26 | φ.comp (Stable.PolynomialMatrixCoefficients.stablePolynomialChartPointCoefficients R i j (.of C) x) := by |
| 27 | ext z |
| 28 | change (Scheme.ΓSpecIso (.of A)).hom |
| 29 | ((Spec.map (CommRingCat.ofHom φ) ≫ x.left).appTop |
| 30 | ((Scheme.ΓSpecIso (.of (Balanced.FrameChartCoordinates.balancedDeterminantChartRing R i j.exponent j.balanced))).inv z)) = _ |
| 31 | rw [Scheme.Hom.comp_appTop] |
| 32 | exact congrArg (fun b : Γ(Spec (.of C), ⊤) ⟶ CommRingCat.of A => |
| 33 | b (x.left.appTop ((Scheme.ΓSpecIso (.of (Balanced.FrameChartCoordinates.balancedDeterminantChartRing R i j.exponent j.balanced))).inv z))) |
| 34 | (Scheme.ΓSpecIso_naturality (CommRingCat.ofHom φ)) |
| 35 | |
| 36 | theorem stablePolynomialChartPointVectors_coefficient |
| 37 | (x : Over.mk f ⟶ Stable.ConfigurationPolynomialRankLocus.stableConfigurationPolynomialRankAmbient R i j) (φ : C →+* A) : |
| 38 | Stable.PolynomialMatrixCoefficients.stablePolynomialChartPointVectors R i j (.of A) (HilbertScheme.Presentations.Affine.ProjectiveAmbientNaturality.GradedHilbert.affineTestMap f φ ≫ x) = |
| 39 | fun c t => φ (Stable.PolynomialMatrixCoefficients.stablePolynomialChartPointVectors R i j (.of C) x c t) := by |
| 40 | unfold Stable.PolynomialMatrixCoefficients.stablePolynomialChartPointVectors |
| 41 | rw [stablePolynomialChartPointCoefficients_coefficient] |
| 42 | rfl |
| 43 | |
| 44 | theorem stablePolynomialChartPointVectors_coefficientAlgebra |
| 45 | (x : Over.mk f ⟶ Stable.ConfigurationPolynomialRankLocus.stableConfigurationPolynomialRankAmbient R i j) : |
| 46 | letI := Affine.IntersectionBaseMaps.affineOverCoefficientAlgebra R C f |
| 47 | Stable.PolynomialMatrixCoefficients.stablePolynomialChartPointVectors R i j (.of C) x = |
| 48 | fun c : ULift.{u} (Fin m) => Stable.ChartNormalizedRankPoints.stableChartNormalizedPointVectors R i j |
| 49 | (Stable.AffineRelations.stableChartAffineAlgebraPoint R i j ((Affine.IntersectionBaseMaps.affineOverCoefficientIso R C f).inv ≫ x)) c.down := by |
| 50 | let := Affine.IntersectionBaseMaps.affineOverCoefficientAlgebra R C f |
| 51 | have he : ((Affine.IntersectionBaseMaps.affineOverCoefficientIso R C f).inv ≫ x).left = x.left := by |
| 52 | change (𝟙 _) ≫ x.left = x.left |
| 53 | exact Category.id_comp _ |
| 54 | rw [← Stable.AffineRelations.stableChartAffineAlgebraPoint_vectors] |
| 55 | unfold Stable.PolynomialMatrixCoefficients.stablePolynomialChartPointVectors Stable.PolynomialMatrixCoefficients.stablePolynomialChartPointCoefficients |
| 56 | rw [he] |
| 57 | |
| 58 | theorem stablePolynomialChartPointVectors_hasFrame |
| 59 | (x : Over.mk f ⟶ Stable.ConfigurationPolynomialRankLocus.stableConfigurationPolynomialRankAmbient R i j) : |
| 60 | IsUnit (ProjectiveFrame.Discriminant.projectiveFrameDiscriminant (Pi.basisFun C (Fin (n + 1))) |
| 61 | (fun t => Stable.PolynomialMatrixCoefficients.stablePolynomialChartPointVectors R i j (.of C) x ⟨j.frame t⟩) |
| 62 | (Stable.PolynomialMatrixCoefficients.stablePolynomialChartPointVectors R i j (.of C) x ⟨j.additional⟩)) := by |
| 63 | let := Affine.IntersectionBaseMaps.affineOverCoefficientAlgebra R C f |
| 64 | rw [stablePolynomialChartPointVectors_coefficientAlgebra] |
| 65 | exact Stable.NormalizedFrameRelation.stableChartNormalizedPoint_hasFrame R i j _ |
| 66 | |
| 67 | private theorem intersection_left_vectors |
| 68 | (x : Over.mk f ⟶ Stable.ConfigurationPolynomialRankLocus.stableConfigurationPolynomialRankAmbient R i (j.intersection k)) : |
| 69 | letI := Affine.IntersectionBaseMaps.affineOverCoefficientAlgebra R C f |
| 70 | Stable.PolynomialMatrixCoefficients.stablePolynomialChartPointVectors R i j (.of C) (x ≫ StableIntersection.SchemeRank.stableChartIntersectionLeftOver R i j k) = |
| 71 | fun c : ULift.{u} (Fin m) => Stable.ChartNormalizedRankPoints.stableChartNormalizedPointVectors R i j |
| 72 | ((Stable.AffineRelations.stableChartAffineAlgebraPoint R i (j.intersection k) ((Affine.IntersectionBaseMaps.affineOverCoefficientIso R C f).inv ≫ x)).comp |
| 73 | (Balanced.IntersectionAlgebraMaps.balancedChartIntersectionLeftAlg R i j.exponent k.exponent j.balanced k.balanced)) c.down := by |
| 74 | let := Affine.IntersectionBaseMaps.affineOverCoefficientAlgebra R C f |
| 75 | rw [stablePolynomialChartPointVectors_coefficientAlgebra] |
| 76 | simp only [← Category.assoc, Stable.AffineRelations.stableChartAffineAlgebraPoint, StableIntersection.SchemeRank.stableChartIntersectionLeftOver] |
| 77 | rw [Stable.AffineRelations.stableChartAffineAlgebraPoint_intersection_left] |
| 78 | rfl |
| 79 | |
| 80 | private theorem intersection_right_vectors |
| 81 | (x : Over.mk f ⟶ Stable.ConfigurationPolynomialRankLocus.stableConfigurationPolynomialRankAmbient R i (j.intersection k)) : |
| 82 | letI := Affine.IntersectionBaseMaps.affineOverCoefficientAlgebra R C f |
| 83 | Stable.PolynomialMatrixCoefficients.stablePolynomialChartPointVectors R i k (.of C) (x ≫ StableIntersection.SchemeRank.stableChartIntersectionRightOver R i j k) = |
| 84 | fun c : ULift.{u} (Fin m) => Stable.ChartNormalizedRankPoints.stableChartNormalizedPointVectors R i k |
| 85 | ((Stable.AffineRelations.stableChartAffineAlgebraPoint R i (j.intersection k) ((Affine.IntersectionBaseMaps.affineOverCoefficientIso R C f).inv ≫ x)).comp |
| 86 | (Balanced.IntersectionAlgebraMaps.balancedChartIntersectionRightAlg R i j.exponent k.exponent j.balanced k.balanced)) c.down := by |
| 87 | let := Affine.IntersectionBaseMaps.affineOverCoefficientAlgebra R C f |
| 88 | rw [stablePolynomialChartPointVectors_coefficientAlgebra] |
| 89 | simp only [← Category.assoc, Stable.AffineRelations.stableChartAffineAlgebraPoint, StableIntersection.SchemeRank.stableChartIntersectionRightOver] |
| 90 | rw [Stable.AffineRelations.stableChartAffineAlgebraPoint_intersection_right] |
| 91 | rfl |
| 92 | |
| 93 | theorem stablePolynomialIntersection_frameRelated |
| 94 | (x : Over.mk f ⟶ Stable.ConfigurationPolynomialRankLocus.stableConfigurationPolynomialRankAmbient R i (j.intersection k)) : |
| 95 | Configuration.ProjectiveTransport.ConfigurationFrameRelated |
| 96 | (Stable.PolynomialMatrixCoefficients.stablePolynomialChartPointVectors R i j (.of C) (x ≫ StableIntersection.SchemeRank.stableChartIntersectionLeftOver R i j k)) |
| 97 | (Stable.PolynomialMatrixCoefficients.stablePolynomialChartPointVectors R i k (.of C) (x ≫ StableIntersection.SchemeRank.stableChartIntersectionRightOver R i j k)) := by |
| 98 | let := Affine.IntersectionBaseMaps.affineOverCoefficientAlgebra R C f |
| 99 | let x' := (Affine.IntersectionBaseMaps.affineOverCoefficientIso R C f).inv ≫ x |
| 100 | let ρ := Stable.AffineRelations.stableChartAffineAlgebraPoint R i (j.intersection k) x' |
| 101 | have hj := intersection_left_vectors R i j k x |
| 102 | have hk := intersection_right_vectors R i j k x |
| 103 | rw [hj, hk] |
| 104 | obtain ⟨T, s, hs⟩ := StableIntersection.ProjectiveTransport.stableChartIntersection_frameRelated R i j k ρ |
| 105 | exact ⟨T, fun c => s c.down, fun c => hs c.down⟩ |
| 106 | |
| 107 | end |
| 108 | |
| 109 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.StableChartFrames |