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.AbelianScheme.TateComparison.FamilyRigidity |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Level.BaseChange |
| 3 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Isogeny.BaseChange |
| 4 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Pullback.Comparisons |
| 5 | |
| 6 | /-! # Constant Family Maps -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.AbelianScheme.TateComparison.ConstantFamilyMaps |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! A group endomorphism of a constant abelian family over an integral |
| 13 | parameter scheme comes from a group endomorphism over the ground field. -/ |
| 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 | open OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Pullback.Comparisons |
| 20 | variable {k : Type} [Field k] [IsAlgClosed k] {g : ℕ} |
| 21 | (A : AbelianModuli.HilbertConstruction.Abelian.Schemes.AbelianScheme g (Spec (.of k))) |
| 22 | (Y : Over (Spec (.of k))) |
| 23 | |
| 24 | omit [IsAlgClosed k] in |
| 25 | private theorem baseChange_unit_fst : |
| 26 | η[(Over.pullback Y.hom).obj A.scheme].left ≫ pullback.fst A.scheme.hom Y.hom = |
| 27 | Y.hom ≫ η[A.scheme].left := by |
| 28 | have h := congrArg (fun z => z.left) |
| 29 | ((A.baseChangePointsMulEquiv Y.hom (𝟙_ (Over Y.left))).map_one) |
| 30 | exact h |
| 31 | |
| 32 | def constantFamilyMap |
| 33 | (a : (Over.pullback Y.hom).obj A.scheme ⟶ (Over.pullback Y.hom).obj A.scheme) : |
| 34 | Y ⊗ A.scheme ⟶ A.scheme := |
| 35 | Over.homMk ((pullbackSymmetry Y.hom A.scheme.hom).hom ≫ |
| 36 | a.left ≫ pullback.fst A.scheme.hom Y.hom) (by |
| 37 | have hw : a.left ≫ pullback.snd A.scheme.hom Y.hom = |
| 38 | pullback.snd A.scheme.hom Y.hom := a.w |
| 39 | rw [Category.assoc, Category.assoc, pullback.condition, |
| 40 | ← Category.assoc a.left, hw, ← Category.assoc, pullbackSymmetry_hom_comp_snd] |
| 41 | rfl) |
| 42 | |
| 43 | omit [IsAlgClosed k] in |
| 44 | private theorem constantFamilyMap_pointed |
| 45 | (a : (Over.pullback Y.hom).obj A.scheme ⟶ (Over.pullback Y.hom).obj A.scheme) [IsMonHom a] : |
| 46 | lift (𝟙 Y) (toUnit Y ≫ η[A.scheme]) ≫ constantFamilyMap A Y a = 1 := by |
| 47 | let z := lift (𝟙 Y) (toUnit Y ≫ η[A.scheme]) |
| 48 | have hz : z.left ≫ (pullbackSymmetry Y.hom A.scheme.hom).hom = |
| 49 | η[(Over.pullback Y.hom).obj A.scheme].left := by |
| 50 | apply pullback.hom_ext |
| 51 | · rw [Category.assoc, pullbackSymmetry_hom_comp_fst, baseChange_unit_fst] |
| 52 | exact congrArg (fun f => f.left) (lift_snd (𝟙 Y) (toUnit Y ≫ η[A.scheme])) |
| 53 | · rw [Category.assoc, pullbackSymmetry_hom_comp_snd] |
| 54 | exact (congrArg (fun f => f.left) (lift_fst (𝟙 Y) |
| 55 | (toUnit Y ≫ η[A.scheme]))).trans (Over.w η[(Over.pullback Y.hom).obj A.scheme]).symm |
| 56 | apply Over.OverMorphism.ext |
| 57 | change z.left ≫ ((pullbackSymmetry Y.hom A.scheme.hom).hom ≫ |
| 58 | a.left ≫ pullback.fst A.scheme.hom Y.hom) = Y.hom ≫ η[A.scheme].left |
| 59 | rw [← Category.assoc, hz, ← Category.assoc] |
| 60 | have ha := congrArg (fun f => f.left) (IsMonHom.one_hom a) |
| 61 | simp only [Over.comp_left] at ha |
| 62 | rw [ha, baseChange_unit_fst] |
| 63 | |
| 64 | theorem constantFamily_endomorphism_descends |
| 65 | [LocallyOfFiniteType Y.hom] [IsIntegral Y.left] |
| 66 | (y₀ : 𝟙_ (Over (Spec (.of k))) ⟶ Y) |
| 67 | (a : (Over.pullback Y.hom).obj A.scheme ⟶ (Over.pullback Y.hom).obj A.scheme) [IsMonHom a] : |
| 68 | ∃ f : A.scheme ⟶ A.scheme, IsMonHom f ∧ (Over.pullback Y.hom).map f = a := by |
| 69 | obtain ⟨f, hf, he⟩ := FamilyRigidity.pointedAbelianFamily_eq_fiber Y A.scheme A.scheme y₀ |
| 70 | (constantFamilyMap A Y a) (constantFamilyMap_pointed A Y a) |
| 71 | refine ⟨f, hf, ?_⟩ |
| 72 | apply Over.OverMorphism.ext |
| 73 | apply pullback.hom_ext |
| 74 | · apply (cancel_epi (pullbackSymmetry Y.hom A.scheme.hom).hom).mp |
| 75 | have hh := congrArg (fun f => f.left) he |
| 76 | change (pullbackSymmetry Y.hom A.scheme.hom).hom ≫ |
| 77 | a.left ≫ pullback.fst A.scheme.hom Y.hom = pullback.snd Y.hom A.scheme.hom ≫ f.left at hh |
| 78 | rw [AbelianModuli.HilbertConstruction.Pullback.Comparisons.overPullback_map_left_fst] |
| 79 | rw [← Category.assoc, pullbackSymmetry_hom_comp_fst] |
| 80 | exact hh.symm |
| 81 | · exact ((Over.pullback Y.hom).map f).w.trans a.w.symm |
| 82 | |
| 83 | end |
| 84 | |
| 85 | end OAI.AlgebraicGeometry.AbelianScheme.TateComparison.ConstantFamilyMaps |