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.SubgroupPreimage |
| 2 | |
| 3 | /-! # Subgroup Preimage Geometry -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.AbelianScheme.FrobeniusKernel.SubgroupPreimageGeometry.Construction |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! The subgroup preimage is a finite commutative group scheme when |
| 10 | its target subgroup is finite and its original source is commutative. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 13 | open scoped _root_.CategoryTheory.MonObj |
| 14 | |
| 15 | universe u |
| 16 | variable {S : Scheme.{u}} {A B J : Grp (Over S)} (f : A ⟶ B) (j : J ⟶ B) |
| 17 | |
| 18 | instance subgroupPreimage_finite [IsFinite f.hom.hom.left] [IsFinite J.X.hom] : |
| 19 | IsFinite (SubgroupPreimage.Construction.subgroupPreimage f j).X.hom := by |
| 20 | have : IsFinite (SubgroupPreimage.Construction.subgroupPreimageProjection f j).hom.hom.left := |
| 21 | MorphismProperty.of_isPullback (P := @IsFinite) (SubgroupPreimage.Construction.subgroupPreimage_geometricPullback f j) inferInstance |
| 22 | have h : IsFinite ((SubgroupPreimage.Construction.subgroupPreimageProjection f j).hom.hom.left ≫ J.X.hom) := inferInstance |
| 23 | exact (congrArg IsFinite (SubgroupPreimage.Construction.subgroupPreimageProjection f j).hom.hom.w).mp h |
| 24 | |
| 25 | instance subgroupPreimage_commutative [IsCommMonObj A.X] [Mono j.hom.hom] : |
| 26 | IsCommMonObj (SubgroupPreimage.Construction.subgroupPreimage f j).X := by |
| 27 | apply (isCommMonObj_iff_isMulCommutative _).mpr |
| 28 | intro T |
| 29 | refine ⟨⟨fun x y => ?_⟩⟩ |
| 30 | apply (cancel_mono (SubgroupPreimage.Construction.subgroupPreimageInclusion f j).hom.hom).mp |
| 31 | rw [MonObj.mul_comp, MonObj.mul_comp, mul_comm] |
| 32 | |
| 33 | end |
| 34 | |
| 35 | end OAI.AlgebraicGeometry.AbelianScheme.FrobeniusKernel.SubgroupPreimageGeometry.Construction |