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.FrobeniusKernel.PairedKernels |
| 2 | import OAI.AlgebraicGeometry.AbelianScheme.FrobeniusKernel.TorsionEmbedding |
| 3 | |
| 4 | /-! # Chosen Ordinary Kernels -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianScheme.FrobeniusKernel.ChosenOrdinaryKernels.Construction |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! |
| 11 | The chosen active kernels in native ordinary blocks: the multiplicative |
| 12 | line, each étale line, and the whole étale q-torsion plane. The last is |
| 13 | then embedded in q²-torsion with its original source group scheme. |
| 14 | -/ |
| 15 | |
| 16 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 17 | open _root_.CategoryTheory.MonoidalCategory |
| 18 | open scoped _root_.CategoryTheory.MonObj IsMulCommutative |
| 19 | |
| 20 | universe u |
| 21 | |
| 22 | instance etaleGroupScheme_commutative (S : Scheme.{u}) (D : Type u) [CommGroup D] : |
| 23 | IsCommMonObj (EtaleSubgroups.Construction.etaleGroupScheme S D).X := by |
| 24 | apply (isCommMonObj_iff_isMulCommutative _).mpr |
| 25 | intro T |
| 26 | refine ⟨⟨fun x y => ?_⟩⟩ |
| 27 | let φ : (T ⟶ (EtaleSubgroups.Construction.etaleGroupScheme S D).X) ≃* LocallyConstant T.left D := |
| 28 | ((EtaleSubgroups.Construction.etaleGroupPointIso S D).app (.op T)).groupIsoToMulEquiv |
| 29 | apply φ.injective |
| 30 | exact (φ.map_mul x y).trans ((mul_comm (φ x) (φ y)).trans (φ.map_mul y x).symm) |
| 31 | |
| 32 | variable (K : Type u) [Field K] (q : ℕ) [Fact q.Prime] |
| 33 | |
| 34 | /-- An actual ordinary active q-torsion splitting. -/ |
| 35 | abbrev ActiveOrdinarySplitting (B : Grp (Over (Spec (.of K)))) := |
| 36 | B ≅ OrdinaryBlocks.Construction.multiplicativeOrdinaryBlock K q 1 1 ⊗ EtaleSubgroups.Construction.activeEtalePlaneScheme (Spec (.of K)) q |
| 37 | |
| 38 | /-- The level-one ordinary splitting has exactly this active étale plane. -/ |
| 39 | def activeOrdinarySplitting {B : Grp (Over (Spec (.of K)))} |
| 40 | (e : OrdinaryBlocks.Construction.OrdinaryBlockSplitting K B q 1 1 2) : ActiveOrdinarySplitting K q B := by |
| 41 | have h : OrdinaryBlocks.Construction.etaleOrdinaryBlock K q 1 2 = EtaleSubgroups.Construction.activeEtalePlaneScheme (Spec (.of K)) q := by |
| 42 | exact congrArg (fun n => EtaleSubgroups.Construction.etaleGroupScheme (Spec (.of K)) |
| 43 | (ULift.{u} (Multiplicative (Fin 2 → ZMod n)))) (pow_one q) |
| 44 | exact e ≪≫ (Iso.refl (OrdinaryBlocks.Construction.multiplicativeOrdinaryBlock K q 1 1) ⊗ᵢ eqToIso h) |
| 45 | |
| 46 | variable {B : Grp (Over (Spec (.of K)))} (e : ActiveOrdinarySplitting K q B) |
| 47 | |
| 48 | def chosenActiveMultiplicative : OrdinaryBlocks.Construction.multiplicativeOrdinaryBlock K q 1 1 ⟶ B := |
| 49 | AnnihilatorSheaf.Construction.splitFirstInclusion _ _ ≫ e.inv |
| 50 | |
| 51 | def chosenActiveEtalePlane : EtaleSubgroups.Construction.activeEtalePlaneScheme (Spec (.of K)) q ⟶ B := |
| 52 | AnnihilatorSheaf.Construction.splitSecondInclusion _ _ ≫ e.inv |
| 53 | |
| 54 | def chosenActiveEtaleLine (L : EtaleSubgroups.Construction.ActiveEtaleLine q) : |
| 55 | EtaleSubgroups.Construction.activeEtaleLineScheme (Spec (.of K)) q L ⟶ B := |
| 56 | EtaleSubgroups.Construction.activeEtaleLineEmbedding (Spec (.of K)) q L ≫ chosenActiveEtalePlane K q e |
| 57 | |
| 58 | theorem chosenActiveEtalePlane_closed : |
| 59 | IsClosedImmersion (chosenActiveEtalePlane K q e).hom.hom.left := by |
| 60 | have : IsFinite (OrdinaryBlocks.Construction.multiplicativeOrdinaryBlock K q 1 1).X.hom := |
| 61 | (OrdinaryBlocks.Construction.multiplicativeOrdinaryBlock_finiteLocallyFree K q 1 1).1 |
| 62 | have : IsFinite (EtaleSubgroups.Construction.activeEtalePlaneScheme (Spec (.of K)) q).X.hom := |
| 63 | EtaleSubgroups.Construction.etaleGroupScheme_finite _ _ |
| 64 | have := OrdinaryBlocks.Construction.splitSecondInclusion_closed (OrdinaryBlocks.Construction.multiplicativeOrdinaryBlock K q 1 1) |
| 65 | (EtaleSubgroups.Construction.activeEtalePlaneScheme (Spec (.of K)) q) |
| 66 | have : IsIso e.inv.hom.hom.left := inferInstanceAs |
| 67 | (IsIso (((Grp.forget (Over (Spec (.of K)))) ⋙ Over.forget _).map e.inv)) |
| 68 | change IsClosedImmersion |
| 69 | ((AnnihilatorSheaf.Construction.splitSecondInclusion (OrdinaryBlocks.Construction.multiplicativeOrdinaryBlock K q 1 1) |
| 70 | (EtaleSubgroups.Construction.activeEtalePlaneScheme (Spec (.of K)) q)).hom.hom.left ≫ e.inv.hom.hom.left) |
| 71 | infer_instance |
| 72 | |
| 73 | theorem chosenActiveEtaleLine_closed (L : EtaleSubgroups.Construction.ActiveEtaleLine q) : |
| 74 | IsClosedImmersion (chosenActiveEtaleLine K q e L).hom.hom.left := by |
| 75 | have := EtaleSubgroups.Construction.activeEtaleLineEmbedding_closed (Spec (.of K)) q L |
| 76 | have := chosenActiveEtalePlane_closed K q e |
| 77 | change IsClosedImmersion ((EtaleSubgroups.Construction.activeEtaleLineEmbedding (Spec (.of K)) q L).hom.hom.left ≫ |
| 78 | (chosenActiveEtalePlane K q e).hom.hom.left) |
| 79 | infer_instance |
| 80 | |
| 81 | variable {g : ℕ} (A : AbelianModuli.HilbertConstruction.Abelian.Schemes.AbelianScheme g (Spec (.of K))) |
| 82 | |
| 83 | instance torsionLevelEmbedding_isMonHom {m n : ℕ} (hmn : m ∣ n) : |
| 84 | IsMonHom (TorsionEmbedding.Construction.torsionLevelEmbedding A hmn) := by |
| 85 | apply RepresentedGroups.Construction.isMonHom_of_point_operations |
| 86 | · intro T |
| 87 | apply (cancel_mono (A.torsionInclusion n)).mp |
| 88 | rw [Category.assoc, TorsionEmbedding.Construction.torsionLevelEmbedding_inclusion, MonObj.one_comp, MonObj.one_comp] |
| 89 | · intro T x y |
| 90 | apply (cancel_mono (A.torsionInclusion n)).mp |
| 91 | rw [Category.assoc, TorsionEmbedding.Construction.torsionLevelEmbedding_inclusion, MonObj.mul_comp, |
| 92 | MonObj.mul_comp, Category.assoc, Category.assoc, TorsionEmbedding.Construction.torsionLevelEmbedding_inclusion] |
| 93 | |
| 94 | /-- The q-torsion embedding is also a morphism for the native group laws. -/ |
| 95 | def torsionLevelGroupEmbedding {m n : ℕ} (hmn : m ∣ n) : Assembly.Construction.torsionGroup A m ⟶ Assembly.Construction.torsionGroup A n := |
| 96 | Grp.homMk (TorsionEmbedding.Construction.torsionLevelEmbedding A hmn) |
| 97 | |
| 98 | /-- The active plane used by Z retains the same source group as at level |
| 99 | one; only its inclusion is composed with A[q] → A[q²]. -/ |
| 100 | def chosenPlaneAtLevelTwo |
| 101 | (j : EtaleSubgroups.Construction.activeEtalePlaneScheme (Spec (.of K)) q ⟶ Assembly.Construction.torsionGroup A q) : |
| 102 | EtaleSubgroups.Construction.activeEtalePlaneScheme (Spec (.of K)) q ⟶ Assembly.Construction.torsionGroup A (q ^ 2) := |
| 103 | j ≫ torsionLevelGroupEmbedding K A (show q ∣ q ^ 2 from ⟨q, pow_two q⟩) |
| 104 | |
| 105 | omit [Fact q.Prime] in |
| 106 | theorem chosenPlaneAtLevelTwo_inclusion |
| 107 | (j : EtaleSubgroups.Construction.activeEtalePlaneScheme (Spec (.of K)) q ⟶ Assembly.Construction.torsionGroup A q) : |
| 108 | (chosenPlaneAtLevelTwo K q A j).hom.hom ≫ A.torsionInclusion (q ^ 2) = |
| 109 | j.hom.hom ≫ A.torsionInclusion q := |
| 110 | TorsionEmbedding.Construction.qTorsionAtLevelTwo_inclusion A q j.hom.hom |
| 111 | |
| 112 | omit [Fact q.Prime] in |
| 113 | theorem chosenPlaneAtLevelTwo_killedByQ |
| 114 | (j : EtaleSubgroups.Construction.activeEtalePlaneScheme (Spec (.of K)) q ⟶ Assembly.Construction.torsionGroup A q) |
| 115 | (T : Over (Spec (.of K))) (x : T ⟶ (EtaleSubgroups.Construction.activeEtalePlaneScheme (Spec (.of K)) q).X) : |
| 116 | (x ≫ (chosenPlaneAtLevelTwo K q A j).hom.hom ≫ A.torsionInclusion (q ^ 2)) ^ q = 1 := |
| 117 | TorsionEmbedding.Construction.qTorsionAtLevelTwo_killedByQ A q j.hom.hom T x |
| 118 | |
| 119 | end |
| 120 | |
| 121 | end OAI.AlgebraicGeometry.AbelianScheme.FrobeniusKernel.ChosenOrdinaryKernels.Construction |