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.HodgeConjecture.HeckeCycles.Ordinary.Detection |
| 2 | import OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.AbelianDimension |
| 3 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Level.BaseChange |
| 4 | import OAI.AlgebraicGeometry.PELModuli.IntegralModel.Components |
| 5 | |
| 6 | /-! # Fiber Generation -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.FiberGeneration.CM |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! IntegralModel's finite-word generation transfers to the actual geometric |
| 13 | fiber, using the pullback adjunction and the genuine group law. -/ |
| 14 | |
| 15 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 16 | open scoped _root_.CategoryTheory.MonObj |
| 17 | open OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Geometric.PointExt.CM |
| 18 | |
| 19 | variable {S : Scheme} {k : Type} [Field k] |
| 20 | |
| 21 | def mappedPointIso (b : Spec (.of k) ⟶ S) : |
| 22 | (Over.map b).obj (Geometric.PointExt.CM.pointBase k) ≅ Over.mk b := |
| 23 | Over.isoMk (Iso.refl _) (by simp [Geometric.PointExt.CM.pointBase]) |
| 24 | |
| 25 | def testPointEquiv {T U X : Over S} (e : T ≅ U) : (T ⟶ X) ≃ (U ⟶ X) where |
| 26 | toFun p := e.inv ≫ p |
| 27 | invFun p := e.hom ≫ p |
| 28 | left_inv p := by simp |
| 29 | right_inv p := by simp |
| 30 | |
| 31 | def testPointMulEquiv {T U G : Over S} [GrpObj G] (e : T ≅ U) : |
| 32 | (T ⟶ G) ≃* (U ⟶ G) where |
| 33 | toEquiv := testPointEquiv e |
| 34 | map_mul' p q := MonObj.comp_mul e.inv p q |
| 35 | |
| 36 | def fiberPointsEquiv (X : Over S) (b : Spec (.of k) ⟶ S) : |
| 37 | (Geometric.PointExt.CM.pointBase k ⟶ (Over.pullback b).obj X) ≃ (Over.mk b ⟶ X) := |
| 38 | (((Over.mapPullbackAdj b).homEquiv (Geometric.PointExt.CM.pointBase k) X).symm).trans |
| 39 | (testPointEquiv (mappedPointIso b)) |
| 40 | |
| 41 | theorem fiberPointsEquiv_map {X Y : Over S} (a : X ⟶ Y) |
| 42 | (b : Spec (.of k) ⟶ S) (x : Geometric.PointExt.CM.pointBase k ⟶ (Over.pullback b).obj X) : |
| 43 | fiberPointsEquiv Y b (x ≫ (Over.pullback b).map a) = |
| 44 | fiberPointsEquiv X b x ≫ a := by |
| 45 | apply Over.OverMorphism.ext |
| 46 | change (𝟙 _ ≫ ((x.left ≫ ((Over.pullback b).map a).left) ≫ |
| 47 | CategoryTheory.Limits.pullback.fst Y.hom b)) = |
| 48 | (𝟙 _ ≫ (x.left ≫ CategoryTheory.Limits.pullback.fst X.hom b)) ≫ a.left |
| 49 | simp only [Category.id_comp, Category.assoc, Over.pullback_map_left, |
| 50 | CategoryTheory.Limits.pullback.lift_fst] |
| 51 | |
| 52 | def fiberPointsMulEquiv {g : ℕ} (A : AbelianModuli.HilbertConstruction.Abelian.Schemes.AbelianScheme g S) |
| 53 | (b : Spec (.of k) ⟶ S) : |
| 54 | (Geometric.PointExt.CM.pointBase k ⟶ (A.pullback b).scheme) ≃* (Over.mk b ⟶ A.scheme) := |
| 55 | (A.baseChangePointsMulEquiv b (Geometric.PointExt.CM.pointBase k)).trans |
| 56 | (testPointMulEquiv (mappedPointIso b)) |
| 57 | |
| 58 | def abelianFiberMap {g : ℕ} (A : AbelianModuli.HilbertConstruction.Abelian.Schemes.AbelianScheme g S) |
| 59 | {X : Over S} (a : X ⟶ A.scheme) (b : Spec (.of k) ⟶ S) : |
| 60 | (Over.pullback b).obj X ⟶ (A.pullback b).scheme := |
| 61 | (Over.pullback b).map a |
| 62 | |
| 63 | theorem generation_on_fiber {g : ℕ} (A : AbelianModuli.HilbertConstruction.Abelian.Schemes.AbelianScheme g S) |
| 64 | (X : Over S) (a : X ⟶ A.scheme) (b : Spec (.of k) ⟶ S) (n : ℕ) |
| 65 | (h : Function.Surjective (fun z : Fin n → (Over.mk b ⟶ X) × (Over.mk b ⟶ X) => |
| 66 | ∑ i, (Additive.ofMul ((z i).1 ≫ a) - Additive.ofMul ((z i).2 ≫ a)))) : |
| 67 | Function.Surjective (fun z : Fin n → |
| 68 | (Geometric.PointExt.CM.pointBase k ⟶ (Over.pullback b).obj X) × (Geometric.PointExt.CM.pointBase k ⟶ (Over.pullback b).obj X) => |
| 69 | ∑ i, (Additive.ofMul ((z i).1 ≫ abelianFiberMap A a b) - |
| 70 | Additive.ofMul ((z i).2 ≫ abelianFiberMap A a b))) := by |
| 71 | let e := (fiberPointsMulEquiv A b).toAdditive |
| 72 | intro x |
| 73 | obtain ⟨z, hz⟩ := h (e x) |
| 74 | refine ⟨fun i => ((fiberPointsEquiv X b).symm (z i).1, |
| 75 | (fiberPointsEquiv X b).symm (z i).2), ?_⟩ |
| 76 | apply e.injective |
| 77 | dsimp only |
| 78 | rw [map_sum] |
| 79 | calc |
| 80 | _ = ∑ i, (Additive.ofMul ((z i).1 ≫ a) - Additive.ofMul ((z i).2 ≫ a)) := by |
| 81 | apply Finset.sum_congr rfl |
| 82 | intro i _ |
| 83 | rw [map_sub] |
| 84 | congr 1 <;> apply Additive.toMul.injective |
| 85 | · exact (fiberPointsEquiv_map a b _).trans |
| 86 | (congrArg (· ≫ a) ((fiberPointsEquiv X b).apply_symm_apply (z i).1)) |
| 87 | · exact (fiberPointsEquiv_map a b _).trans |
| 88 | (congrArg (· ≫ a) ((fiberPointsEquiv X b).apply_symm_apply (z i).2)) |
| 89 | _ = e x := hz |
| 90 | |
| 91 | theorem component_generation_on_fiber [PreconnectedSpace S] |
| 92 | {T : Over S} {r : ℕ} (D : PELModuli.IntegralModel.Components.ComponentAlbaneseData T r) |
| 93 | (j : Fin r) [Smooth (D.A j).X.hom] [IsProper (D.A j).X.hom] |
| 94 | [GeometricallyConnected (D.A j).X.hom] |
| 95 | (t : PELModuli.IntegralModel.Base.GeometricPoint S) (n : ℕ) |
| 96 | (h : Function.Surjective (D.sumOfDifferences j n t)) : |
| 97 | letI : GrpObj ((Over.pullback t.morphism).obj (D.A j).X) := |
| 98 | ((Over.pullback t.morphism).mapCommGrp.obj (D.A j)).grp |
| 99 | letI : IsCommMonObj ((Over.pullback t.morphism).obj (D.A j).X) := |
| 100 | ((Over.pullback t.morphism).mapCommGrp.obj (D.A j)).comm |
| 101 | Function.Surjective (fun z : Fin n → |
| 102 | (Geometric.PointExt.CM.pointBase t.field ⟶ (Over.pullback t.morphism).obj (D.S j)) × |
| 103 | (Geometric.PointExt.CM.pointBase t.field ⟶ (Over.pullback t.morphism).obj (D.S j)) => |
| 104 | ∑ i, (Additive.ofMul ((z i).1 ≫ (Over.pullback t.morphism).map (D.a j)) - |
| 105 | Additive.ofMul ((z i).2 ≫ (Over.pullback t.morphism).map (D.a j)))) := by |
| 106 | let s : S := t.morphism (IsLocalRing.closedPoint t.field) |
| 107 | let A := AbelianDimension.CM.abelianScheme (D.A j).X s |
| 108 | exact generation_on_fiber A (D.S j) (D.a j) t.morphism n h |
| 109 | |
| 110 | end |
| 111 | |
| 112 | end OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.FiberGeneration.CM |