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.FlagEndpointTransfer |
| 2 | import OAI.AlgebraicGeometry.AbelianScheme.TateComparison.ConvolutionMultiplier |
| 3 | import OAI.AlgebraicGeometry.AbelianScheme.TateComparison.GeometricSplitFrame |
| 4 | |
| 5 | /-! # Geometric Convolution -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.AbelianScheme.TateComparison |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! The raw spherical convolution coefficients are the actual geometric |
| 12 | neighbor multiplicities, through the actual IsogenyQuotient flag correspondence. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 15 | open scoped Classical |
| 16 | |
| 17 | theorem GeometricConvolution.convolutionCoefficients_multiplierNat {s q : ℕ} [Fact q.Prime] |
| 18 | (hElementaryDivisors : Duality.ElementaryDivisorsInput ℤ_[q] ℚ_[q]) (u v w : Local.IntegralType s) |
| 19 | (hw : ConvolutionCoefficients.convolutionCoefficients s q hElementaryDivisors u v w ≠ 0) : |
| 20 | w.multiplierNat = u.multiplierNat + v.multiplierNat := by |
| 21 | apply Int.natCast_inj.mp |
| 22 | push_cast |
| 23 | simp only [Local.IntegralType.multiplierNat_cast] |
| 24 | exact ConvolutionMultiplier.convolutionCoefficients_multiplier s q hElementaryDivisors u v w hw |
| 25 | |
| 26 | theorem Data.SphericalPELAlbaneseData.flagMultiplier_single {s : ℕ} (t : Local.IntegralType s) : |
| 27 | Data.SphericalPELAlbaneseData.flagMultiplier [t] (Fin.last [t].length) = t.multiplierNat := by |
| 28 | simp [Data.SphericalPELAlbaneseData.flagMultiplier, Local.cumulativeMultiplier, Local.IntegralType.multiplierNat] |
| 29 | |
| 30 | theorem Data.SphericalPELAlbaneseData.flagMultiplier_pair {s : ℕ} (u v : Local.IntegralType s) : |
| 31 | Data.SphericalPELAlbaneseData.flagMultiplier [u, v] (Fin.last [u, v].length) = u.multiplierNat + v.multiplierNat := by |
| 32 | change (u.val.multiplier + (v.val.multiplier + 0)).toNat = _ |
| 33 | rw [add_zero] |
| 34 | exact Int.toNat_add u.property.1 v.property.1 |
| 35 | |
| 36 | variable {E K : Type} [Field E] [NumberField E] [NumberField.IsCMField E] |
| 37 | [Field K] [NumberField K] {s q : ℕ} [Fact q.Prime] |
| 38 | (D : Data.SphericalPELAlbaneseData E K s q) (hg : D.IsGoodCompletelySplitPrime) |
| 39 | (hdegree : Module.finrank ℚ E = 2 * s) (hs : 0 < s) |
| 40 | (hgeometry : D.HasIntegralModelGeometry) (hIsogenyQuotient : D.RealizesIsogenyQuotient) (hElementaryDivisors : Duality.ElementaryDivisorsInput ℤ_[q] ℚ_[q]) |
| 41 | |
| 42 | section Frame |
| 43 | variable {k : Type} [Field k] [CharZero k] [IsAlgClosed k] |
| 44 | {b : Spec (.of k) ⟶ Spec (.of K)} (x : D.GeometricPoint b) |
| 45 | (frame : D.FiberFrame b x) |
| 46 | (hf : Rational.IsSplitActionFrame (D.fiberFamily b x) (Over.mk (𝟙 (Spec (.of k)))) q D.localCharacter frame) |
| 47 | |
| 48 | include hg hdegree hs hgeometry hIsogenyQuotient hElementaryDivisors hf in |
| 49 | theorem Data.SphericalPELAlbaneseData.neighbors_eq_lattice_map (t : Local.IntegralType s) : |
| 50 | D.neighbors t b x = |
| 51 | (ChosenLatticeNeighbors.chosenLatticeNeighbors s q t (fun v => D.framedFiberSourceLattice b x frame (v, false))).map |
| 52 | (D.geometricLatticeTarget x frame t.multiplierNat) := by |
| 53 | rw [← D.geometricFlagEndpoints_single b x t, |
| 54 | D.geometricFlagEndpoints_eq_lattice_map hg hdegree hs hgeometry hIsogenyQuotient hElementaryDivisors x frame hf, |
| 55 | LinearFlagEndpoints.linearFlagEndpoints_single, Data.SphericalPELAlbaneseData.flagMultiplier_single] |
| 56 | |
| 57 | include hg hdegree hs hgeometry hIsogenyQuotient hElementaryDivisors hf in |
| 58 | theorem Data.SphericalPELAlbaneseData.neighbors_convolution_in_frame (u v : Local.IntegralType s) : |
| 59 | (D.neighbors u b x).bind (D.neighbors v b) = |
| 60 | (ConvolutionCoefficients.convolutionCoefficients s q hElementaryDivisors u v).sum (fun w n => n • D.neighbors w b x) := by |
| 61 | let L₀ := fun i => D.framedFiberSourceLattice b x frame (i, false) |
| 62 | let f := D.geometricLatticeTarget x frame (u.multiplierNat + v.multiplierNat) |
| 63 | have h := congrArg (LatticeCosetConvolution.multisetMapHom f) (ChosenLatticeNeighbors.chosenLatticeNeighbors_convolution s q hElementaryDivisors u v L₀) |
| 64 | simp only [map_finsuppSum, map_nsmul] at h |
| 65 | rw [← D.geometricFlagEndpoints_pair b x u v, |
| 66 | D.geometricFlagEndpoints_eq_lattice_map hg hdegree hs hgeometry hIsogenyQuotient hElementaryDivisors x frame hf, |
| 67 | LinearFlagEndpoints.linearFlagEndpoints_pair, Data.SphericalPELAlbaneseData.flagMultiplier_pair] |
| 68 | refine h.trans ?_ |
| 69 | apply Finsupp.sum_congr |
| 70 | intro w hw |
| 71 | have hm := GeometricConvolution.convolutionCoefficients_multiplierNat hElementaryDivisors u v w (Finsupp.mem_support_iff.mp hw) |
| 72 | change _ • (ChosenLatticeNeighbors.chosenLatticeNeighbors s q w L₀).map f = _ |
| 73 | rw [D.neighbors_eq_lattice_map hg hdegree hs hgeometry hIsogenyQuotient hElementaryDivisors x frame hf w] |
| 74 | congr 2 |
| 75 | exact congrArg (D.geometricLatticeTarget x frame) hm.symm |
| 76 | |
| 77 | end Frame |
| 78 | |
| 79 | include hg hdegree hs hgeometry hIsogenyQuotient hElementaryDivisors in |
| 80 | theorem Data.SphericalPELAlbaneseData.neighbors_convolution (u v : Local.IntegralType s) |
| 81 | {k : Type} [Field k] [IsAlgClosed k] |
| 82 | (b : Spec (.of k) ⟶ Spec (.of K)) (x : D.GeometricPoint b) : |
| 83 | (D.neighbors u b x).bind (D.neighbors v b) = |
| 84 | (ConvolutionCoefficients.convolutionCoefficients s q hElementaryDivisors u v).sum (fun w n => n • D.neighbors w b x) := by |
| 85 | have := FiberLattices.charZero_of_field_spec_map b |
| 86 | exact D.neighbors_convolution_in_frame hg hdegree hs hgeometry hIsogenyQuotient hElementaryDivisors x |
| 87 | (D.geometricSplitFrame hg hdegree hs hgeometry b x) |
| 88 | (D.geometricSplitFrame_equivariant hg hdegree hs hgeometry b x) u v |
| 89 | |
| 90 | end |
| 91 | |
| 92 | end OAI.AlgebraicGeometry.AbelianScheme.TateComparison |