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.NumberTheory.PadicHodge.IntegralComparison.ProjectivePoint.ScalarIndependence |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.ProjectivePoint.PairedParameters |
| 3 | |
| 4 | /-! # Data Scalar -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.ProjectivePoint.DataScalar |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The actual scalar of the fixed projective point class, expressed |
| 11 | from its full geometric parameter data. Paired frames on one ambient |
| 12 | open have the same original scalar, including its raw Koszul value. -/ |
| 13 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.MvPolynomial |
| 14 | open OAI.NumberTheory.PadicHodge.IntegralComparison.Projective.IntrinsicOverlap.Intrinsic OAI.NumberTheory.PadicHodge.IntegralComparison.ProjectivePoint.PairedParameters.ParameterChart |
| 15 | set_option backward.defeqAttrib.useBackward true |
| 16 | set_option backward.isDefEq.respectTransparency false |
| 17 | set_option backward.isDefEq.respectTransparency.types false |
| 18 | universe u |
| 19 | variable {R : Type u} [CommRing R] [IsNoetherianRing R] [Module.Injective R R] |
| 20 | [IsArtinianRing R] [IsLocalRing R] {n : ℕ} |
| 21 | attribute [local instance] MvPolynomial.gradedAlgebra |
| 22 | variable (X : Over (Spec (CommRingCat.of R))) (i : X ⟶ Projective.IntrinsicOverlap.Intrinsic.model R (n+1)) |
| 23 | [IsClosedImmersion i.left] [IsProper X.hom] [Smooth X.hom] [GeometricallyConnected X.hom] |
| 24 | (z : Spec (CommRingCat.of R) ⟶ X.left) [IsClosedImmersion z] |
| 25 | (hz : z ≫ X.hom = 𝟙 _) (g B : ℕ) (hB : n+2 ≤ B) |
| 26 | (U : (Projective.IntrinsicOverlap.Intrinsic.space R (n+1)).Opens) (hU : IsAffineOpen U) |
| 27 | |
| 28 | local instance composite_smooth : Smooth (i.left ≫ AlgebraicGeometry.SheafCohomology.Projective.MvPolynomialClosure.MvPolynomial.homogeneousProjπ) := by |
| 29 | change Smooth (i.left ≫ (Projective.IntrinsicOverlap.Intrinsic.model R (n+1)).hom) |
| 30 | rw [Over.w i] |
| 31 | infer_instance |
| 32 | local instance composite_proper : IsProper (i.left ≫ AlgebraicGeometry.SheafCohomology.Projective.MvPolynomialClosure.MvPolynomial.homogeneousProjπ) := by |
| 33 | change IsProper (i.left ≫ (Projective.IntrinsicOverlap.Intrinsic.model R (n+1)).hom) |
| 34 | rw [Over.w i] |
| 35 | infer_instance |
| 36 | local instance composite_connected : GeometricallyConnected (i.left ≫ AlgebraicGeometry.SheafCohomology.Projective.MvPolynomialClosure.MvPolynomial.homogeneousProjπ) := by |
| 37 | change GeometricallyConnected (i.left ≫ (Projective.IntrinsicOverlap.Intrinsic.model R (n+1)).hom) |
| 38 | rw [Over.w i] |
| 39 | infer_instance |
| 40 | |
| 41 | include hz in |
| 42 | omit [IsNoetherianRing R] [Module.Injective R R] [IsArtinianRing R] [IsLocalRing R] [IsClosedImmersion (Over.Hom.left i)] [IsProper X.hom] [Smooth X.hom] [GeometricallyConnected X.hom] [IsClosedImmersion z] in |
| 43 | theorem over_base : z ≫ (i.left ≫ AlgebraicGeometry.SheafCohomology.Projective.MvPolynomialClosure.MvPolynomial.homogeneousProjπ) = 𝟙 _ := by |
| 44 | change z ≫ (i.left ≫ (Projective.IntrinsicOverlap.Intrinsic.model R (n+1)).hom) = _ |
| 45 | rw [Over.w i] |
| 46 | exact hz |
| 47 | |
| 48 | def value (D : PointParameterData.Chart.Data X i z g U hU) : R := |
| 49 | ScalarCoordinates.value i.left z (over_base X i z hz) B hB U hU D.contains |
| 50 | D.coordinate D.below_coordinate |
| 51 | (Projective.PrincipalResidueCoordinates.scalarFrame (c := n+1) (g := 0) |
| 52 | (Survivor.chart (R := R)) U hU D.coordinate D.below_coordinate D.ambientBasis) |
| 53 | D.equations D.parameters D.point_generates D.point_regular |
| 54 | (LocalCoordinates.pointAt i.left z (over_base X i z hz) B hB U hU |
| 55 | D.equations D.parameters D.point_generates D.dimension) |
| 56 | |
| 57 | def rawValue (D : PointParameterData.Chart.Data X i z g U hU) : R := |
| 58 | ScalarCoordinates.rawValue i.left z (over_base X i z hz) B hB U hU D.contains |
| 59 | D.coordinate D.below_coordinate |
| 60 | (Projective.PrincipalResidueCoordinates.scalarFrame (c := n+1) (g := 0) |
| 61 | (Survivor.chart (R := R)) U hU D.coordinate D.below_coordinate D.ambientBasis) |
| 62 | D.equations D.parameters D.point_generates D.point_regular |
| 63 | (LocalCoordinates.pointAt i.left z (over_base X i z hz) B hB U hU |
| 64 | D.equations D.parameters D.point_generates D.dimension) |
| 65 | |
| 66 | omit [IsArtinianRing R] [IsLocalRing R] [IsProper X.hom] [Smooth X.hom] [GeometricallyConnected X.hom] in |
| 67 | theorem value_eq_raw (D : PointParameterData.Chart.Data X i z g U hU) : |
| 68 | value X i z hz g B hB U hU D = rawValue X i z hz g B hB U hU D := |
| 69 | ScalarCoordinates.value_eq_raw i.left z (over_base X i z hz) B hB U hU D.contains |
| 70 | D.coordinate D.below_coordinate _ D.equations D.parameters D.point_generates D.point_regular _ |
| 71 | |
| 72 | omit [IsArtinianRing R] [IsLocalRing R] [IsProper X.hom] [Smooth X.hom] [GeometricallyConnected X.hom] in |
| 73 | theorem independent (D₁ D₂ : PointParameterData.Chart.Data X i z g U hU) |
| 74 | (hcodimension : D₂.codimension = D₁.codimension) (hcoordinate : D₂.coordinate = D₁.coordinate) : |
| 75 | value X i z hz g B hB U hU D₁ = value X i z hz g B hB U hU D₂ := by |
| 76 | rcases D₁ with ⟨⟨k₁,hk₁,hc₁,c₁,hd₁,s₁,hs₁,hr₁,bI₁,hI₁,t₁,bQ₁,hQ₁,hst₁,hreg₁,τ₁,hτ₁,A₁,T₁,E₁⟩,b₁,hb₁⟩ |
| 77 | rcases D₂ with ⟨⟨k₂,hk₂,hc₂,c₂,hd₂,s₂,hs₂,hr₂,bI₂,hI₂,t₂,bQ₂,hQ₂,hst₂,hreg₂,τ₂,hτ₂,A₂,T₂,E₂⟩,b₂,hb₂⟩ |
| 78 | change c₂ = c₁ at hcodimension |
| 79 | subst c₂ |
| 80 | change k₂ = k₁ at hcoordinate |
| 81 | subst k₂ |
| 82 | exact ScalarIndependence.independent i.left z (over_base X i z hz) B hB U hU hc₁ |
| 83 | k₁ hk₁ hd₁ s₁ t₁ hst₁ hreg₁ b₁ hb₁ s₂ t₂ hst₂ hreg₂ b₂ hb₂ |
| 84 | |
| 85 | omit [IsArtinianRing R] [IsLocalRing R] [IsProper X.hom] [Smooth X.hom] [GeometricallyConnected X.hom] in |
| 86 | theorem raw_independent (D₁ D₂ : PointParameterData.Chart.Data X i z g U hU) |
| 87 | (hcodimension : D₂.codimension = D₁.codimension) (hcoordinate : D₂.coordinate = D₁.coordinate) : |
| 88 | rawValue X i z hz g B hB U hU D₁ = rawValue X i z hz g B hB U hU D₂ := |
| 89 | (value_eq_raw X i z hz g B hB U hU D₁).symm.trans |
| 90 | ((independent X i z hz g B hB U hU D₁ D₂ hcodimension hcoordinate).trans |
| 91 | (value_eq_raw X i z hz g B hB U hU D₂)) |
| 92 | |
| 93 | omit [IsArtinianRing R] [IsLocalRing R] [IsProper X.hom] [Smooth X.hom] [GeometricallyConnected X.hom] in |
| 94 | theorem paired (D : PointParameterData.Chart.Data X i z g U hU) (W : X.left.Opens) |
| 95 | (t : Fin g → Intrinsic.SmoothClosedSections.ring R X W) |
| 96 | (P : PairedParameters.ParameterChart.PairedData X i z g U hU D W t) : |
| 97 | rawValue X i z hz g B hB P.ambient P.affine P.original = |
| 98 | rawValue X i z hz g B hB P.ambient P.affine P.transported := |
| 99 | raw_independent X i z hz g B hB P.ambient P.affine P.original P.transported |
| 100 | P.same_codimension P.same_coordinate |
| 101 | |
| 102 | end |
| 103 | |
| 104 | end OAI.NumberTheory.PadicHodge.IntegralComparison.ProjectivePoint.DataScalar |