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.ResidueClassCoordinates |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Koszul.ResidueClassAnnihilation |
| 3 | |
| 4 | /-! # Residue Data Annihilation -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.ProjectivePoint.ResidueDataAnnihilation |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The literal projective residue is annihilated by its actual point |
| 11 | ideal, through its checked original resolution coordinates. -/ |
| 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 | local instance sectionAlgebra : Algebra R Γ(Projective.IntrinsicOverlap.Intrinsic.space R (n+1), U) := |
| 35 | AlgebraicGeometry.Crystalline.Cohomology.AlgebraicForms.AlgebraicDeRham.sectionAlgebra R (Projective.IntrinsicOverlap.Intrinsic.model R (n+1)) U |
| 36 | |
| 37 | omit [IsArtinianRing R] [IsLocalRing R] [Nonempty ↥X.left] [Smooth X.hom] [IsProper X.hom] [GeometricallyConnected X.hom] [SmoothOfRelativeDimension g X.hom] in |
| 38 | theorem annihilated (a : Γ(Projective.IntrinsicOverlap.Intrinsic.space R (n+1), U)) |
| 39 | (ha : a ∈ (s₀ ≫ i.left).ker.ideal ⟨U,hU⟩) : |
| 40 | a • ResidueData.residue X i s₀ hbase B hB U hU D = 0 := by |
| 41 | have hk : a ∈ Koszul.OrientedTopCohomology.ideal Γ(Projective.IntrinsicOverlap.Intrinsic.space R (n+1), U) |
| 42 | (Fin.append D.equations D.parameters) := by |
| 43 | rw [← KoszulPoint.Ideal.append, D.point_generates] |
| 44 | exact ha |
| 45 | have h := Koszul.ResidueClassAnnihilation.annihilated Γ(Projective.IntrinsicOverlap.Intrinsic.space R (n+1), U) |
| 46 | (Principal.SectionPresheaf.rings U hU) (ResidueData.family X i s₀ U hU D) |
| 47 | D.equations D.parameters (PrincipalPoint.Fraction.units U hU D.parameters) |
| 48 | (ResidueClassData.Coordinates.pointCoordinates X i s₀ B U hU D) |
| 49 | R (Principal.TerminalScalars.bijective U hU) (n+1) |
| 50 | (ScalarFraction.pure i.left s₀ |
| 51 | (IntegralComparison.Smooth.ProjectiveSectionClassData.section_over X i s₀ hbase) B hB U hU) |
| 52 | (ScalarFraction.zero i.left s₀ |
| 53 | (IntegralComparison.Smooth.ProjectiveSectionClassData.section_over X i s₀ hbase) B hB U hU |
| 54 | D.equations D.parameters D.point_generates) |
| 55 | (ScalarFraction.pointQuotient i.left s₀ |
| 56 | (IntegralComparison.Smooth.ProjectiveSectionClassData.section_over X i s₀ hbase) U hU D.contains |
| 57 | D.equations D.parameters D.point_generates) |
| 58 | (Principal.ClosedKoszulResidue.target i.left U hU) |
| 59 | (Principal.ClosedKoszulResidue.pullback i.left U hU D.equations D.generates) |
| 60 | (Principal.ClosedKoszulResidue.annihilated i.left U hU D.equations D.generates) |
| 61 | (LocalCoordinates.pointAt i.left s₀ |
| 62 | (IntegralComparison.Smooth.ProjectiveSectionClassData.section_over X i s₀ hbase) B hB U hU |
| 63 | D.equations D.parameters D.point_generates D.dimension) a hk |
| 64 | exact (congrArg (fun y => a • y) |
| 65 | (ResidueClassCoordinates.residue_coordinates X i s₀ hbase B hB U hU D)).trans h |
| 66 | |
| 67 | end |
| 68 | |
| 69 | end OAI.NumberTheory.PadicHodge.IntegralComparison.ProjectivePoint.ResidueDataAnnihilation |