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.ResidueRefinementCoordinates |
| 2 | |
| 3 | /-! # Residue Intrinsic Maps -/ |
| 4 | |
| 5 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.ProjectivePoint.ResidueIntrinsicMaps.MapCoordinates |
| 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 | attribute [local irreducible] HomologicalComplex.homology |
| 17 | universe u |
| 18 | open OAI.NumberTheory.PadicHodge.IntegralComparison.Projective.IntrinsicOverlap.Intrinsic |
| 19 | variable {R : Type u} [CommRing R] [IsNoetherianRing R] [Module.Injective R R] |
| 20 | [IsArtinianRing R] [IsLocalRing R] {n g : ℕ} |
| 21 | attribute [local instance] MvPolynomial.gradedAlgebra |
| 22 | variable (X : Over (Spec (CommRingCat.of R))) [Nonempty X.left] |
| 23 | (i : X ⟶ Projective.IntrinsicOverlap.Intrinsic.model R (n+1)) [IsClosedImmersion i.left] |
| 24 | [Smooth X.hom] [IsProper X.hom] [GeometricallyConnected X.hom] |
| 25 | [SmoothOfRelativeDimension g X.hom] |
| 26 | (s₀ : Spec (CommRingCat.of R) ⟶ X.left) [IsClosedImmersion s₀] |
| 27 | (hbase : s₀ ≫ X.hom = 𝟙 _) (B : ℕ) (hB : n+2 ≤ B) |
| 28 | (U : (Projective.IntrinsicOverlap.Intrinsic.space R (n+1)).Opens) (hU : IsAffineOpen U) |
| 29 | (D : PointParameterData.Chart.Data X i s₀ g U hU) |
| 30 | attribute [local instance] IntegralComparison.Smooth.ProjectivePointTransfer.sourceSeparated |
| 31 | IntegralComparison.Smooth.ProjectiveSectionClassData.composite_smooth |
| 32 | IntegralComparison.Smooth.ProjectiveFormTrace.composite_proper |
| 33 | IntegralComparison.Smooth.ProjectiveFormTrace.composite_connected |
| 34 | |
| 35 | attribute [local instance] ResidueClassData.Coordinates.sectionAlgebra |
| 36 | ResidueClassData.Coordinates.scalar_qc |
| 37 | ResidueClassData.Coordinates.scalar_finite |
| 38 | ResidueClassData.Coordinates.line_qc |
| 39 | Survivor.coefficient_qc Survivor.coefficient_finite |
| 40 | |
| 41 | def nativeRefinementMap : ResidueMapData.Coordinates.input X i s₀ B U hU D ⟶ ResidueMapData.Coordinates.normalInput X i s₀ B U hU D := by |
| 42 | letI := ResidueRefinementData.MapCoordinates.nativeLeft_isIso X i s₀ B hB U hU D |
| 43 | exact (Supported.CechHomotopyEquivalence.functor |
| 44 | (ResidueData.family X i s₀ U hU D) (D.codimension+g)).map |
| 45 | (ResidueRefinementData.MapCoordinates.nativeRight X i s₀ B U hU) ≫ |
| 46 | inv ((Supported.CechHomotopyEquivalence.functor |
| 47 | (ResidueData.family X i s₀ U hU D) (D.codimension+g)).map |
| 48 | (ResidueRefinementData.MapCoordinates.nativeLeft X i s₀ B U hU)) |
| 49 | |
| 50 | def nativeResidueMap : ResidueMapData.Coordinates.normalInput X i s₀ B U hU D ⟶ ResidueMapData.Coordinates.output X i s₀ U hU D := |
| 51 | (Supported.CechHomotopyEquivalence.functor |
| 52 | (ResidueData.family X i s₀ U hU D) (D.codimension+g)).map |
| 53 | ((ResidueClassData.Coordinates.normalCoordinates X i s₀ B U hU D).hom ≫ |
| 54 | Principal.ClosedKoszulResidue.residue i.left U hU D.equations D.generates) |
| 55 | |
| 56 | 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] in |
| 57 | theorem refinementMap_eq : |
| 58 | ResidueMapData.Coordinates.refinementMap X i s₀ B hB U hU D = nativeRefinementMap X i s₀ B hB U hU D := |
| 59 | ResidueRefinementCoordinates.Map.refinement_coordinates X i s₀ B hB U hU D |
| 60 | |
| 61 | 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 |
| 62 | theorem residueMap_eq : |
| 63 | ResidueMapData.Coordinates.residueMap X i s₀ B U hU D = nativeResidueMap X i s₀ B U hU D := by |
| 64 | dsimp only [ResidueMapData.Coordinates.residueMap, nativeResidueMap] |
| 65 | rw [ResidueClassData.Coordinates.map_coordinates X i s₀ B U hU D] |
| 66 | |
| 67 | end |
| 68 | |
| 69 | end OAI.NumberTheory.PadicHodge.IntegralComparison.ProjectivePoint.ResidueIntrinsicMaps.MapCoordinates |