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 Ambient Kernel -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.Isogenies.NeighborCounting.MixedAmbientKernel.Raw |
| 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 | instance raw_mixed_inclusion_mono [Mono i] : Mono (((((𝟙 (AbelianScheme.FrobeniusKernel.OrdinaryBlocks.Construction.multiplicativeOrdinaryBlock k q 1 1).X) ⊗ₘ |
| 35 | (AbelianScheme.FrobeniusKernel.EtaleSubgroups.Construction.activeEtaleLineEmbedding (Spec (.of k)) q J).hom.hom) ≫ c.hom) ≫ i)) := by |
| 36 | have : IsClosedImmersion (AbelianScheme.FrobeniusKernel.EtaleSubgroups.Construction.activeEtaleLineEmbedding (Spec (.of k)) q J).hom.hom.left := |
| 37 | AbelianScheme.FrobeniusKernel.EtaleSubgroups.Construction.activeEtaleLineEmbedding_closed (Spec (.of k)) q J |
| 38 | have : Mono (AbelianScheme.FrobeniusKernel.EtaleSubgroups.Construction.activeEtaleLineEmbedding (Spec (.of k)) q J).hom.hom := Over.mono_of_mono_left _ |
| 39 | have := identity_tensor_mono (AbelianScheme.FrobeniusKernel.OrdinaryBlocks.Construction.multiplicativeOrdinaryBlock k q 1 1).X |
| 40 | (AbelianScheme.FrobeniusKernel.EtaleSubgroups.Construction.activeEtaleLineEmbedding (Spec (.of k)) q J).hom.hom |
| 41 | infer_instance |
| 42 | |
| 43 | theorem raw_mixed_inclusion_ambient {A : Over (Spec (.of k))} {B : Grp (Over (Spec (.of k)))} |
| 44 | (e : AbelianScheme.FrobeniusKernel.ChosenOrdinaryKernels.Construction.ActiveOrdinarySplitting k q B) (t : H ⟶ A) (l : B.X ⟶ A) |
| 45 | (hc : c.hom ≫ i ≫ t = e.inv.hom.hom ≫ l) : |
| 46 | ((((𝟙 (AbelianScheme.FrobeniusKernel.OrdinaryBlocks.Construction.multiplicativeOrdinaryBlock k q 1 1).X) ⊗ₘ |
| 47 | (AbelianScheme.FrobeniusKernel.EtaleSubgroups.Construction.activeEtaleLineEmbedding (Spec (.of k)) q J).hom.hom) ≫ c.hom) ≫ i) ≫ t = (ActiveMixedLineTransport.chosenActiveMixedLine k q e J).hom.hom ≫ l := by |
| 48 | rw [Category.assoc, Category.assoc, hc] |
| 49 | exact (Category.assoc _ _ _).symm |
| 50 | |
| 51 | theorem raw_mixed_factor_iff {A : Over (Spec (.of k))} {B : Grp (Over (Spec (.of k)))} |
| 52 | (e : AbelianScheme.FrobeniusKernel.ChosenOrdinaryKernels.Construction.ActiveOrdinarySplitting k q B) (t : H ⟶ A) (l : B.X ⟶ A) |
| 53 | (hc : c.hom ≫ i ≫ t = e.inv.hom.hom ≫ l) |
| 54 | (T : Over (Spec (.of k))) (z : T ⟶ A) : |
| 55 | (∃ h : T ⟶ ((AbelianScheme.FrobeniusKernel.OrdinaryBlocks.Construction.multiplicativeOrdinaryBlock k q 1 1).X ⊗ (AbelianScheme.FrobeniusKernel.EtaleSubgroups.Construction.activeEtaleLineScheme (Spec (.of k)) q J).X), |
| 56 | h ≫ ((((𝟙 (AbelianScheme.FrobeniusKernel.OrdinaryBlocks.Construction.multiplicativeOrdinaryBlock k q 1 1).X) ⊗ₘ |
| 57 | (AbelianScheme.FrobeniusKernel.EtaleSubgroups.Construction.activeEtaleLineEmbedding (Spec (.of k)) q J).hom.hom) ≫ c.hom) ≫ i) ≫ t = z) ↔ |
| 58 | ∃ h : T ⟶ ((AbelianScheme.FrobeniusKernel.OrdinaryBlocks.Construction.multiplicativeOrdinaryBlock k q 1 1).X ⊗ (AbelianScheme.FrobeniusKernel.EtaleSubgroups.Construction.activeEtaleLineScheme (Spec (.of k)) q J).X), |
| 59 | h ≫ (ActiveMixedLineTransport.chosenActiveMixedLine k q e J).hom.hom ≫ l = z := |
| 60 | Iff.of_eq (congrArg (fun u => ∃ h : T ⟶ |
| 61 | ((AbelianScheme.FrobeniusKernel.OrdinaryBlocks.Construction.multiplicativeOrdinaryBlock k q 1 1).X ⊗ (AbelianScheme.FrobeniusKernel.EtaleSubgroups.Construction.activeEtaleLineScheme (Spec (.of k)) q J).X), h ≫ u = z) |
| 62 | (raw_mixed_inclusion_ambient k q c i J e t l hc)) |
| 63 | |
| 64 | end |
| 65 | |
| 66 | end OAI.AlgebraicGeometry.Isogenies.NeighborCounting.MixedAmbientKernel.Raw |