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.IsogenyQuotient.BlockGroups |
| 2 | import OAI.AlgebraicGeometry.AbelianScheme.IsogenyQuotient.Annihilator |
| 3 | import OAI.AlgebraicGeometry.AbelianScheme.IsogenyQuotient.Kernel.Product |
| 4 | |
| 5 | /-! # Opposite Kernel -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.AbelianScheme.IsogenyQuotient.OppositeKernel.Construction |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! |
| 12 | Construct the opposite annihilator and the paired kernel on the original |
| 13 | abelian scheme. All subgroup models and all embeddings are produced from |
| 14 | the torsion blocks and the actual scheme pairing. Orthogonality of the |
| 15 | local projectors proves the injectivity needed for the product model. |
| 16 | -/ |
| 17 | |
| 18 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 19 | open _root_.CategoryTheory.MonoidalCategory _root_.CategoryTheory.CartesianMonoidalCategory |
| 20 | open scoped _root_.CategoryTheory.MonObj _root_.CategoryTheory.Obj |
| 21 | |
| 22 | universe u |
| 23 | |
| 24 | variable {S : Scheme.{u}} {A : Over S} [GrpObj A] [IsCommMonObj A] |
| 25 | |
| 26 | abbrev torsionBlock (n : ℕ) (p : A ⟶ A) [IsMonHom p] : Over S := |
| 27 | BlockGroups.Construction.fixedPointScheme (Torsion.Groups.Construction.nativeTorsionMap n p) |
| 28 | |
| 29 | def torsionBlockInclusion (n : ℕ) (p : A ⟶ A) [IsMonHom p] : torsionBlock n p ⟶ A := |
| 30 | BlockGroups.Construction.fixedPointInclusion (Torsion.Groups.Construction.nativeTorsionMap n p) ≫ Torsion.Groups.Construction.nativeTorsionInclusion A n |
| 31 | |
| 32 | instance torsionBlockInclusion_isMonHom (n : ℕ) (p : A ⟶ A) [IsMonHom p] : |
| 33 | IsMonHom (torsionBlockInclusion n p) := by |
| 34 | unfold torsionBlockInclusion |
| 35 | infer_instance |
| 36 | |
| 37 | instance torsionBlockInclusion_mono (n : ℕ) (p : A ⟶ A) [IsMonHom p] : |
| 38 | Mono (torsionBlockInclusion n p) := by |
| 39 | unfold torsionBlockInclusion |
| 40 | infer_instance |
| 41 | |
| 42 | theorem torsionBlockInclusion_killed (n : ℕ) (p : A ⟶ A) [IsMonHom p] : |
| 43 | (torsionBlockInclusion n p) ^ n = 1 := by |
| 44 | rw [torsionBlockInclusion, ← MonObj.comp_pow, Torsion.Groups.Construction.nativeTorsionInclusion_killed, MonObj.comp_one] |
| 45 | |
| 46 | theorem torsionBlockInclusion_supported (n : ℕ) (p : A ⟶ A) [IsMonHom p] : |
| 47 | torsionBlockInclusion n p ≫ p = torsionBlockInclusion n p := by |
| 48 | rw [torsionBlockInclusion, Category.assoc, ← Torsion.Groups.Construction.nativeTorsionMap_inclusion, |
| 49 | ← Category.assoc, BlockGroups.Construction.fixedPointInclusion_fixed] |
| 50 | |
| 51 | def torsionBlockLift (n : ℕ) (p : A ⟶ A) [IsMonHom p] {X : Over S} |
| 52 | (x : X ⟶ A) (hxn : x ^ n = 1) (hxp : x ≫ p = x) : X ⟶ torsionBlock n p := |
| 53 | BlockGroups.Construction.fixedPointLift (Torsion.Groups.Construction.nativeTorsionMap n p) (Torsion.Groups.Construction.nativeTorsionLift A n x hxn) (by |
| 54 | apply (cancel_mono (Torsion.Groups.Construction.nativeTorsionInclusion A n)).mp |
| 55 | rw [Category.assoc, Torsion.Groups.Construction.nativeTorsionMap_inclusion, ← Category.assoc, |
| 56 | Torsion.Groups.Construction.nativeTorsionLift_inclusion, hxp]) |
| 57 | |
| 58 | @[simp] |
| 59 | theorem torsionBlockLift_inclusion (n : ℕ) (p : A ⟶ A) [IsMonHom p] {X : Over S} |
| 60 | (x : X ⟶ A) (hxn : x ^ n = 1) (hxp : x ≫ p = x) : |
| 61 | torsionBlockLift n p x hxn hxp ≫ torsionBlockInclusion n p = x := by |
| 62 | rw [torsionBlockInclusion, ← Category.assoc, torsionBlockLift, |
| 63 | BlockGroups.Construction.fixedPointLift_inclusion, Torsion.Groups.Construction.nativeTorsionLift_inclusion] |
| 64 | |
| 65 | theorem torsionBlock_finite_etale |
| 66 | (n : ℕ) (p : A ⟶ A) [IsMonHom p] |
| 67 | (h_TorsionQuotient : IsFinite (TorsionQuotient.SubgroupFunctor.torsionScheme A n).hom ∧ Etale (TorsionQuotient.SubgroupFunctor.torsionScheme A n).hom) : |
| 68 | IsFinite (torsionBlock n p).hom ∧ Etale (torsionBlock n p).hom := by |
| 69 | obtain ⟨hf, he⟩ := Torsion.Groups.Construction.nativeTorsionScheme_finite_etale A n h_TorsionQuotient |
| 70 | have : IsFinite (Torsion.Groups.Construction.nativeTorsionScheme A n).hom := hf |
| 71 | have : Etale (Torsion.Groups.Construction.nativeTorsionScheme A n).hom := he |
| 72 | exact BlockGroups.Construction.fixedPointScheme_finite_etale (Torsion.Groups.Construction.nativeTorsionMap n p) |
| 73 | |
| 74 | theorem torsionBlockInclusion_separated |
| 75 | (n : ℕ) (p q : A ⟶ A) [IsMonHom p] [IsMonHom q] |
| 76 | (hpq : Torsion.Groups.Construction.nativeTorsionMap n q ≫ Torsion.Groups.Construction.nativeTorsionMap n p = 1) : |
| 77 | torsionBlockInclusion n q ≫ p = 1 := by |
| 78 | have hsep : BlockGroups.Construction.fixedPointInclusion (Torsion.Groups.Construction.nativeTorsionMap n q) ≫ Torsion.Groups.Construction.nativeTorsionMap n p = 1 := by |
| 79 | calc |
| 80 | _ = (BlockGroups.Construction.fixedPointInclusion (Torsion.Groups.Construction.nativeTorsionMap n q) ≫ Torsion.Groups.Construction.nativeTorsionMap n q) ≫ |
| 81 | Torsion.Groups.Construction.nativeTorsionMap n p := |
| 82 | congrArg (fun z => z ≫ Torsion.Groups.Construction.nativeTorsionMap n p) (BlockGroups.Construction.fixedPointInclusion_fixed _).symm |
| 83 | _ = 1 := by rw [Category.assoc, hpq, MonObj.comp_one] |
| 84 | rw [torsionBlockInclusion, Category.assoc, ← Torsion.Groups.Construction.nativeTorsionMap_inclusion, |
| 85 | ← Category.assoc, hsep, MonObj.one_comp] |
| 86 | |
| 87 | variable {P : Over S} |
| 88 | |
| 89 | def supportedTorsionBlock_model |
| 90 | (n : ℕ) (p : A ⟶ A) [IsMonHom p] |
| 91 | (F : TorsionQuotient.SubgroupFunctor.RelativeSubgroup A P) (R : F.Model) |
| 92 | (hkilled : F.KilledBy n) (hsupport : SubgroupFunctor.Construction.SupportedOn F p) : |
| 93 | (SubgroupTransport.Construction.relativeSubgroupPullback (torsionBlockInclusion n p) F).Model := |
| 94 | SubgroupTransport.Construction.relativeSubgroupPullback_model (torsionBlockInclusion n p) F R |
| 95 | (torsionBlockLift n p R.toGroup (R.toGroup_pow_eq_one hkilled) |
| 96 | ((SubgroupFunctor.Construction.supportedOn_iff_model_equation F R p).mp hsupport)) |
| 97 | (torsionBlockLift_inclusion _ _ _ _ _) |
| 98 | |
| 99 | theorem supportedTorsionBlock_image |
| 100 | (n : ℕ) (p : A ⟶ A) [IsMonHom p] |
| 101 | (F : TorsionQuotient.SubgroupFunctor.RelativeSubgroup A P) (hkilled : F.KilledBy n) (hsupport : SubgroupFunctor.Construction.SupportedOn F p) : |
| 102 | SubgroupTransport.Construction.relativeSubgroupImage (torsionBlockInclusion n p) |
| 103 | (SubgroupTransport.Construction.relativeSubgroupPullback (torsionBlockInclusion n p) F) = F := by |
| 104 | apply SubgroupTransport.Construction.relativeSubgroupPullback_image |
| 105 | intro X t x hx |
| 106 | exact ⟨torsionBlockLift n p x (hkilled X t x hx) (hsupport X t x hx), |
| 107 | torsionBlockLift_inclusion _ _ _ _ _⟩ |
| 108 | |
| 109 | variable (n : ℕ) (p q : A ⟶ A) [IsMonHom p] [IsMonHom q] |
| 110 | variable {W : Over S} [GrpObj W] |
| 111 | variable (e : Annihilator.Construction.SchemeBicharacter (A := torsionBlock n p) (B := torsionBlock n q) (W := W)) |
| 112 | |
| 113 | /-- The opposite subgroup is the annihilator, embedded into the original |
| 114 | abelian scheme through the opposite torsion block. -/ |
| 115 | def oppositeKernel (F : TorsionQuotient.SubgroupFunctor.RelativeSubgroup A P) : TorsionQuotient.SubgroupFunctor.RelativeSubgroup A P := |
| 116 | SubgroupTransport.Construction.relativeSubgroupImage (torsionBlockInclusion n q) |
| 117 | (e.relativeAnnihilator (SubgroupTransport.Construction.relativeSubgroupPullback (torsionBlockInclusion n p) F)) |
| 118 | |
| 119 | theorem oppositeKernel_baseChange (F : TorsionQuotient.SubgroupFunctor.RelativeSubgroup A P) |
| 120 | {Q : Over S} (b : Q ⟶ P) : |
| 121 | (oppositeKernel n p q e F).baseChange b = oppositeKernel n p q e (F.baseChange b) := by |
| 122 | rw [oppositeKernel, SubgroupTransport.Construction.relativeSubgroupImage_baseChange, |
| 123 | Annihilator.Construction.SchemeBicharacter.relativeAnnihilator_baseChange, SubgroupTransport.Construction.relativeSubgroupPullback_baseChange] |
| 124 | rfl |
| 125 | |
| 126 | /-- Produce the opposite subgroup and the full paired kernel as actual |
| 127 | finite locally free subgroups, killed by the one common multiplier n. -/ |
| 128 | theorem oppositeKernel_and_product_models |
| 129 | [Etale W.hom] [IsSeparated W.hom] |
| 130 | (F : TorsionQuotient.SubgroupFunctor.RelativeSubgroup A P) (R : F.Model) |
| 131 | (hkilled : F.KilledBy n) (hsupport : SubgroupFunctor.Construction.SupportedOn F p) |
| 132 | (hpq : Torsion.Groups.Construction.nativeTorsionMap n q ≫ Torsion.Groups.Construction.nativeTorsionMap n p = 1) |
| 133 | (h_TorsionQuotient : IsFinite (TorsionQuotient.SubgroupFunctor.torsionScheme A n).hom ∧ Etale (TorsionQuotient.SubgroupFunctor.torsionScheme A n).hom) : |
| 134 | Nonempty (oppositeKernel n p q e F).Model ∧ |
| 135 | (oppositeKernel n p q e F).KilledBy n ∧ |
| 136 | Nonempty (Kernel.Product.Construction.relativeKernelProduct F (oppositeKernel n p q e F)).Model ∧ |
| 137 | (Kernel.Product.Construction.relativeKernelProduct F (oppositeKernel n p q e F)).KilledBy n := by |
| 138 | let FB := SubgroupTransport.Construction.relativeSubgroupPullback (torsionBlockInclusion n p) F |
| 139 | let RB := supportedTorsionBlock_model n p F R hkilled hsupport |
| 140 | have : Etale RB.toBase.left := SubgroupLocus.Construction.subgroup_model_etale F R n hkilled h_TorsionQuotient.2 |
| 141 | obtain ⟨hqfinite, hqetale⟩ := torsionBlock_finite_etale n q h_TorsionQuotient |
| 142 | have : IsFinite (torsionBlock n q).hom := hqfinite |
| 143 | have : Etale (torsionBlock n q).hom := hqetale |
| 144 | obtain ⟨Q⟩ := e.relativeAnnihilator_has_model FB RB |
| 145 | let G := oppositeKernel n p q e F |
| 146 | let RG : G.Model := SubgroupTransport.Construction.relativeSubgroupImage_model (torsionBlockInclusion n q) |
| 147 | (e.relativeAnnihilator FB) Q |
| 148 | have hGkilled : G.KilledBy n := by |
| 149 | intro X t x hx |
| 150 | obtain ⟨y, _, rfl⟩ := hx |
| 151 | change (y ≫ torsionBlockInclusion n q) ^ n = 1 |
| 152 | rw [← MonObj.comp_pow, torsionBlockInclusion_killed, MonObj.comp_one] |
| 153 | have hRG : RG.toGroup ≫ p = 1 := by |
| 154 | change (Q.toGroup ≫ torsionBlockInclusion n q) ≫ p = 1 |
| 155 | rw [Category.assoc, torsionBlockInclusion_separated n p q hpq, MonObj.comp_one] |
| 156 | refine ⟨⟨RG⟩, hGkilled, ?_, Kernel.Product.Construction.relativeKernelProduct_killed F G n hkilled hGkilled⟩ |
| 157 | exact ⟨Kernel.Product.Construction.relativeKernelProduct_model F G R RG p |
| 158 | ((SubgroupFunctor.Construction.supportedOn_iff_model_equation F R p).mp hsupport) hRG⟩ |
| 159 | |
| 160 | end |
| 161 | |
| 162 | end OAI.AlgebraicGeometry.AbelianScheme.IsogenyQuotient.OppositeKernel.Construction |