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.ArithmeticGeometry.Descent.CMVariety.EnhancedCoefficientComparisons |
| 2 | import OAI.ArithmeticGeometry.Descent.CMVariety.EnhancementExtension |
| 3 | |
| 4 | /-! # Enhanced Tuple Extension -/ |
| 5 | |
| 6 | namespace OAI.ArithmeticGeometry.Descent.CMVariety |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Add the actual CM tuple to enhanced polarized full-level data and |
| 11 | preserve the complete object through its arithmetic fiber comparison. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 14 | open scoped _root_.CategoryTheory.MonObj _root_.CategoryTheory.Obj |
| 15 | |
| 16 | variable {g N r m : ℕ} {δ : Fin g → ℕ} {S T : Scheme} |
| 17 | |
| 18 | def ModuliObjects.Abelian.EnhancedAbelianData.withExtraEndomorphisms (A : ModuliObjects.Abelian.EnhancedAbelianData g δ N r S) |
| 19 | (a : AbelianEndomorphism.AbelianEndomorphismTuple (Fin m) A.polarized.abelian) : |
| 20 | ModuliObjects.Abelian.EnhancedAbelianData g δ N (r + m) S where |
| 21 | polarized := A.polarized |
| 22 | endomorphism := Fin.addCases A.endomorphism a.map |
| 23 | endomorphism_group i := by |
| 24 | refine Fin.addCases ?_ ?_ i |
| 25 | · intro j |
| 26 | simpa only [Fin.addCases_left] using A.endomorphism_group j |
| 27 | · intro j |
| 28 | simpa only [Fin.addCases_right] using a.group j |
| 29 | |
| 30 | theorem CoefficientEndomorphismComparison.Abelian.ConjugateEndomorphisms.equivariant |
| 31 | {C : Type*} [Category* C] {X Y : C} (e : X ≅ Y) (a : X ⟶ X) (b : Y ⟶ Y) |
| 32 | (h : CoefficientEndomorphismComparison.Abelian.ConjugateEndomorphisms e a b) : a ≫ e.hom = e.hom ≫ b := by |
| 33 | dsimp only [CoefficientEndomorphismComparison.Abelian.ConjugateEndomorphisms] at h |
| 34 | rw [h] |
| 35 | simp only [Category.assoc, e.inv_hom_id, Category.comp_id] |
| 36 | |
| 37 | def ModuliObjects.Abelian.EnhancedAbelianIso.withExtraEndomorphisms |
| 38 | {A B : ModuliObjects.Abelian.EnhancedAbelianData g δ N r S} (e : ModuliObjects.Abelian.EnhancedAbelianIso A B) |
| 39 | (a : AbelianEndomorphism.AbelianEndomorphismTuple (Fin m) A.polarized.abelian) |
| 40 | (b : AbelianEndomorphism.AbelianEndomorphismTuple (Fin m) B.polarized.abelian) |
| 41 | (h : AbelianEndomorphism.ConjugateAbelianTuples e.polarized.abelian a b) : |
| 42 | ModuliObjects.Abelian.EnhancedAbelianIso (A.withExtraEndomorphisms a) (B.withExtraEndomorphisms b) where |
| 43 | polarized := e.polarized |
| 44 | equivariant i := by |
| 45 | refine Fin.addCases ?_ ?_ i |
| 46 | · intro j |
| 47 | simpa only [ModuliObjects.Abelian.EnhancedAbelianData.withExtraEndomorphisms, Fin.addCases_left] using e.equivariant j |
| 48 | · intro j |
| 49 | simpa only [ModuliObjects.Abelian.EnhancedAbelianData.withExtraEndomorphisms, Fin.addCases_right] using |
| 50 | CoefficientEndomorphismComparison.Abelian.ConjugateEndomorphisms.equivariant e.polarized.abelian (a.map j) (b.map j) (h j) |
| 51 | |
| 52 | def ModuliObjects.Abelian.EnhancedAbelianData.pullbackWithExtraIso |
| 53 | (A : ModuliObjects.Abelian.EnhancedAbelianData g δ N r S) |
| 54 | (a : AbelianEndomorphism.AbelianEndomorphismTuple (Fin m) A.polarized.abelian) (f : T ⟶ S) : |
| 55 | ModuliObjects.Abelian.EnhancedAbelianIso ((A.withExtraEndomorphisms a).pullback f) |
| 56 | ((A.pullback f).withExtraEndomorphisms (a.pullback f)) where |
| 57 | polarized := AlgebraicGeometry.AbelianModuli.HilbertConstruction.Moduli.Isomorphisms.LevelPreservingIso.refl (A.polarized.pullback f) |
| 58 | equivariant i := by |
| 59 | change (Over.pullback f).map (Fin.addCases A.endomorphism a.map i) ≫ 𝟙 _ = |
| 60 | 𝟙 _ ≫ Fin.addCases (fun j => (Over.pullback f).map (A.endomorphism j)) |
| 61 | (fun j => (Over.pullback f).map (a.map j)) i |
| 62 | simp only [Category.comp_id, Category.id_comp] |
| 63 | refine Fin.addCases ?_ ?_ i |
| 64 | · intro j |
| 65 | simp only [Fin.addCases_left] |
| 66 | · intro j |
| 67 | simp only [Fin.addCases_right] |
| 68 | |
| 69 | def EnhancedTupleExtension.Abelian.enhancedFiberIsoWithExtraTuple |
| 70 | (G : ModuliObjects.Abelian.EnhancedAbelianData g δ N r S) (p : T ⟶ S) |
| 71 | (A : ModuliObjects.Abelian.EnhancedAbelianData g δ N r T) (e : ModuliObjects.Abelian.EnhancedAbelianIso (G.pullback p) A) |
| 72 | (a : AbelianEndomorphism.AbelianEndomorphismTuple (Fin m) G.polarized.abelian) |
| 73 | (k : AbelianEndomorphism.AbelianEndomorphismTuple (Fin m) A.polarized.abelian) |
| 74 | (h : AbelianEndomorphism.ConjugateAbelianTuples e.polarized.abelian (a.pullback p) k) : |
| 75 | ModuliObjects.Abelian.EnhancedAbelianIso ((G.withExtraEndomorphisms a).pullback p) (A.withExtraEndomorphisms k) := |
| 76 | (G.pullbackWithExtraIso a p).trans (e.withExtraEndomorphisms (a.pullback p) k h) |
| 77 | |
| 78 | theorem EnhancedTupleExtension.Abelian.enhancedFiberIsoWithExtraTuple_abelian |
| 79 | (G : ModuliObjects.Abelian.EnhancedAbelianData g δ N r S) (p : T ⟶ S) |
| 80 | (A : ModuliObjects.Abelian.EnhancedAbelianData g δ N r T) (e : ModuliObjects.Abelian.EnhancedAbelianIso (G.pullback p) A) |
| 81 | (a : AbelianEndomorphism.AbelianEndomorphismTuple (Fin m) G.polarized.abelian) |
| 82 | (k : AbelianEndomorphism.AbelianEndomorphismTuple (Fin m) A.polarized.abelian) |
| 83 | (h : AbelianEndomorphism.ConjugateAbelianTuples e.polarized.abelian (a.pullback p) k) : |
| 84 | (EnhancedTupleExtension.Abelian.enhancedFiberIsoWithExtraTuple G p A e a k h).polarized.abelian = e.polarized.abelian := by |
| 85 | apply Iso.ext |
| 86 | change 𝟙 _ ≫ e.polarized.abelian.hom = e.polarized.abelian.hom |
| 87 | exact Category.id_comp _ |
| 88 | |
| 89 | end |
| 90 | |
| 91 | end OAI.ArithmeticGeometry.Descent.CMVariety |