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.IsogenyQuotientFibers |
| 2 | |
| 3 | /-! # Flag Composites -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.AbelianScheme.TateComparison |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Actual marked polarized isogenies along geometric flags and their |
| 10 | composites, with the stated cumulative multipliers and chosen kernels. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 13 | open scoped _root_.CategoryTheory.MonObj _root_.CategoryTheory.Obj |
| 14 | |
| 15 | universe u |
| 16 | |
| 17 | section |
| 18 | |
| 19 | def PELModuli.PELFamilyIso.ofEq {R : Type u} [CommRing R] {g N : ℕ} {S : Scheme.{u}} |
| 20 | {A B : PEL.PELFamilyData R g N S} (h : A = B) : PELModuli.PELFamilyIso A B := h ▸ PELModuli.PELFamilyIso.refl A |
| 21 | |
| 22 | theorem PELModuli.PELFamilyIso.ofEq_abelian_hom {R : Type u} [CommRing R] {g N : ℕ} {S : Scheme.{u}} |
| 23 | {A B : PEL.PELFamilyData R g N S} (h : A = B) : |
| 24 | (PELModuli.PELFamilyIso.ofEq h).abelian.hom = eqToHom (congrArg (fun C => C.abelian.scheme) h) := by |
| 25 | subst B |
| 26 | rfl |
| 27 | |
| 28 | end |
| 29 | |
| 30 | variable {s : ℕ} |
| 31 | |
| 32 | theorem FlagComposites.cumulativeMultiplier_nonneg (ts : List (Local.IntegralType s)) |
| 33 | (j : Fin (ts.length + 1)) : 0 ≤ Local.cumulativeMultiplier ts j := by |
| 34 | apply List.sum_nonneg |
| 35 | intro z hz |
| 36 | obtain ⟨t, _, rfl⟩ := List.mem_map.mp hz |
| 37 | exact t.property.1 |
| 38 | |
| 39 | theorem FlagComposites.cumulativeMultiplier_succ (ts : List (Local.IntegralType s)) (j : Fin ts.length) : |
| 40 | Local.cumulativeMultiplier ts j.succ = Local.cumulativeMultiplier ts j.castSucc + |
| 41 | (ts.get j).val.multiplier := by |
| 42 | simp only [Local.cumulativeMultiplier, Fin.val_succ, Fin.val_castSucc, |
| 43 | List.take_succ_eq_append_getElem j.isLt, List.map_append, List.map_singleton, |
| 44 | List.sum_append, List.sum_singleton, List.get_eq_getElem] |
| 45 | |
| 46 | variable {E K : Type} [Field E] [NumberField E] [NumberField.IsCMField E] |
| 47 | [Field K] [NumberField K] {q : ℕ} [Fact q.Prime] |
| 48 | (D : Data.SphericalPELAlbaneseData E K s q) |
| 49 | {k : Type} [Field k] {b : Spec (.of k) ⟶ Spec (.of K)} |
| 50 | {x : D.GeometricPoint b} {ts : List (Local.IntegralType s)} |
| 51 | |
| 52 | theorem Data.SphericalPELAlbaneseData.flagMultiplier_zero (ts : List (Local.IntegralType s)) : Data.SphericalPELAlbaneseData.flagMultiplier ts 0 = 0 := by |
| 53 | simp [Data.SphericalPELAlbaneseData.flagMultiplier, Local.cumulativeMultiplier] |
| 54 | |
| 55 | theorem Data.SphericalPELAlbaneseData.flagMultiplier_succ (ts : List (Local.IntegralType s)) (j : Fin ts.length) : |
| 56 | Data.SphericalPELAlbaneseData.flagMultiplier ts j.succ = Data.SphericalPELAlbaneseData.flagMultiplier ts j.castSucc + (ts.get j).multiplierNat := by |
| 57 | rw [Data.SphericalPELAlbaneseData.flagMultiplier, FlagComposites.cumulativeMultiplier_succ, |
| 58 | Int.toNat_add (FlagComposites.cumulativeMultiplier_nonneg ts j.castSucc) (ts.get j).property.1] |
| 59 | rfl |
| 60 | |
| 61 | def Data.SphericalPELAlbaneseData.c46FlagSteps (h : D.RealizesIsogenyQuotient) (F : D.PELFlag b x ts) : D.StepSystem F := |
| 62 | fun j => D.c46FiberIsogeny h (ts.get j) (F.point j.castSucc) (F.point j.succ) |
| 63 | (F.branch j) (F.source j) (F.target j) |
| 64 | |
| 65 | def Data.SphericalPELAlbaneseData.initialFlagIsogeny (F : D.PELFlag b x ts) : |
| 66 | PELIsogenies.PELIsogeny (D.fiberFamily b x) (D.fiberFamily b (F.point 0)) (q ^ Data.SphericalPELAlbaneseData.flagMultiplier ts 0) := |
| 67 | (PELModuli.PELFamilyIso.ofEq (congrArg (D.fiberFamily b) F.start.symm)).toIsogeny.castMultiplier |
| 68 | (by rw [Data.SphericalPELAlbaneseData.flagMultiplier_zero, pow_zero]) |
| 69 | |
| 70 | theorem Data.SphericalPELAlbaneseData.initialFlagIsogeny_hom (F : D.PELFlag b x ts) : |
| 71 | (D.initialFlagIsogeny F).isogeny.hom = |
| 72 | eqToHom (congrArg (fun y => (D.fiberFamily b y).abelian.scheme) F.start.symm) := by |
| 73 | rw [Data.SphericalPELAlbaneseData.initialFlagIsogeny, PELIsogenies.PELIsogeny.castMultiplier_hom] |
| 74 | exact PELModuli.PELFamilyIso.ofEq_abelian_hom _ |
| 75 | |
| 76 | def Data.SphericalPELAlbaneseData.compositeFromSteps (F : D.PELFlag b x ts) (f : D.StepSystem F) : D.CompositeSystem F := |
| 77 | Fin.induction (D.initialFlagIsogeny F) fun j p => |
| 78 | (p.comp (f j)).castMultiplier (by rw [Data.SphericalPELAlbaneseData.flagMultiplier_succ, pow_add]) |
| 79 | |
| 80 | theorem Data.SphericalPELAlbaneseData.compositeFromSteps_zero (F : D.PELFlag b x ts) (f : D.StepSystem F) : |
| 81 | D.compositeFromSteps F f 0 = D.initialFlagIsogeny F := rfl |
| 82 | |
| 83 | theorem Data.SphericalPELAlbaneseData.compositeFromSteps_succ_hom (F : D.PELFlag b x ts) (f : D.StepSystem F) |
| 84 | (j : Fin ts.length) : |
| 85 | (D.compositeFromSteps F f j.succ).isogeny.hom = |
| 86 | (D.compositeFromSteps F f j.castSucc).isogeny.hom ≫ (f j).isogeny.hom := by |
| 87 | change ((D.compositeFromSteps F f j.castSucc).comp (f j) |>.castMultiplier _).isogeny.hom = _ |
| 88 | rw [PELIsogenies.PELIsogeny.castMultiplier_hom] |
| 89 | rfl |
| 90 | |
| 91 | theorem Data.SphericalPELAlbaneseData.compositeFromSteps_succ_dualHom (F : D.PELFlag b x ts) (f : D.StepSystem F) |
| 92 | (j : Fin ts.length) : |
| 93 | (D.compositeFromSteps F f j.succ).dualHom = |
| 94 | (f j).dualHom ≫ (D.compositeFromSteps F f j.castSucc).dualHom := by |
| 95 | change ((D.compositeFromSteps F f j.castSucc).comp (f j) |>.castMultiplier _).dualHom = _ |
| 96 | rw [PELIsogenies.PELIsogeny.castMultiplier_dualHom] |
| 97 | rfl |
| 98 | |
| 99 | def Data.SphericalPELAlbaneseData.c46FlagComposites (h : D.RealizesIsogenyQuotient) (F : D.PELFlag b x ts) : D.CompositeSystem F := |
| 100 | D.compositeFromSteps F (D.c46FlagSteps h F) |
| 101 | |
| 102 | theorem Data.SphericalPELAlbaneseData.c46FlagComposites_isCompositeSystem (h : D.RealizesIsogenyQuotient) (F : D.PELFlag b x ts) : |
| 103 | D.IsCompositeSystem h F (D.c46FlagComposites h F) (D.c46FlagSteps h F) := by |
| 104 | refine ⟨D.initialFlagIsogeny_hom F, fun j => ?_⟩ |
| 105 | refine ⟨D.compositeFromSteps_succ_hom F _ j, D.compositeFromSteps_succ_dualHom F _ j, ?_⟩ |
| 106 | intro v |
| 107 | exact D.c46FiberIsogeny_kernel h (ts.get j) _ _ (F.branch j) (F.source j) (F.target j) v |
| 108 | |
| 109 | end |
| 110 | |
| 111 | end OAI.AlgebraicGeometry.AbelianScheme.TateComparison |