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.TruncatedModel.SmoothPointValueData |
| 2 | |
| 3 | /-! # Smooth Point Value -/ |
| 4 | |
| 5 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.TruncatedModel.SmoothPointValue |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! The original smooth point class has its signed bounded residue |
| 10 | value, through the actual global and Serre comparison maps. -/ |
| 11 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry _root_.MvPolynomial _root_.HomologicalComplex |
| 12 | open OAI.NumberTheory.PadicHodge.IntegralComparison.Projective.IntrinsicOverlap.Intrinsic |
| 13 | set_option backward.defeqAttrib.useBackward true |
| 14 | set_option backward.isDefEq.respectTransparency false |
| 15 | set_option backward.isDefEq.respectTransparency.types false |
| 16 | |
| 17 | private theorem join_equalities {A : Type*} {a b c d : A} |
| 18 | (hab : a = b) (hcd : c = d) (hbc : b = c) : a = d := |
| 19 | hab.trans (hbc.trans hcd) |
| 20 | |
| 21 | private theorem lift_square_postcompose {A B C : AddCommGrpCat.{0}} |
| 22 | {T S : AddCommGrpCat.{2}} (a : A ⟶ B) (c : A ⟶ C) |
| 23 | (b : AdditiveTop.Comparison.lift.obj B ⟶ T) |
| 24 | (d : AdditiveTop.Comparison.lift.obj C ⟶ T) (e : T ⟶ S) |
| 25 | (h : AdditiveTop.Comparison.lift.map a ≫ b = |
| 26 | AdditiveTop.Comparison.lift.map c ≫ d) (x : A) : |
| 27 | e (b (ULift.up.{2,1} (ULift.up.{1,0} (a x)))) = |
| 28 | e (d (ULift.up.{2,1} (ULift.up.{1,0} (c x)))) := |
| 29 | congrArg e (ConcreteCategory.congr_hom h (ULift.up.{2,1} (ULift.up.{1,0} x))) |
| 30 | |
| 31 | variable (p : ℕ) [Fact p.Prime] (k : Type) [Field k] [Fintype k] [CharP k p] |
| 32 | (n : ℕ) [IsNoetherianRing (Truncated.Witt.Ring p k n)] |
| 33 | [IsArtinianRing (Truncated.Witt.Ring p k n)] [IsLocalRing (Truncated.Witt.Ring p k n)] |
| 34 | [Module.Injective (Truncated.Witt.Ring p k n) (Truncated.Witt.Ring p k n)] {d g : ℕ} |
| 35 | attribute [local instance] MvPolynomial.gradedAlgebra |
| 36 | variable (X : Over (Spec (CommRingCat.of (Truncated.Witt.Ring p k n)))) [Nonempty X.left] |
| 37 | [Smooth X.hom] [IsProper X.hom] [GeometricallyConnected X.hom] [SmoothOfRelativeDimension g X.hom] |
| 38 | (i : X ⟶ Projective.IntrinsicOverlap.Intrinsic.model (Truncated.Witt.Ring p k n) (d+1)) [IsClosedImmersion i.left] |
| 39 | (s₀ : Spec (CommRingCat.of (Truncated.Witt.Ring p k n)) ⟶ X.left) [IsClosedImmersion s₀] |
| 40 | (hbase : s₀ ≫ X.hom = 𝟙 _) (B : ℕ) (hB : d+2 ≤ B) |
| 41 | (U : (Projective.IntrinsicOverlap.Intrinsic.space (Truncated.Witt.Ring p k n) (d+1)).Opens) (hU : IsAffineOpen U) |
| 42 | (D : ProjectivePoint.PointParameterData.Chart.Data X i s₀ g U hU) |
| 43 | (Y : Over (Spec (CommRingCat.of k))) [IsSeparated Y.hom] (f : Y.left ⟶ X.left) |
| 44 | (hp : IsPullback f Y.hom X.hom |
| 45 | (Spec.map (CommRingCat.ofHom (Truncated.Witt.reduction p k n)))) |
| 46 | (I : InjectiveResolution (BoundedCrystalline.CrystallineCohomology.structureSheaf (p := p) |
| 47 | (J := Ideal.span {(p : WittVector p k)}) (δ := AlgebraicGeometry.Crystalline.Cohomology.Witt.DividedPowers.WittDividedPowers.wittDividedPowers p k) |
| 48 | (Witt.Crystalline.wittStructureMap p k Y) n)) |
| 49 | (V : X.left.affineOpens) (hVU : V.val ≤ i.left ⁻¹ᵁ U) |
| 50 | (hcontains : ⊤ ≤ s₀ ⁻¹ᵁ V.val) |
| 51 | |
| 52 | attribute [local instance] IntegralComparison.Smooth.ProjectivePointTransfer.sourceSeparated |
| 53 | IntegralComparison.Smooth.ProjectiveSectionClassData.composite_smooth |
| 54 | IntegralComparison.Smooth.ProjectiveFormTrace.composite_proper IntegralComparison.Smooth.ProjectiveFormTrace.composite_connected |
| 55 | |
| 56 | variable (r : WittVector p k) |
| 57 | (hr : Truncated.Witt.quotient p k n r = |
| 58 | Projective.FormFraction.rawValue p k n X i s₀ hbase B hB U hU D) |
| 59 | |
| 60 | abbrev global_coordinate := lift_square_postcompose |
| 61 | (SerreGlobal.Smooth.output p k n X i g D.codimension) |
| 62 | (Intrinsic.TopFormTrace.serreIso X i g).inv |
| 63 | (PrincipalSheafValue.globalValue p k n X Y f hp I g D.codimension |
| 64 | (SmoothPointValueData.cover p k n X i) (SmoothPointValueData.coverFull p k n X i)) |
| 65 | (ModelTopCoverComparison.globalInput p k n X Y f hp I g |
| 66 | (SmoothPointValueData.cover p k n X i) (SmoothPointValueData.coverFull p k n X i)) |
| 67 | (AdditiveGlobal.globalHomologyIso p k n X Y f I (g+g)).hom |
| 68 | (SerreGlobal.Smooth.comparison p k n X i Y f hp I g D.codimension) |
| 69 | (SmoothPointValueData.tracePoint (g := g) p k n X i s₀ hbase B hB) |
| 70 | |
| 71 | attribute [local irreducible] HomologicalComplex.homology |
| 72 | |
| 73 | include hr in |
| 74 | theorem fraction : SmoothPointValueData.pointValue p k n X i s₀ hbase B hB U hU D Y f hp I = |
| 75 | ComplexShape.σ (.up ℕ) (.up ℕ) (.up ℕ) D.codimension g • |
| 76 | (ComplexShape.σ (.up ℕ) (.up ℕ) (.up ℕ) g g • |
| 77 | ((⟨r⟩ : Crystalline.ExactRestriction.Coeff (B := WittVector p k)) • |
| 78 | SmoothPointValueData.residue p k n X i s₀ U hU D Y f hp I V hVU hcontains)) := by |
| 79 | have hm := ConcreteCategory.congr_hom (SmoothPointValueData.output_map p k n X i s₀ U hU D) |
| 80 | (SmoothPointValueData.tracePoint (g := g) p k n X i s₀ hbase B hB) |
| 81 | have hn := SmoothPointValueData.native_recovery p k n X i s₀ hbase B hB U hU D V hVU hcontains |
| 82 | have hi := join_equalities hm hn (by as_aux_lemma => rfl) |
| 83 | have h := congrArg (SmoothPointValueData.evaluate p k n X i s₀ U hU D Y f hp I) hi |
| 84 | exact h.trans (SmoothPointValueData.local_fraction p k n X i s₀ hbase B hB U hU D Y f hp I V hVU hcontains r hr) |
| 85 | |
| 86 | include hr in |
| 87 | abbrev global_fraction := by |
| 88 | have hc := global_coordinate p k n X i s₀ hbase B hB U hU D Y f hp I |
| 89 | have hf := fraction p k n X i s₀ hbase B hB U hU D Y f hp I V hVU hcontains r hr |
| 90 | exact join_equalities hc.symm hf (by as_aux_lemma => rfl) |
| 91 | |
| 92 | end |
| 93 | |
| 94 | end OAI.NumberTheory.PadicHodge.IntegralComparison.TruncatedModel.SmoothPointValue |