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.Family.PointSectionNaturality |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Projective.BaseChangeIsoProjections |
| 3 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.RelativeProjective.BaseFunctoriality |
| 4 | |
| 5 | /-! # Section Base Change -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Projective.SectionBaseChange |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Native base change of a section of relative projective space. |
| 12 | The section is characterized by its projection to the original space; |
| 13 | this gives exact composition and equality after a common parameter map. -/ |
| 14 | |
| 15 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 16 | universe u |
| 17 | |
| 18 | private theorem triple_projection |
| 19 | {C : Type*} [Category* C] {A B D E F G : C} |
| 20 | (a : A ⟶ B) (b : B ⟶ D) (c : D ⟶ E) (j : E ⟶ F) |
| 21 | (k : D ⟶ F) (p : B ⟶ G) (r : G ⟶ F) (f : A ⟶ G) |
| 22 | (hc : c ≫ j = k) (hb : b ≫ k = p ≫ r) (ha : a ≫ p = f) : |
| 23 | (a ≫ b ≫ c) ≫ j = f ≫ r := by |
| 24 | calc |
| 25 | (a ≫ b ≫ c) ≫ j = a ≫ (b ≫ (c ≫ j)) := by simp only [Category.assoc] |
| 26 | _ = a ≫ (b ≫ k) := congrArg (fun z => a ≫ (b ≫ z)) hc |
| 27 | _ = a ≫ (p ≫ r) := congrArg (fun z => a ≫ z) hb |
| 28 | _ = (a ≫ p) ≫ r := (Category.assoc _ _ _).symm |
| 29 | _ = f ≫ r := congrArg (fun z => z ≫ r) ha |
| 30 | |
| 31 | def projectiveSectionBaseChange {S T : Scheme.{u}} {n : ℕ} |
| 32 | (s : Over.mk (𝟙 S) ⟶ ProjectivePresentations.projectiveSpaceOver S n) (f : T ⟶ S) : |
| 33 | Over.mk (𝟙 T) ⟶ ProjectivePresentations.projectiveSpaceOver T n := |
| 34 | Functor.LaxMonoidal.ε (Over.pullback f) ≫ (Over.pullback f).map s ≫ |
| 35 | (SpaceBaseChange.projectiveSpaceOverBaseChangeIso f n).inv |
| 36 | |
| 37 | theorem projectiveSectionBaseChange_baseMap {S T : Scheme.{u}} {n : ℕ} |
| 38 | (s : Over.mk (𝟙 S) ⟶ ProjectivePresentations.projectiveSpaceOver S n) (f : T ⟶ S) : |
| 39 | (projectiveSectionBaseChange s f).left ≫ RelativeProjective.BaseMaps.relativeProjectiveBaseMap f n = f ≫ s.left := by |
| 40 | exact triple_projection (Functor.LaxMonoidal.ε (Over.pullback f)).left |
| 41 | ((Over.pullback f).map s).left (SpaceBaseChange.projectiveSpaceOverBaseChangeIso f n).inv.left |
| 42 | (RelativeProjective.BaseMaps.relativeProjectiveBaseMap f n) (pullback.fst (ProjectivePresentations.projectiveSpaceOver S n).hom f) |
| 43 | (pullback.fst (𝟙 S) f) s.left f |
| 44 | (BaseChangeIsoProjections.projectiveSpaceOverBaseChangeIso_inv_baseMap f n) |
| 45 | (Pullback.Comparisons.overPullback_map_left_fst s f) (Family.PointSectionNaturality.pullbackUnitComparison_fst f) |
| 46 | |
| 47 | theorem projectiveSections_eq_of_baseMap {S T : Scheme.{u}} {n : ℕ} (f : T ⟶ S) |
| 48 | (s t : Over.mk (𝟙 T) ⟶ ProjectivePresentations.projectiveSpaceOver T n) |
| 49 | (h : s.left ≫ RelativeProjective.BaseMaps.relativeProjectiveBaseMap f n = t.left ≫ RelativeProjective.BaseMaps.relativeProjectiveBaseMap f n) : s = t := by |
| 50 | apply Over.OverMorphism.ext |
| 51 | exact (RelativeProjective.BaseMaps.relativeProjectiveBaseMap_isPullback f n).hom_ext h (s.w.trans t.w.symm) |
| 52 | |
| 53 | theorem projectiveSectionBaseChange_comp {S T U : Scheme.{u}} {n : ℕ} |
| 54 | (s : Over.mk (𝟙 S) ⟶ ProjectivePresentations.projectiveSpaceOver S n) (f : T ⟶ S) (g : U ⟶ T) : |
| 55 | projectiveSectionBaseChange (projectiveSectionBaseChange s f) g = |
| 56 | projectiveSectionBaseChange s (g ≫ f) := by |
| 57 | apply projectiveSections_eq_of_baseMap (g ≫ f) |
| 58 | let q := projectiveSectionBaseChange (projectiveSectionBaseChange s f) g |
| 59 | have hq : q.left ≫ RelativeProjective.BaseMaps.relativeProjectiveBaseMap (g ≫ f) n = (g ≫ f) ≫ s.left := |
| 60 | (congrArg (fun a => q.left ≫ a) (RelativeProjective.BaseFunctoriality.relativeProjectiveBaseMap_comp f g n)).trans |
| 61 | ((Category.assoc q.left (RelativeProjective.BaseMaps.relativeProjectiveBaseMap g n) (RelativeProjective.BaseMaps.relativeProjectiveBaseMap f n)).symm.trans |
| 62 | ((congrArg (fun a => a ≫ RelativeProjective.BaseMaps.relativeProjectiveBaseMap f n) |
| 63 | (projectiveSectionBaseChange_baseMap (projectiveSectionBaseChange s f) g)).trans |
| 64 | ((Category.assoc g (projectiveSectionBaseChange s f).left (RelativeProjective.BaseMaps.relativeProjectiveBaseMap f n)).trans |
| 65 | ((congrArg (fun a => g ≫ a) (projectiveSectionBaseChange_baseMap s f)).trans |
| 66 | (Category.assoc g f s.left).symm)))) |
| 67 | exact hq.trans (projectiveSectionBaseChange_baseMap s (g ≫ f)).symm |
| 68 | |
| 69 | theorem projectiveSectionBaseChange_eq_of_comp_eq {S T U : Scheme.{u}} {n : ℕ} |
| 70 | (s : Over.mk (𝟙 S) ⟶ ProjectivePresentations.projectiveSpaceOver S n) (f : T ⟶ S) |
| 71 | (a b : U ⟶ T) (h : a ≫ f = b ≫ f) : |
| 72 | projectiveSectionBaseChange (projectiveSectionBaseChange s f) a = |
| 73 | projectiveSectionBaseChange (projectiveSectionBaseChange s f) b := |
| 74 | (projectiveSectionBaseChange_comp s f a).trans |
| 75 | ((congrArg (projectiveSectionBaseChange s) h).trans (projectiveSectionBaseChange_comp s f b).symm) |
| 76 | |
| 77 | end |
| 78 | |
| 79 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Projective.SectionBaseChange |