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.FiniteEtale.ResidueRecoveryData |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.ProjectivePoint.LocalSectionCoordinates |
| 3 | |
| 4 | /-! # Residue Recovery -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.FiniteEtale.ResidueRecovery |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The genuine finite-adjunction residue recovers the original |
| 11 | coefficient section class through the original projective comparison. -/ |
| 12 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry _root_.MvPolynomial _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 OAI.NumberTheory.PadicHodge.IntegralComparison.ProjectivePoint.Survivor |
| 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 Y : Over (Spec (CommRingCat.of R))) [Nonempty X.left] (f : Y ⟶ X) |
| 22 | [IsFinite f.left] [Etale f.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 | [Smooth Y.hom] [IsProper Y.hom] [GeometricallyConnected Y.hom] |
| 26 | [SmoothOfRelativeDimension g X.hom] |
| 27 | (s₀ : Spec (CommRingCat.of R) ⟶ Y.left) (hbase : s₀ ≫ Y.hom = 𝟙 _) |
| 28 | (B : ℕ) (hB : n+2≤B) |
| 29 | (U : (Projective.IntrinsicOverlap.Intrinsic.space R (n+1)).Opens) (hU : IsAffineOpen U) |
| 30 | (D : ProjectivePoint.PointParameterData.Chart.Data X i (s₀ ≫ f.left) g U hU) |
| 31 | attribute [local instance] IntegralComparison.Smooth.ProjectivePointTransfer.sourceSeparated |
| 32 | IntegralComparison.Smooth.ProjectiveSectionClassData.composite_smooth |
| 33 | IntegralComparison.Smooth.ProjectiveFormTrace.composite_proper IntegralComparison.Smooth.ProjectiveFormTrace.composite_connected |
| 34 | IntegralComparison.Smooth.ProjectiveFormTrace.composite_dimension |
| 35 | ProjectivePoint.Survivor.coefficient_qc ProjectivePoint.Survivor.coefficient_finite |
| 36 | |
| 37 | abbrev original_recovery := by |
| 38 | letI := ResidueRecoveryData.section_closed X Y f i s₀ hbase |
| 39 | letI : (ResidueRecoveryData.coefficient X Y f i).IsQuasicoherent := |
| 40 | Finite.MapPureTrace.coefficients_quasicoherent f.left i.left |
| 41 | letI : (ResidueRecoveryData.coefficient X Y f i).IsFiniteType := |
| 42 | Finite.MapPureTrace.coefficients_finiteType f.left i.left |
| 43 | letI : (GeometricComparison.Integral.FormsModules.IntegralFormsModules.sheaf R Y g).IsQuasicoherent := |
| 44 | IntegralComparison.Smooth.FormCoherence.Integral.quasicoherent R Y g |
| 45 | letI : (ResidueRecoveryData.forms (g := g) X Y f).IsQuasicoherent := |
| 46 | AlgebraicGeometry.SheafCohomology.Projective.Quasicoherent.Scheme.Modules.isQuasicoherent_pushforward_of_isAffineHom f.left |
| 47 | exact ProjectivePoint.LocalSectionCoordinates.ordinary_recovery |
| 48 | i.left (s₀ ≫ f.left) (SectionUnit.section_over X Y f i s₀ hbase) B hB |
| 49 | (ResidueRecoveryData.coefficient X Y f i) (ResidueRecoveryData.pointMap X Y f i s₀) (ResidueRecoveryData.exactAt X Y f i s₀ B hB U hU D) |
| 50 | (ResidueRecoveryData.forms (g := g) X Y f) (ResidueRecoveryData.adjunction X Y f i s₀ B hB U hU D) |
| 51 | U hU D.contains D.equations D.parameters D.generates D.point_generates D.dimension |
| 52 | (SectionUnit.coefficientUnit X Y f i s₀ hbase) |
| 53 | |
| 54 | omit [Smooth X.hom] [GeometricallyConnected X.hom] in |
| 55 | theorem comparison : |
| 56 | ResidueRecoveryData.ordinaryMap X Y f i s₀ hbase U hU D (ResidueRecoveryData.residue X Y f i s₀ hbase B hB U hU D) = |
| 57 | SectionClassData.sectionClass X Y f i s₀ hbase B hB g := by |
| 58 | rw [ResidueRecoveryData.residue_eq X Y f i s₀ hbase B hB U hU D] |
| 59 | exact (original_recovery X Y f i s₀ hbase B hB U hU D).trans |
| 60 | (ResidueRecoveryData.originalClass_eq X Y f i s₀ hbase B hB U hU D) |
| 61 | |
| 62 | end |
| 63 | |
| 64 | end OAI.NumberTheory.PadicHodge.IntegralComparison.FiniteEtale.ResidueRecovery |