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.PELModuli.IntegralModel.PointedDiagramTransport |
| 2 | import OAI.AlgebraicGeometry.PELModuli.IntegralModel.WordGeneration |
| 3 | import OAI.AlgebraicGeometry.PELModuli.IntegralModel.Projective.CoefficientModels |
| 4 | |
| 5 | /-! # Generating -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.PELModuli.IntegralModel.Arithmetic.Generating |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Geometry retained when an arithmetic family fiber is rewritten with |
| 12 | the native scalar extension of its fixed source. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 15 | open _root_.CategoryTheory.MonoidalCategory |
| 16 | open scoped _root_.CategoryTheory.MonObj _root_.CategoryTheory.Obj |
| 17 | |
| 18 | def affineProjectiveBaseChangeAlong {R K : Type} [CommRing R] [CommRing K] |
| 19 | (p : Spec (.of K) ⟶ Spec (.of R)) (m : ℕ) : |
| 20 | (Over.pullback p).obj (AbelianModuli.HilbertConstruction.Projective.ProjectivePresentations.affineProjectiveSpace R m) ≅ AbelianModuli.HilbertConstruction.Projective.ProjectivePresentations.affineProjectiveSpace K m := |
| 21 | Group.BaseChangeComparisons.GroupBaseChange.congrIso (AbelianModuli.HilbertConstruction.Projective.ProjectivePresentations.affineProjectiveSpace R m) p |
| 22 | (Spec.map (Spec.preimage p)) (Spec.map_preimage p).symm ≪≫ |
| 23 | (Projective.CoefficientModels.Coefficients.affineProjectiveBaseChangeIso (Spec.preimage p).hom m).symm |
| 24 | |
| 25 | section Pointed |
| 26 | |
| 27 | variable {C D : Type*} [Category C] [Category D] |
| 28 | [CartesianMonoidalCategory C] [CartesianMonoidalCategory D] |
| 29 | |
| 30 | theorem pointed_map_after_source_iso (F : C ⥤ D) [F.Monoidal] |
| 31 | {X Y : C} [GrpObj Y] {U : D} |
| 32 | (x : 𝟙_ C ⟶ X) (z : 𝟙_ D ⟶ U) (e : F.obj X ≅ U) (a : X ⟶ Y) |
| 33 | (hx : Section.Comparisons.mappedSection F x ≫ e.hom = z) (ha : x ≫ a = 1) : |
| 34 | z ≫ (e.inv ≫ F.map a) = 1 := by |
| 35 | rw [← hx, Category.assoc, Iso.hom_inv_id_assoc, Section.Comparisons.mappedSection_map F, ha] |
| 36 | exact Section.Comparisons.mappedSection_one F Y |
| 37 | |
| 38 | end Pointed |
| 39 | |
| 40 | namespace DifferenceWords |
| 41 | |
| 42 | theorem surjective_word_of_comparison {S : Scheme} {X A Y B : Over S} |
| 43 | [GrpObj A] [GrpObj B] (b : X ⟶ A) (a : Y ⟶ B) |
| 44 | (eX : X ≅ Y) (eA : A ≅ B) [IsMonHom eA.hom] |
| 45 | (hb : b ≫ eA.hom = eX.hom ≫ a) (n : ℕ) (hn : Surjective (Words.DifferenceWords.map a n).left) : |
| 46 | Surjective (Words.DifferenceWords.map b n).left := by |
| 47 | let eD := WordBaseChange.DifferenceWords.domainIso eX n |
| 48 | have he : Words.DifferenceWords.map b n ≫ eA.hom = eD.hom ≫ Words.DifferenceWords.map a n := by |
| 49 | rw [WordBaseChange.DifferenceWords.domainIso_hom] |
| 50 | exact WordBaseChange.DifferenceWords.map_naturality b a eX.hom eA.hom hb n |
| 51 | have : IsIso eA.hom.left := ((Over.forget S).mapIso eA).isIso_hom |
| 52 | have : IsIso eD.hom.left := ((Over.forget S).mapIso eD).isIso_hom |
| 53 | have : Surjective (Words.DifferenceWords.map a n).left := hn |
| 54 | apply (MorphismProperty.cancel_right_of_respectsIso @Surjective _ eA.hom.left).mp |
| 55 | rw [← Over.comp_left, he] |
| 56 | exact inferInstanceAs (Surjective (eD.hom.left ≫ (Words.DifferenceWords.map a n).left)) |
| 57 | |
| 58 | theorem surjective_word_of_baseChange {S T : Scheme} (u : T ⟶ S) |
| 59 | {X A : Over S} [GrpObj A] (a : X ⟶ A) (n : ℕ) |
| 60 | (h : Surjective ((Over.pullback u).map (Words.DifferenceWords.map a n)).left) : |
| 61 | Surjective (Words.DifferenceWords.map ((Over.pullback u).map a) n).left := by |
| 62 | have hc : Surjective ((WordBaseChange.DifferenceWords.baseChangeDomain u X n).hom.left ≫ |
| 63 | (Words.DifferenceWords.map ((Over.pullback u).map a) n).left) := by |
| 64 | rw [← Over.comp_left, ← WordBaseChange.DifferenceWords.baseChange_map] |
| 65 | exact h |
| 66 | exact ⟨Function.Surjective.of_comp (g := (WordBaseChange.DifferenceWords.baseChangeDomain u X n).hom.left) hc.surj⟩ |
| 67 | |
| 68 | end DifferenceWords |
| 69 | |
| 70 | end |
| 71 | |
| 72 | end OAI.AlgebraicGeometry.PELModuli.IntegralModel.Arithmetic.Generating |