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.FormSourceCoordinates |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.TruncatedModel.ModelPrincipalSheaf |
| 3 | |
| 4 | /-! # Form Fraction -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.Projective.FormFraction |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The actual differential point residue enters the native fraction |
| 11 | map with its original codimension sign and any lift of its actual scalar. -/ |
| 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 (Truncated.Witt.Ring p k n)] |
| 20 | [Module.Injective (Truncated.Witt.Ring p k n) (Truncated.Witt.Ring p k n)] |
| 21 | [IsArtinianRing (Truncated.Witt.Ring p k n)] [IsLocalRing (Truncated.Witt.Ring p k n)] {d g : ℕ} |
| 22 | attribute [local instance] MvPolynomial.gradedAlgebra |
| 23 | variable (X : Over (Spec (CommRingCat.of (Truncated.Witt.Ring p k n)))) [Nonempty X.left] |
| 24 | [Smooth X.hom] [IsProper X.hom] [GeometricallyConnected X.hom] [SmoothOfRelativeDimension g X.hom] |
| 25 | (i : X ⟶ IntrinsicOverlap.Intrinsic.model (Truncated.Witt.Ring p k n) (d+1)) [IsClosedImmersion i.left] |
| 26 | (s₀ : Spec (CommRingCat.of (Truncated.Witt.Ring p k n)) ⟶ X.left) [IsClosedImmersion s₀] |
| 27 | (hbase : s₀ ≫ X.hom = 𝟙 _) (B : ℕ) (hB : d+2 ≤ B) |
| 28 | (U : (IntrinsicOverlap.Intrinsic.space (Truncated.Witt.Ring p k n) (d+1)).Opens) (hU : IsAffineOpen U) |
| 29 | (D : ProjectivePoint.PointParameterData.Chart.Data X i s₀ g U hU) |
| 30 | (Y : Over (Spec (CommRingCat.of k))) [IsSeparated Y.hom] |
| 31 | (f : Y.left ⟶ X.left) |
| 32 | (hp : IsPullback f Y.hom X.hom (Spec.map (CommRingCat.ofHom (Truncated.Witt.reduction p k n)))) |
| 33 | (V : X.left.affineOpens) (hVU : V.val ≤ i.left ⁻¹ᵁ U) |
| 34 | |
| 35 | attribute [local instance] IntegralComparison.Smooth.ProjectivePointTransfer.sourceSeparated |
| 36 | IntegralComparison.Smooth.ProjectiveSectionClassData.composite_smooth |
| 37 | IntegralComparison.Smooth.ProjectiveFormTrace.composite_proper IntegralComparison.Smooth.ProjectiveFormTrace.composite_connected |
| 38 | |
| 39 | abbrev rawValue := ProjectivePoint.ResidueSingleCoordinates.rawValue X i s₀ hbase B hB U hU D |
| 40 | abbrev nativeClass := FormSourceCoordinates.nativeClass X i s₀ hbase B hB U hU D |
| 41 | V.val V.property hVU |
| 42 | |
| 43 | 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) |
| 44 | |
| 45 | include hr in |
| 46 | omit [Fintype k] [CharP k p] [IsArtinianRing (Truncated.Witt.Ring p k n)] [IsLocalRing (Truncated.Witt.Ring p k n)] [Nonempty ↥X.left] [Smooth X.hom] [IsProper X.hom] [GeometricallyConnected X.hom] [SmoothOfRelativeDimension g X.hom] in |
| 47 | theorem symbol : FormSourceCoordinates.symbol X i s₀ hbase B hB U hU D = |
| 48 | Principal.DifferentialSymbolRestriction.sourceValue (Truncated.Witt.Ring p k n) X |
| 49 | (IntrinsicOverlap.Intrinsic.model (Truncated.Witt.Ring p k n) (d+1)) i U hU D.parameters |
| 50 | (Truncated.Witt.quotient p k n r) := |
| 51 | congrArg (Principal.DifferentialSymbolRestriction.sourceValue (Truncated.Witt.Ring p k n) |
| 52 | X (IntrinsicOverlap.Intrinsic.model (Truncated.Witt.Ring p k n) (d+1)) i U hU D.parameters) hr.symm |
| 53 | |
| 54 | include hr in |
| 55 | omit [IsSeparated Y.hom] in |
| 56 | omit [IsArtinianRing (Truncated.Witt.Ring p k n)] [IsLocalRing (Truncated.Witt.Ring p k n)] [Nonempty ↥X.left] [GeometricallyConnected X.hom] in |
| 57 | theorem coordinates : |
| 58 | (PrincipalSource.IntrinsicCoordinates.Intrinsic.nativeCoordinates i.left U V.val V.property hVU |
| 59 | (GeometricComparison.Integral.FormsModules.IntegralFormsModules.sheaf (Truncated.Witt.Ring p k n) X g) |
| 60 | D.parameters D.codimension).hom (nativeClass p k n X i s₀ hbase B hB U hU D V hVU) = |
| 61 | ComplexShape.σ (.up ℕ) (.up ℕ) (.up ℕ) D.codimension g • |
| 62 | TruncatedModel.OrdinaryFractionRestriction.Ordinary.targetClass p k n X Y f hp |
| 63 | (IntrinsicOverlap.Intrinsic.model (Truncated.Witt.Ring p k n) (d+1)) i U V hVU g D.parameters r := by |
| 64 | have hc := FormSourceCoordinates.coordinates X i s₀ hbase B hB U hU D V.val V.property hVU |
| 65 | erw [symbol p k n X i s₀ hbase B hB U hU D r hr] at hc |
| 66 | have ht := TruncatedModel.OrdinaryFractionRestriction.Ordinary.topClass p k n X Y f hp |
| 67 | (IntrinsicOverlap.Intrinsic.model (Truncated.Witt.Ring p k n) (d+1)) i U hU V hVU g D.parameters r |
| 68 | exact hc.trans (congrArg (fun y => ComplexShape.σ (.up ℕ) (.up ℕ) (.up ℕ) D.codimension g • y) ht) |
| 69 | |
| 70 | include hr in |
| 71 | omit [IsSeparated Y.hom] in |
| 72 | omit [IsArtinianRing (Truncated.Witt.Ring p k n)] [IsLocalRing (Truncated.Witt.Ring p k n)] [Nonempty ↥X.left] [GeometricallyConnected X.hom] in |
| 73 | theorem native_input : |
| 74 | TruncatedModel.ModelPrincipalSheaf.input p k n X (IntrinsicOverlap.Intrinsic.model (Truncated.Witt.Ring p k n) (d+1)) |
| 75 | i U V hVU g D.codimension D.parameters |
| 76 | (ULift.up.{2,1} (ULift.up.{1,0} (nativeClass p k n X i s₀ hbase B hB U hU D V hVU))) = |
| 77 | ComplexShape.σ (.up ℕ) (.up ℕ) (.up ℕ) D.codimension g • |
| 78 | TruncatedModel.ModelPrincipalFraction.input p k n X Y f hp V g |
| 79 | (TruncatedModel.ResidueFraction.localParameters p k n X |
| 80 | (IntrinsicOverlap.Intrinsic.model (Truncated.Witt.Ring p k n) (d+1)) i U V hVU g D.parameters) D.codimension r := by |
| 81 | exact TruncatedModel.ModelPrincipalSheaf.weighted p k n X Y f hp |
| 82 | (IntrinsicOverlap.Intrinsic.model (Truncated.Witt.Ring p k n) (d+1)) i U V hVU g D.codimension D.parameters |
| 83 | (nativeClass p k n X i s₀ hbase B hB U hU D V hVU) |
| 84 | (ComplexShape.σ (.up ℕ) (.up ℕ) (.up ℕ) D.codimension g) r |
| 85 | (coordinates p k n X i s₀ hbase B hB U hU D Y f hp V hVU r hr) |
| 86 | |
| 87 | end |
| 88 | |
| 89 | end OAI.NumberTheory.PadicHodge.IntegralComparison.Projective.FormFraction |