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.TateComparison.BranchFibers |
| 2 | import OAI.AlgebraicGeometry.AbelianScheme.TateComparison.GeometricExt |
| 3 | import Mathlib.CategoryTheory.Monoidal.Cartesian.Grp |
| 4 | |
| 5 | /-! # Local Trace -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.AbelianScheme.TateComparison |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Local algebraic trace maps are sums of actual branches. Their |
| 12 | geometric values count all fiber points and imply overlap compatibility. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 15 | open scoped _root_.CategoryTheory.MonObj |
| 16 | |
| 17 | variable {B : Scheme.{0}} {X A : Over B} [GrpObj A] [IsCommMonObj A] |
| 18 | (C : Correspondences.EtaleCorrespondence X) (f : X ⟶ A) |
| 19 | |
| 20 | /-- Precomposition preserves the actual commutative group law on points. -/ |
| 21 | def Correspondences.EtaleCorrespondence.precompPointHom {T T' : Over B} (a : T' ⟶ T) : (T ⟶ A) →* (T' ⟶ A) where |
| 22 | toFun g := a ≫ g |
| 23 | map_one' := MonObj.comp_one a |
| 24 | map_mul' := MonObj.comp_mul a |
| 25 | |
| 26 | /-- The group-object notation writes the additive trace as a product. -/ |
| 27 | def Correspondences.EtaleCorrespondence.localTraceMap {T : Over B} (x : T ⟶ X) {n : ℕ} (e : C.BranchSplitting x n) : T ⟶ A := |
| 28 | ∏ i : Fin n, C.endpoint (C.splitBranch x e i) ≫ f |
| 29 | |
| 30 | /-- The geometric trace counts every actual source-fiber point, including |
| 31 | distinct branches whose endpoints coincide. -/ |
| 32 | def Correspondences.EtaleCorrespondence.geometricTrace {k : Type} [Field k] [IsAlgClosed k] |
| 33 | (b : Spec (.of k) ⟶ B) (x : Over.mk b ⟶ X) : Over.mk b ⟶ A := |
| 34 | ((C.neighbors b x).map (fun y => y ≫ f)).prod |
| 35 | |
| 36 | theorem Correspondences.EtaleCorrespondence.localTraceMap_geometric {T : Over B} (x : T ⟶ X) {n : ℕ} |
| 37 | (e : C.BranchSplitting x n) {k : Type} [Field k] [IsAlgClosed k] |
| 38 | (b : Spec (.of k) ⟶ B) (a : Over.mk b ⟶ T) : |
| 39 | a ≫ C.localTraceMap f x e = C.geometricTrace f b (a ≫ x) := by |
| 40 | classical |
| 41 | let : Fintype (C.Fiber (a ≫ x)) := Fintype.ofFinite _ |
| 42 | calc |
| 43 | a ≫ C.localTraceMap f x e = |
| 44 | ∏ i : Fin n, C.endpoint (C.splitFiberEquiv x a e i) ≫ f := by |
| 45 | change Correspondences.EtaleCorrespondence.precompPointHom a (∏ i : Fin n, C.endpoint (C.splitBranch x e i) ≫ f) = _ |
| 46 | rw [map_prod] |
| 47 | apply Finset.prod_congr rfl |
| 48 | intro i _ |
| 49 | exact (Category.assoc a _ f).symm.trans |
| 50 | (congrArg (fun z => z ≫ f) (C.splitFiberEquiv_endpoint x a e i).symm) |
| 51 | _ = ∏ c : C.Fiber (a ≫ x), C.endpoint c ≫ f := |
| 52 | (C.splitFiberEquiv x a e).prod_comp (fun c => C.endpoint c ≫ f) |
| 53 | _ = C.geometricTrace f b (a ≫ x) := by |
| 54 | simp only [Correspondences.EtaleCorrespondence.geometricTrace, Correspondences.EtaleCorrespondence.neighbors, Multiset.map_map, Function.comp_def] |
| 55 | rfl |
| 56 | |
| 57 | /-- Two actual local splittings give the same algebraic trace map on a |
| 58 | reduced test scheme with separated target. -/ |
| 59 | theorem Correspondences.EtaleCorrespondence.localTraceMap_independent {T : Over B} [IsReduced T.left] [IsSeparated A.hom] |
| 60 | (x : T ⟶ X) {n m : ℕ} (e : C.BranchSplitting x n) (e' : C.BranchSplitting x m) : |
| 61 | C.localTraceMap f x e = C.localTraceMap f x e' := by |
| 62 | apply GeometricExt.over_hom_ext_geometric |
| 63 | intro k _ _ b a |
| 64 | rw [Correspondences.EtaleCorrespondence.localTraceMap_geometric, Correspondences.EtaleCorrespondence.localTraceMap_geometric] |
| 65 | |
| 66 | /-- The local traces agree on every reduced overlap. The compatibility |
| 67 | is proved from the actual geometric fibers, for arbitrary choices of splitting. -/ |
| 68 | theorem Correspondences.EtaleCorrespondence.localTraceMap_overlap {T T' W : Over B} [IsReduced W.left] [IsSeparated A.hom] |
| 69 | (x : T ⟶ X) (x' : T' ⟶ X) {n m : ℕ} |
| 70 | (e : C.BranchSplitting x n) (e' : C.BranchSplitting x' m) |
| 71 | (a : W ⟶ T) (a' : W ⟶ T') (h : a ≫ x = a' ≫ x') : |
| 72 | a ≫ C.localTraceMap f x e = a' ≫ C.localTraceMap f x' e' := by |
| 73 | apply GeometricExt.over_hom_ext_geometric |
| 74 | intro k _ _ b z |
| 75 | rw [← Category.assoc, ← Category.assoc, Correspondences.EtaleCorrespondence.localTraceMap_geometric, Correspondences.EtaleCorrespondence.localTraceMap_geometric, |
| 76 | Category.assoc, Category.assoc, h] |
| 77 | |
| 78 | end |
| 79 | |
| 80 | end OAI.AlgebraicGeometry.AbelianScheme.TateComparison |