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.PointEvaluationCM |
| 2 | |
| 3 | /-! # Detection -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Ordinary.Detection.CM |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Dense ordinary points detect the vanishing of Albanese differences. |
| 10 | All points below are morphisms from the actual algebraically closed |
| 11 | residue field, and all endomorphisms are algebraic group endomorphisms. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 14 | open scoped _root_.CategoryTheory.MonObj |
| 15 | open OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Geometric.PointExt.CM |
| 16 | open OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.PointEvaluationCM.CM |
| 17 | |
| 18 | variable {k : Type} [Field k] [IsAlgClosed k] |
| 19 | |
| 20 | def structurePointMap (X : Over (Spec (.of k))) : X ⟶ Geometric.PointExt.CM.pointBase k := |
| 21 | Over.homMk X.hom (Category.comp_id _) |
| 22 | |
| 23 | omit [IsAlgClosed k] in |
| 24 | @[simp] theorem point_structurePointMap {X : Over (Spec (.of k))} |
| 25 | (p : Geometric.PointExt.CM.pointBase k ⟶ X) : p ≫ structurePointMap X = 𝟙 _ := by |
| 26 | apply Over.OverMorphism.ext |
| 27 | exact p.w |
| 28 | |
| 29 | theorem exists_point_in_dense_open |
| 30 | {X : Over (Spec (.of k))} [LocallyOfFiniteType X.hom] |
| 31 | (U : X.left.Opens) (hU : Dense (U : Set X.left)) |
| 32 | (p : Geometric.PointExt.CM.pointBase k ⟶ X) : |
| 33 | ∃ r : Geometric.PointExt.CM.pointBase k ⟶ X, r.left (IsLocalRing.closedPoint k) ∈ U := by |
| 34 | let : Nonempty X.left := ⟨p.left (IsLocalRing.closedPoint k)⟩ |
| 35 | let : JacobsonSpace X.left := LocallyOfFiniteType.jacobsonSpace X.hom |
| 36 | obtain ⟨x, hx, hc⟩ := nonempty_inter_closedPoints hU.nonempty U.isOpen.isLocallyClosed |
| 37 | change IsClosed {x} at hc |
| 38 | refine ⟨Over.homMk (pointOfClosedPoint X.hom x hc) |
| 39 | (pointOfClosedPoint_comp X.hom x hc), ?_⟩ |
| 40 | have he := pointOfClosedPoint_apply X.hom x hc |
| 41 | (show Spec (.of k) from IsLocalRing.closedPoint k) |
| 42 | exact he.symm ▸ hx |
| 43 | |
| 44 | theorem equal_on_dense_open_implies_equal_on_points |
| 45 | {X Y : Over (Spec (.of k))} [IsReduced X.left] |
| 46 | [LocallyOfFiniteType X.hom] [LocallyOfFiniteType Y.hom] [IsSeparated Y.hom] |
| 47 | (f : X ⟶ Y) (U : X.left.Opens) (hU : Dense (U : Set X.left)) |
| 48 | (h : ∀ p q : Geometric.PointExt.CM.pointBase k ⟶ X, |
| 49 | p.left (IsLocalRing.closedPoint k) ∈ U → |
| 50 | q.left (IsLocalRing.closedPoint k) ∈ U → p ≫ f = q ≫ f) |
| 51 | (p q : Geometric.PointExt.CM.pointBase k ⟶ X) : p ≫ f = q ≫ f := by |
| 52 | obtain ⟨r, hr⟩ := exists_point_in_dense_open U hU p |
| 53 | have hf : f = structurePointMap X ≫ r ≫ f := by |
| 54 | apply Geometric.PointExt.CM.over_hom_ext_on_dense_open _ _ U hU |
| 55 | intro x hx |
| 56 | simpa only [← Category.assoc, point_structurePointMap, Category.id_comp] |
| 57 | using h x r hx hr |
| 58 | calc |
| 59 | p ≫ f = p ≫ (structurePointMap X ≫ r ≫ f) := congrArg (p ≫ ·) hf |
| 60 | _ = r ≫ f := by simp only [← Category.assoc, point_structurePointMap, Category.id_comp] |
| 61 | _ = q ≫ (structurePointMap X ≫ r ≫ f) := by |
| 62 | simp only [← Category.assoc, point_structurePointMap, Category.id_comp] |
| 63 | _ = q ≫ f := congrArg (q ≫ ·) hf.symm |
| 64 | |
| 65 | theorem kills_all_differences_of_ordinary |
| 66 | {X G : Over (Spec (.of k))} [IsReduced X.left] |
| 67 | [LocallyOfFiniteType X.hom] [LocallyOfFiniteType G.hom] [IsSeparated G.hom] |
| 68 | [GrpObj G] [IsCommMonObj G] |
| 69 | (a : X ⟶ G) (U : X.left.Opens) (hU : Dense (U : Set X.left)) |
| 70 | (f : AbelianScheme.TateComparison.End.IntegralEnd G) |
| 71 | (h : ∀ p q : Geometric.PointExt.CM.pointBase k ⟶ X, |
| 72 | p.left (IsLocalRing.closedPoint k) ∈ U → |
| 73 | q.left (IsLocalRing.closedPoint k) ∈ U → |
| 74 | PointEvaluationCM.CM.pointAction G f (Additive.ofMul (p ≫ a) - Additive.ofMul (q ≫ a)) = 0) |
| 75 | (p q : Geometric.PointExt.CM.pointBase k ⟶ X) : |
| 76 | PointEvaluationCM.CM.pointAction G f (Additive.ofMul (p ≫ a) - Additive.ofMul (q ≫ a)) = 0 := by |
| 77 | have hh : ∀ x y : Geometric.PointExt.CM.pointBase k ⟶ X, |
| 78 | x.left (IsLocalRing.closedPoint k) ∈ U → |
| 79 | y.left (IsLocalRing.closedPoint k) ∈ U → |
| 80 | x ≫ (a ≫ AbelianScheme.TateComparison.End.endSchemeMap G f) = y ≫ (a ≫ AbelianScheme.TateComparison.End.endSchemeMap G f) := by |
| 81 | intro x y hx hy |
| 82 | have he := h x y hx hy |
| 83 | rw [map_sub, sub_eq_zero] at he |
| 84 | have hp := congrArg Additive.toMul he |
| 85 | exact ((AbelianScheme.TateComparison.End.endSchemeMap_points G f _ (x ≫ a)).symm.trans |
| 86 | (hp.trans (AbelianScheme.TateComparison.End.endSchemeMap_points G f _ (y ≫ a)))) |
| 87 | have he := equal_on_dense_open_implies_equal_on_points |
| 88 | (a ≫ AbelianScheme.TateComparison.End.endSchemeMap G f) U hU hh p q |
| 89 | rw [map_sub, sub_eq_zero] |
| 90 | apply Additive.toMul.injective |
| 91 | exact (AbelianScheme.TateComparison.End.endSchemeMap_points G f _ (p ≫ a)).trans |
| 92 | (he.trans (AbelianScheme.TateComparison.End.endSchemeMap_points G f _ (q ≫ a)).symm) |
| 93 | |
| 94 | theorem end_eq_zero_of_ordinary_differences |
| 95 | {X G : Over (Spec (.of k))} [IsReduced X.left] [IsReduced G.left] |
| 96 | [LocallyOfFiniteType X.hom] [LocallyOfFiniteType G.hom] [IsSeparated G.hom] |
| 97 | [GrpObj G] [IsCommMonObj G] |
| 98 | (a : X ⟶ G) (U : X.left.Opens) (hU : Dense (U : Set X.left)) |
| 99 | (n : ℕ) |
| 100 | (hgenerate : Function.Surjective (fun z : Fin n → |
| 101 | (Geometric.PointExt.CM.pointBase k ⟶ X) × (Geometric.PointExt.CM.pointBase k ⟶ X) => |
| 102 | ∑ i, (Additive.ofMul ((z i).1 ≫ a) - Additive.ofMul ((z i).2 ≫ a)))) |
| 103 | (f : AbelianScheme.TateComparison.End.IntegralEnd G) |
| 104 | (h : ∀ p q : Geometric.PointExt.CM.pointBase k ⟶ X, |
| 105 | p.left (IsLocalRing.closedPoint k) ∈ U → |
| 106 | q.left (IsLocalRing.closedPoint k) ∈ U → |
| 107 | PointEvaluationCM.CM.pointAction G f (Additive.ofMul (p ≫ a) - Additive.ofMul (q ≫ a)) = 0) : |
| 108 | f = 0 := by |
| 109 | apply PointEvaluationCM.CM.end_eq_zero_of_points G f |
| 110 | intro x |
| 111 | obtain ⟨z, rfl⟩ := hgenerate x |
| 112 | rw [map_sum] |
| 113 | apply Finset.sum_eq_zero |
| 114 | intro i _ |
| 115 | exact kills_all_differences_of_ordinary a U hU f h (z i).1 (z i).2 |
| 116 | |
| 117 | end |
| 118 | |
| 119 | end OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Ordinary.Detection.CM |