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.Koszul.RefinedResidueSingleCoordinates |
| 4 | import OAI.NumberTheory.PadicHodge.IntegralComparison.ProjectivePoint.ResidueClassCoordinates |
| 5 | |
| 6 | /-! # Residue Single Coordinates -/ |
| 7 | |
| 8 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.ProjectivePoint.ResidueSingleCoordinates |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! The original projective point residue has its literal ordinary |
| 13 | single-complex coordinate, with the point scalar and interchange sign |
| 14 | retained. -/ |
| 15 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry _root_.MvPolynomial Opposite _root_.HomologicalComplex |
| 16 | set_option backward.defeqAttrib.useBackward true |
| 17 | set_option backward.isDefEq.respectTransparency false |
| 18 | set_option backward.isDefEq.respectTransparency.types false |
| 19 | universe u |
| 20 | open OAI.NumberTheory.PadicHodge.IntegralComparison.Projective.IntrinsicOverlap.Intrinsic |
| 21 | variable {R : Type u} [CommRing R] [IsNoetherianRing R] [Module.Injective R R] |
| 22 | [IsArtinianRing R] [IsLocalRing R] {n g : ℕ} |
| 23 | attribute [local instance] MvPolynomial.gradedAlgebra |
| 24 | variable (X : Over (Spec (CommRingCat.of R))) [Nonempty X.left] |
| 25 | (i : X ⟶ Projective.IntrinsicOverlap.Intrinsic.model R (n+1)) [IsClosedImmersion i.left] |
| 26 | [Smooth X.hom] [IsProper X.hom] [GeometricallyConnected X.hom] |
| 27 | [SmoothOfRelativeDimension g X.hom] |
| 28 | (s₀ : Spec (CommRingCat.of R) ⟶ X.left) [IsClosedImmersion s₀] |
| 29 | (hbase : s₀ ≫ X.hom = 𝟙 _) (B : ℕ) (hB : n+2 ≤ B) |
| 30 | (U : (Projective.IntrinsicOverlap.Intrinsic.space R (n+1)).Opens) (hU : IsAffineOpen U) |
| 31 | (D : PointParameterData.Chart.Data X i s₀ g U hU) |
| 32 | attribute [local instance] IntegralComparison.Smooth.ProjectivePointTransfer.sourceSeparated |
| 33 | IntegralComparison.Smooth.ProjectiveSectionClassData.composite_smooth |
| 34 | IntegralComparison.Smooth.ProjectiveFormTrace.composite_proper |
| 35 | IntegralComparison.Smooth.ProjectiveFormTrace.composite_connected |
| 36 | |
| 37 | local instance sectionAlgebra : Algebra R Γ(Projective.IntrinsicOverlap.Intrinsic.space R (n+1), U) := |
| 38 | AlgebraicGeometry.Crystalline.Cohomology.AlgebraicForms.AlgebraicDeRham.sectionAlgebra R (Projective.IntrinsicOverlap.Intrinsic.model R (n+1)) U |
| 39 | |
| 40 | abbrev rawValue : R := |
| 41 | ScalarCoordinates.rawValue i.left s₀ |
| 42 | (IntegralComparison.Smooth.ProjectiveSectionClassData.section_over X i s₀ hbase) B hB U hU D.contains |
| 43 | D.coordinate D.below_coordinate (ResidueData.frame X i s₀ U hU D) |
| 44 | D.equations D.parameters D.point_generates D.point_regular |
| 45 | (LocalCoordinates.pointAt i.left s₀ |
| 46 | (IntegralComparison.Smooth.ProjectiveSectionClassData.section_over X i s₀ hbase) B hB U hU |
| 47 | D.equations D.parameters D.point_generates D.dimension) |
| 48 | |
| 49 | abbrev coefficient := |
| 50 | Koszul.RefinedResidueSingleCoordinates.scalarValue Γ(Projective.IntrinsicOverlap.Intrinsic.space R (n+1), U) |
| 51 | (Principal.SectionPresheaf.rings U hU) (ResidueData.family X i s₀ U hU D) |
| 52 | D.parameters (PrincipalPoint.Fraction.units U hU D.parameters) |
| 53 | (Principal.ClosedKoszulResidue.target i.left U hU) |
| 54 | (Principal.ClosedKoszulResidue.pullback i.left U hU D.equations D.generates) |
| 55 | R (rawValue X i s₀ hbase B hB U hU D) |
| 56 | |
| 57 | omit [IsArtinianRing R] [IsLocalRing R] [Nonempty ↥X.left] [Smooth X.hom] [IsProper X.hom] [GeometricallyConnected X.hom] [SmoothOfRelativeDimension g X.hom] in |
| 58 | private theorem raw_coordinates : |
| 59 | (Functor.SingleTotal.homologyIso |
| 60 | (AugmentedOrdered.CechFunctor.functor (ResidueData.family X i s₀ U hU D)) |
| 61 | (Principal.ClosedKoszulResidue.target i.left U hU) D.codimension g).hom |
| 62 | ((eqToHom (congrArg |
| 63 | (fun j => ((AugmentedOrdered.CechFunctor.bicomplex |
| 64 | (ResidueData.family X i s₀ U hU D) |
| 65 | (Koszul.CoefficientResidueClass.residueTarget Γ(Projective.IntrinsicOverlap.Intrinsic.space R (n+1), U) |
| 66 | (c := D.codimension) (Principal.ClosedKoszulResidue.target i.left U hU))).total |
| 67 | (.up ℕ)).homology j) (Nat.add_comm D.codimension g))) |
| 68 | (ResidueClassData.Coordinates.rawResidue X i s₀ hbase B hB U hU D)) = |
| 69 | ComplexShape.σ (.up ℕ) (.up ℕ) (.up ℕ) D.codimension g • |
| 70 | AugmentedOrdered.CechTopClass.topClass |
| 71 | (ResidueData.family X i s₀ U hU D) |
| 72 | (Principal.ClosedKoszulResidue.target i.left U hU) g (by simp) |
| 73 | (coefficient X i s₀ hbase B hB U hU D) := by |
| 74 | exact Koszul.RefinedResidueSingleCoordinates.coordinates Γ(Projective.IntrinsicOverlap.Intrinsic.space R (n+1), U) |
| 75 | (Principal.SectionPresheaf.rings U hU) (ResidueData.family X i s₀ U hU D) |
| 76 | D.equations D.parameters (PrincipalPoint.Fraction.units U hU D.parameters) |
| 77 | (Principal.ClosedKoszulResidue.target i.left U hU) |
| 78 | (Principal.ClosedKoszulResidue.pullback i.left U hU D.equations D.generates) R |
| 79 | (ResidueClassData.Coordinates.pointCoordinates X i s₀ B U hU D) |
| 80 | (Principal.TerminalScalars.bijective U hU) (n+1) |
| 81 | (ScalarFraction.pure i.left s₀ |
| 82 | (IntegralComparison.Smooth.ProjectiveSectionClassData.section_over X i s₀ hbase) B hB U hU) |
| 83 | (ScalarFraction.zero i.left s₀ |
| 84 | (IntegralComparison.Smooth.ProjectiveSectionClassData.section_over X i s₀ hbase) B hB U hU |
| 85 | D.equations D.parameters D.point_generates) |
| 86 | (ScalarFraction.pointQuotient i.left s₀ |
| 87 | (IntegralComparison.Smooth.ProjectiveSectionClassData.section_over X i s₀ hbase) U hU D.contains |
| 88 | D.equations D.parameters D.point_generates) _ |
| 89 | |
| 90 | omit [IsArtinianRing R] [IsLocalRing R] [Nonempty ↥X.left] [Smooth X.hom] [IsProper X.hom] [GeometricallyConnected X.hom] [SmoothOfRelativeDimension g X.hom] in |
| 91 | theorem coordinates : |
| 92 | (Functor.SingleTotal.homologyIso |
| 93 | (AugmentedOrdered.CechFunctor.functor (ResidueData.family X i s₀ U hU D)) |
| 94 | (Principal.ClosedKoszulResidue.target i.left U hU) D.codimension g).hom |
| 95 | ((eqToHom (congrArg |
| 96 | (fun j => ((AugmentedOrdered.CechFunctor.bicomplex |
| 97 | (ResidueData.family X i s₀ U hU D) |
| 98 | (Koszul.CoefficientResidueClass.residueTarget Γ(Projective.IntrinsicOverlap.Intrinsic.space R (n+1), U) |
| 99 | (c := D.codimension) (Principal.ClosedKoszulResidue.target i.left U hU))).total |
| 100 | (.up ℕ)).homology j) (Nat.add_comm D.codimension g))) |
| 101 | (ResidueData.residue X i s₀ hbase B hB U hU D)) = |
| 102 | ComplexShape.σ (.up ℕ) (.up ℕ) (.up ℕ) D.codimension g • |
| 103 | AugmentedOrdered.CechTopClass.topClass |
| 104 | (ResidueData.family X i s₀ U hU D) |
| 105 | (Principal.ClosedKoszulResidue.target i.left U hU) g (by simp) |
| 106 | (coefficient X i s₀ hbase B hB U hU D) := by |
| 107 | rw [ResidueClassCoordinates.residue_coordinates] |
| 108 | exact raw_coordinates X i s₀ hbase B hB U hU D |
| 109 | |
| 110 | end |
| 111 | |
| 112 | end OAI.NumberTheory.PadicHodge.IntegralComparison.ProjectivePoint.ResidueSingleCoordinates |