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.ResidueData |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.ProjectivePoint.ScalarCoordinates |
| 3 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Principal.KoszulResolutionCoordinates |
| 4 | |
| 5 | /-! # Residue Class Data -/ |
| 6 | |
| 7 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.ProjectivePoint.ResidueClassData.Coordinates |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! The original projective point residue has its literal ordinary |
| 12 | single-complex coordinate, with the point scalar and interchange sign |
| 13 | retained. -/ |
| 14 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry _root_.MvPolynomial Opposite _root_.HomologicalComplex |
| 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 | open OAI.NumberTheory.PadicHodge.IntegralComparison.Projective.IntrinsicOverlap.Intrinsic |
| 20 | variable {R : Type u} [CommRing R] [IsNoetherianRing R] [Module.Injective R R] |
| 21 | [IsArtinianRing R] [IsLocalRing R] {n g : ℕ} |
| 22 | attribute [local instance] MvPolynomial.gradedAlgebra |
| 23 | variable (X : Over (Spec (CommRingCat.of R))) [Nonempty X.left] |
| 24 | (i : X ⟶ Projective.IntrinsicOverlap.Intrinsic.model R (n+1)) [IsClosedImmersion i.left] |
| 25 | [Smooth X.hom] [IsProper X.hom] [GeometricallyConnected X.hom] |
| 26 | [SmoothOfRelativeDimension g X.hom] |
| 27 | (s₀ : Spec (CommRingCat.of R) ⟶ X.left) [IsClosedImmersion s₀] |
| 28 | (hbase : s₀ ≫ X.hom = 𝟙 _) (B : ℕ) (hB : n+2 ≤ B) |
| 29 | (U : (Projective.IntrinsicOverlap.Intrinsic.space R (n+1)).Opens) (hU : IsAffineOpen U) |
| 30 | (D : PointParameterData.Chart.Data X i s₀ g U hU) |
| 31 | attribute [local instance] IntegralComparison.Smooth.ProjectivePointTransfer.sourceSeparated |
| 32 | IntegralComparison.Smooth.ProjectiveSectionClassData.composite_smooth |
| 33 | IntegralComparison.Smooth.ProjectiveFormTrace.composite_proper |
| 34 | IntegralComparison.Smooth.ProjectiveFormTrace.composite_connected |
| 35 | |
| 36 | local instance sectionAlgebra : Algebra R Γ(Projective.IntrinsicOverlap.Intrinsic.space R (n+1), U) := |
| 37 | AlgebraicGeometry.Crystalline.Cohomology.AlgebraicForms.AlgebraicDeRham.sectionAlgebra R (Projective.IntrinsicOverlap.Intrinsic.model R (n+1)) U |
| 38 | |
| 39 | attribute [local instance] Survivor.coefficient_qc |
| 40 | Survivor.coefficient_finite |
| 41 | |
| 42 | local instance scalar_qc : (KoszulMap.scalar i.left).IsQuasicoherent := |
| 43 | Projective.ClosedImmersionPurity.directImage_quasicoherent i.left |
| 44 | local instance scalar_finite : (KoszulMap.scalar i.left).IsFiniteType := |
| 45 | Projective.ClosedImmersionPurity.directImage_finiteType i.left |
| 46 | local instance line_qc : |
| 47 | (ScalarFraction.line (R := R) (n := n)).IsQuasicoherent := |
| 48 | AlgebraicGeometry.SheafCohomology.Projective.InvertibleFinitePresentation.invertible_quasicoherent |
| 49 | (AlgebraicGeometry.SheafCohomology.Projective.TwistPowers.MvPolynomial.coordinateHyperplaneIdealModulePower_isInvertible |
| 50 | (Survivor.chart (R := R) (n := n)) (n+2)) |
| 51 | |
| 52 | abbrev pointCoordinates := by |
| 53 | letI (q : ℕ) := ScalarCoordinates.source_projective i.left s₀ B U hU |
| 54 | D.coordinate D.below_coordinate q |
| 55 | exact PrincipalPoint.Koszul.Comparison.productCoordinates U hU |
| 56 | (ScalarFraction.line (R := R) (n := n)) |
| 57 | (ResidueData.frame X i s₀ U hU D) |
| 58 | (Survivor.coefficient i.left s₀) |
| 59 | (Survivor.complex i.left s₀ B) |
| 60 | (Projective.NegativeResolution.augmentation |
| 61 | (Survivor.coefficient i.left s₀) |
| 62 | (Survivor.chart (R := R) (n := n)) B) |
| 63 | D.equations D.parameters D.point_regular |
| 64 | (Closed.PointQuotientSquare.pointQuotient s₀ i.left U hU |
| 65 | D.equations D.parameters D.point_generates) |
| 66 | |
| 67 | abbrev normalCoordinates := by |
| 68 | letI (q : ℕ) := Affine.ProjectiveResolutionTerms.term_projective U hU |
| 69 | D.coordinate D.below_coordinate (KoszulMap.scalar i.left) |
| 70 | (Survivor.chart (R := R) (n := n)) B q |
| 71 | exact (Principal.Resolution.Comparison.equivalence U hU |
| 72 | (ScalarFraction.line (R := R) (n := n)) |
| 73 | (ResidueData.frame X i s₀ U hU D) |
| 74 | (KoszulMap.scalar i.left) |
| 75 | (Projective.NegativeResolution.complex (KoszulMap.scalar i.left) |
| 76 | (Survivor.chart (R := R) (n := n)) B) |
| 77 | (Projective.NegativeResolution.augmentation (KoszulMap.scalar i.left) |
| 78 | (Survivor.chart (R := R) (n := n)) B) _ |
| 79 | (Principal.OrientedResidue.quotientIso i.left U hU D.equations D.generates) |
| 80 | (KoszulPartial.Resolution.normalResolution Γ(Projective.IntrinsicOverlap.Intrinsic.space R (n+1), U) D.equations D.regular)).trans |
| 81 | (HomotopyEquiv.ofIso (KoszulPoint.HomCoordinates.normalIso Γ(Projective.IntrinsicOverlap.Intrinsic.space R (n+1), U) |
| 82 | (Principal.SectionPresheaf.rings U hU) D.equations)) |
| 83 | |
| 84 | abbrev rawResidue := Koszul.RefinedResidueClass.residueClass Γ(Projective.IntrinsicOverlap.Intrinsic.space R (n+1), U) |
| 85 | (Principal.SectionPresheaf.rings U hU) (ResidueData.family X i s₀ U hU D) |
| 86 | D.equations D.parameters (PrincipalPoint.Fraction.units U hU D.parameters) |
| 87 | (pointCoordinates X i s₀ B U hU D) R (Principal.TerminalScalars.bijective U hU) (n+1) |
| 88 | (ScalarFraction.pure i.left s₀ |
| 89 | (IntegralComparison.Smooth.ProjectiveSectionClassData.section_over X i s₀ hbase) B hB U hU) |
| 90 | (ScalarFraction.zero i.left s₀ |
| 91 | (IntegralComparison.Smooth.ProjectiveSectionClassData.section_over X i s₀ hbase) B hB U hU |
| 92 | D.equations D.parameters D.point_generates) |
| 93 | (ScalarFraction.pointQuotient i.left s₀ |
| 94 | (IntegralComparison.Smooth.ProjectiveSectionClassData.section_over X i s₀ hbase) U hU D.contains |
| 95 | D.equations D.parameters D.point_generates) |
| 96 | (Principal.ClosedKoszulResidue.target i.left U hU) |
| 97 | (Principal.ClosedKoszulResidue.pullback i.left U hU D.equations D.generates) |
| 98 | (LocalCoordinates.pointAt i.left s₀ |
| 99 | (IntegralComparison.Smooth.ProjectiveSectionClassData.section_over X i s₀ hbase) B hB U hU |
| 100 | D.equations D.parameters D.point_generates D.dimension) |
| 101 | |
| 102 | abbrev leftCoordinates := ScalarFraction.leftCoordinates i.left s₀ B U hU |
| 103 | D.coordinate D.below_coordinate (ResidueData.frame X i s₀ U hU D) |
| 104 | D.equations D.generates D.regular |
| 105 | |
| 106 | abbrev geometryCore := Koszul.RefinedResidueClass.actual_residue Γ(Projective.IntrinsicOverlap.Intrinsic.space R (n+1), U) |
| 107 | (Principal.SectionPresheaf.rings U hU) (ResidueData.family X i s₀ U hU D) |
| 108 | D.equations D.parameters (PrincipalPoint.Fraction.units U hU D.parameters) |
| 109 | (pointCoordinates X i s₀ B U hU D) _ (normalCoordinates X i s₀ B U hU D) _ |
| 110 | (ScalarFraction.rightCoordinates i.left s₀ B U hU |
| 111 | D.coordinate D.below_coordinate (ResidueData.frame X i s₀ U hU D) |
| 112 | D.equations D.parameters D.generates D.point_generates D.regular D.point_regular) |
| 113 | |
| 114 | abbrev scalarCore := geometryCore X i s₀ B U hU D |
| 115 | R (Principal.TerminalScalars.bijective U hU) (n+1) |
| 116 | (ScalarFraction.pure i.left s₀ |
| 117 | (IntegralComparison.Smooth.ProjectiveSectionClassData.section_over X i s₀ hbase) B hB U hU) |
| 118 | (ScalarFraction.zero i.left s₀ |
| 119 | (IntegralComparison.Smooth.ProjectiveSectionClassData.section_over X i s₀ hbase) B hB U hU |
| 120 | D.equations D.parameters D.point_generates) |
| 121 | (ScalarFraction.pointQuotient i.left s₀ |
| 122 | (IntegralComparison.Smooth.ProjectiveSectionClassData.section_over X i s₀ hbase) U hU D.contains |
| 123 | D.equations D.parameters D.point_generates) |
| 124 | |
| 125 | abbrev raw_comparison := by |
| 126 | let hl := leftCoordinates X i s₀ B U hU D |
| 127 | letI := Koszul.RefinedResidueClass.left_isIso Γ(Projective.IntrinsicOverlap.Intrinsic.space R (n+1), U) |
| 128 | (Principal.SectionPresheaf.rings U hU) (ResidueData.family X i s₀ U hU D) |
| 129 | D.equations _ _ _ hl (D.codimension+g) |
| 130 | exact scalarCore X i s₀ hbase B hB U hU D |
| 131 | (Principal.ClosedKoszulResidue.target i.left U hU) |
| 132 | (Principal.ClosedKoszulResidue.pullback i.left U hU D.equations D.generates) |
| 133 | (Principal.ClosedKoszulResidue.annihilated i.left U hU D.equations D.generates) _ hl |
| 134 | (LocalCoordinates.pointAt i.left s₀ |
| 135 | (IntegralComparison.Smooth.ProjectiveSectionClassData.section_over X i s₀ hbase) B hB U hU |
| 136 | D.equations D.parameters D.point_generates D.dimension) |
| 137 | |
| 138 | omit [Module.Injective R R] [IsArtinianRing R] [IsLocalRing R] [Nonempty ↥X.left] [Smooth X.hom] [IsProper X.hom] [GeometricallyConnected X.hom] [SmoothOfRelativeDimension g X.hom] [IsClosedImmersion s₀] in |
| 139 | theorem map_coordinates : |
| 140 | Projective.TotalAdjunctionDimensionData.Residue.residue X i |
| 141 | (Survivor.chart (R := R) (n := n)) B U hU D.coordinate D.below_coordinate |
| 142 | D.equations D.generates D.regular D.ambientBasis = |
| 143 | (normalCoordinates X i s₀ B U hU D).hom ≫ |
| 144 | Principal.ClosedKoszulResidue.residue i.left U hU D.equations D.generates := by |
| 145 | let (q : ℕ) := Affine.ProjectiveResolutionTerms.term_projective U hU |
| 146 | D.coordinate D.below_coordinate (KoszulMap.scalar i.left) |
| 147 | (Survivor.chart (R := R) (n := n)) B q |
| 148 | dsimp only [Projective.TotalAdjunctionDimensionData.Residue.residue, Principal.OrientedResidue.map] |
| 149 | exact congrArg (fun a => a ≫ Principal.ClosedKoszulResidue.residue i.left U hU |
| 150 | D.equations D.generates) (Principal.KoszulResolutionCoordinates.equivalence_hom |
| 151 | U hU _ _ _ _ _ D.equations D.regular _) |
| 152 | |
| 153 | end |
| 154 | |
| 155 | end OAI.NumberTheory.PadicHodge.IntegralComparison.ProjectivePoint.ResidueClassData.Coordinates |