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.CentralAction.Flags |
| 2 | import OAI.AlgebraicGeometry.AbelianScheme.CentralAction.Graph |
| 3 | import OAI.AlgebraicGeometry.AbelianScheme.CentralAction.Interface |
| 4 | import OAI.AlgebraicGeometry.Foundations.Scheme.SmoothProjectiveDecomposition |
| 5 | |
| 6 | /-! # PEL -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.AbelianScheme.CentralAction.PEL.Construction |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! The central Hecke correspondences have a single branch over each |
| 13 | source point. Their actual scheme endomorphisms are constructed here. -/ |
| 14 | |
| 15 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 16 | |
| 17 | variable {E K : Type} [Field E] [NumberField E] [NumberField.IsCMField E] |
| 18 | [Field K] [NumberField K] {s q : ℕ} [Fact q.Prime] |
| 19 | |
| 20 | def singletonPELFlag (D : TateComparison.Data.SphericalPELAlbaneseData E K s q) |
| 21 | (t : TateComparison.Local.IntegralType s) {k : Type} [Field k] [IsAlgClosed k] |
| 22 | {b : Spec (.of k) ⟶ Spec (.of K)} (x : D.GeometricPoint b) |
| 23 | (c : Over.mk b ⟶ (D.correspondence t).cover) |
| 24 | (hc : c ≫ (D.correspondence t).source = x) : D.PELFlag b x [t] where |
| 25 | point i := if i = 0 then x else c ≫ (D.correspondence t).target |
| 26 | start := by simp |
| 27 | branch j := by |
| 28 | have hj : j = 0 := by |
| 29 | apply Fin.ext |
| 30 | change j.val = 0 |
| 31 | have h : j.val < 1 := j.isLt |
| 32 | omega |
| 33 | subst j |
| 34 | exact c |
| 35 | source j := by |
| 36 | fin_cases j |
| 37 | simpa using hc |
| 38 | target j := by |
| 39 | fin_cases j |
| 40 | simp |
| 41 | |
| 42 | /-- TateComparison's actual flag equivalence and uniqueness of the central linear |
| 43 | flag prove bijectivity of the source on geometric points. -/ |
| 44 | theorem central_source_geometric_bijective |
| 45 | (D : TateComparison.Data.SphericalPELAlbaneseData E K s q) |
| 46 | (hIsogenyQuotient : D.RealizesIsogenyQuotient) (hflags : D.HasPolarizedFlagRealizations hIsogenyQuotient) |
| 47 | (t : TateComparison.Local.IntegralType s) (a : Fin s → ℤ) |
| 48 | (ha : ∀ v i, t.val.exponent v i = a v) |
| 49 | (k : Type) [Field k] [IsAlgClosed k] (b : Spec (.of k) ⟶ Spec (.of K)) : |
| 50 | Function.Bijective |
| 51 | (fun c : Over.mk b ⟶ (D.correspondence t).cover => c ≫ (D.correspondence t).source) := by |
| 52 | constructor |
| 53 | · intro c d hcd |
| 54 | let x := c ≫ (D.correspondence t).source |
| 55 | let F := singletonPELFlag D t x c rfl |
| 56 | let G := singletonPELFlag D t x d hcd.symm |
| 57 | obtain ⟨e, B, L₀, _, _, hh⟩ := hflags k b x |
| 58 | obtain ⟨eqv, _, _, _⟩ := hh [t] |
| 59 | have hFG : F = G := eqv.injective |
| 60 | ((Flags.Construction.central_singleton_flag_unique q L₀ t a ha (eqv F)).trans |
| 61 | (Flags.Construction.central_singleton_flag_unique q L₀ t a ha (eqv G)).symm) |
| 62 | exact congrArg (fun H => H.branch (0 : Fin 1)) hFG |
| 63 | · intro x |
| 64 | obtain ⟨e, B, L₀, _, _, hh⟩ := hflags k b x |
| 65 | obtain ⟨eqv, _, _, _⟩ := hh [t] |
| 66 | let F := eqv.symm (Flags.Construction.centralSingletonFlag q L₀ t a ha) |
| 67 | refine ⟨F.branch (0 : Fin 1), ?_⟩ |
| 68 | exact (F.source (0 : Fin 1)).trans F.start |
| 69 | |
| 70 | /-- The central source cover is isomorphic to the entire moduli scheme. -/ |
| 71 | theorem central_correspondence_source_isIso |
| 72 | (D : TateComparison.Data.SphericalPELAlbaneseData E K s q) |
| 73 | (hgeometry : D.HasIntegralModelGeometry) |
| 74 | (hIsogenyQuotient : D.RealizesIsogenyQuotient) (hflags : D.HasPolarizedFlagRealizations hIsogenyQuotient) |
| 75 | (t : TateComparison.Local.IntegralType s) (a : Fin s → ℤ) |
| 76 | (ha : ∀ v i, t.val.exponent v i = a v) : |
| 77 | IsIso (D.correspondence t).source := by |
| 78 | have : Smooth D.model.space.hom := hgeometry.smooth |
| 79 | have : IsProper D.model.space.hom := hgeometry.proper |
| 80 | have : Smooth D.space.hom := inferInstanceAs |
| 81 | (Smooth (CategoryTheory.Limits.pullback.snd D.model.space.hom D.generic)) |
| 82 | have : IsProper D.space.hom := inferInstanceAs |
| 83 | (IsProper (CategoryTheory.Limits.pullback.snd D.model.space.hom D.generic)) |
| 84 | have : IsReduced D.space.left := Foundations.Scheme.SmoothProjectiveDecomposition.smoothScheme_isReduced D.space.hom |
| 85 | have : IsLocallyNoetherian D.space.left := |
| 86 | LocallyOfFiniteType.isLocallyNoetherian D.space.hom |
| 87 | exact Graph.Construction.finite_etale_isIso_of_geometric_bijective (D.correspondence t).source |
| 88 | (central_source_geometric_bijective D hIsogenyQuotient hflags t a ha) |
| 89 | |
| 90 | /-- This is the actual target morphism composed with the inverse source |
| 91 | of the central correspondence, rather than externally supplied action data. -/ |
| 92 | def centralModuliMap (D : TateComparison.Data.SphericalPELAlbaneseData E K s q) |
| 93 | (hgeometry : D.HasIntegralModelGeometry) |
| 94 | (hIsogenyQuotient : D.RealizesIsogenyQuotient) (hflags : D.HasPolarizedFlagRealizations hIsogenyQuotient) |
| 95 | (t : TateComparison.Local.IntegralType s) (a : Fin s → ℤ) |
| 96 | (ha : ∀ v i, t.val.exponent v i = a v) : D.space ⟶ D.space := by |
| 97 | have := central_correspondence_source_isIso D hgeometry hIsogenyQuotient hflags t a ha |
| 98 | exact Interface.Construction.correspondenceMap (D.correspondence t) |
| 99 | |
| 100 | theorem centralModuliMap_source (D : TateComparison.Data.SphericalPELAlbaneseData E K s q) |
| 101 | (hgeometry : D.HasIntegralModelGeometry) |
| 102 | (hIsogenyQuotient : D.RealizesIsogenyQuotient) (hflags : D.HasPolarizedFlagRealizations hIsogenyQuotient) |
| 103 | (t : TateComparison.Local.IntegralType s) (a : Fin s → ℤ) |
| 104 | (ha : ∀ v i, t.val.exponent v i = a v) : |
| 105 | (D.correspondence t).source ≫ centralModuliMap D hgeometry hIsogenyQuotient hflags t a ha = |
| 106 | (D.correspondence t).target := by |
| 107 | have := central_correspondence_source_isIso D hgeometry hIsogenyQuotient hflags t a ha |
| 108 | exact Interface.Construction.correspondenceMap_source _ |
| 109 | |
| 110 | end |
| 111 | |
| 112 | end OAI.AlgebraicGeometry.AbelianScheme.CentralAction.PEL.Construction |