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.ProductPoints |
| 2 | import OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Ordinary.Detection |
| 3 | |
| 4 | /-! # Product Detection -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.ProductDetection.CM |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Ordinary differences on all components faithfully detect |
| 11 | endomorphisms of the actual total Albanese product. -/ |
| 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 OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Ordinary.Detection.CM |
| 17 | open OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.ProductPoints.CM |
| 18 | |
| 19 | variable {k : Type} [Field k] {r : ℕ} |
| 20 | (A : Fin r → CommGrp (Over (Spec (.of k)))) |
| 21 | |
| 22 | def factorPointHom (j : Fin r) : |
| 23 | Additive (Geometric.PointExt.CM.pointBase k ⟶ (A j).X) →+ |
| 24 | Additive (Geometric.PointExt.CM.pointBase k ⟶ (AbelianScheme.TateComparison.Products.componentProduct A).X) := |
| 25 | (ProductPoints.CM.productPointsAddEquiv A (Geometric.PointExt.CM.pointBase k)).symm.toAddMonoidHom.comp |
| 26 | (AddMonoidHom.single (fun i => Additive (Geometric.PointExt.CM.pointBase k ⟶ (A i).X)) j) |
| 27 | |
| 28 | theorem factorPointHom_point (j : Fin r) (p : Geometric.PointExt.CM.pointBase k ⟶ (A j).X) : |
| 29 | factorPointHom A j (Additive.ofMul p) = Additive.ofMul (p ≫ ProductPoints.CM.factorMap A j) := by |
| 30 | apply (ProductPoints.CM.productPointsAddEquiv A (Geometric.PointExt.CM.pointBase k)).injective |
| 31 | exact ((ProductPoints.CM.productPointsAddEquiv A (Geometric.PointExt.CM.pointBase k)).apply_symm_apply |
| 32 | (Pi.single j (Additive.ofMul p))).trans (ProductPoints.CM.factorMap_on_points A _ j p).symm |
| 33 | |
| 34 | theorem sum_factorPointHom (x : Additive (Geometric.PointExt.CM.pointBase k ⟶ (AbelianScheme.TateComparison.Products.componentProduct A).X)) : |
| 35 | ∑ j, factorPointHom A j (ProductPoints.CM.productPointsAddEquiv A (Geometric.PointExt.CM.pointBase k) x j) = x := by |
| 36 | classical |
| 37 | apply (ProductPoints.CM.productPointsAddEquiv A (Geometric.PointExt.CM.pointBase k)).injective |
| 38 | rw [map_sum] |
| 39 | calc |
| 40 | _ = ∑ j, Pi.single j (ProductPoints.CM.productPointsAddEquiv A (Geometric.PointExt.CM.pointBase k) x j) := by |
| 41 | apply Finset.sum_congr rfl |
| 42 | intro j _ |
| 43 | exact (ProductPoints.CM.productPointsAddEquiv A (Geometric.PointExt.CM.pointBase k)).apply_symm_apply _ |
| 44 | _ = _ := Finset.univ_sum_single _ |
| 45 | |
| 46 | variable [IsAlgClosed k] |
| 47 | |
| 48 | theorem product_end_eq_zero_of_ordinary_differences |
| 49 | (X : Fin r → Over (Spec (.of k))) |
| 50 | [∀ j, IsReduced (X j).left] [∀ j, LocallyOfFiniteType (X j).hom] |
| 51 | [IsReduced (AbelianScheme.TateComparison.Products.componentProduct A).X.left] |
| 52 | [LocallyOfFiniteType (AbelianScheme.TateComparison.Products.componentProduct A).X.hom] |
| 53 | [IsSeparated (AbelianScheme.TateComparison.Products.componentProduct A).X.hom] |
| 54 | (a : ∀ j, X j ⟶ (A j).X) |
| 55 | (U : ∀ j, (X j).left.Opens) (hU : ∀ j, Dense (U j : Set (X j).left)) |
| 56 | (n : Fin r → ℕ) |
| 57 | (hgenerate : ∀ j, Function.Surjective (fun z : Fin (n j) → |
| 58 | (Geometric.PointExt.CM.pointBase k ⟶ X j) × (Geometric.PointExt.CM.pointBase k ⟶ X j) => |
| 59 | ∑ i, (Additive.ofMul ((z i).1 ≫ a j) - Additive.ofMul ((z i).2 ≫ a j)))) |
| 60 | (f : AbelianScheme.TateComparison.End.IntegralEnd (AbelianScheme.TateComparison.Products.componentProduct A).X) |
| 61 | (h : ∀ j (p q : Geometric.PointExt.CM.pointBase k ⟶ X j), |
| 62 | p.left (IsLocalRing.closedPoint k) ∈ U j → |
| 63 | q.left (IsLocalRing.closedPoint k) ∈ U j → |
| 64 | PointEvaluationCM.CM.pointAction (AbelianScheme.TateComparison.Products.componentProduct A).X f |
| 65 | (Additive.ofMul (p ≫ a j ≫ ProductPoints.CM.factorMap A j) - |
| 66 | Additive.ofMul (q ≫ a j ≫ ProductPoints.CM.factorMap A j)) = 0) : f = 0 := by |
| 67 | have hfactor : ∀ j x, |
| 68 | PointEvaluationCM.CM.pointAction (AbelianScheme.TateComparison.Products.componentProduct A).X f (factorPointHom A j x) = 0 := by |
| 69 | intro j x |
| 70 | obtain ⟨z, rfl⟩ := hgenerate j x |
| 71 | rw [map_sum, map_sum] |
| 72 | apply Finset.sum_eq_zero |
| 73 | intro i _ |
| 74 | rw [map_sub, factorPointHom_point, factorPointHom_point] |
| 75 | exact Ordinary.Detection.CM.kills_all_differences_of_ordinary (a j ≫ ProductPoints.CM.factorMap A j) (U j) (hU j) |
| 76 | f (h j) (z i).1 (z i).2 |
| 77 | apply PointEvaluationCM.CM.end_eq_zero_of_points (AbelianScheme.TateComparison.Products.componentProduct A).X f |
| 78 | intro x |
| 79 | rw [← sum_factorPointHom A x, map_sum] |
| 80 | exact Finset.sum_eq_zero (fun j _ => hfactor j _) |
| 81 | |
| 82 | end |
| 83 | |
| 84 | end OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.ProductDetection.CM |