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.Albanese.Construction.FiniteRefinements |
| 2 | |
| 3 | /-! # Fiber Injective -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.Albanese.Construction.FiberInjective |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 10 | open scoped _root_.CategoryTheory.MonObj |
| 11 | |
| 12 | universe u |
| 13 | |
| 14 | @[reassoc (attr := simp)] |
| 15 | theorem factorFiberMap_fiberι {D A B : Scheme.{u}} |
| 16 | (a : D ⟶ A) (φ : A ⟶ B) (y : B) : |
| 17 | FiniteRefinements.factorFiberMap a φ y ≫ φ.fiberι y = (a ≫ φ).fiberι y ≫ a := by |
| 18 | exact pullback.lift_fst _ _ _ |
| 19 | |
| 20 | /-- Injectivity of the map on a fiber detects equality of source points in |
| 21 | that fiber. -/ |
| 22 | theorem factor_injective_on_fiber {D A B : Scheme.{u}} |
| 23 | (a : D ⟶ A) (φ : A ⟶ B) (y : B) |
| 24 | (hinj : Function.Injective (FiniteRefinements.factorFiberMap a φ y)) |
| 25 | {x z : D} (hx : (a ≫ φ) x = y) (hz : (a ≫ φ) z = y) (h : a x = a z) : x = z := by |
| 26 | let x' := ((a ≫ φ).fiberHomeo y).symm ⟨x, hx⟩ |
| 27 | let z' := ((a ≫ φ).fiberHomeo y).symm ⟨z, hz⟩ |
| 28 | have hxx : (a ≫ φ).fiberι y x' = x := |
| 29 | (a ≫ φ).fiberι_fiberHomeo_symm y ⟨x, hx⟩ |
| 30 | have hzz : (a ≫ φ).fiberι y z' = z := |
| 31 | (a ≫ φ).fiberι_fiberHomeo_symm y ⟨z, hz⟩ |
| 32 | have heq : FiniteRefinements.factorFiberMap a φ y x' = FiniteRefinements.factorFiberMap a φ y z' := by |
| 33 | apply (φ.fiberι y).isEmbedding.injective |
| 34 | change (FiniteRefinements.factorFiberMap a φ y ≫ φ.fiberι y) x' = |
| 35 | (FiniteRefinements.factorFiberMap a φ y ≫ φ.fiberι y) z' |
| 36 | rw [factorFiberMap_fiberι] |
| 37 | simpa only [Scheme.Hom.comp_apply, hxx, hzz] using h |
| 38 | exact hxx.symm.trans ((congrArg ((a ≫ φ).fiberι y) (hinj heq)).trans hzz) |
| 39 | |
| 40 | /-- The underlying scheme point of the group identity. -/ |
| 41 | def identitySchemePoint (B : ComplexMultiplication.CMAbelianVariety.CM.AbelianVariety) : B.toOver.left := |
| 42 | (1 : Over.mk (𝟙 Foundations.Scheme.ProjectiveSpace.complexBase) ⟶ B.toOver).left (IsLocalRing.closedPoint ℂ) |
| 43 | |
| 44 | /-- Injectivity on the fiber over the final identity forces injectivity on |
| 45 | all rational points of a group homomorphism, by testing its kernel. -/ |
| 46 | theorem hom_point_injective_of_identity_fiber |
| 47 | (C A B : ComplexMultiplication.CMAbelianVariety.CM.AbelianVariety) (a : C.toOver ⟶ A.toOver) (φ : A.toOver ⟶ B.toOver) |
| 48 | [IsMonHom a] [IsMonHom φ] |
| 49 | (hinj : Function.Injective (FiniteRefinements.factorFiberMap a.left φ.left (identitySchemePoint B))) : |
| 50 | Function.Injective (fun p : Over.mk (𝟙 Foundations.Scheme.ProjectiveSpace.complexBase) ⟶ C.toOver => p ≫ a) := by |
| 51 | apply (injective_iff_map_eq_one (IsMonHom.monoidHom a (Over.mk (𝟙 Foundations.Scheme.ProjectiveSpace.complexBase)))).mpr |
| 52 | intro p hp |
| 53 | change p ≫ a = 1 at hp |
| 54 | have hmap : p ≫ a = (1 : Over.mk (𝟙 Foundations.Scheme.ProjectiveSpace.complexBase) ⟶ C.toOver) ≫ a := by simpa using hp |
| 55 | have hc : p ≫ a ≫ φ = 1 := by rw [← Category.assoc, hp]; simp |
| 56 | have h1 : (1 : Over.mk (𝟙 Foundations.Scheme.ProjectiveSpace.complexBase) ⟶ C.toOver) ≫ a ≫ φ = 1 := by simp |
| 57 | have hx : (a.left ≫ φ.left) (p.left (IsLocalRing.closedPoint ℂ)) = identitySchemePoint B := |
| 58 | congrArg (fun q : Over.mk (𝟙 Foundations.Scheme.ProjectiveSpace.complexBase) ⟶ B.toOver => |
| 59 | q.left (IsLocalRing.closedPoint ℂ)) hc |
| 60 | have hz : (a.left ≫ φ.left) (identitySchemePoint C) = identitySchemePoint B := |
| 61 | congrArg (fun q : Over.mk (𝟙 Foundations.Scheme.ProjectiveSpace.complexBase) ⟶ B.toOver => |
| 62 | q.left (IsLocalRing.closedPoint ℂ)) h1 |
| 63 | have hpoints : a.left (p.left (IsLocalRing.closedPoint ℂ)) = a.left (identitySchemePoint C) := |
| 64 | congrArg (fun q : Over.mk (𝟙 Foundations.Scheme.ProjectiveSpace.complexBase) ⟶ A.toOver => |
| 65 | q.left (IsLocalRing.closedPoint ℂ)) hmap |
| 66 | have heq := factor_injective_on_fiber a.left φ.left (identitySchemePoint B) hinj hx hz hpoints |
| 67 | have : LocallyOfFiniteType C.toOver.hom := |
| 68 | inferInstanceAs (LocallyOfFiniteType C.variety.structureMap) |
| 69 | ext1 |
| 70 | exact ext_of_apply_closedPoint_eq C.toOver.hom p.w |
| 71 | (1 : Over.mk (𝟙 Foundations.Scheme.ProjectiveSpace.complexBase) ⟶ C.toOver).w heq |
| 72 | |
| 73 | end |
| 74 | |
| 75 | end OAI.AlgebraicGeometry.Albanese.Construction.FiberInjective |