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.ResidueCochainCoordinates |
| 2 | |
| 3 | /-! # Residue Cochain Apply -/ |
| 4 | |
| 5 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.ProjectivePoint.ResidueCochainApply |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Evaluation of the original scalar residue map in supported homology, |
| 10 | with its input kept arbitrary. -/ |
| 11 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry _root_.MvPolynomial Opposite _root_.HomologicalComplex |
| 12 | set_option backward.defeqAttrib.useBackward true |
| 13 | set_option backward.isDefEq.respectTransparency false |
| 14 | set_option backward.isDefEq.respectTransparency.types false |
| 15 | universe u |
| 16 | open OAI.NumberTheory.PadicHodge.IntegralComparison.Projective.IntrinsicOverlap.Intrinsic |
| 17 | variable {R : Type u} [CommRing R] [IsNoetherianRing R] [Module.Injective R R] |
| 18 | [IsArtinianRing R] [IsLocalRing R] {n g : ℕ} |
| 19 | attribute [local instance] MvPolynomial.gradedAlgebra |
| 20 | variable (X : Over (Spec (CommRingCat.of R))) [Nonempty X.left] |
| 21 | (i : X ⟶ Projective.IntrinsicOverlap.Intrinsic.model R (n+1)) [IsClosedImmersion i.left] |
| 22 | [Smooth X.hom] [IsProper X.hom] [GeometricallyConnected X.hom] |
| 23 | [SmoothOfRelativeDimension g X.hom] |
| 24 | (s₀ : Spec (CommRingCat.of R) ⟶ X.left) [IsClosedImmersion s₀] |
| 25 | (hbase : s₀ ≫ X.hom = 𝟙 _) (B : ℕ) (hB : n+2 ≤ B) |
| 26 | (U : (Projective.IntrinsicOverlap.Intrinsic.space R (n+1)).Opens) (hU : IsAffineOpen U) |
| 27 | (D : PointParameterData.Chart.Data X i s₀ g U hU) |
| 28 | attribute [local instance] IntegralComparison.Smooth.ProjectivePointTransfer.sourceSeparated |
| 29 | IntegralComparison.Smooth.ProjectiveSectionClassData.composite_smooth |
| 30 | IntegralComparison.Smooth.ProjectiveFormTrace.composite_proper |
| 31 | IntegralComparison.Smooth.ProjectiveFormTrace.composite_connected |
| 32 | ResidueClassData.Coordinates.sectionAlgebra |
| 33 | ResidueClassData.Coordinates.scalar_qc |
| 34 | ResidueClassData.Coordinates.scalar_finite |
| 35 | ResidueClassData.Coordinates.line_qc |
| 36 | |
| 37 | def originalMap : ResidueMapData.Coordinates.normalInput X i s₀ B U hU D ⟶ |
| 38 | ResidueMapData.Coordinates.output X i s₀ U hU D := |
| 39 | (Supported.CechHomotopyEquivalence.functor |
| 40 | (ResidueData.family X i s₀ U hU D) (D.codimension+g)).map |
| 41 | (ResidueCochainCoordinates.originalResidueMap X i s₀ B U hU D) |
| 42 | |
| 43 | abbrev coordinateMap : ResidueMapData.Coordinates.normalInput X i s₀ B U hU D ⟶ |
| 44 | ResidueMapData.Coordinates.output X i s₀ U hU D := |
| 45 | ResidueIntrinsicMaps.MapCoordinates.nativeResidueMap X i s₀ B U hU D |
| 46 | |
| 47 | 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 |
| 48 | theorem map_eq : originalMap X i s₀ B U hU D = coordinateMap X i s₀ B U hU D := |
| 49 | congrArg (fun a => (Supported.CechHomotopyEquivalence.functor |
| 50 | (ResidueData.family X i s₀ U hU D) (D.codimension+g)).map a) |
| 51 | (ResidueCochainCoordinates.residueMap_eq X i s₀ B U hU D) |
| 52 | |
| 53 | attribute [local irreducible] HomologicalComplex.homology |
| 54 | |
| 55 | 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 |
| 56 | theorem comparison (y : ResidueMapData.Coordinates.normalInput X i s₀ B U hU D) : |
| 57 | originalMap X i s₀ B U hU D y = coordinateMap X i s₀ B U hU D y := |
| 58 | ConcreteCategory.congr_hom (map_eq X i s₀ B U hU D) y |
| 59 | |
| 60 | end |
| 61 | |
| 62 | end OAI.NumberTheory.PadicHodge.IntegralComparison.ProjectivePoint.ResidueCochainApply |