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.CentralAction.GroupKernel |
| 2 | import OAI.AlgebraicGeometry.AbelianScheme.CentralAction.Quotient |
| 3 | import OAI.AlgebraicGeometry.AbelianScheme.TateComparison.Etale |
| 4 | |
| 5 | /-! # Geometric Kernel Descent -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.AbelianScheme.CentralAction.GeometricKernelDescent.Construction |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Over an algebraically closed field, equality of geometric kernels |
| 12 | of etale isogenies is equality of the full subgroup functors, including |
| 13 | all nonreduced test schemes. -/ |
| 14 | |
| 15 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 16 | open scoped _root_.CategoryTheory.MonObj |
| 17 | |
| 18 | variable {k : Type} [Field k] [IsAlgClosed k] |
| 19 | |
| 20 | theorem over_hom_ext_rational {X Y : Over (Spec (.of k))} |
| 21 | [IsReduced X.left] [LocallyOfFiniteType X.hom] |
| 22 | [LocallyOfFiniteType Y.hom] [IsSeparated Y.hom] |
| 23 | (f g : X ⟶ Y) |
| 24 | (h : ∀ x : Over.mk (𝟙 (Spec (.of k))) ⟶ X, x ≫ f = x ≫ g) : f = g := by |
| 25 | have : LocallyOfFiniteType (f.left ≫ Y.hom) := by rw [f.w]; infer_instance |
| 26 | apply Over.OverMorphism.ext |
| 27 | apply ext_of_apply_eq Y.hom Set.univ isOpen_univ.isLocallyClosed dense_univ |
| 28 | · intro x _ hx |
| 29 | let p : Over.mk (𝟙 (Spec (.of k))) ⟶ X := |
| 30 | Over.homMk (pointOfClosedPoint X.hom x hx) (pointOfClosedPoint_comp X.hom x hx) |
| 31 | have he := congrArg (fun z => z.left (default : Spec (.of k))) (h p) |
| 32 | change f.left (pointOfClosedPoint X.hom x hx default) = |
| 33 | g.left (pointOfClosedPoint X.hom x hx default) at he |
| 34 | simpa only [pointOfClosedPoint_apply] using he |
| 35 | · exact f.w.trans g.w.symm |
| 36 | |
| 37 | variable {A B C : Over (Spec (.of k))} [GrpObj A] [GrpObj B] [GrpObj C] |
| 38 | |
| 39 | omit [GrpObj A] in |
| 40 | /-- Geometric kernel inclusion extends to all test schemes because the |
| 41 | actual kernel scheme is reduced, not because the tests are reduced. -/ |
| 42 | theorem kernel_inclusion_all_tests_of_geometric |
| 43 | (f : A ⟶ B) (g : A ⟶ C) |
| 44 | [IsFinite (GroupKernel.Construction.groupKernelScheme f).hom] [Etale (GroupKernel.Construction.groupKernelScheme f).hom] |
| 45 | [LocallyOfFiniteType C.hom] [IsSeparated C.hom] |
| 46 | (h : ∀ x : Over.mk (𝟙 (Spec (.of k))) ⟶ A, x ≫ f = 1 → x ≫ g = 1) |
| 47 | (T : Over (Spec (.of k))) (x : T ⟶ A) (hx : x ≫ f = 1) : x ≫ g = 1 := by |
| 48 | have : IsReduced (GroupKernel.Construction.groupKernelScheme f).left := |
| 49 | TateComparison.Etale.etale_source_reduced (GroupKernel.Construction.groupKernelScheme f).hom |
| 50 | have hi : GroupKernel.Construction.groupKernelInclusion f ≫ g = (1 : GroupKernel.Construction.groupKernelScheme f ⟶ C) := by |
| 51 | apply over_hom_ext_rational |
| 52 | intro z |
| 53 | have hz := h (z ≫ GroupKernel.Construction.groupKernelInclusion f) ((GroupKernel.Construction.groupKernelPointsEquiv f _ z).property) |
| 54 | simpa only [Category.assoc, MonObj.comp_one] using hz |
| 55 | calc |
| 56 | x ≫ g = (GroupKernel.Construction.groupKernelLift f x hx ≫ GroupKernel.Construction.groupKernelInclusion f) ≫ g := by |
| 57 | rw [GroupKernel.Construction.groupKernelLift_inclusion] |
| 58 | _ = 1 := by rw [Category.assoc, hi, MonObj.comp_one] |
| 59 | |
| 60 | omit [GrpObj A] in |
| 61 | theorem kernel_eq_all_tests_of_geometric |
| 62 | (f : A ⟶ B) (g : A ⟶ C) |
| 63 | [IsFinite (GroupKernel.Construction.groupKernelScheme f).hom] [Etale (GroupKernel.Construction.groupKernelScheme f).hom] |
| 64 | [IsFinite (GroupKernel.Construction.groupKernelScheme g).hom] [Etale (GroupKernel.Construction.groupKernelScheme g).hom] |
| 65 | [LocallyOfFiniteType B.hom] [IsSeparated B.hom] |
| 66 | [LocallyOfFiniteType C.hom] [IsSeparated C.hom] |
| 67 | (h : ∀ x : Over.mk (𝟙 (Spec (.of k))) ⟶ A, x ≫ f = 1 ↔ x ≫ g = 1) |
| 68 | (T : Over (Spec (.of k))) (x : T ⟶ A) : x ≫ f = 1 ↔ x ≫ g = 1 := |
| 69 | ⟨kernel_inclusion_all_tests_of_geometric f g (fun z => (h z).mp) T x, |
| 70 | kernel_inclusion_all_tests_of_geometric g f (fun z => (h z).mpr) T x⟩ |
| 71 | |
| 72 | end |
| 73 | |
| 74 | end OAI.AlgebraicGeometry.AbelianScheme.CentralAction.GeometricKernelDescent.Construction |