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.IdentitySubgroup |
| 2 | import OAI.AlgebraicGeometry.AbelianScheme.IsogenyQuotient.Torsion.Groups |
| 3 | import OAI.AlgebraicGeometry.AbelianScheme.IsogenyQuotient.SubgroupTransport |
| 4 | import OAI.AlgebraicGeometry.AbelianScheme.IsogenyQuotient.OppositeKernel |
| 5 | |
| 6 | /-! # Supported Intrinsic Subgroup -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.AbelianScheme.IsogenyQuotient.SupportedIntrinsicSubgroup.Construction |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! |
| 13 | The original supported subgroup model gives a native subgroup inclusion |
| 14 | into its actual torsion block. Its image is exactly the original relative |
| 15 | subgroup pulled back along the block inclusion. |
| 16 | -/ |
| 17 | |
| 18 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 19 | open _root_.CategoryTheory.MonoidalCategory _root_.CategoryTheory.CartesianMonoidalCategory |
| 20 | open scoped _root_.CategoryTheory.MonObj |
| 21 | |
| 22 | universe u v |
| 23 | |
| 24 | theorem isMonHom_of_mono_factorization {C : Type u} [Category.{v} C] [CartesianMonoidalCategory C] |
| 25 | {G H K : C} [GrpObj G] [GrpObj H] [GrpObj K] |
| 26 | (f : G ⟶ H) (i : H ⟶ K) [IsMonHom i] [Mono i] |
| 27 | (g : G ⟶ K) [IsMonHom g] (h : f ≫ i = g) : IsMonHom f := by |
| 28 | apply GroupMaps.Construction.isMonHom_of_pointwise |
| 29 | · intro T |
| 30 | apply (cancel_mono i).mp |
| 31 | rw [Category.assoc, h, MonObj.one_comp, MonObj.one_comp] |
| 32 | · intro T x y |
| 33 | apply (cancel_mono i).mp |
| 34 | rw [Category.assoc, h, MonObj.mul_comp, MonObj.mul_comp, |
| 35 | Category.assoc, Category.assoc, h] |
| 36 | |
| 37 | variable {S : Scheme.{u}} {d : ℕ} (A : AbelianModuli.HilbertConstruction.Abelian.Schemes.AbelianScheme d S) |
| 38 | (F : TorsionQuotient.SubgroupFunctor.RelativeSubgroup A.scheme (Over.mk (𝟙 S))) (R : F.Model) |
| 39 | (n : ℕ) (p : A.scheme ⟶ A.scheme) [IsMonHom p] |
| 40 | (hkilled : F.KilledBy n) (hsupport : SubgroupFunctor.Construction.SupportedOn F p) |
| 41 | |
| 42 | include hkilled in |
| 43 | theorem identitySubgroupInclusion_killed : (IdentitySubgroup.Construction.identitySubgroupInclusion A F R) ^ n = 1 := by |
| 44 | rw [IdentitySubgroup.Construction.identitySubgroupInclusion_model, ← MonObj.comp_pow, |
| 45 | R.toGroup_pow_eq_one hkilled, MonObj.comp_one] |
| 46 | |
| 47 | omit [IsMonHom p] in |
| 48 | include hsupport in |
| 49 | theorem identitySubgroupInclusion_supported : |
| 50 | IdentitySubgroup.Construction.identitySubgroupInclusion A F R ≫ p = IdentitySubgroup.Construction.identitySubgroupInclusion A F R := by |
| 51 | rw [IdentitySubgroup.Construction.identitySubgroupInclusion_model, Category.assoc, |
| 52 | (SubgroupFunctor.Construction.supportedOn_iff_model_equation F R p).mp hsupport] |
| 53 | |
| 54 | def supportedNativeSubgroupInclusion : (Subgroup.Construction.subgroupGroupScheme F R).X ⟶ OppositeKernel.Construction.torsionBlock n p := |
| 55 | OppositeKernel.Construction.torsionBlockLift n p (IdentitySubgroup.Construction.identitySubgroupInclusion A F R) |
| 56 | (identitySubgroupInclusion_killed A F R n hkilled) |
| 57 | (identitySubgroupInclusion_supported A F R p hsupport) |
| 58 | |
| 59 | theorem supportedNativeSubgroupInclusion_comp : |
| 60 | supportedNativeSubgroupInclusion A F R n p hkilled hsupport ≫ OppositeKernel.Construction.torsionBlockInclusion n p = |
| 61 | IdentitySubgroup.Construction.identitySubgroupInclusion A F R := |
| 62 | OppositeKernel.Construction.torsionBlockLift_inclusion n p (IdentitySubgroup.Construction.identitySubgroupInclusion A F R) |
| 63 | (identitySubgroupInclusion_killed A F R n hkilled) |
| 64 | (identitySubgroupInclusion_supported A F R p hsupport) |
| 65 | |
| 66 | instance supportedNativeSubgroupInclusion_isMonHom : |
| 67 | IsMonHom (supportedNativeSubgroupInclusion A F R n p hkilled hsupport) := by |
| 68 | exact @isMonHom_of_mono_factorization (Over S) _ _ |
| 69 | (Subgroup.Construction.subgroupGroupScheme F R).X (OppositeKernel.Construction.torsionBlock n p) A.scheme |
| 70 | (Subgroup.Construction.subgroupGroupScheme F R).grp (inferInstanceAs (GrpObj (OppositeKernel.Construction.torsionBlock n p))) A.group |
| 71 | (supportedNativeSubgroupInclusion A F R n p hkilled hsupport) (OppositeKernel.Construction.torsionBlockInclusion n p) |
| 72 | (inferInstanceAs (IsMonHom (OppositeKernel.Construction.torsionBlockInclusion n p))) |
| 73 | (inferInstanceAs (Mono (OppositeKernel.Construction.torsionBlockInclusion n p))) |
| 74 | (IdentitySubgroup.Construction.identitySubgroupInclusion A F R) (IdentitySubgroup.Construction.identitySubgroupInclusion_isMonHom A F R) |
| 75 | (supportedNativeSubgroupInclusion_comp A F R n p hkilled hsupport) |
| 76 | |
| 77 | instance supportedNativeSubgroupInclusion_mono : |
| 78 | Mono (supportedNativeSubgroupInclusion A F R n p hkilled hsupport) := by |
| 79 | have : IsClosedImmersion (IdentitySubgroup.Construction.identitySubgroupInclusion A F R).left := |
| 80 | IdentitySubgroup.Construction.identitySubgroupInclusion_closedImmersion A F R |
| 81 | have : Mono (IdentitySubgroup.Construction.identitySubgroupInclusion A F R) := Over.mono_of_mono_left _ |
| 82 | have : Mono (supportedNativeSubgroupInclusion A F R n p hkilled hsupport ≫ OppositeKernel.Construction.torsionBlockInclusion n p) := |
| 83 | (supportedNativeSubgroupInclusion_comp A F R n p hkilled hsupport).symm ▸ inferInstance |
| 84 | exact mono_of_mono (supportedNativeSubgroupInclusion A F R n p hkilled hsupport) (OppositeKernel.Construction.torsionBlockInclusion n p) |
| 85 | |
| 86 | theorem supportedNativeSubgroupInclusion_points |
| 87 | (T : Over S) (t : T ⟶ Over.mk (𝟙 S)) (y : T ⟶ OppositeKernel.Construction.torsionBlock n p) : |
| 88 | (∃ z : T ⟶ (Subgroup.Construction.subgroupGroupScheme F R).X, |
| 89 | z ≫ supportedNativeSubgroupInclusion A F R n p hkilled hsupport = y) ↔ |
| 90 | y ≫ OppositeKernel.Construction.torsionBlockInclusion n p ∈ F.points T t := by |
| 91 | have : IsClosedImmersion (IdentitySubgroup.Construction.identitySubgroupInclusion A F R).left := |
| 92 | IdentitySubgroup.Construction.identitySubgroupInclusion_closedImmersion A F R |
| 93 | have : Mono (IdentitySubgroup.Construction.identitySubgroupInclusion A F R) := Over.mono_of_mono_left _ |
| 94 | constructor |
| 95 | · rintro ⟨z, rfl⟩ |
| 96 | rw [Category.assoc, supportedNativeSubgroupInclusion_comp] |
| 97 | exact (IdentitySubgroup.Construction.identitySubgroupInclusion_points A F R T t _).mp |
| 98 | ⟨z, rfl, fun w hw => (cancel_mono (IdentitySubgroup.Construction.identitySubgroupInclusion A F R)).mp hw⟩ |
| 99 | · intro h |
| 100 | obtain ⟨z, hz, _⟩ := (IdentitySubgroup.Construction.identitySubgroupInclusion_points A F R T t _).mpr h |
| 101 | refine ⟨z, (cancel_mono (OppositeKernel.Construction.torsionBlockInclusion n p)).mp ?_⟩ |
| 102 | rw [Category.assoc, supportedNativeSubgroupInclusion_comp] |
| 103 | exact hz |
| 104 | |
| 105 | end |
| 106 | |
| 107 | end OAI.AlgebraicGeometry.AbelianScheme.IsogenyQuotient.SupportedIntrinsicSubgroup.Construction |