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.PELModuli.IntegralModel.Base |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Abelian.Schemes |
| 3 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Projective.ProjectivePresentations |
| 4 | import Mathlib.CategoryTheory.Monoidal.CommGrp_ |
| 5 | import Mathlib.CategoryTheory.Limits.Preserves.Shapes.Products |
| 6 | import Mathlib.AlgebraicGeometry.Limits |
| 7 | |
| 8 | /-! # Components -/ |
| 9 | |
| 10 | namespace OAI.AlgebraicGeometry.PELModuli.IntegralModel.Components |
| 11 | |
| 12 | noncomputable section |
| 13 | |
| 14 | /-! |
| 15 | Component maps and their product are actual morphisms of schemes over the |
| 16 | arithmetic base. No H¹ comparison, model existence, component decomposition, |
| 17 | or generation property is stored as a field. The total map is constructed |
| 18 | from a supplied disjoint-union isomorphism, as in the conclusion of IntegralModel. |
| 19 | -/ |
| 20 | |
| 21 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 22 | open _root_.CategoryTheory.MonoidalCategory _root_.CategoryTheory.MonObj |
| 23 | |
| 24 | def RelativelyProjective {B : Scheme} (X : Over B) : Prop := |
| 25 | Nonempty (AbelianModuli.HilbertConstruction.Projective.ProjectivePresentations.ProjectivePresentation X) |
| 26 | |
| 27 | /-- Forgetting the chosen relative dimension retains the actual group scheme. -/ |
| 28 | def commutativeGroupOfAbelianScheme {B : Scheme} {g : ℕ} |
| 29 | (A : AbelianModuli.HilbertConstruction.Abelian.Schemes.AbelianScheme g B) : CommGrp (Over B) where |
| 30 | X := A.scheme |
| 31 | |
| 32 | /-- Componentwise schemes, commutative group schemes, sections, and maps. |
| 33 | All smoothness, properness, projectivity, and Albanese claims are conclusions. -/ |
| 34 | structure ComponentAlbaneseData {B : Scheme} (T : Over B) (r : ℕ) where |
| 35 | S : Fin r → Over B |
| 36 | A : Fin r → CommGrp (Over B) |
| 37 | x₀ : ∀ j, 𝟙_ (Over B) ⟶ S j |
| 38 | a : ∀ j, S j ⟶ (A j).X |
| 39 | |
| 40 | namespace ComponentAlbaneseData |
| 41 | |
| 42 | variable {B : Scheme} {T : Over B} {r : ℕ} (D : ComponentAlbaneseData T r) |
| 43 | |
| 44 | abbrev product : Over B := ∏ᶜ fun j => (D.A j).X |
| 45 | |
| 46 | /-- The i-th source component maps to the j-th factor by aᵢ if i=j, |
| 47 | and by the group identity otherwise. -/ |
| 48 | def coordinateMap (i j : Fin r) : D.S i ⟶ (D.A j).X := |
| 49 | if h : i = j then D.a i ≫ eqToHom (congrArg (fun k => (D.A k).X) h) else 1 |
| 50 | |
| 51 | @[simp] theorem coordinateMap_self (j : Fin r) : D.coordinateMap j j = D.a j := by |
| 52 | simp [ComponentAlbaneseData.coordinateMap] |
| 53 | |
| 54 | theorem coordinateMap_ne (i j : Fin r) (h : i ≠ j) : D.coordinateMap i j = 1 := by |
| 55 | simp [ComponentAlbaneseData.coordinateMap, h] |
| 56 | |
| 57 | def componentProductMap (i : Fin r) : D.S i ⟶ D.product := |
| 58 | Pi.lift (D.coordinateMap i) |
| 59 | |
| 60 | /-- The total map is assembled from the component maps and the decomposition. -/ |
| 61 | def totalMap (e : (∐ D.S) ≅ T) : T ⟶ D.product := |
| 62 | e.inv ≫ Sigma.desc D.componentProductMap |
| 63 | |
| 64 | theorem totalMap_coordinate (e : (∐ D.S) ≅ T) (i j : Fin r) : |
| 65 | Sigma.ι D.S i ≫ e.hom ≫ D.totalMap e ≫ Pi.π (fun k => (D.A k).X) j = |
| 66 | D.coordinateMap i j := by |
| 67 | simp [ComponentAlbaneseData.totalMap, ComponentAlbaneseData.componentProductMap] |
| 68 | |
| 69 | theorem totalMap_self (e : (∐ D.S) ≅ T) (j : Fin r) : |
| 70 | Sigma.ι D.S j ≫ e.hom ≫ D.totalMap e ≫ Pi.π (fun k => (D.A k).X) j = D.a j := by |
| 71 | rw [D.totalMap_coordinate, D.coordinateMap_self] |
| 72 | |
| 73 | /-- Genuine geometric-fiber points, written as morphisms over the base. -/ |
| 74 | abbrev surfacePoints (j : Fin r) (t : Base.GeometricPoint B) := |
| 75 | Over.mk t.morphism ⟶ D.S j |
| 76 | |
| 77 | abbrev abelianPoints (j : Fin r) (t : Base.GeometricPoint B) := |
| 78 | Additive (Over.mk t.morphism ⟶ (D.A j).X) |
| 79 | |
| 80 | def mapOnPoints (j : Fin r) (t : Base.GeometricPoint B) : |
| 81 | D.surfacePoints j t → D.abelianPoints j t := |
| 82 | fun x => Additive.ofMul (x ≫ D.a j) |
| 83 | |
| 84 | def sumOfDifferences (j : Fin r) (n : ℕ) (t : Base.GeometricPoint B) |
| 85 | (z : Fin n → D.surfacePoints j t × D.surfacePoints j t) : |
| 86 | D.abelianPoints j t := |
| 87 | ∑ i, (D.mapOnPoints j t (z i).1 - D.mapOnPoints j t (z i).2) |
| 88 | |
| 89 | abbrev complexSurface (c : Foundations.Scheme.ProjectiveSpace.complexBase ⟶ B) (j : Fin r) : |
| 90 | Over Foundations.Scheme.ProjectiveSpace.complexBase := (Over.pullback c).obj (D.S j) |
| 91 | |
| 92 | abbrev complexAbelian (c : Foundations.Scheme.ProjectiveSpace.complexBase ⟶ B) (j : Fin r) : |
| 93 | CommGrp (Over Foundations.Scheme.ProjectiveSpace.complexBase) where |
| 94 | X := (Over.pullback c).obj (D.A j).X |
| 95 | grp := ((Over.pullback c).mapCommGrp.obj (D.A j)).grp |
| 96 | comm := ((Over.pullback c).mapCommGrp.obj (D.A j)).comm |
| 97 | |
| 98 | /-- The transparent wrapper retains exactly the canonical mapped group scheme. -/ |
| 99 | theorem complexAbelian_eq_mapCommGrp (c : Foundations.Scheme.ProjectiveSpace.complexBase ⟶ B) (j : Fin r) : |
| 100 | D.complexAbelian c j = (Over.pullback c).mapCommGrp.obj (D.A j) := rfl |
| 101 | |
| 102 | /-- The base point is the pullback of the actual arithmetic section. -/ |
| 103 | def complexBasePoint (c : Foundations.Scheme.ProjectiveSpace.complexBase ⟶ B) (j : Fin r) : |
| 104 | 𝟙_ (Over Foundations.Scheme.ProjectiveSpace.complexBase) ⟶ D.complexSurface c j := |
| 105 | (Functor.Monoidal.εIso (Over.pullback c)).hom ≫ (Over.pullback c).map (D.x₀ j) |
| 106 | |
| 107 | /-- The component maps on complex fibers are defined by base change. -/ |
| 108 | def complexMap (c : Foundations.Scheme.ProjectiveSpace.complexBase ⟶ B) (j : Fin r) := |
| 109 | (Over.pullback c).map (D.a j) |
| 110 | |
| 111 | def totalComplexMap (c : Foundations.Scheme.ProjectiveSpace.complexBase ⟶ B) (e : (∐ D.S) ≅ T) := |
| 112 | (Over.pullback c).map (D.totalMap e) |
| 113 | |
| 114 | /-- Base change preserves the actual product, with its canonical comparison. -/ |
| 115 | def complexProductComparison (c : Foundations.Scheme.ProjectiveSpace.complexBase ⟶ B) : |
| 116 | (Over.pullback c).obj D.product ≅ |
| 117 | ∏ᶜ fun j => (D.complexAbelian c j).X := |
| 118 | PreservesProduct.iso (Over.pullback c) (fun j => (D.A j).X) |
| 119 | |
| 120 | /-- The ordinary Albanese universal property on the constructed complex fiber. -/ |
| 121 | def IsComplexAlbanese (c : Foundations.Scheme.ProjectiveSpace.complexBase ⟶ B) (j : Fin r) : Prop := |
| 122 | letI : GrpObj ((Over.pullback c).obj (D.A j).X) := |
| 123 | (D.complexAbelian c j).grp |
| 124 | D.complexBasePoint c j ≫ D.complexMap c j = 1 ∧ |
| 125 | ∀ (A : ComplexMultiplication.CMAbelianVariety.CM.AbelianVariety) |
| 126 | (f : D.complexSurface c j ⟶ A.toOver), |
| 127 | D.complexBasePoint c j ≫ f = 1 → |
| 128 | ∃! φ : (D.complexAbelian c j).X ⟶ A.toOver, |
| 129 | IsMonHom φ ∧ D.complexMap c j ≫ φ = f |
| 130 | |
| 131 | /-- Compatibility of the total complex map is proved, not part of the data. -/ |
| 132 | theorem totalComplexMap_self (c : Foundations.Scheme.ProjectiveSpace.complexBase ⟶ B) |
| 133 | (e : (∐ D.S) ≅ T) (j : Fin r) : |
| 134 | (Over.pullback c).map (Sigma.ι D.S j ≫ e.hom) ≫ |
| 135 | D.totalComplexMap c e ≫ |
| 136 | (Over.pullback c).map (Pi.π (fun k => (D.A k).X) j) = D.complexMap c j := by |
| 137 | simp only [ComponentAlbaneseData.totalComplexMap, ComponentAlbaneseData.complexMap, ← Functor.map_comp] |
| 138 | congr 1 |
| 139 | simpa only [Category.assoc] using D.totalMap_self e j |
| 140 | |
| 141 | end ComponentAlbaneseData |
| 142 | |
| 143 | end |
| 144 | |
| 145 | end OAI.AlgebraicGeometry.PELModuli.IntegralModel.Components |