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.AlbaneseGeneration |
| 2 | import OAI.AlgebraicGeometry.PELModuli.IntegralModel.ProductGeometry |
| 3 | import OAI.AlgebraicGeometry.AbelianScheme.TateComparison.GeometricExt |
| 4 | import OAI.AlgebraicGeometry.Foundations.Scheme.SmoothProjectiveDecomposition |
| 5 | |
| 6 | /-! # Albanese Ext -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.AbelianScheme.CentralAction.AlbaneseExt |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! Generation detects actual integral endomorphisms of the complete |
| 13 | product Albanese. Smoothness and properness justify geometric extensionality. -/ |
| 14 | |
| 15 | set_option backward.isDefEq.respectTransparency.types false |
| 16 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 17 | open _root_.CategoryTheory.MonoidalCategory |
| 18 | open scoped _root_.CategoryTheory.MonObj _root_.CategoryTheory.Obj |
| 19 | |
| 20 | namespace Construction |
| 21 | open OAI.AlgebraicGeometry.AbelianScheme.TateComparison.GeometricExt |
| 22 | |
| 23 | theorem over_iso_smooth_proper {S : Scheme.{0}} {X Y : Over S} (e : X ≅ Y) |
| 24 | (hY : Smooth Y.hom ∧ IsProper Y.hom) : Smooth X.hom ∧ IsProper X.hom := by |
| 25 | have : IsIso e.hom.left := (Over.forget S).map_isIso e.hom |
| 26 | have : Smooth Y.hom := hY.1 |
| 27 | have : IsProper Y.hom := hY.2 |
| 28 | rw [← e.hom.w] |
| 29 | exact ⟨inferInstance, inferInstance⟩ |
| 30 | |
| 31 | theorem finite_product_smooth_proper {S : Scheme.{0}} (n : ℕ) (X : Fin n → Over S) |
| 32 | (hX : ∀ j, Smooth (X j).hom ∧ IsProper (X j).hom) : |
| 33 | Smooth (∏ᶜ X).hom ∧ IsProper (∏ᶜ X).hom := by |
| 34 | induction n with |
| 35 | | zero => |
| 36 | apply over_iso_smooth_proper (PELModuli.IntegralModel.ProductGeometry.piZeroIso X) |
| 37 | exact ⟨inferInstanceAs (Smooth (𝟙 S)), inferInstanceAs (IsProper (𝟙 S))⟩ |
| 38 | | succ n ih => |
| 39 | obtain ⟨hs, hp⟩ := ih (fun j : Fin n => X j.succ) (fun j => hX j.succ) |
| 40 | have : Smooth (X 0).hom := (hX 0).1 |
| 41 | have : IsProper (X 0).hom := (hX 0).2 |
| 42 | apply over_iso_smooth_proper (PELModuli.IntegralModel.ProductGeometry.piSuccIso X) |
| 43 | change Smooth (pullback.fst (X 0).hom (∏ᶜ fun j : Fin n => X j.succ).hom ≫ (X 0).hom) ∧ |
| 44 | IsProper (pullback.fst (X 0).hom (∏ᶜ fun j : Fin n => X j.succ).hom ≫ (X 0).hom) |
| 45 | exact ⟨inferInstance, inferInstance⟩ |
| 46 | |
| 47 | variable {E K : Type} [Field E] [NumberField E] [NumberField.IsCMField E] |
| 48 | [Field K] [NumberField K] {s q : ℕ} [Fact q.Prime] |
| 49 | |
| 50 | theorem albaneseGroup_smooth_proper |
| 51 | (D : TateComparison.Data.SphericalPELAlbaneseData E K s q) (hgeometry : D.HasIntegralModelGeometry) : |
| 52 | Smooth D.albaneseGroup.X.hom ∧ IsProper D.albaneseGroup.X.hom := by |
| 53 | have hp := finite_product_smooth_proper D.componentCount (fun j => (D.components.A j).X) |
| 54 | (fun j => ⟨(hgeometry.abelianGeometry j).1, (hgeometry.abelianGeometry j).2.1⟩) |
| 55 | obtain ⟨hs, ht⟩ := over_iso_smooth_proper (TateComparison.Products.componentProductComparison D.components.A) hp |
| 56 | exact ⟨inferInstanceAs (Smooth (pullback.snd (TateComparison.Products.componentProduct D.components.A).X.hom D.generic)), |
| 57 | inferInstanceAs (IsProper (pullback.snd (TateComparison.Products.componentProduct D.components.A).X.hom D.generic))⟩ |
| 58 | |
| 59 | theorem endPoint_eq_app (D : TateComparison.Data.SphericalPELAlbaneseData E K s q) (a : D.EndK) |
| 60 | (T : Over (Spec (.of K))) (z : Additive (T ⟶ D.albaneseGroup.X)) : |
| 61 | D.endPoint a z = (a.app (.op T)).hom z := by |
| 62 | apply Additive.toMul.injective |
| 63 | exact (TateComparison.End.endSchemeMap_points D.albaneseGroup.X a T z.toMul).symm |
| 64 | |
| 65 | theorem albanese_end_eq_one_of_differences |
| 66 | (D : TateComparison.Data.SphericalPELAlbaneseData E K s q) (hgeometry : D.HasIntegralModelGeometry) (a : D.EndK) |
| 67 | (ha : ∀ (k : Type) [Field k] [IsAlgClosed k] (b : Spec (.of k) ⟶ Spec (.of K)) |
| 68 | (j : Fin D.componentCount) (x y : Over.mk b ⟶ D.componentGeneric j), |
| 69 | D.endPoint a (D.aPoint hgeometry j x - D.aPoint hgeometry j y) = |
| 70 | D.aPoint hgeometry j x - D.aPoint hgeometry j y) : a = 1 := by |
| 71 | obtain ⟨hs, hp⟩ := albaneseGroup_smooth_proper D hgeometry |
| 72 | have : IsReduced D.albaneseGroup.X.left := Foundations.Scheme.SmoothProjectiveDecomposition.smoothScheme_isReduced D.albaneseGroup.X.hom |
| 73 | apply TateComparison.End.endSchemeMap_injective D.albaneseGroup.X |
| 74 | rw [TateComparison.BaseChange.endSchemeMap_one] |
| 75 | apply TateComparison.GeometricExt.over_hom_ext_geometric |
| 76 | intro k _ _ b x |
| 77 | have hfix : ∀ z, (a.app (.op (Over.mk b))).hom z = z := by |
| 78 | apply AlbaneseGeneration.Construction.albanese_point_end_eq_of_differences D hgeometry b |
| 79 | intro j y z |
| 80 | exact (endPoint_eq_app D a (Over.mk b) |
| 81 | (D.aPoint hgeometry j y - D.aPoint hgeometry j z)).symm.trans (ha k b j y z) |
| 82 | have hx := congrArg Additive.toMul (hfix (Additive.ofMul x)) |
| 83 | rw [TateComparison.End.endSchemeMap_points] at hx |
| 84 | exact hx.trans (Category.comp_id x).symm |
| 85 | |
| 86 | end Construction |
| 87 | |
| 88 | end |
| 89 | |
| 90 | end OAI.AlgebraicGeometry.AbelianScheme.CentralAction.AlbaneseExt |