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.AlgebraicGeometry.AbelianScheme.TateComparison.GeometricConvolution |
| 2 | import OAI.AlgebraicGeometry.AbelianScheme.TateComparison.AlbaneseTrace |
| 3 | import OAI.AlgebraicGeometry.AbelianScheme.TateComparison.TraceLaws |
| 4 | import OAI.AlgebraicGeometry.AbelianScheme.TateComparison.Interface |
| 5 | |
| 6 | /-! # Albanese Trace Convolution -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.AbelianScheme.TateComparison |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! Geometric convolution gives an equality of the actual global |
| 13 | algebraic trace maps into the Albanese. -/ |
| 14 | |
| 15 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 16 | open scoped _root_.CategoryTheory.MonObj _root_.CategoryTheory.Obj Classical |
| 17 | |
| 18 | def AlbaneseTraceConvolution.multisetPointSumHom {X A : Type*} [AddCommMonoid A] (f : X → A) : Multiset X →+ A where |
| 19 | toFun m := (m.map f).sum |
| 20 | map_zero' := rfl |
| 21 | map_add' a b := by rw [Multiset.map_add, Multiset.sum_add] |
| 22 | |
| 23 | variable {E K : Type} [Field E] [NumberField E] [NumberField.IsCMField E] |
| 24 | [Field K] [NumberField K] {s q : ℕ} [Fact q.Prime] |
| 25 | (D : Data.SphericalPELAlbaneseData E K s q) (hg : D.IsGoodCompletelySplitPrime) |
| 26 | (hdegree : Module.finrank ℚ E = 2 * s) (hs : 0 < s) |
| 27 | (hgeometry : D.HasIntegralModelGeometry) (hIsogenyQuotient : D.RealizesIsogenyQuotient) (hElementaryDivisors : Duality.ElementaryDivisorsInput ℤ_[q] ℚ_[q]) |
| 28 | |
| 29 | include hg hdegree hs hgeometry hIsogenyQuotient hElementaryDivisors in |
| 30 | theorem Data.SphericalPELAlbaneseData.neighbor_albanese_sum_convolution (u v : Local.IntegralType s) |
| 31 | {k : Type} [Field k] [IsAlgClosed k] |
| 32 | (b : Spec (.of k) ⟶ Spec (.of K)) (x : D.GeometricPoint b) : |
| 33 | ((D.neighbors u b x).map (fun y => ((D.neighbors v b y).map (D.aTotalPoint hgeometry)).sum)).sum = |
| 34 | (ConvolutionCoefficients.convolutionCoefficients s q hElementaryDivisors u v).sum (fun w n => |
| 35 | n • ((D.neighbors w b x).map (D.aTotalPoint hgeometry)).sum) := by |
| 36 | have h := congrArg (AlbaneseTraceConvolution.multisetPointSumHom (D.aTotalPoint hgeometry)) |
| 37 | (D.neighbors_convolution hg hdegree hs hgeometry hIsogenyQuotient hElementaryDivisors u v b x) |
| 38 | simp only [map_finsuppSum, map_nsmul] at h |
| 39 | change (((D.neighbors u b x).bind (D.neighbors v b)).map (D.aTotalPoint hgeometry)).sum = _ at h |
| 40 | rw [Multiset.map_bind, Multiset.sum_bind] at h |
| 41 | exact h |
| 42 | |
| 43 | theorem Data.SphericalPELAlbaneseData.albaneseTrace_point_sum (t : Local.IntegralType s) |
| 44 | {k : Type} [Field k] [IsAlgClosed k] |
| 45 | (b : Spec (.of k) ⟶ Spec (.of K)) (x : D.GeometricPoint b) : |
| 46 | Additive.ofMul (x ≫ D.albaneseTrace hgeometry t) = |
| 47 | ((D.neighbors t b x).map (D.aTotalPoint hgeometry)).sum := by |
| 48 | rw [D.albaneseTrace_geometric hgeometry t b x] |
| 49 | rfl |
| 50 | |
| 51 | include hg hdegree hs hIsogenyQuotient hElementaryDivisors in |
| 52 | theorem Data.SphericalPELAlbaneseData.albaneseTrace_convolution (u v : Local.IntegralType s) : |
| 53 | let : IsReduced D.space.left := D.genericSpace_reduced hgeometry |
| 54 | let : IsLocallyNoetherian D.space.left := D.genericSpace_locallyNoetherian hgeometry |
| 55 | let : IsSeparated D.albaneseGroup.X.hom := D.albaneseGroup_separated hgeometry |
| 56 | Additive.ofMul ((D.correspondence u).algebraicTrace (D.albaneseTrace hgeometry v)) = |
| 57 | (ConvolutionCoefficients.convolutionCoefficients s q hElementaryDivisors u v).sum |
| 58 | (fun w n => n • Additive.ofMul (D.albaneseTrace hgeometry w)) := by |
| 59 | have : IsReduced D.space.left := D.genericSpace_reduced hgeometry |
| 60 | have : IsLocallyNoetherian D.space.left := D.genericSpace_locallyNoetherian hgeometry |
| 61 | have : IsSeparated D.albaneseGroup.X.hom := D.albaneseGroup_separated hgeometry |
| 62 | apply Additive.toMul.injective |
| 63 | apply GeometricExt.over_hom_ext_geometric |
| 64 | intro k _ _ b x |
| 65 | apply Additive.ofMul.injective |
| 66 | let e : Additive (D.space ⟶ D.albaneseGroup.X) →+ |
| 67 | Additive (Over.mk b ⟶ D.albaneseGroup.X) := |
| 68 | ((yonedaGrpObj D.albaneseGroup.X).map x.op).hom.toAdditive |
| 69 | have h := D.neighbor_albanese_sum_convolution hg hdegree hs hgeometry hIsogenyQuotient hElementaryDivisors u v b x |
| 70 | change Additive.ofMul (x ≫ (D.correspondence u).algebraicTrace (D.albaneseTrace hgeometry v)) = |
| 71 | e ((ConvolutionCoefficients.convolutionCoefficients s q hElementaryDivisors u v).sum _) |
| 72 | have hx : Additive.ofMul (x ≫ (D.correspondence u).algebraicTrace (D.albaneseTrace hgeometry v)) = |
| 73 | ((D.neighbors u b x).map (fun y => Additive.ofMul (y ≫ D.albaneseTrace hgeometry v))).sum := |
| 74 | congrArg Additive.ofMul ((D.correspondence u).algebraicTrace_geometric |
| 75 | (D.albaneseTrace hgeometry v) b x) |
| 76 | refine hx.trans ?_ |
| 77 | rw [map_finsuppSum] |
| 78 | simp only [map_nsmul] |
| 79 | change (((D.neighbors u b x).map (fun y => Additive.ofMul (y ≫ D.albaneseTrace hgeometry v))).sum) = |
| 80 | (ConvolutionCoefficients.convolutionCoefficients s q hElementaryDivisors u v).sum (fun w n => n • Additive.ofMul (x ≫ D.albaneseTrace hgeometry w)) |
| 81 | have hl := congrArg (fun f : D.GeometricPoint b → Additive (Over.mk b ⟶ D.albaneseGroup.X) => |
| 82 | ((D.neighbors u b x).map f).sum) (funext (D.albaneseTrace_point_sum hgeometry v b)) |
| 83 | refine hl.trans (h.trans ?_) |
| 84 | apply Finsupp.sum_congr |
| 85 | intro w _ |
| 86 | exact congrArg (fun z => ConvolutionCoefficients.convolutionCoefficients s q hElementaryDivisors u v w • z) |
| 87 | (D.albaneseTrace_point_sum hgeometry w b x).symm |
| 88 | |
| 89 | end |
| 90 | |
| 91 | end OAI.AlgebraicGeometry.AbelianScheme.TateComparison |