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.Polarized.TorsionHomRigidity |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Smooth.PointedMorphisms |
| 3 | |
| 4 | /-! # Torsion Hom Cancellation -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Finite.TorsionHomCancellation |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Finite torsion on the target is enough to cancel a positive power of |
| 11 | homomorphisms from an abelian variety; no polarization on the target is |
| 12 | part of this cancellation lemma. -/ |
| 13 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 14 | open _root_.CategoryTheory.MonoidalCategory |
| 15 | open scoped _root_.CategoryTheory.MonObj _root_.CategoryTheory.Obj |
| 16 | universe u |
| 17 | variable {K : Type u} [Field K] {g h : ℕ} |
| 18 | variable (A : Abelian.Schemes.AbelianScheme g (Spec (.of K))) (B : Abelian.Schemes.AbelianScheme h (Spec (.of K))) |
| 19 | variable (n : ℕ) [IsFinite (B.torsionScheme n).hom] |
| 20 | |
| 21 | theorem abelian_torsion_hom_eq_one_of_finite (f : A.scheme ⟶ B.scheme) [IsMonHom f] |
| 22 | (hf : f ^ n = 1) : f = 1 := by |
| 23 | let t := (B.torsionSchemePointsEquiv n A.scheme).symm ⟨f, hf⟩ |
| 24 | have ht : t ≫ B.torsionInclusion n = f := |
| 25 | congrArg Subtype.val ((B.torsionSchemePointsEquiv n A.scheme).apply_symm_apply ⟨f, hf⟩) |
| 26 | let : IsAffine (B.torsionScheme n).left := isAffine_of_isAffineHom (B.torsionScheme n).hom |
| 27 | let : IsReduced A.scheme.left := A.reduced_overField |
| 28 | let : ConnectedSpace A.scheme.left := A.connected_overField |
| 29 | have he := Proper.ConnectedReducedConstants.properConnectedReduced_map_eq_constant A.scheme.hom t.left η[A.scheme].left η[A.scheme].w |
| 30 | have hf' : f.left = A.scheme.hom ≫ η[A.scheme].left ≫ f.left := by |
| 31 | have hh := congrArg (fun u => u ≫ (B.torsionInclusion n).left) he |
| 32 | have ht' : t.left ≫ (B.torsionInclusion n).left = f.left := congrArg Over.Hom.left ht |
| 33 | simpa only [Category.assoc, ht'] using hh |
| 34 | have hz : η[A.scheme].left ≫ f.left = η[B.scheme].left := |
| 35 | congrArg Over.Hom.left (IsMonHom.one_hom f) |
| 36 | apply Over.OverMorphism.ext |
| 37 | exact hf'.trans (congrArg (fun u => A.scheme.hom ≫ u) hz) |
| 38 | |
| 39 | theorem abelian_hom_pow_injective_of_finite_torsion |
| 40 | (f k : A.scheme ⟶ B.scheme) [IsMonHom f] [IsMonHom k] (hfk : f ^ n = k ^ n) : f = k := by |
| 41 | let : IsMonHom (f / k) := by |
| 42 | apply Smooth.PointedMorphisms.abelianPointedMorphism_isMonHom A B |
| 43 | have he : η[A.scheme] ≫ (f / k) = η[B.scheme] / η[B.scheme] := |
| 44 | (GrpObj.comp_div η[A.scheme] f k).trans |
| 45 | (congrArg₂ (fun a b : 𝟙_ (Over (Spec (.of K))) ⟶ B.scheme => a / b) |
| 46 | (IsMonHom.one_hom f) (IsMonHom.one_hom k)) |
| 47 | have hη : (1 : 𝟙_ (Over (Spec (.of K))) ⟶ B.scheme) = η[B.scheme] := by |
| 48 | simp only [MonObj.one_eq_one] |
| 49 | exact he.trans ((div_self' η[B.scheme]).trans hη) |
| 50 | have hdiv : (f / k) ^ n = 1 := (div_pow f k n).trans |
| 51 | ((congrArg (fun z : A.scheme ⟶ B.scheme => z / k ^ n) hfk).trans (div_self' (k ^ n))) |
| 52 | exact div_eq_one.mp (abelian_torsion_hom_eq_one_of_finite A B n (f / k) hdiv) |
| 53 | |
| 54 | end |
| 55 | |
| 56 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Finite.TorsionHomCancellation |