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.PELUnitIsomorphism |
| 2 | import OAI.AlgebraicGeometry.AbelianScheme.TateComparison.ModuliUniqueness |
| 3 | import OAI.AlgebraicGeometry.AbelianScheme.TateComparison.CentralBranches |
| 4 | import OAI.AlgebraicGeometry.AbelianScheme.TateComparison.AlbaneseTrace |
| 5 | |
| 6 | /-! # Identity Correspondence -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.AbelianScheme.TateComparison |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | section |
| 13 | |
| 14 | /-! The zero cocharacter is the geometric identity correspondence. Its |
| 15 | unique branch has a multiplier-one PEL isogeny, so fine moduli uniqueness |
| 16 | identifies its target with its source. -/ |
| 17 | |
| 18 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 19 | open scoped _root_.CategoryTheory.MonObj |
| 20 | |
| 21 | section |
| 22 | |
| 23 | def Local.IntegralType.identity (s : ℕ) : Local.IntegralType s := |
| 24 | ⟨⟨0, fun _ _ => 0, fun _ _ _ _ => le_rfl⟩, le_rfl, fun _ _ => ⟨le_rfl, le_rfl⟩⟩ |
| 25 | |
| 26 | @[simp] theorem Local.IntegralType.identity_multiplierNat (s : ℕ) : (Local.IntegralType.identity s).multiplierNat = 0 := rfl |
| 27 | @[simp] theorem Local.IntegralType.identity_exponentNat (s : ℕ) (v : Fin s) (i : Fin 3) : |
| 28 | (Local.IntegralType.identity s).exponentNat v i = 0 := rfl |
| 29 | |
| 30 | end |
| 31 | |
| 32 | variable {E K : Type} [Field E] [NumberField E] [NumberField.IsCMField E] |
| 33 | [Field K] [NumberField K] {s q : ℕ} [Fact q.Prime] |
| 34 | (D : Data.SphericalPELAlbaneseData E K s q) (hg : D.IsGoodCompletelySplitPrime) |
| 35 | (hdegree : Module.finrank ℚ E = 2 * s) (hs : 0 < s) |
| 36 | (h : D.HasIntegralModelGeometry) (hIsogenyQuotient : D.RealizesIsogenyQuotient) |
| 37 | |
| 38 | include hg h hIsogenyQuotient in |
| 39 | theorem Data.SphericalPELAlbaneseData.identityBranch_target_eq_source {k : Type} [Field k] [IsAlgClosed k] |
| 40 | (b : Spec (.of k) ⟶ Spec (.of K)) |
| 41 | (c : Over.mk b ⟶ (D.correspondence (Local.IntegralType.identity s)).cover) : |
| 42 | c ≫ (D.correspondence (Local.IntegralType.identity s)).target = |
| 43 | c ≫ (D.correspondence (Local.IntegralType.identity s)).source := by |
| 44 | have := FiberLattices.charZero_of_field_spec_map b |
| 45 | let x := c ≫ (D.correspondence (Local.IntegralType.identity s)).source |
| 46 | let y := c ≫ (D.correspondence (Local.IntegralType.identity s)).target |
| 47 | let f : PELIsogenies.PELIsogeny (D.fiberFamily b x) (D.fiberFamily b y) 1 := (D.c46FiberIsogeny hIsogenyQuotient (Local.IntegralType.identity s) x y c rfl rfl).castMultiplier |
| 48 | (by simp only [Local.IntegralType.identity_multiplierNat, pow_zero]) |
| 49 | let e := f.multiplierOneFamilyIso q D.reference.polarizationType |
| 50 | (D.fiberPolarizationType h b x) (D.fiberPolarizationType h b y) hg.2.2.2.2 |
| 51 | have : IsReduced (Over.mk b).left := inferInstanceAs (IsReduced (Spec (.of k))) |
| 52 | exact (D.genericMap_eq_of_familyIso h x y e).symm |
| 53 | |
| 54 | include hg hdegree hs h hIsogenyQuotient in |
| 55 | theorem Data.SphericalPELAlbaneseData.identityBranchCount {k : Type} [Field k] [IsAlgClosed k] |
| 56 | (b : Spec (.of k) ⟶ Spec (.of K)) (x : D.GeometricPoint b) : |
| 57 | Nat.card ((D.correspondence (Local.IntegralType.identity s)).Fiber x) = 1 := by |
| 58 | rw [D.geometricBranchCount hg hdegree hs h b x hIsogenyQuotient] |
| 59 | simp only [Local.IntegralType.identity_exponentNat, Nat.cast_zero, CentralBranches.rawScalarBlock_card, |
| 60 | Finset.prod_const_one] |
| 61 | |
| 62 | include hg hdegree hs h hIsogenyQuotient in |
| 63 | theorem Data.SphericalPELAlbaneseData.identitySource_isIso : IsIso (D.correspondence (Local.IntegralType.identity s)).source := |
| 64 | (D.correspondence (Local.IntegralType.identity s)).source_isIso_of_fiber_card_one |
| 65 | (fun k _ _ b x => D.identityBranchCount hg hdegree hs h hIsogenyQuotient (k := k) b x) |
| 66 | |
| 67 | include hg hdegree hs h hIsogenyQuotient in |
| 68 | theorem Data.SphericalPELAlbaneseData.identity_targetMap_eq_id : |
| 69 | letI := D.identitySource_isIso hg hdegree hs h hIsogenyQuotient |
| 70 | inv (D.correspondence (Local.IntegralType.identity s)).source ≫ |
| 71 | (D.correspondence (Local.IntegralType.identity s)).target = 𝟙 D.space := by |
| 72 | have := D.identitySource_isIso hg hdegree hs h hIsogenyQuotient |
| 73 | have := D.genericSpace_reduced h |
| 74 | have : IsProper D.model.space.hom := h.proper |
| 75 | have : IsSeparated D.space.hom := inferInstanceAs |
| 76 | (IsSeparated (CategoryTheory.Limits.pullback.snd D.model.space.hom D.generic)) |
| 77 | apply GeometricExt.over_hom_ext_geometric |
| 78 | intro k _ _ b x |
| 79 | have he := D.identityBranch_target_eq_source hg h hIsogenyQuotient b |
| 80 | (x ≫ inv (D.correspondence (Local.IntegralType.identity s)).source) |
| 81 | simpa only [Category.assoc, IsIso.inv_hom_id, Category.comp_id] using he |
| 82 | |
| 83 | include hg hdegree hs h hIsogenyQuotient in |
| 84 | theorem Data.SphericalPELAlbaneseData.identity_neighbors {k : Type} [Field k] [IsAlgClosed k] |
| 85 | (b : Spec (.of k) ⟶ Spec (.of K)) (x : D.GeometricPoint b) : |
| 86 | D.neighbors (Local.IntegralType.identity s) b x = {x} := by |
| 87 | have := D.identitySource_isIso hg hdegree hs h hIsogenyQuotient |
| 88 | rw [Data.SphericalPELAlbaneseData.neighbors, Correspondences.EtaleCorrespondence.neighbors_of_source_iso, |
| 89 | D.identity_targetMap_eq_id hg hdegree hs h hIsogenyQuotient, Category.comp_id] |
| 90 | |
| 91 | end |
| 92 | |
| 93 | /-! The geometric unit has the correctly normalized algebraic trace: |
| 94 | it is the original Albanese map, as an equality over the number field. -/ |
| 95 | |
| 96 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 97 | open scoped _root_.CategoryTheory.MonObj _root_.CategoryTheory.Obj |
| 98 | |
| 99 | variable {E K : Type} [Field E] [NumberField E] [NumberField.IsCMField E] |
| 100 | [Field K] [NumberField K] {s q : ℕ} [Fact q.Prime] |
| 101 | (D : Data.SphericalPELAlbaneseData E K s q) (hg : D.IsGoodCompletelySplitPrime) |
| 102 | (hdegree : Module.finrank ℚ E = 2 * s) (hs : 0 < s) |
| 103 | (h : D.HasIntegralModelGeometry) (hIsogenyQuotient : D.RealizesIsogenyQuotient) |
| 104 | |
| 105 | include hg hdegree hs hIsogenyQuotient in |
| 106 | theorem Data.SphericalPELAlbaneseData.albaneseTrace_identity : D.albaneseTrace h (Local.IntegralType.identity s) = D.albaneseMap h := by |
| 107 | have := D.genericSpace_reduced h |
| 108 | have := D.albaneseGroup_separated h |
| 109 | apply GeometricExt.over_hom_ext_geometric |
| 110 | intro k _ _ b x |
| 111 | rw [D.albaneseTrace_geometric h] |
| 112 | change ((D.neighbors (Local.IntegralType.identity s) b x).map (fun y => y ≫ D.albaneseMap h)).prod = _ |
| 113 | rw [D.identity_neighbors hg hdegree hs h hIsogenyQuotient b x, Multiset.map_singleton, Multiset.prod_singleton] |
| 114 | |
| 115 | end |
| 116 | |
| 117 | end OAI.AlgebraicGeometry.AbelianScheme.TateComparison |