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.Intrinsic.RelativeQuotient |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Moduli.Coherence |
| 3 | |
| 4 | /-! # Identity Subgroup -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianScheme.IsogenyQuotient.IdentitySubgroup.Construction |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! |
| 11 | Over the identity parameter, the represented relative subgroup embeds in |
| 12 | the original abelian scheme. Its point condition is literally the given |
| 13 | relative subgroup, without an extra kernel-comparison hypothesis. |
| 14 | -/ |
| 15 | |
| 16 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 17 | open _root_.CategoryTheory.MonoidalCategory _root_.CategoryTheory.CartesianMonoidalCategory |
| 18 | open scoped _root_.CategoryTheory.MonObj _root_.CategoryTheory.Obj |
| 19 | |
| 20 | universe u |
| 21 | |
| 22 | variable {S : Scheme.{u}} {g : ℕ} (A : AbelianModuli.HilbertConstruction.Abelian.Schemes.AbelianScheme g S) |
| 23 | (F : TorsionQuotient.SubgroupFunctor.RelativeSubgroup A.scheme (Over.mk (𝟙 S))) (R : F.Model) |
| 24 | |
| 25 | def identityRelativeModelIso : (Subgroup.Construction.subgroupGroupScheme F R).X ≅ R.carrier := |
| 26 | Over.isoMk (Iso.refl _) (by |
| 27 | change (𝟙 R.carrier.left) ≫ R.carrier.hom = R.toBase.left |
| 28 | have h := R.toBase.w |
| 29 | change R.toBase.left ≫ (𝟙 S) = R.carrier.hom at h |
| 30 | exact (Category.id_comp R.carrier.hom).trans (h.symm.trans (Category.comp_id R.toBase.left))) |
| 31 | |
| 32 | def identityAmbientIso : (Kernel.Inclusion.Construction.ambientGroupScheme A.scheme (Over.mk (𝟙 S))).X ≅ A.scheme := |
| 33 | AmbientComparison.Construction.ambientPullbackIso (Over.mk (𝟙 S)) A ≪≫ A.pullbackIdIso |
| 34 | |
| 35 | instance identityAmbientIso_isMonHom : IsMonHom (identityAmbientIso A).hom := by |
| 36 | have := AmbientComparison.Construction.ambientPullbackIso_isMonHom (Over.mk (𝟙 S)) A |
| 37 | exact inferInstanceAs (IsMonHom ((AmbientComparison.Construction.ambientPullbackIso (Over.mk (𝟙 S)) A).hom ≫ A.pullbackIdIso.hom)) |
| 38 | |
| 39 | def identitySubgroupInclusion : (Subgroup.Construction.subgroupGroupScheme F R).X ⟶ A.scheme := |
| 40 | (Kernel.Inclusion.Construction.subgroupInclusion F R).hom.hom.hom ≫ (identityAmbientIso A).hom |
| 41 | |
| 42 | instance identitySubgroupInclusion_isMonHom : IsMonHom (identitySubgroupInclusion A F R) := by |
| 43 | have : IsMonHom (Kernel.Inclusion.Construction.subgroupInclusion F R).hom.hom.hom := |
| 44 | (Kernel.Inclusion.Construction.subgroupInclusion F R).hom.hom.isMonHom_hom |
| 45 | exact inferInstanceAs (IsMonHom ((Kernel.Inclusion.Construction.subgroupInclusion F R).hom.hom.hom ≫ (identityAmbientIso A).hom)) |
| 46 | |
| 47 | theorem identitySubgroupInclusion_closedImmersion : |
| 48 | IsClosedImmersion (identitySubgroupInclusion A F R).left := by |
| 49 | have := Kernel.Inclusion.Construction.subgroupInclusion_closedImmersion F R |
| 50 | have : IsIso (identityAmbientIso A).hom.left := |
| 51 | (Over.forget S).map_isIso (identityAmbientIso A).hom |
| 52 | exact inferInstanceAs (IsClosedImmersion |
| 53 | ((Kernel.Inclusion.Construction.subgroupInclusion F R).hom.hom.hom.left ≫ (identityAmbientIso A).hom.left)) |
| 54 | |
| 55 | theorem identitySubgroupInclusion_model : |
| 56 | identitySubgroupInclusion A F R = (identityRelativeModelIso A F R).hom ≫ R.toGroup := by |
| 57 | apply Over.OverMorphism.ext |
| 58 | change (Kernel.Inclusion.Construction.subgroupInclusion F R).hom.hom.hom.left ≫ |
| 59 | ((AmbientComparison.Construction.ambientPullbackIso (Over.mk (𝟙 S)) A).hom.left ≫ A.pullbackIdIso.hom.left) = |
| 60 | (𝟙 R.carrier.left) ≫ R.toGroup.left |
| 61 | rw [AbelianModuli.HilbertConstruction.Abelian.Schemes.AbelianScheme.pullbackIdIso_hom_left, Kernel.Inclusion.Construction.subgroupInclusion_underlying] |
| 62 | change (lift R.toBase R.toGroup).left ≫ |
| 63 | ((pullbackSymmetry (𝟙 S) A.scheme.hom).hom ≫ pullback.fst A.scheme.hom (𝟙 S)) = _ |
| 64 | rw [pullbackSymmetry_hom_comp_fst, Category.id_comp] |
| 65 | exact congrArg Over.Hom.left (lift_snd R.toBase R.toGroup) |
| 66 | |
| 67 | theorem identitySubgroupInclusion_points (X : Over S) (t : X ⟶ Over.mk (𝟙 S)) (a : X ⟶ A.scheme) : |
| 68 | (∃! h : X ⟶ (Subgroup.Construction.subgroupGroupScheme F R).X, h ≫ identitySubgroupInclusion A F R = a) ↔ |
| 69 | a ∈ F.points X t := by |
| 70 | have : IsClosedImmersion (identitySubgroupInclusion A F R).left := |
| 71 | identitySubgroupInclusion_closedImmersion A F R |
| 72 | have : Mono (identitySubgroupInclusion A F R) := Over.mono_of_mono_left _ |
| 73 | constructor |
| 74 | · rintro ⟨h, hh, _⟩ |
| 75 | apply (R.points_iff X t a).mpr |
| 76 | refine ⟨h ≫ (identityRelativeModelIso A F R).hom, ?_, ?_⟩ |
| 77 | · apply Over.OverMorphism.ext |
| 78 | have hb := (((h ≫ (identityRelativeModelIso A F R).hom) ≫ R.toBase).w.trans t.w.symm) |
| 79 | change ((h ≫ (identityRelativeModelIso A F R).hom) ≫ R.toBase).left ≫ (𝟙 S) = |
| 80 | t.left ≫ (𝟙 S) at hb |
| 81 | exact (Category.comp_id _).symm.trans (hb.trans (Category.comp_id _)) |
| 82 | · rw [identitySubgroupInclusion_model] at hh |
| 83 | simpa only [Category.assoc] using hh |
| 84 | · intro ha |
| 85 | obtain ⟨h, _, hh⟩ := (R.points_iff X t a).mp ha |
| 86 | have hlift : (h ≫ (identityRelativeModelIso A F R).inv) ≫ identitySubgroupInclusion A F R = a := by |
| 87 | simpa only [identitySubgroupInclusion_model, Category.assoc, Iso.inv_hom_id_assoc] using hh |
| 88 | exact ⟨h ≫ (identityRelativeModelIso A F R).inv, hlift, |
| 89 | fun y hy => (cancel_mono (identitySubgroupInclusion A F R)).mp (hy.trans hlift.symm)⟩ |
| 90 | |
| 91 | end |
| 92 | |
| 93 | end OAI.AlgebraicGeometry.AbelianScheme.IsogenyQuotient.IdentitySubgroup.Construction |