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.ResidueMapCoordinates |
| 2 | |
| 3 | /-! # Residue Class Coordinates -/ |
| 4 | |
| 5 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.ProjectivePoint.ResidueClassCoordinates |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! The original projective point residue has its literal ordinary |
| 10 | single-complex coordinate, with the point scalar and interchange sign |
| 11 | retained. -/ |
| 12 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry _root_.MvPolynomial Opposite _root_.HomologicalComplex |
| 13 | set_option backward.defeqAttrib.useBackward true |
| 14 | set_option backward.isDefEq.respectTransparency false |
| 15 | set_option backward.isDefEq.respectTransparency.types false |
| 16 | universe u |
| 17 | open OAI.NumberTheory.PadicHodge.IntegralComparison.Projective.IntrinsicOverlap.Intrinsic |
| 18 | variable {R : Type u} [CommRing R] [IsNoetherianRing R] [Module.Injective R R] |
| 19 | [IsArtinianRing R] [IsLocalRing R] {n g : ℕ} |
| 20 | attribute [local instance] MvPolynomial.gradedAlgebra |
| 21 | variable (X : Over (Spec (CommRingCat.of R))) [Nonempty X.left] |
| 22 | (i : X ⟶ Projective.IntrinsicOverlap.Intrinsic.model R (n+1)) [IsClosedImmersion i.left] |
| 23 | [Smooth X.hom] [IsProper X.hom] [GeometricallyConnected X.hom] |
| 24 | [SmoothOfRelativeDimension g X.hom] |
| 25 | (s₀ : Spec (CommRingCat.of R) ⟶ X.left) [IsClosedImmersion s₀] |
| 26 | (hbase : s₀ ≫ X.hom = 𝟙 _) (B : ℕ) (hB : n+2 ≤ B) |
| 27 | (U : (Projective.IntrinsicOverlap.Intrinsic.space R (n+1)).Opens) (hU : IsAffineOpen U) |
| 28 | (D : PointParameterData.Chart.Data X i s₀ g U hU) |
| 29 | attribute [local instance] IntegralComparison.Smooth.ProjectivePointTransfer.sourceSeparated |
| 30 | IntegralComparison.Smooth.ProjectiveSectionClassData.composite_smooth |
| 31 | IntegralComparison.Smooth.ProjectiveFormTrace.composite_proper |
| 32 | IntegralComparison.Smooth.ProjectiveFormTrace.composite_connected |
| 33 | |
| 34 | attribute [local instance] ResidueClassData.Coordinates.sectionAlgebra ResidueClassData.Coordinates.scalar_qc ResidueClassData.Coordinates.scalar_finite ResidueClassData.Coordinates.line_qc |
| 35 | |
| 36 | private abbrev pointInput := LocalCoordinates.pointAt i.left s₀ |
| 37 | (IntegralComparison.Smooth.ProjectiveSectionClassData.section_over X i s₀ hbase) B hB U hU |
| 38 | D.equations D.parameters D.point_generates D.dimension |
| 39 | |
| 40 | omit [IsArtinianRing R] [IsLocalRing R] [Nonempty ↥X.left] [Smooth X.hom] [IsProper X.hom] [GeometricallyConnected X.hom] [SmoothOfRelativeDimension g X.hom] in |
| 41 | private theorem refinement_at_point : |
| 42 | ResidueMapData.Coordinates.refinementMap X i s₀ B hB U hU D |
| 43 | (pointInput X i s₀ hbase B hB U hU D) = |
| 44 | ResidueData.pointTransfer X i s₀ hbase B hB U hU D := rfl |
| 45 | |
| 46 | omit [IsArtinianRing R] [IsLocalRing R] [Nonempty ↥X.left] [Smooth X.hom] [IsProper X.hom] [GeometricallyConnected X.hom] [SmoothOfRelativeDimension g X.hom] in |
| 47 | private theorem residue_at_point : |
| 48 | ResidueMapData.Coordinates.residueFunction X i s₀ hbase B hB U hU D |
| 49 | (pointInput X i s₀ hbase B hB U hU D) = |
| 50 | ResidueClassData.Coordinates.rawResidue X i s₀ hbase B hB U hU D := rfl |
| 51 | |
| 52 | omit [IsArtinianRing R] [IsLocalRing R] [Nonempty ↥X.left] [Smooth X.hom] [IsProper X.hom] [GeometricallyConnected X.hom] [SmoothOfRelativeDimension g X.hom] in |
| 53 | private theorem actual_residue_def : |
| 54 | ResidueData.residue X i s₀ hbase B hB U hU D = |
| 55 | ResidueMapData.Coordinates.residueMap X i s₀ B U hU D |
| 56 | (ResidueData.pointTransfer X i s₀ hbase B hB U hU D) := rfl |
| 57 | |
| 58 | omit [IsArtinianRing R] [IsLocalRing R] [Nonempty ↥X.left] [Smooth X.hom] [IsProper X.hom] [GeometricallyConnected X.hom] [SmoothOfRelativeDimension g X.hom] in |
| 59 | theorem residue_coordinates : |
| 60 | ResidueData.residue X i s₀ hbase B hB U hU D = |
| 61 | ResidueClassData.Coordinates.rawResidue X i s₀ hbase B hB U hU D := by |
| 62 | rw [actual_residue_def X i s₀ hbase B hB U hU D, |
| 63 | ← refinement_at_point X i s₀ hbase B hB U hU D] |
| 64 | exact (ResidueMapCoordinates.map_comparison X i s₀ hbase B hB U hU D |
| 65 | (pointInput X i s₀ hbase B hB U hU D)).trans |
| 66 | (residue_at_point X i s₀ hbase B hB U hU D) |
| 67 | |
| 68 | end |
| 69 | |
| 70 | end OAI.NumberTheory.PadicHodge.IntegralComparison.ProjectivePoint.ResidueClassCoordinates |