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.FlagRecursion |
| 2 | import OAI.AlgebraicGeometry.AbelianScheme.TateComparison.FlagComposites |
| 3 | |
| 4 | /-! # Flag Tail Composites -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianScheme.TateComparison |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Removing the first branch factors every actual cumulative flag |
| 11 | isogeny through that branch, including the canonical equality transports |
| 12 | at the initial points. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 15 | open scoped _root_.CategoryTheory.MonObj |
| 16 | |
| 17 | variable {E K : Type} [Field E] [NumberField E] [NumberField.IsCMField E] |
| 18 | [Field K] [NumberField K] {s q : ℕ} [Fact q.Prime] |
| 19 | (D : Data.SphericalPELAlbaneseData E K s q) (h : D.RealizesIsogenyQuotient) |
| 20 | {k : Type} [Field k] {b : Spec (.of k) ⟶ Spec (.of K)} |
| 21 | |
| 22 | theorem Data.SphericalPELAlbaneseData.c46FiberIsogeny_relabel_hom (t : Local.IntegralType s) |
| 23 | (x y x' y' : D.GeometricPoint b) (c : Over.mk b ⟶ (D.correspondence t).cover) |
| 24 | (hs : c ≫ (D.correspondence t).source = x) (ht : c ≫ (D.correspondence t).target = y) |
| 25 | (hs' : c ≫ (D.correspondence t).source = x') (ht' : c ≫ (D.correspondence t).target = y') |
| 26 | (hx : x = x') (hy : y = y') : |
| 27 | eqToHom (congrArg (fun z => (D.fiberFamily b z).abelian.scheme) hx) ≫ |
| 28 | (D.c46FiberIsogeny h t x' y' c hs' ht').isogeny.hom = |
| 29 | (D.c46FiberIsogeny h t x y c hs ht).isogeny.hom ≫ |
| 30 | eqToHom (congrArg (fun z => (D.fiberFamily b z).abelian.scheme) hy) := by |
| 31 | cases hx |
| 32 | cases hy |
| 33 | exact (Category.id_comp (D.c46FiberIsogeny h t x y c hs ht).isogeny.hom).trans |
| 34 | (Category.comp_id (D.c46FiberIsogeny h t x y c hs ht).isogeny.hom).symm |
| 35 | |
| 36 | variable {x : D.GeometricPoint b} {t : Local.IntegralType s} {ts : List (Local.IntegralType s)} |
| 37 | |
| 38 | theorem Data.SphericalPELAlbaneseData.c46FlagComposites_first_hom (F : D.PELFlag b x (t :: ts)) : |
| 39 | (D.c46FlagComposites h F (Fin.succ 0)).isogeny.hom = |
| 40 | (D.c46FiberIsogeny h t x ((Data.SphericalPELAlbaneseData.PELFlag.first F).val ≫ (D.correspondence t).target) |
| 41 | (Data.SphericalPELAlbaneseData.PELFlag.first F).val (Data.SphericalPELAlbaneseData.PELFlag.first F).property rfl).isogeny.hom ≫ |
| 42 | (D.c46FlagComposites h (Data.SphericalPELAlbaneseData.PELFlag.tail F) 0).isogeny.hom := by |
| 43 | change (D.compositeFromSteps F (D.c46FlagSteps h F) (Fin.succ 0)).isogeny.hom = _ |
| 44 | rw [D.compositeFromSteps_succ_hom] |
| 45 | change (D.initialFlagIsogeny F).isogeny.hom ≫ (D.c46FlagSteps h F 0).isogeny.hom = |
| 46 | _ ≫ (D.initialFlagIsogeny (Data.SphericalPELAlbaneseData.PELFlag.tail F)).isogeny.hom |
| 47 | rw [D.initialFlagIsogeny_hom, D.initialFlagIsogeny_hom] |
| 48 | exact D.c46FiberIsogeny_relabel_hom h t x |
| 49 | ((Data.SphericalPELAlbaneseData.PELFlag.first F).val ≫ (D.correspondence t).target) (F.point 0) (F.point (Fin.succ 0)) |
| 50 | (F.branch 0) (Data.SphericalPELAlbaneseData.PELFlag.first F).property rfl (F.source 0) (F.target 0) |
| 51 | F.start.symm (F.target 0) |
| 52 | |
| 53 | theorem Data.SphericalPELAlbaneseData.c46FlagComposites_tail_hom (F : D.PELFlag b x (t :: ts)) (j : Fin (ts.length + 1)) : |
| 54 | (D.c46FlagComposites h F j.succ).isogeny.hom = |
| 55 | (D.c46FiberIsogeny h t x ((Data.SphericalPELAlbaneseData.PELFlag.first F).val ≫ (D.correspondence t).target) |
| 56 | (Data.SphericalPELAlbaneseData.PELFlag.first F).val (Data.SphericalPELAlbaneseData.PELFlag.first F).property rfl).isogeny.hom ≫ |
| 57 | (D.c46FlagComposites h (Data.SphericalPELAlbaneseData.PELFlag.tail F) j).isogeny.hom := by |
| 58 | induction j using Fin.induction with |
| 59 | | zero => exact D.c46FlagComposites_first_hom h F |
| 60 | | succ i ih => |
| 61 | change (D.compositeFromSteps F (D.c46FlagSteps h F) i.succ.succ).isogeny.hom = |
| 62 | _ ≫ (D.compositeFromSteps (Data.SphericalPELAlbaneseData.PELFlag.tail F) (D.c46FlagSteps h (Data.SphericalPELAlbaneseData.PELFlag.tail F)) i.succ).isogeny.hom |
| 63 | rw [D.compositeFromSteps_succ_hom, D.compositeFromSteps_succ_hom] |
| 64 | change (D.c46FlagComposites h F i.castSucc.succ).isogeny.hom ≫ |
| 65 | (D.c46FlagSteps h F i.succ).isogeny.hom = _ |
| 66 | rw [ih] |
| 67 | exact Category.assoc |
| 68 | (D.c46FiberIsogeny h t x ((Data.SphericalPELAlbaneseData.PELFlag.first F).val ≫ (D.correspondence t).target) |
| 69 | (Data.SphericalPELAlbaneseData.PELFlag.first F).val (Data.SphericalPELAlbaneseData.PELFlag.first F).property rfl).isogeny.hom |
| 70 | (D.c46FlagComposites h (Data.SphericalPELAlbaneseData.PELFlag.tail F) i.castSucc).isogeny.hom |
| 71 | (D.c46FlagSteps h (Data.SphericalPELAlbaneseData.PELFlag.tail F) i).isogeny.hom |
| 72 | |
| 73 | end |
| 74 | |
| 75 | end OAI.AlgebraicGeometry.AbelianScheme.TateComparison |