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.Geometric.TorsionChoices |
| 2 | import OAI.AlgebraicGeometry.AbelianScheme.IsogenyQuotient.SupportedBlockChoices |
| 3 | |
| 4 | /-! # Block Choices -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianScheme.IsogenyQuotient.Geometric.BlockChoices.Construction |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! |
| 11 | Geometric points of supported subgroup choices classify unmarked |
| 12 | subgroups of the native block's actual points. The membership formula |
| 13 | retains the original subgroup and its inclusion into the abelian scheme. |
| 14 | -/ |
| 15 | |
| 16 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 17 | open scoped _root_.CategoryTheory.MonObj |
| 18 | |
| 19 | universe u |
| 20 | |
| 21 | def multiplicativeSubgroupEquiv {G H : Type*} [Group G] [Group H] (e : G ≃* H) : |
| 22 | Subgroup G ≃ Subgroup H where |
| 23 | toFun F := F.map e.toMonoidHom |
| 24 | invFun F := F.map e.symm.toMonoidHom |
| 25 | left_inv F := (Subgroup.map_symm_eq_iff_map_eq F (e := e)).mpr rfl |
| 26 | right_inv F := (Subgroup.map_symm_eq_iff_map_eq F (e := e.symm)).mpr rfl |
| 27 | |
| 28 | def typedMultiplicativeSubgroupEquiv {G H M : Type*} [Group G] [Group H] [Group M] |
| 29 | (e : G ≃* H) : |
| 30 | {F : Subgroup G // Nonempty (F ≃* M)} ≃ |
| 31 | {F : Subgroup H // Nonempty (F ≃* M)} := |
| 32 | (multiplicativeSubgroupEquiv e).subtypeEquiv (fun F => by |
| 33 | let eF := e.subgroupMap F |
| 34 | exact ⟨fun ⟨f⟩ => ⟨eF.symm.trans f⟩, fun ⟨f⟩ => ⟨eF.trans f⟩⟩) |
| 35 | |
| 36 | variable {S : Scheme.{u}} (H : Over S) [GrpObj H] [IsCommMonObj H] |
| 37 | (n : ℕ) (hH : (𝟙 H) ^ n = 1) |
| 38 | |
| 39 | def torsionOfKilledIso : TorsionQuotient.SubgroupFunctor.torsionScheme H n ≅ H where |
| 40 | hom := TorsionQuotient.SubgroupFunctor.torsionι H n |
| 41 | inv := TorsionQuotient.SubgroupFunctor.torsionLift n (𝟙 H) hH |
| 42 | hom_inv_id := by |
| 43 | apply (cancel_mono (TorsionQuotient.SubgroupFunctor.torsionι H n)).mp |
| 44 | rw [Category.assoc, TorsionQuotient.SubgroupFunctor.torsionLift_ι, Category.comp_id, Category.id_comp] |
| 45 | inv_hom_id := TorsionQuotient.SubgroupFunctor.torsionLift_ι n (𝟙 H) hH |
| 46 | |
| 47 | def torsionOfKilledPointsEquiv (X : Over S) : (X ⟶ TorsionQuotient.SubgroupFunctor.torsionScheme H n) ≃* (X ⟶ H) where |
| 48 | toFun x := x ≫ (torsionOfKilledIso H n hH).hom |
| 49 | invFun x := x ≫ (torsionOfKilledIso H n hH).inv |
| 50 | left_inv x := by simp only [Category.assoc, Iso.hom_inv_id, Category.comp_id] |
| 51 | right_inv x := by simp only [Category.assoc, Iso.inv_hom_id, Category.comp_id] |
| 52 | map_mul' x y := MonObj.mul_comp x y (TorsionQuotient.SubgroupFunctor.torsionι H n) |
| 53 | |
| 54 | include hH in |
| 55 | theorem torsionOfKilled_finite_etale [IsFinite H.hom] [Etale H.hom] : |
| 56 | IsFinite (TorsionQuotient.SubgroupFunctor.torsionScheme H n).hom ∧ Etale (TorsionQuotient.SubgroupFunctor.torsionScheme H n).hom := by |
| 57 | have : IsIso (torsionOfKilledIso H n hH).hom.left := |
| 58 | (Over.forget S).map_isIso (torsionOfKilledIso H n hH).hom |
| 59 | rw [← (torsionOfKilledIso H n hH).hom.w] |
| 60 | exact ⟨inferInstance, inferInstance⟩ |
| 61 | |
| 62 | variable (M : Type u) [AddCommGroup M] [Module (ZMod n) M] [Finite M] |
| 63 | [IsFinite H.hom] [Etale H.hom] |
| 64 | (K : Type u) [Field K] [IsAlgClosed K] (b : Spec (.of K) ⟶ S) |
| 65 | |
| 66 | def geometricKilledChoiceEquiv : |
| 67 | TorsionQuotient.SubgroupFunctor.SubgroupChoice H n M (Over.mk b) ≃ |
| 68 | {J : Subgroup (Over.mk b ⟶ H) // Nonempty (J ≃* Multiplicative M)} := by |
| 69 | have := (torsionOfKilled_finite_etale H n hH).1 |
| 70 | have := (torsionOfKilled_finite_etale H n hH).2 |
| 71 | exact (TorsionChoices.Construction.geometricTorsionChoiceEquiv H n M K b).trans |
| 72 | (typedMultiplicativeSubgroupEquiv (torsionOfKilledPointsEquiv H n hH (Over.mk b))) |
| 73 | |
| 74 | theorem geometricKilledChoiceEquiv_points (F : TorsionQuotient.SubgroupFunctor.SubgroupChoice H n M (Over.mk b)) : |
| 75 | (geometricKilledChoiceEquiv H n hH M K b F).val = F.subgroup.points (Over.mk b) (𝟙 _) := by |
| 76 | have := (torsionOfKilled_finite_etale H n hH).1 |
| 77 | have := (torsionOfKilled_finite_etale H n hH).2 |
| 78 | change ((TorsionChoices.Construction.geometricTorsionChoiceEquiv H n M K b F).val.map |
| 79 | (torsionOfKilledPointsEquiv H n hH (Over.mk b)).toMonoidHom) = _ |
| 80 | rw [TorsionChoices.Construction.geometricTorsionChoiceEquiv_points] |
| 81 | ext x |
| 82 | constructor |
| 83 | · rintro ⟨y, hy, rfl⟩ |
| 84 | exact hy |
| 85 | · intro hx |
| 86 | let y := TorsionQuotient.SubgroupFunctor.torsionLift n x (F.killed _ (𝟙 _) x hx) |
| 87 | have hy : y ≫ TorsionQuotient.SubgroupFunctor.torsionι H n = x := TorsionQuotient.SubgroupFunctor.torsionLift_ι _ _ _ |
| 88 | refine ⟨y, ?_, hy⟩ |
| 89 | change y ≫ TorsionQuotient.SubgroupFunctor.torsionι H n ∈ F.subgroup.points (Over.mk b) (𝟙 _) |
| 90 | rwa [hy] |
| 91 | |
| 92 | variable {A : Over S} [GrpObj A] [IsCommMonObj A] (p : A ⟶ A) [IsMonHom p] |
| 93 | [IsFinite (OppositeKernel.Construction.torsionBlock n p).hom] [Etale (OppositeKernel.Construction.torsionBlock n p).hom] |
| 94 | |
| 95 | def geometricSupportedChoiceEquiv : |
| 96 | SubgroupFunctor.Construction.SupportedChoice A n M p (Over.mk b) ≃ |
| 97 | {J : Subgroup (Over.mk b ⟶ OppositeKernel.Construction.torsionBlock n p) // Nonempty (J ≃* Multiplicative M)} := |
| 98 | (SupportedBlockChoices.Construction.supportedChoiceBlockEquiv n p M).trans |
| 99 | (geometricKilledChoiceEquiv (OppositeKernel.Construction.torsionBlock n p) n (SupportedBlockChoices.Construction.torsionBlock_identity_killed n p) M K b) |
| 100 | |
| 101 | theorem geometricSupportedChoiceEquiv_points (F : SubgroupFunctor.Construction.SupportedChoice A n M p (Over.mk b)) : |
| 102 | (geometricSupportedChoiceEquiv n M K b p F).val = |
| 103 | (SubgroupTransport.Construction.relativeSubgroupPullback (OppositeKernel.Construction.torsionBlockInclusion n p) F.val.subgroup).points |
| 104 | (Over.mk b) (𝟙 _) := |
| 105 | geometricKilledChoiceEquiv_points (OppositeKernel.Construction.torsionBlock n p) n (SupportedBlockChoices.Construction.torsionBlock_identity_killed n p) |
| 106 | M K b (SupportedBlockChoices.Construction.supportedChoiceToBlock n p M F) |
| 107 | |
| 108 | theorem geometricSupportedChoiceEquiv_membership |
| 109 | (F : SubgroupFunctor.Construction.SupportedChoice A n M p (Over.mk b)) (x : Over.mk b ⟶ OppositeKernel.Construction.torsionBlock n p) : |
| 110 | x ∈ (geometricSupportedChoiceEquiv n M K b p F).val ↔ |
| 111 | x ≫ OppositeKernel.Construction.torsionBlockInclusion n p ∈ F.val.subgroup.points (Over.mk b) (𝟙 _) := by |
| 112 | rw [geometricSupportedChoiceEquiv_points] |
| 113 | rfl |
| 114 | |
| 115 | end |
| 116 | |
| 117 | end OAI.AlgebraicGeometry.AbelianScheme.IsogenyQuotient.Geometric.BlockChoices.Construction |