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.SectionSourceCoordinates |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.TruncatedModel.SelectedFractionRestriction |
| 3 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Principal.SymbolPushforward |
| 4 | |
| 5 | /-! # Selected Fraction Coordinates -/ |
| 6 | |
| 7 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.Projective.SelectedFractionCoordinates |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! The selected projective section class has the exact native local |
| 12 | fraction coordinate, preserving its original scalar and codimension sign. -/ |
| 13 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry _root_.MvPolynomial Opposite _root_.HomologicalComplex |
| 14 | set_option backward.defeqAttrib.useBackward true |
| 15 | set_option backward.isDefEq.respectTransparency false |
| 16 | set_option backward.isDefEq.respectTransparency.types false |
| 17 | open OAI.NumberTheory.PadicHodge.IntegralComparison.Projective.IntrinsicOverlap.Intrinsic |
| 18 | |
| 19 | abbrev baseRing (p : ℕ) [Fact p.Prime] (k : Type) [Field k] [CharP k p] [PerfectRing k p] (n : ℕ) := Truncated.Witt.Ring p k n |
| 20 | |
| 21 | variable (p : ℕ) [Fact p.Prime] (k : Type) [Field k] [Fintype k] [CharP k p] (n : ℕ) |
| 22 | [IsNoetherianRing (baseRing p k n)] [Module.Injective (baseRing p k n) (baseRing p k n)] |
| 23 | [IsArtinianRing (baseRing p k n)] [IsLocalRing (baseRing p k n)] {d g : ℕ} |
| 24 | attribute [local instance] MvPolynomial.gradedAlgebra |
| 25 | variable (X : Over (Spec (CommRingCat.of (baseRing p k n)))) [Nonempty X.left] |
| 26 | [Smooth X.hom] [IsProper X.hom] [GeometricallyConnected X.hom] [SmoothOfRelativeDimension g X.hom] |
| 27 | (i : X ⟶ IntrinsicOverlap.Intrinsic.model (baseRing p k n) (d+1)) [IsClosedImmersion i.left] |
| 28 | (s₀ : Spec (CommRingCat.of (baseRing p k n)) ⟶ X.left) [IsClosedImmersion s₀] |
| 29 | (hbase : s₀ ≫ X.hom = 𝟙 _) (B : ℕ) (hB : d+2 ≤ B) |
| 30 | (U : (IntrinsicOverlap.Intrinsic.space (baseRing p k n) (d+1)).Opens) (hU : IsAffineOpen U) |
| 31 | (D : ProjectivePoint.PointParameterData.Chart.Data X i s₀ g U hU) |
| 32 | (Y : Over (Spec (CommRingCat.of (baseRing p k n)))) |
| 33 | [Smooth Y.hom] [IsProper Y.hom] [Y.left.IsSeparated] [SmoothOfRelativeDimension g Y.hom] |
| 34 | (f : Y ⟶ X) |
| 35 | (Z : Over (Spec (CommRingCat.of k))) [IsSeparated Z.hom] |
| 36 | (j : Z.left ⟶ Y.left) |
| 37 | (hp : IsPullback j Z.hom Y.hom (Spec.map (CommRingCat.ofHom (Truncated.Witt.reduction p k n)))) |
| 38 | (V : Y.left.affineOpens) (hVU : V.val ≤ (f ≫ i).left ⁻¹ᵁ U) |
| 39 | (z : Γ(Y.left,(f ≫ i).left ⁻¹ᵁ U)) |
| 40 | |
| 41 | attribute [local instance] IntegralComparison.Smooth.ProjectivePointTransfer.sourceSeparated |
| 42 | IntegralComparison.Smooth.ProjectiveSectionClassData.composite_smooth |
| 43 | IntegralComparison.Smooth.ProjectiveFormTrace.composite_proper IntegralComparison.Smooth.ProjectiveFormTrace.composite_connected |
| 44 | |
| 45 | local instance ambientAlgebra : Algebra (baseRing p k n) Γ(IntrinsicOverlap.Intrinsic.space (baseRing p k n) (d+1), U) := |
| 46 | AlgebraicGeometry.Crystalline.Cohomology.AlgebraicForms.AlgebraicDeRham.sectionAlgebra (baseRing p k n) (IntrinsicOverlap.Intrinsic.model (baseRing p k n) (d+1)) U |
| 47 | |
| 48 | abbrev form := GeometricComparison.Integral.FormsModules.IntegralFormsModules.sheaf (baseRing p k n) Y g |
| 49 | abbrev selectedSection := TruncatedModel.SelectedFractionRestriction.selectedSection |
| 50 | p k n Y (IntrinsicOverlap.Intrinsic.model (baseRing p k n) (d+1)) (f ≫ i) U g D.parameters z |
| 51 | abbrev rawValue := ProjectivePoint.ResidueSingleCoordinates.rawValue X i s₀ hbase B hB U hU D |
| 52 | abbrev nativeClass := ProjectivePoint.SectionSourceCoordinates.nativeClass X i s₀ hbase B hB U hU D |
| 53 | f.left (form p k n Y (g := g)) (selectedSection p k n X i s₀ U hU D Y f z) V.val V.property hVU |
| 54 | |
| 55 | variable (r : WittVector p k) (hr : Truncated.Witt.quotient p k n r = rawValue p k n X i s₀ hbase B hB U hU D) |
| 56 | |
| 57 | include hr in |
| 58 | omit [IsArtinianRing (baseRing p k n)] [IsLocalRing (baseRing p k n)] [Nonempty ↥X.left] [Smooth X.hom] [IsProper X.hom] [GeometricallyConnected X.hom] [SmoothOfRelativeDimension g X.hom] [Smooth Y.hom] [IsProper Y.hom] [Y.left.IsSeparated] [SmoothOfRelativeDimension g Y.hom] in |
| 59 | theorem symbol : |
| 60 | ProjectivePoint.SectionSourceCoordinates.symbol X i s₀ hbase B hB U hU D f.left |
| 61 | (form p k n Y (g := g)) (selectedSection p k n X i s₀ U hU D Y f z) = |
| 62 | PrincipalResidue.SymbolCoordinates.symbolValue (f ≫ i).left U hU D.parameters |
| 63 | (baseRing p k n) (form p k n Y (g := g)) (selectedSection p k n X i s₀ U hU D Y f z) |
| 64 | (Truncated.Witt.quotient p k n r) := by |
| 65 | have hs := Principal.SymbolPushforward.symbol f.left i.left U hU D.parameters |
| 66 | (baseRing p k n) (form p k n Y (g := g)) (selectedSection p k n X i s₀ U hU D Y f z) |
| 67 | (rawValue p k n X i s₀ hbase B hB U hU D) |
| 68 | have he := congrArg (PrincipalResidue.SymbolCoordinates.symbolValue (f ≫ i).left |
| 69 | U hU D.parameters (baseRing p k n) (form p k n Y (g := g)) |
| 70 | (selectedSection p k n X i s₀ U hU D Y f z)) hr.symm |
| 71 | exact hs.trans he |
| 72 | |
| 73 | variable {κ : Type} [CommRing κ] (η : Γ(Y.left,V.val) →+* κ) |
| 74 | (hk : Koszul.OrientedTopCohomology.ideal Γ(Y.left,V.val) |
| 75 | (PrincipalResidue.ResidueRestriction.parameters (f ≫ i).left U V.val hVU D.parameters) = RingHom.ker η) |
| 76 | (hz : η (Y.left.presheaf.map (homOfLE hVU).op z) = 1) |
| 77 | |
| 78 | include hk hz hr in |
| 79 | omit [IsSeparated Z.hom] in |
| 80 | omit [IsArtinianRing (baseRing p k n)] [IsLocalRing (baseRing p k n)] [Nonempty ↥X.left] [Smooth X.hom] [IsProper X.hom] [GeometricallyConnected X.hom] [SmoothOfRelativeDimension g X.hom] [IsProper Y.hom] [Y.left.IsSeparated] [SmoothOfRelativeDimension g Y.hom] in |
| 81 | theorem coordinates : |
| 82 | (PrincipalSource.IntrinsicCoordinates.Intrinsic.nativeCoordinates (f ≫ i).left U V.val V.property hVU |
| 83 | (form p k n Y (g := g)) D.parameters D.codimension).hom |
| 84 | (nativeClass p k n X i s₀ hbase B hB U hU D Y f V hVU z) = |
| 85 | ComplexShape.σ (.up ℕ) (.up ℕ) (.up ℕ) D.codimension g • |
| 86 | TruncatedModel.OrdinaryFractionRestriction.Ordinary.targetClass p k n Y Z j hp |
| 87 | (IntrinsicOverlap.Intrinsic.model (baseRing p k n) (d+1)) (f ≫ i) U V hVU g D.parameters r := by |
| 88 | have hc := ProjectivePoint.SectionSourceCoordinates.coordinates X i s₀ hbase B hB U hU D |
| 89 | f.left (form p k n Y (g := g)) (selectedSection p k n X i s₀ U hU D Y f z) V.val V.property hVU |
| 90 | erw [symbol p k n X i s₀ hbase B hB U hU D Y f z r hr] at hc |
| 91 | have ht := TruncatedModel.SelectedFractionRestriction.restriction p k n Y Z j hp |
| 92 | (IntrinsicOverlap.Intrinsic.model (baseRing p k n) (d+1)) (f ≫ i) U hU V hVU g D.parameters z η hk hz r |
| 93 | exact hc.trans (congrArg (fun y => ComplexShape.σ (.up ℕ) (.up ℕ) (.up ℕ) D.codimension g • y) ht) |
| 94 | |
| 95 | end |
| 96 | |
| 97 | end OAI.NumberTheory.PadicHodge.IntegralComparison.Projective.SelectedFractionCoordinates |