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.Isogenies.NeighborCounting.ActiveMixedLineTransport |
| 2 | |
| 3 | /-! # Mixed Line Ambient Kernel -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.Isogenies.NeighborCounting.MixedLineAmbientKernel |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Mixed-line inclusions and their ambient squares at an abstract |
| 10 | ordinary block, before substituting the native torsion construction. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 13 | open _root_.CategoryTheory.MonoidalCategory _root_.CategoryTheory.CartesianMonoidalCategory |
| 14 | open scoped _root_.CategoryTheory.MonObj |
| 15 | |
| 16 | open OAI.AlgebraicGeometry.Isogenies.NeighborCounting.ActiveMixedLineTransport |
| 17 | |
| 18 | private theorem identity_tensor_mono {C : Type*} [Category C] [CartesianMonoidalCategory C] |
| 19 | (M : C) {E E' : C} (f : E ⟶ E') [Mono f] : Mono ((𝟙 M) ⊗ₘ f) := by |
| 20 | constructor |
| 21 | intro T a b h |
| 22 | apply CartesianMonoidalCategory.hom_ext |
| 23 | · have hh := congrArg (fun u => u ≫ fst M E') h |
| 24 | simpa only [Category.assoc, tensorHom_fst, Category.comp_id] using hh |
| 25 | · apply (cancel_mono f).mp |
| 26 | have hh := congrArg (fun u => u ≫ snd M E') h |
| 27 | simpa only [Category.assoc, tensorHom_snd] using hh |
| 28 | |
| 29 | variable (k : Type) [Field k] (q : ℕ) [Fact q.Prime] |
| 30 | {C H : Over (Spec (.of k))} |
| 31 | (c : (AbelianScheme.FrobeniusKernel.OrdinaryBlocks.Construction.multiplicativeOrdinaryBlock k q 1 1 ⊗ AbelianScheme.FrobeniusKernel.EtaleSubgroups.Construction.activeEtalePlaneScheme (Spec (.of k)) q).X ≅ C) |
| 32 | (i : C ⟶ H) (J : AbelianScheme.FrobeniusKernel.EtaleSubgroups.Construction.ActiveEtaleLine q) |
| 33 | |
| 34 | def mixedLineKernelInclusion : |
| 35 | (AbelianScheme.FrobeniusKernel.OrdinaryBlocks.Construction.multiplicativeOrdinaryBlock k q 1 1 ⊗ AbelianScheme.FrobeniusKernel.EtaleSubgroups.Construction.activeEtaleLineScheme (Spec (.of k)) q J).X ⟶ H := |
| 36 | (((𝟙 (AbelianScheme.FrobeniusKernel.OrdinaryBlocks.Construction.multiplicativeOrdinaryBlock k q 1 1).X) ⊗ₘ |
| 37 | (AbelianScheme.FrobeniusKernel.EtaleSubgroups.Construction.activeEtaleLineEmbedding (Spec (.of k)) q J).hom.hom) ≫ c.hom) ≫ i |
| 38 | |
| 39 | instance mixedLineKernelInclusion_mono [Mono i] : Mono (mixedLineKernelInclusion k q c i J) := by |
| 40 | have : IsClosedImmersion (AbelianScheme.FrobeniusKernel.EtaleSubgroups.Construction.activeEtaleLineEmbedding (Spec (.of k)) q J).hom.hom.left := |
| 41 | AbelianScheme.FrobeniusKernel.EtaleSubgroups.Construction.activeEtaleLineEmbedding_closed (Spec (.of k)) q J |
| 42 | have : Mono (AbelianScheme.FrobeniusKernel.EtaleSubgroups.Construction.activeEtaleLineEmbedding (Spec (.of k)) q J).hom.hom := Over.mono_of_mono_left _ |
| 43 | have := identity_tensor_mono (AbelianScheme.FrobeniusKernel.OrdinaryBlocks.Construction.multiplicativeOrdinaryBlock k q 1 1).X |
| 44 | (AbelianScheme.FrobeniusKernel.EtaleSubgroups.Construction.activeEtaleLineEmbedding (Spec (.of k)) q J).hom.hom |
| 45 | unfold mixedLineKernelInclusion |
| 46 | infer_instance |
| 47 | |
| 48 | theorem mixedLineKernelInclusion_ambient {A : Over (Spec (.of k))} {B : Grp (Over (Spec (.of k)))} |
| 49 | (e : AbelianScheme.FrobeniusKernel.ChosenOrdinaryKernels.Construction.ActiveOrdinarySplitting k q B) (t : H ⟶ A) (l : B.X ⟶ A) |
| 50 | (hc : c.hom ≫ i ≫ t = e.inv.hom.hom ≫ l) : |
| 51 | mixedLineKernelInclusion k q c i J ≫ t = (ActiveMixedLineTransport.chosenActiveMixedLine k q e J).hom.hom ≫ l := by |
| 52 | unfold mixedLineKernelInclusion |
| 53 | rw [Category.assoc, Category.assoc, hc] |
| 54 | exact (Category.assoc _ _ _).symm |
| 55 | |
| 56 | theorem chart_embedding_square {C : Type*} [Category C] {A B H X Y : C} |
| 57 | (u : X ⟶ B) (i : B ⟶ H) (t : H ⟶ A) (b : B ⟶ A) (v : X ⟶ Y) (l : Y ⟶ A) |
| 58 | (hi : i ≫ t = b) (hu : u ≫ b = v ≫ l) : u ≫ i ≫ t = v ≫ l := |
| 59 | (congrArg (fun z => u ≫ z) hi).trans hu |
| 60 | |
| 61 | end |
| 62 | |
| 63 | end OAI.AlgebraicGeometry.Isogenies.NeighborCounting.MixedLineAmbientKernel |