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.WordBaseChange |
| 2 | |
| 3 | /-! # Word Generation -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.PELModuli.IntegralModel.WordGeneration.DifferenceWords |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Generation transfers along the exact model comparison of the source |
| 10 | map and its group target. This identifies the actual finite word maps. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 13 | open scoped _root_.CategoryTheory.MonObj _root_.CategoryTheory.Obj |
| 14 | |
| 15 | theorem surjective_baseChanged_word_of_comparison |
| 16 | {S T : Scheme} (g : T ⟶ S) {X A : Over S} [GrpObj A] |
| 17 | {Y B : Over T} [GrpObj B] |
| 18 | (b : X ⟶ A) (a : Y ⟶ B) |
| 19 | (eX : (Over.pullback g).obj X ≅ Y) (eA : (Over.pullback g).obj A ≅ B) |
| 20 | [IsMonHom eA.hom] |
| 21 | (hb : (Over.pullback g).map b ≫ eA.hom = eX.hom ≫ a) |
| 22 | (n : ℕ) (hn : Surjective (Words.DifferenceWords.map a n).left) : |
| 23 | Surjective ((Over.pullback g).map (Words.DifferenceWords.map b n)).left := by |
| 24 | let eD := WordBaseChange.DifferenceWords.baseChangeDomain g X n ≪≫ WordBaseChange.DifferenceWords.domainIso eX n |
| 25 | have he : (Over.pullback g).map (Words.DifferenceWords.map b n) ≫ eA.hom = eD.hom ≫ Words.DifferenceWords.map a n := by |
| 26 | rw [WordBaseChange.DifferenceWords.baseChange_map, Category.assoc, |
| 27 | WordBaseChange.DifferenceWords.map_naturality ((Over.pullback g).map b) a eX.hom eA.hom hb, |
| 28 | ← WordBaseChange.DifferenceWords.domainIso_hom, ← Category.assoc] |
| 29 | rfl |
| 30 | have : IsIso eA.hom.left := ((Over.forget T).mapIso eA).isIso_hom |
| 31 | have : IsIso eD.hom.left := ((Over.forget T).mapIso eD).isIso_hom |
| 32 | have : Surjective (Words.DifferenceWords.map a n).left := hn |
| 33 | apply (MorphismProperty.cancel_right_of_respectsIso @Surjective _ eA.hom.left).mp |
| 34 | rw [← Over.comp_left, he] |
| 35 | exact inferInstanceAs (Surjective (eD.hom.left ≫ (Words.DifferenceWords.map a n).left)) |
| 36 | |
| 37 | end |
| 38 | |
| 39 | end OAI.AlgebraicGeometry.PELModuli.IntegralModel.WordGeneration.DifferenceWords |