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.ReferenceFamily.GroupLiftOpenCoordinates |
| 2 | import OAI.AlgebraicGeometry.Picard.Homomorphisms.ProperGroupFunctions |
| 3 | |
| 4 | /-! # Group Product Lift Rigidity -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.GroupProductLiftRigidity |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Maps on a proper-group product with the same reduction and |
| 11 | the same value on its identity section agree, using the actual |
| 12 | affine identity chart and the proved global-functions theorem. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 15 | open _root_.CategoryTheory.MonoidalCategory _root_.CategoryTheory.CartesianMonoidalCategory |
| 16 | open scoped _root_.CategoryTheory.MonObj |
| 17 | |
| 18 | variable (k : Type) [Field k] (A : Over (Spec (.of k))) [GrpObj A] |
| 19 | [Smooth A.hom] [IsProper A.hom] [GeometricallyConnected A.hom] |
| 20 | (T : Over (Spec (.of k))) [IsAffine T.left] |
| 21 | (Z : Over (Spec (.of k))) [GrpObj Z] |
| 22 | (B : Over (Spec (.of k))) [IsAffine B.left] (i : B ⟶ Z) [IsOpenImmersion i.left] |
| 23 | (S : Over (Spec (.of k))) (r : S ⟶ T ⊗ A) [Surjective r.left] |
| 24 | (x : S ⟶ B) (hx : x ≫ i = 1) |
| 25 | |
| 26 | include hx in |
| 27 | theorem properGroupProduct_lift_ext (f g : T ⊗ A ⟶ Z) (hfg : r ≫ f = r ≫ g) |
| 28 | (he : lift (𝟙 T) (toUnit T ≫ η[A]) ≫ f = lift (𝟙 T) (toUnit T ≫ η[A]) ≫ g) : f = g := by |
| 29 | let d := (GroupLiftOpenCoordinates.groupLiftOpenEquiv r i x hx g ⟨f, hfg⟩).val |
| 30 | have hd : d ≫ i = f / g := GroupLiftOpenCoordinates.groupLiftOpenEquiv_fac r i x hx g ⟨f, hfg⟩ |
| 31 | have hc := Picard.Homomorphisms.ProperGroupFunctions.Construction.properGroupProduct_affine_target A T B d |
| 32 | have hconst : f / g = fst T A ≫ lift (𝟙 T) (toUnit T ≫ η[A]) ≫ (f / g) := by |
| 33 | calc |
| 34 | f / g = d ≫ i := hd.symm |
| 35 | _ = (fst T A ≫ lift (𝟙 T) (toUnit T ≫ η[A]) ≫ d) ≫ i := congrArg (fun q => q ≫ i) hc |
| 36 | _ = fst T A ≫ lift (𝟙 T) (toUnit T ≫ η[A]) ≫ (f / g) := by |
| 37 | rw [Category.assoc, Category.assoc, hd] |
| 38 | have hz : f / g = 1 := by |
| 39 | rw [hconst, GrpObj.comp_div, he, div_self', MonObj.comp_one] |
| 40 | exact div_eq_one.mp hz |
| 41 | |
| 42 | end |
| 43 | |
| 44 | end OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.GroupProductLiftRigidity |