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.Projective.SelectedFractionCoordinates |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.TruncatedModel.ModelPrincipalSheaf |
| 3 | |
| 4 | /-! # Selected Fraction -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.Projective.SelectedFraction.Coordinates |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The actual selected projective residue gives the native fraction |
| 11 | input with its original codimension sign and the same Witt coefficient. -/ |
| 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 | |
| 18 | variable (p : ℕ) [Fact p.Prime] (k : Type) [Field k] [Fintype k] [CharP k p] (n : ℕ) |
| 19 | [IsNoetherianRing (SelectedFractionCoordinates.baseRing p k n)] [Module.Injective (SelectedFractionCoordinates.baseRing p k n) (SelectedFractionCoordinates.baseRing p k n)] |
| 20 | [IsArtinianRing (SelectedFractionCoordinates.baseRing p k n)] [IsLocalRing (SelectedFractionCoordinates.baseRing p k n)] {d g : ℕ} |
| 21 | attribute [local instance] MvPolynomial.gradedAlgebra |
| 22 | variable (X : Over (Spec (CommRingCat.of (SelectedFractionCoordinates.baseRing p k n)))) [Nonempty X.left] |
| 23 | [Smooth X.hom] [IsProper X.hom] [GeometricallyConnected X.hom] [SmoothOfRelativeDimension g X.hom] |
| 24 | (i : X ⟶ IntrinsicOverlap.Intrinsic.model (SelectedFractionCoordinates.baseRing p k n) (d+1)) [IsClosedImmersion i.left] |
| 25 | (s₀ : Spec (CommRingCat.of (SelectedFractionCoordinates.baseRing p k n)) ⟶ X.left) [IsClosedImmersion s₀] |
| 26 | (hbase : s₀ ≫ X.hom = 𝟙 _) (B : ℕ) (hB : d+2 ≤ B) |
| 27 | (U : (IntrinsicOverlap.Intrinsic.space (SelectedFractionCoordinates.baseRing p k n) (d+1)).Opens) (hU : IsAffineOpen U) |
| 28 | (D : ProjectivePoint.PointParameterData.Chart.Data X i s₀ g U hU) |
| 29 | (Y : Over (Spec (CommRingCat.of (SelectedFractionCoordinates.baseRing p k n)))) |
| 30 | [Smooth Y.hom] [IsProper Y.hom] [Y.left.IsSeparated] [SmoothOfRelativeDimension g Y.hom] |
| 31 | (f : Y ⟶ X) |
| 32 | (Z : Over (Spec (CommRingCat.of k))) [IsSeparated Z.hom] |
| 33 | (j : Z.left ⟶ Y.left) |
| 34 | (hp : IsPullback j Z.hom Y.hom (Spec.map (CommRingCat.ofHom (Truncated.Witt.reduction p k n)))) |
| 35 | (V : Y.left.affineOpens) (hVU : V.val ≤ (f ≫ i).left ⁻¹ᵁ U) |
| 36 | (z : Γ(Y.left,(f ≫ i).left ⁻¹ᵁ U)) |
| 37 | |
| 38 | attribute [local instance] IntegralComparison.Smooth.ProjectivePointTransfer.sourceSeparated |
| 39 | IntegralComparison.Smooth.ProjectiveSectionClassData.composite_smooth |
| 40 | IntegralComparison.Smooth.ProjectiveFormTrace.composite_proper IntegralComparison.Smooth.ProjectiveFormTrace.composite_connected |
| 41 | |
| 42 | variable (r : WittVector p k) (hr : Truncated.Witt.quotient p k n r = SelectedFractionCoordinates.rawValue p k n X i s₀ hbase B hB U hU D) |
| 43 | |
| 44 | variable {κ : Type} [CommRing κ] (η : Γ(Y.left,V.val) →+* κ) |
| 45 | (hk : Koszul.OrientedTopCohomology.ideal Γ(Y.left,V.val) |
| 46 | (PrincipalResidue.ResidueRestriction.parameters (f ≫ i).left U V.val hVU D.parameters) = RingHom.ker η) |
| 47 | (hz : η (Y.left.presheaf.map (homOfLE hVU).op z) = 1) |
| 48 | |
| 49 | include hk hz hr in |
| 50 | omit [IsArtinianRing (SelectedFractionCoordinates.baseRing p k n)] [IsLocalRing (SelectedFractionCoordinates.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] [IsSeparated Z.hom] in |
| 51 | theorem native_input : |
| 52 | TruncatedModel.ModelPrincipalSheaf.input p k n Y (IntrinsicOverlap.Intrinsic.model (SelectedFractionCoordinates.baseRing p k n) (d+1)) |
| 53 | (f ≫ i) U V hVU g D.codimension D.parameters |
| 54 | (ULift.up.{2,1} (ULift.up.{1,0} |
| 55 | (SelectedFractionCoordinates.nativeClass p k n X i s₀ hbase B hB U hU D Y f V hVU z))) = |
| 56 | ComplexShape.σ (.up ℕ) (.up ℕ) (.up ℕ) D.codimension g • |
| 57 | TruncatedModel.ModelPrincipalFraction.input p k n Y Z j hp V g |
| 58 | (TruncatedModel.ResidueFraction.localParameters p k n Y |
| 59 | (IntrinsicOverlap.Intrinsic.model (SelectedFractionCoordinates.baseRing p k n) (d+1)) (f ≫ i) U V hVU g D.parameters) D.codimension r := by |
| 60 | exact TruncatedModel.ModelPrincipalSheaf.weighted p k n Y Z j hp |
| 61 | (IntrinsicOverlap.Intrinsic.model (SelectedFractionCoordinates.baseRing p k n) (d+1)) (f ≫ i) U V hVU g D.codimension D.parameters |
| 62 | (SelectedFractionCoordinates.nativeClass p k n X i s₀ hbase B hB U hU D Y f V hVU z) |
| 63 | (ComplexShape.σ (.up ℕ) (.up ℕ) (.up ℕ) D.codimension g) r |
| 64 | (SelectedFractionCoordinates.coordinates p k n X i s₀ hbase B hB U hU D Y f Z j hp V hVU z r hr η hk hz) |
| 65 | |
| 66 | end |
| 67 | |
| 68 | end OAI.NumberTheory.PadicHodge.IntegralComparison.Projective.SelectedFraction.Coordinates |