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.ProjectiveFinite.EtalePointResidue |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.ProjectivePoint.PointParameterData |
| 3 | import OAI.NumberTheory.PadicHodge.IntegralComparison.FiniteEtale.FiberSectionSupport |
| 4 | |
| 5 | /-! # Etale Point Supported Residue -/ |
| 6 | |
| 7 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.ProjectiveFinite.EtalePointSupportedResidue |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! The genuine projective point chart gives the actual finite residue |
| 12 | with its numerator supported in any prescribed neighborhood of the |
| 13 | source section, without changing the coefficient ring or scalar residue. -/ |
| 14 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.MvPolynomial Opposite |
| 15 | open OAI.NumberTheory.PadicHodge.IntegralComparison.Projective.IntrinsicOverlap.Intrinsic OAI.NumberTheory.PadicHodge.IntegralComparison.Finite.FlatCoefficientSections |
| 16 | set_option backward.defeqAttrib.useBackward true |
| 17 | set_option backward.isDefEq.respectTransparency false |
| 18 | set_option backward.isDefEq.respectTransparency.types false |
| 19 | universe u |
| 20 | variable {R : Type u} [CommRing R] [IsNoetherianRing R] [Module.Injective R R] |
| 21 | [IsArtinianRing R] [IsLocalRing R] {n g : ℕ} |
| 22 | attribute [local instance] MvPolynomial.gradedAlgebra IntegralComparison.Finite.FlatCoefficientSections.quotientAlgebra |
| 23 | IntegralComparison.Finite.FlatCoefficientSections.coefficientAlgebra IntegralComparison.Finite.FlatCoefficientSections.ambientAlgebra |
| 24 | variable (X Y : Over (Spec (CommRingCat.of R))) [Nonempty X.left] (f : Y ⟶ X) |
| 25 | [IsFinite f.left] [Etale f.left] |
| 26 | (i : X ⟶ Projective.IntrinsicOverlap.Intrinsic.model R (n+1)) [IsClosedImmersion i.left] |
| 27 | [Smooth X.hom] [IsProper X.hom] [GeometricallyConnected X.hom] |
| 28 | [Smooth Y.hom] [IsProper Y.hom] [GeometricallyConnected Y.hom] |
| 29 | [SmoothOfRelativeDimension g X.hom] |
| 30 | (s₀ : Spec (CommRingCat.of R) ⟶ Y.left) (hbase : s₀ ≫ Y.hom = 𝟙 _) |
| 31 | (B : ℕ) (hB : n+2 ≤ B) |
| 32 | (U : (Projective.IntrinsicOverlap.Intrinsic.space R (n+1)).Opens) (hU : IsAffineOpen U) |
| 33 | (D : ProjectivePoint.PointParameterData.Chart.Data X i (s₀ ≫ f.left) g U hU) |
| 34 | (hgood : FiniteEtale.TraceBasis.Good R Y X f (i.left ⁻¹ᵁ U)) |
| 35 | (V : Y.left.Opens) (hV : ⊤ ≤ s₀ ⁻¹ᵁ V) |
| 36 | |
| 37 | abbrev exists_residue := by |
| 38 | letI := D.finiteVariables |
| 39 | letI := D.coordinates |
| 40 | letI := D.coordinateTower |
| 41 | letI := D.coordinateEtale |
| 42 | letI : Algebra R (IntegralComparison.Finite.FlatCoefficientSections.quotientRing i.left U) := AlgebraicGeometry.Crystalline.Cohomology.AlgebraicForms.AlgebraicDeRham.sectionAlgebra R X (i.left ⁻¹ᵁ U) |
| 43 | letI : Algebra R (IntegralComparison.Finite.FlatCoefficientSections.coefficientRing f.left i.left U) := |
| 44 | AlgebraicGeometry.Crystalline.Cohomology.AlgebraicForms.AlgebraicDeRham.sectionAlgebra R Y (f.left ⁻¹ᵁ (i.left ⁻¹ᵁ U)) |
| 45 | letI := IntegralComparison.Finite.SectionEvaluation.quotientAlgebra R X Y f s₀ hbase (i.left ⁻¹ᵁ U) D.contains |
| 46 | letI : Algebra (IntegralComparison.Finite.FlatCoefficientSections.quotientRing i.left U) |
| 47 | (Intrinsic.SmoothClosedSections.ring R Y (f.left ⁻¹ᵁ (i.left ⁻¹ᵁ U))) := |
| 48 | AffineOpen.DeRhamTrace.sectionAlgebra R Y X f (i.left ⁻¹ᵁ U) |
| 49 | letI : Module.Free (IntegralComparison.Finite.FlatCoefficientSections.quotientRing i.left U) |
| 50 | (Intrinsic.SmoothClosedSections.ring R Y (f.left ⁻¹ᵁ (i.left ⁻¹ᵁ U))) := hgood.2.2 |
| 51 | letI : Module.Finite (IntegralComparison.Finite.FlatCoefficientSections.quotientRing i.left U) |
| 52 | (Intrinsic.SmoothClosedSections.ring R Y (f.left ⁻¹ᵁ (i.left ⁻¹ᵁ U))) := |
| 53 | f.left.finite_app _ hgood.1 |
| 54 | letI : Algebra.Etale (IntegralComparison.Finite.FlatCoefficientSections.quotientRing i.left U) |
| 55 | (Intrinsic.SmoothClosedSections.ring R Y (f.left ⁻¹ᵁ (i.left ⁻¹ᵁ U))) := |
| 56 | AffineOpen.DeRhamTrace.sectionEtale R Y X f (i.left ⁻¹ᵁ U) hgood.1 |
| 57 | let ε := IntegralComparison.Finite.SectionEvaluation.evaluation R X Y f s₀ hbase (i.left ⁻¹ᵁ U) D.contains |
| 58 | have hε : ε.toRingHom = (Intrinsic.SectionEvaluation.evaluation R Y s₀ hbase |
| 59 | (f.left ⁻¹ᵁ (i.left ⁻¹ᵁ U)) D.contains).toRingHom := rfl |
| 60 | have hsupport := FiniteEtale.FiberSectionSupport.exists_supported |
| 61 | R Y s₀ hbase (f.left ⁻¹ᵁ (i.left ⁻¹ᵁ U)) (hgood.1.preimage f.left) D.contains |
| 62 | (IntegralComparison.Finite.FlatCoefficientSections.quotientRing i.left U) ε hε V hV |
| 63 | (IntegralComparison.Finite.SectionEvaluation.surjective R X Y f s₀ hbase (i.left ⁻¹ᵁ U) D.contains) |
| 64 | exact Exists.imp (fun z hzall => by |
| 65 | rcases hzall with ⟨hz, hzε, hzV, hzcontains⟩ |
| 66 | have he := EtalePointResidue.eq_residue D.dimension X Y f i s₀ hbase B hB |
| 67 | U hU D.contains hgood D.coordinate D.below_coordinate D.equations D.generates D.regular |
| 68 | D.conormalBasis D.conormalBasis_apply D.quotientBasis D.parameters D.quotientBasis_apply |
| 69 | D.point_generates D.point_regular D.ambientBasis D.ambientBasis_apply D.coordinateIndex z hz |
| 70 | exact And.intro hz (And.intro hzε (And.intro hzV (And.intro hzcontains he)))) hsupport |
| 71 | |
| 72 | end |
| 73 | |
| 74 | end OAI.NumberTheory.PadicHodge.IntegralComparison.ProjectiveFinite.EtalePointSupportedResidue |