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.Words |
| 2 | |
| 3 | /-! # Word Base Change -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.PELModuli.IntegralModel.WordBaseChange.DifferenceWords |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Canonical base-change and isomorphism compatibility of finite words. -/ |
| 10 | |
| 11 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 12 | open _root_.CategoryTheory.MonoidalCategory _root_.CategoryTheory.CartesianMonoidalCategory |
| 13 | open scoped _root_.CategoryTheory.MonObj _root_.CategoryTheory.Obj |
| 14 | |
| 15 | universe u |
| 16 | variable {B C : Scheme.{u}} |
| 17 | |
| 18 | def domainMap {X Y : Over B} (f : X ⟶ Y) : (n : ℕ) → Words.DifferenceWords.domain X n ⟶ Words.DifferenceWords.domain Y n |
| 19 | | 0 => 𝟙 _ |
| 20 | | n + 1 => domainMap f n ⊗ₘ (f ⊗ₘ f) |
| 21 | |
| 22 | def domainIso {X Y : Over B} (e : X ≅ Y) : (n : ℕ) → Words.DifferenceWords.domain X n ≅ Words.DifferenceWords.domain Y n |
| 23 | | 0 => Iso.refl _ |
| 24 | | n + 1 => tensorIso (domainIso e n) (tensorIso e e) |
| 25 | |
| 26 | @[simp] theorem domainIso_hom {X Y : Over B} (e : X ≅ Y) (n : ℕ) : |
| 27 | (DifferenceWords.domainIso e n).hom = DifferenceWords.domainMap e.hom n := by |
| 28 | induction n with |
| 29 | | zero => rfl |
| 30 | | succ n ih => simp [DifferenceWords.domainIso, DifferenceWords.domainMap, ih] |
| 31 | |
| 32 | theorem map_naturality {X Y A H : Over B} [GrpObj A] [GrpObj H] |
| 33 | (a : X ⟶ A) (b : Y ⟶ H) (f : X ⟶ Y) (h : A ⟶ H) [IsMonHom h] |
| 34 | (ha : a ≫ h = f ≫ b) (n : ℕ) : |
| 35 | Words.DifferenceWords.map a n ≫ h = DifferenceWords.domainMap f n ≫ Words.DifferenceWords.map b n := by |
| 36 | induction n with |
| 37 | | zero => simp [Words.DifferenceWords.map, DifferenceWords.domainMap] |
| 38 | | succ n ih => |
| 39 | simp only [Words.DifferenceWords.map, MonObj.mul_comp, MonObj.comp_mul, Category.assoc, ih] |
| 40 | simp [DifferenceWords.domainMap, Words.DifferenceWords.difference, GrpObj.div_comp, GrpObj.comp_div, |
| 41 | Category.assoc, ha] |
| 42 | |
| 43 | /-- Base change of the iterated word domain is its iterated fiber product. -/ |
| 44 | def baseChangeDomain (g : C ⟶ B) (X : Over B) : (n : ℕ) → |
| 45 | (Over.pullback g).obj (Words.DifferenceWords.domain X n) ≅ Words.DifferenceWords.domain ((Over.pullback g).obj X) n |
| 46 | | 0 => (Functor.Monoidal.εIso (Over.pullback g)).symm |
| 47 | | n + 1 => |
| 48 | asIso (prodComparison (Over.pullback g) (Words.DifferenceWords.domain X n) (X ⊗ X)) ≪≫ |
| 49 | tensorIso (baseChangeDomain g X n) |
| 50 | (asIso (prodComparison (Over.pullback g) X X)) |
| 51 | |
| 52 | /-- The transported morphism is the word built from the transported group law. -/ |
| 53 | theorem baseChange_map (g : C ⟶ B) {X A : Over B} [GrpObj A] |
| 54 | (a : X ⟶ A) (n : ℕ) : |
| 55 | (Over.pullback g).map (Words.DifferenceWords.map a n) = |
| 56 | (DifferenceWords.baseChangeDomain g X n).hom ≫ Words.DifferenceWords.map ((Over.pullback g).map a) n := by |
| 57 | induction n with |
| 58 | | zero => simp [Words.DifferenceWords.map] |
| 59 | | succ n ih => |
| 60 | simp only [Words.DifferenceWords.map, Functor.map_mul, Functor.map_comp, MonObj.comp_mul, ih] |
| 61 | congr 1 |
| 62 | · simp [DifferenceWords.baseChangeDomain, Category.assoc] |
| 63 | · simp [DifferenceWords.baseChangeDomain, Words.DifferenceWords.difference, div_eq_mul_inv, Functor.map_mul, |
| 64 | Functor.map_comp, MonObj.comp_mul, GrpObj.comp_inv, Category.assoc] |
| 65 | |
| 66 | /-- Construction uses this same actual iterated product domain. -/ |
| 67 | theorem e07_domain (X : Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation) (n : ℕ) : |
| 68 | Words.DifferenceWords.domain X.toOver n = Albanese.Construction.ImageWords.wordDomain X n := by |
| 69 | induction n with |
| 70 | | zero => rfl |
| 71 | | succ n ih => change Words.DifferenceWords.domain X.toOver n ⊗ _ = _; rw [ih] |
| 72 | |
| 73 | @[reassoc (attr := simp)] theorem tensor_eqToHom_fst |
| 74 | {X Y : Over B} (h : X = Y) (Z : Over B) : |
| 75 | eqToHom (congrArg (fun W => W ⊗ Z) h) ≫ fst Y Z = fst X Z ≫ eqToHom h := by |
| 76 | subst Y |
| 77 | simp |
| 78 | |
| 79 | @[reassoc (attr := simp)] theorem tensor_eqToHom_snd |
| 80 | {X Y : Over B} (h : X = Y) (Z : Over B) : |
| 81 | eqToHom (congrArg (fun W => W ⊗ Z) h) ≫ snd Y Z = snd X Z := by |
| 82 | subst Y |
| 83 | simp |
| 84 | |
| 85 | /-- The comparison with Construction is an equality of the constructed scheme maps. -/ |
| 86 | theorem e07_map (X : Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation) |
| 87 | (A : ComplexMultiplication.CMAbelianVariety.CM.AbelianVariety) (a : X.toOver ⟶ A.toOver) (n : ℕ) : |
| 88 | Words.DifferenceWords.map a n = eqToHom (e07_domain X n) ≫ Albanese.Construction.ImageWords.wordMap X A a n := by |
| 89 | induction n with |
| 90 | | zero => simp [Words.DifferenceWords.map, Albanese.Construction.ImageWords.wordMap] |
| 91 | | succ n ih => |
| 92 | have hf : eqToHom (e07_domain X (n + 1)) ≫ |
| 93 | fst (Albanese.Construction.ImageWords.wordDomain X n) (X.toOver ⊗ X.toOver) = |
| 94 | fst (Words.DifferenceWords.domain X.toOver n) (X.toOver ⊗ X.toOver) ≫ eqToHom (e07_domain X n) := |
| 95 | tensor_eqToHom_fst (e07_domain X n) (X.toOver ⊗ X.toOver) |
| 96 | have hs : eqToHom (e07_domain X (n + 1)) ≫ |
| 97 | snd (Albanese.Construction.ImageWords.wordDomain X n) (X.toOver ⊗ X.toOver) = |
| 98 | snd (Words.DifferenceWords.domain X.toOver n) (X.toOver ⊗ X.toOver) := |
| 99 | tensor_eqToHom_snd (e07_domain X n) (X.toOver ⊗ X.toOver) |
| 100 | simp only [Words.DifferenceWords.map, Albanese.Construction.ImageWords.wordMap, MonObj.comp_mul, ih] |
| 101 | congr 1 |
| 102 | · simp [← Category.assoc, hf] |
| 103 | · simp [Words.DifferenceWords.difference, Albanese.Construction.ImageWords.differenceMap, GrpObj.comp_div, |
| 104 | ← Category.assoc, hs] |
| 105 | |
| 106 | end |
| 107 | |
| 108 | end OAI.AlgebraicGeometry.PELModuli.IntegralModel.WordBaseChange.DifferenceWords |