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.GeometricBranches |
| 2 | import OAI.AlgebraicGeometry.AbelianScheme.TateComparison.CentralConvolution |
| 3 | import OAI.AlgebraicGeometry.AbelianScheme.TateComparison.Interface |
| 4 | import OAI.AlgebraicGeometry.AbelianScheme.TateComparison.SingletonEtaleFibers |
| 5 | |
| 6 | /-! # Central Branches -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.AbelianScheme.TateComparison |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! The central correspondence has exactly one actual branch over each |
| 13 | geometric source point. This follows from the geometric raw-coset |
| 14 | bijection and centrality of the scalar local representative. -/ |
| 15 | |
| 16 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 17 | open scoped _root_.CategoryTheory.MonObj |
| 18 | |
| 19 | theorem CentralBranches.rawScalarBlock_card (q : ℕ) [Fact q.Prime] (a : ℤ) : |
| 20 | Nat.card (IsogenyQuotient.Hecke.Construction.rawRightCosetSupport (IsogenyQuotient.BlockLatticeCosets.Construction.blockIntegralLevel q) |
| 21 | (IsogenyQuotient.BlockHeckeChoices.Construction.blockDiagonal q (fun _ => a))) = 1 := by |
| 22 | have he : IsogenyQuotient.BlockHeckeChoices.Construction.blockDiagonal q (fun _ => a) = |
| 23 | Matrix.GeneralLinearGroup.scalar (Fin 3) (HeckeKernel.qUnit q ^ a) := by |
| 24 | apply Units.ext |
| 25 | rfl |
| 26 | have hc (g : Matrix.GeneralLinearGroup (Fin 3) ℚ_[q]) : |
| 27 | Commute g (IsogenyQuotient.BlockHeckeChoices.Construction.blockDiagonal q (fun _ => a)) := by |
| 28 | rw [he] |
| 29 | exact (Matrix.GeneralLinearGroup.scalar_commute (HeckeKernel.qUnit q ^ a) g).symm |
| 30 | change Nat.card {x // x ∈ HeckeKernel.doubleCosetOrbit (IsogenyQuotient.BlockLatticeCosets.Construction.blockIntegralLevel q) |
| 31 | (IsogenyQuotient.BlockHeckeChoices.Construction.blockDiagonal q (fun _ => a))} = 1 |
| 32 | rw [CentralConvolution.doubleCosetOrbit_central _ _ hc] |
| 33 | simp |
| 34 | |
| 35 | variable {E K : Type} [Field E] [NumberField E] [NumberField.IsCMField E] |
| 36 | [Field K] [NumberField K] {s q : ℕ} [Fact q.Prime] |
| 37 | (D : Data.SphericalPELAlbaneseData E K s q) (hg : D.IsGoodCompletelySplitPrime) |
| 38 | (hdegree : Module.finrank ℚ E = 2 * s) (hs : 0 < s) (h : D.HasIntegralModelGeometry) |
| 39 | (hIsogenyQuotient : D.RealizesIsogenyQuotient) {k : Type} [Field k] [IsAlgClosed k] |
| 40 | (b : Spec (.of k) ⟶ Spec (.of K)) (x : D.GeometricPoint b) |
| 41 | |
| 42 | include hg hdegree hs h hIsogenyQuotient in |
| 43 | theorem Data.SphericalPELAlbaneseData.centralBranchCount : Nat.card ((D.correspondence (Local.IntegralType.central s)).Fiber x) = 1 := by |
| 44 | rw [D.geometricBranchCount hg hdegree hs h b x hIsogenyQuotient] |
| 45 | simp only [Local.IntegralType.exponentNat, Local.IntegralType.central, Local.LocalType.central, Int.toNat_one, |
| 46 | Nat.cast_one, CentralBranches.rawScalarBlock_card, Finset.prod_const_one] |
| 47 | |
| 48 | include hg hdegree hs h hIsogenyQuotient in |
| 49 | theorem Data.SphericalPELAlbaneseData.centralSource_isIso : IsIso (D.correspondence (Local.IntegralType.central s)).source := |
| 50 | (D.correspondence (Local.IntegralType.central s)).source_isIso_of_fiber_card_one |
| 51 | (fun k _ _ b x => D.centralBranchCount hg hdegree hs h hIsogenyQuotient (k := k) b x) |
| 52 | |
| 53 | def Data.SphericalPELAlbaneseData.centralSourceIso : (D.correspondence (Local.IntegralType.central s)).cover ≅ D.space := by |
| 54 | have := D.centralSource_isIso hg hdegree hs h hIsogenyQuotient |
| 55 | exact asIso (D.correspondence (Local.IntegralType.central s)).source |
| 56 | |
| 57 | def Data.SphericalPELAlbaneseData.centralTargetMap : D.space ⟶ D.space := |
| 58 | (D.centralSourceIso hg hdegree hs h hIsogenyQuotient).inv ≫ |
| 59 | (D.correspondence (Local.IntegralType.central s)).target |
| 60 | |
| 61 | theorem Data.SphericalPELAlbaneseData.centralTargetMap_factor : |
| 62 | (D.correspondence (Local.IntegralType.central s)).source ≫ D.centralTargetMap hg hdegree hs h hIsogenyQuotient = |
| 63 | (D.correspondence (Local.IntegralType.central s)).target := by |
| 64 | change (D.centralSourceIso hg hdegree hs h hIsogenyQuotient).hom ≫ |
| 65 | (D.centralSourceIso hg hdegree hs h hIsogenyQuotient).inv ≫ _ = _ |
| 66 | rw [Iso.hom_inv_id_assoc] |
| 67 | |
| 68 | theorem Data.SphericalPELAlbaneseData.central_neighbors : |
| 69 | D.neighbors (Local.IntegralType.central s) b x = {x ≫ D.centralTargetMap hg hdegree hs h hIsogenyQuotient} := by |
| 70 | have := D.centralSource_isIso hg hdegree hs h hIsogenyQuotient |
| 71 | exact (D.correspondence (Local.IntegralType.central s)).neighbors_of_source_iso b x |
| 72 | |
| 73 | end |
| 74 | |
| 75 | end OAI.AlgebraicGeometry.AbelianScheme.TateComparison |