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.AbelianModuli.HilbertConstruction.Abelian.Schemes |
| 2 | import Mathlib.AlgebraicGeometry.Morphisms.FormallyUnramified |
| 3 | import Mathlib.CategoryTheory.Limits.Constructions.Over.Connected |
| 4 | |
| 5 | /-! # Open Unit Unramified Group -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.Picard.ThetaConstruction.OpenUnitUnramifiedGroup.Geometric |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! An open identity section makes an actual group scheme formally |
| 12 | unramified: the diagonal is the pullback of the identity along the |
| 13 | group difference morphism. No flatness assumption is used. -/ |
| 14 | |
| 15 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 16 | open _root_.CategoryTheory.MonoidalCategory _root_.CategoryTheory.CartesianMonoidalCategory |
| 17 | open scoped _root_.CategoryTheory.MonObj _root_.CategoryTheory.Obj |
| 18 | |
| 19 | universe u |
| 20 | variable {S : Scheme.{u}} (G : Over S) [GrpObj G] |
| 21 | |
| 22 | def groupDifference : G ⊗ G ⟶ G := (fst G G)⁻¹ * snd G G |
| 23 | |
| 24 | theorem groupDifference_diagonal_isPullback : |
| 25 | IsPullback (lift (𝟙 G) (𝟙 G)) (toUnit G) (groupDifference G) η[G] := by |
| 26 | have hw : lift (𝟙 G) (𝟙 G) ≫ groupDifference G = toUnit G ≫ η[G] := by |
| 27 | change lift (𝟙 G) (𝟙 G) ≫ groupDifference G = (1 : G ⟶ G) |
| 28 | simp only [groupDifference, MonObj.comp_mul, GrpObj.comp_inv, lift_fst, lift_snd, inv_mul_cancel] |
| 29 | apply IsPullback.of_isLimit (c := PullbackCone.mk _ _ hw) |
| 30 | refine PullbackCone.IsLimit.mk hw (fun c => c.fst ≫ fst G G) ?_ ?_ ?_ |
| 31 | · intro c |
| 32 | have he : c.fst ≫ fst G G = c.fst ≫ snd G G := by |
| 33 | have hc : (c.fst ≫ fst G G)⁻¹ * (c.fst ≫ snd G G) = 1 := by |
| 34 | simpa only [groupDifference, MonObj.comp_mul, GrpObj.comp_inv, |
| 35 | MonObj.one_eq_one, MonObj.comp_one] using c.condition |
| 36 | exact inv_mul_eq_one.mp hc |
| 37 | apply CartesianMonoidalCategory.hom_ext |
| 38 | · rw [Category.assoc, lift_fst, Category.comp_id] |
| 39 | · rw [Category.assoc, lift_snd, Category.comp_id] |
| 40 | exact he |
| 41 | · intro c |
| 42 | exact Subsingleton.elim _ _ |
| 43 | · intro c m hm _ |
| 44 | have h := congrArg (fun a => a ≫ fst G G) hm |
| 45 | simpa only [Category.assoc, lift_fst, Category.comp_id] using h |
| 46 | |
| 47 | theorem group_formallyUnramified_of_open_unit [IsOpenImmersion η[G].left] : |
| 48 | FormallyUnramified G.hom := by |
| 49 | have hp : IsPullback (pullback.diagonal G.hom) G.hom (groupDifference G).left η[G].left := |
| 50 | (Over.forget S).map_isPullback (groupDifference_diagonal_isPullback G) |
| 51 | let : IsOpenImmersion (pullback.diagonal G.hom) := |
| 52 | MorphismProperty.of_isPullback (P := @IsOpenImmersion) hp.flip inferInstance |
| 53 | infer_instance |
| 54 | |
| 55 | end |
| 56 | |
| 57 | end OAI.AlgebraicGeometry.Picard.ThetaConstruction.OpenUnitUnramifiedGroup.Geometric |