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.ResidueSingleCoordinates |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.ProjectivePoint.SectionCoordinates |
| 3 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Augmented.SingleTopNaturality |
| 4 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Principal.DifferentialSymbolRestriction |
| 5 | |
| 6 | /-! # Differential Coordinates -/ |
| 7 | |
| 8 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.ProjectivePoint.DifferentialCoordinates |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! The actual projective point adjunction has the same fractional |
| 13 | ordinary top-form coordinate as its scalar residue, with the original |
| 14 | interchange sign and coefficient unchanged. -/ |
| 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 coefficientMap := Principal.DifferentialSymbol.map R X (Projective.IntrinsicOverlap.Intrinsic.model R (n+1)) i U hU g |
| 41 | (fun j => i.left.app U (D.parameters j)) |
| 42 | |
| 43 | abbrev formDiagram := Principal.SectionPresheaf.modules U hU |
| 44 | ((Scheme.Modules.pushforward i.left).obj (GeometricComparison.Integral.FormsModules.IntegralFormsModules.sheaf R X g)) |
| 45 | |
| 46 | abbrev coordinateIso := Augmented.SingleTopNaturality.coordinates |
| 47 | (ResidueData.family X i s₀ U hU D) (formDiagram (g := g) X i U hU) |
| 48 | D.codimension g (D.codimension+g) (Nat.add_comm D.codimension g) |
| 49 | |
| 50 | abbrev symbolValue := Principal.DifferentialSymbolRestriction.sourceValue R X (Projective.IntrinsicOverlap.Intrinsic.model R (n+1)) |
| 51 | i U hU D.parameters (ResidueSingleCoordinates.rawValue X i s₀ hbase B hB U hU D) |
| 52 | |
| 53 | abbrev symbolClass := AugmentedOrdered.CechTopClass.topClass |
| 54 | (ResidueData.family X i s₀ U hU D) (formDiagram (g := g) X i U hU) |
| 55 | g (by simp) (symbolValue 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 | theorem coefficient_image : |
| 59 | (coefficientMap X i s₀ U hU D).app |
| 60 | (op (PrincipalResidue.SymbolCoordinates.top U D.parameters)) |
| 61 | (ResidueSingleCoordinates.coefficient X i s₀ hbase B hB U hU D) = |
| 62 | symbolValue X i s₀ hbase B hB U hU D := by |
| 63 | exact congrArg ((coefficientMap X i s₀ U hU D).app |
| 64 | (op (PrincipalResidue.SymbolCoordinates.top U D.parameters))) |
| 65 | (PrincipalResidue.SymbolCoordinates.value_eq i.left U hU D.equations D.generates |
| 66 | D.parameters R (ResidueSingleCoordinates.rawValue X i s₀ hbase B hB U hU D)) |
| 67 | |
| 68 | omit [IsArtinianRing R] [IsLocalRing R] [Nonempty ↥X.left] [Smooth X.hom] [IsProper X.hom] [GeometricallyConnected X.hom] [SmoothOfRelativeDimension g X.hom] in |
| 69 | theorem differential_coordinates : |
| 70 | (coordinateIso X i s₀ U hU D).hom |
| 71 | (ResidueData.differential X i s₀ hbase B hB U hU D) = |
| 72 | ComplexShape.σ (.up ℕ) (.up ℕ) (.up ℕ) D.codimension g • |
| 73 | symbolClass X i s₀ hbase B hB U hU D := by |
| 74 | have h := SectionCoordinates.coordinates X i s₀ hbase B hB U hU D |
| 75 | (GeometricComparison.Integral.FormsModules.IntegralFormsModules.sheaf R X g) |
| 76 | (Principal.DifferentialSymbol.generator R X (Projective.IntrinsicOverlap.Intrinsic.model R (n+1)) i U g |
| 77 | (fun j => i.left.app U (D.parameters j))) |
| 78 | change (coordinateIso X i s₀ U hU D).hom |
| 79 | (ResidueData.differential X i s₀ hbase B hB U hU D) = |
| 80 | ComplexShape.σ (.up ℕ) (.up ℕ) (.up ℕ) D.codimension g • |
| 81 | symbolClass X i s₀ hbase B hB U hU D at h |
| 82 | exact h |
| 83 | |
| 84 | omit [IsArtinianRing R] [IsLocalRing R] [Nonempty ↥X.left] [GeometricallyConnected X.hom] in |
| 85 | theorem form_coordinates : |
| 86 | (coordinateIso X i s₀ U hU D).hom |
| 87 | (ResidueData.form X i s₀ hbase B hB U hU D) = |
| 88 | ComplexShape.σ (.up ℕ) (.up ℕ) (.up ℕ) D.codimension g • |
| 89 | symbolClass X i s₀ hbase B hB U hU D := by |
| 90 | have h : ResidueData.differential X i s₀ hbase B hB U hU D = |
| 91 | ResidueData.form X i s₀ hbase B hB U hU D := |
| 92 | ResidueData.comparison X i s₀ hbase B hB U hU D |
| 93 | exact (congrArg (fun x => (coordinateIso X i s₀ U hU D).hom x) h).symm.trans |
| 94 | (differential_coordinates X i s₀ hbase B hB U hU D) |
| 95 | |
| 96 | end |
| 97 | |
| 98 | end OAI.NumberTheory.PadicHodge.IntegralComparison.ProjectivePoint.DifferentialCoordinates |