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.SectionCoordinates |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.PrincipalSource.ClassCoordinates |
| 3 | |
| 4 | /-! # Section Source Coordinates -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.ProjectivePoint.SectionSourceCoordinates |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The actual projective section residue in the native source-open |
| 11 | single coordinates, with its original scalar and codimension sign. -/ |
| 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 | open OAI.NumberTheory.PadicHodge.IntegralComparison.Projective.IntrinsicOverlap.Intrinsic |
| 17 | variable {R : Type} [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 | |
| 33 | variable {Y : Scheme} (f : Y ⟶ X.left) (N : Y.Modules) |
| 34 | (ω : Γ(N,f ⁻¹ᵁ (i.left ⁻¹ᵁ U))) |
| 35 | (V : Y.Opens) (hV : IsAffineOpen V) (hVU : V ≤ (f ≫ i.left) ⁻¹ᵁ U) |
| 36 | |
| 37 | abbrev sectionClass := SectionCoordinates.sectionClass X i s₀ hbase B hB U hU D |
| 38 | ((Scheme.Modules.pushforward f).obj N) ω |
| 39 | |
| 40 | abbrev symbol := SectionCoordinates.symbolValue X i s₀ hbase B hB U hU D |
| 41 | ((Scheme.Modules.pushforward f).obj N) ω |
| 42 | |
| 43 | def nativeClass := PrincipalSource.ClassCoordinates.nativeClass f i.left U hU N D.parameters |
| 44 | D.codimension V hV hVU (sectionClass X i s₀ hbase B hB U hU D f N ω) |
| 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 | theorem coordinates : |
| 48 | (PrincipalSource.IntrinsicCoordinates.Intrinsic.nativeCoordinates (f ≫ i.left) U V hV hVU N D.parameters |
| 49 | D.codimension).hom (nativeClass X i s₀ hbase B hB U hU D f N ω V hV hVU) = |
| 50 | ComplexShape.σ (.up ℕ) (.up ℕ) (.up ℕ) D.codimension g • |
| 51 | homologyMap (PrincipalSource.OpenTopClass.complexMap (f ≫ i.left) U hU V hV hVU N D.parameters) g |
| 52 | (AugmentedCech.TopClassMap.map (PrincipalPoint.Fraction.family U D.parameters) |
| 53 | (PrincipalSource.OpenTopClass.source (f ≫ i.left) U hU N) g (by simp) |
| 54 | (symbol X i s₀ hbase B hB U hU D f N ω)) := by |
| 55 | apply PrincipalSource.ClassCoordinates.coordinates f i.left U hU N D.parameters D.codimension |
| 56 | V hV hVU (sectionClass X i s₀ hbase B hB U hU D f N ω) |
| 57 | (symbol X i s₀ hbase B hB U hU D f N ω) |
| 58 | exact SectionCoordinates.coordinates X i s₀ hbase B hB U hU D |
| 59 | ((Scheme.Modules.pushforward f).obj N) ω |
| 60 | |
| 61 | end |
| 62 | |
| 63 | end OAI.NumberTheory.PadicHodge.IntegralComparison.ProjectivePoint.SectionSourceCoordinates |