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.Finite.ClosedConnectedImages |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Proper.ConnectedReducedConstants |
| 3 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Smooth.Support |
| 4 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.EndomorphismScalarMorphisms |
| 5 | |
| 6 | /-! # Image Hom Rigidity -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! An abelian-variety homomorphism with finite underlying image is zero. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 15 | open scoped _root_.CategoryTheory.MonObj _root_.CategoryTheory.Obj |
| 16 | |
| 17 | universe u |
| 18 | |
| 19 | variable {K : Type u} [Field K] {g h : ℕ} |
| 20 | variable (A : Abelian.Schemes.AbelianScheme g (Spec (.of K))) (B : Abelian.Schemes.AbelianScheme h (Spec (.of K))) |
| 21 | |
| 22 | theorem Finite.ImageHomRigidity.abelianHom_eq_one_of_finite_range (f : A.scheme ⟶ B.scheme) [IsMonHom f] |
| 23 | (hfinite : (Set.range f.left).Finite) : f = 1 := by |
| 24 | have : IsReduced A.scheme.left := A.reduced_overField |
| 25 | have : ConnectedSpace A.scheme.left := A.connected_overField |
| 26 | have : JacobsonSpace B.scheme.left := LocallyOfFiniteType.jacobsonSpace B.scheme.hom |
| 27 | have : IsProper (f.left ≫ B.scheme.hom) := f.w.symm ▸ inferInstanceAs (IsProper A.scheme.hom) |
| 28 | have : IsProper f.left := IsProper.of_comp f.left B.scheme.hom |
| 29 | have hr := HilbertConstruction.Finite.ClosedConnectedImages.finite_closed_connected_range_subsingleton f.left f.left.continuous |
| 30 | f.left.isClosedMap.isClosed_range hfinite |
| 31 | let z : A.scheme.left := η[A.scheme].left (IsLocalRing.closedPoint K) |
| 32 | let U := B.scheme.left.affineCover.X (B.scheme.left.affineCover.idx (f.left z)) |
| 33 | let j := B.scheme.left.affineCover.f (B.scheme.left.affineCover.idx (f.left z)) |
| 34 | have hj : f.left z ∈ Set.range j := B.scheme.left.affineCover.covers (f.left z) |
| 35 | have hR : Set.range f.left ⊆ Set.range j := by |
| 36 | intro y hy |
| 37 | exact (hr hy ⟨z, rfl⟩).symm ▸ hj |
| 38 | let q := IsOpenImmersion.lift j f.left hR |
| 39 | have he := Proper.ConnectedReducedConstants.properConnectedReduced_map_eq_constant A.scheme.hom q η[A.scheme].left η[A.scheme].w |
| 40 | have hq : q ≫ j = f.left := IsOpenImmersion.lift_fac _ _ _ |
| 41 | have hf' : f.left = A.scheme.hom ≫ η[A.scheme].left ≫ f.left := by |
| 42 | have h := congrArg (fun b => b ≫ j) he |
| 43 | simpa only [Category.assoc, hq] using h |
| 44 | have hz : η[A.scheme].left ≫ f.left = η[B.scheme].left := |
| 45 | congrArg Over.Hom.left (IsMonHom.one_hom f) |
| 46 | apply Over.OverMorphism.ext |
| 47 | exact hf'.trans (congrArg (fun u => A.scheme.hom ≫ u) hz) |
| 48 | |
| 49 | theorem Abelian.Schemes.AbelianScheme.endRing_eq_zero_of_finite_range (d : A.EndRing) |
| 50 | (hfinite : (Set.range d.toMul.hom.hom.left).Finite) : d = 0 := by |
| 51 | apply Additive.toMul.injective |
| 52 | apply Grp.hom_ext |
| 53 | exact HilbertConstruction.Finite.ImageHomRigidity.abelianHom_eq_one_of_finite_range A A d.toMul.hom.hom hfinite |
| 54 | |
| 55 | end |
| 56 | |
| 57 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction |