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.FrobeniusKernel.BaseChange |
| 2 | |
| 3 | /-! # Embedded Base Change -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.AbelianScheme.FrobeniusKernel.EmbeddedBaseChange.Construction |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | section |
| 10 | |
| 11 | /-! Exact comparison of embedded objects through their points on every |
| 12 | test object, together with the native pullback image formula. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 15 | |
| 16 | theorem exists_samePointImageIso {C : Type*} [Category C] {H J G : C} |
| 17 | (i : H ⟶ G) (j : J ⟶ G) [Mono i] [Mono j] |
| 18 | (h : ∀ (T : C) (a : T ⟶ G), (∃ x : T ⟶ H, x ≫ i = a) ↔ ∃ y : T ⟶ J, y ≫ j = a) : |
| 19 | ∃ e : H ≅ J, e.hom ≫ j = i := by |
| 20 | obtain ⟨f, hf⟩ := (h H i).mp ⟨𝟙 H, Category.id_comp i⟩ |
| 21 | obtain ⟨g, hg⟩ := (h J j).mpr ⟨𝟙 J, Category.id_comp j⟩ |
| 22 | have hfg : f ≫ g = 𝟙 H := by |
| 23 | apply (cancel_mono i).mp |
| 24 | exact (Category.assoc f g i).trans |
| 25 | ((congrArg (fun z => f ≫ z) hg).trans (hf.trans (Category.id_comp i).symm)) |
| 26 | have hgf : g ≫ f = 𝟙 J := by |
| 27 | apply (cancel_mono j).mp |
| 28 | exact (Category.assoc g f j).trans |
| 29 | ((congrArg (fun z => g ≫ z) hf).trans (hg.trans (Category.id_comp j).symm)) |
| 30 | exact ⟨⟨f, g, hfg, hgf⟩, hf⟩ |
| 31 | |
| 32 | theorem pointImage_postcomp_iso {C : Type*} [Category C] {H G G' T : C} |
| 33 | (i : H ⟶ G) (e : G ≅ G') (a : T ⟶ G') : |
| 34 | (∃ x : T ⟶ H, x ≫ (i ≫ e.hom) = a) ↔ ∃ x : T ⟶ H, x ≫ i = a ≫ e.inv := by |
| 35 | constructor |
| 36 | · rintro ⟨x, hx⟩ |
| 37 | exact ⟨x, e.eq_comp_inv.mpr ((Category.assoc x i e.hom).trans hx)⟩ |
| 38 | · rintro ⟨x, hx⟩ |
| 39 | exact ⟨x, (Category.assoc x i e.hom).symm.trans (e.eq_comp_inv.mp hx)⟩ |
| 40 | |
| 41 | theorem pointImage_baseChange {S S' : Scheme} (s : S' ⟶ S) {H G : Over S} |
| 42 | (i : H ⟶ G) (T : Over S') (a : T ⟶ (Over.pullback s).obj G) : |
| 43 | (∃ x : T ⟶ (Over.pullback s).obj H, x ≫ (Over.pullback s).map i = a) ↔ |
| 44 | ∃ x : (Over.map s).obj T ⟶ H, |
| 45 | x ≫ i = ((Over.mapPullbackAdj s).homEquiv T G).symm a := by |
| 46 | constructor |
| 47 | · rintro ⟨x, hx⟩ |
| 48 | refine ⟨((Over.mapPullbackAdj s).homEquiv T H).symm x, ?_⟩ |
| 49 | exact ((Over.mapPullbackAdj s).homEquiv_naturality_right_symm x i).symm.trans |
| 50 | (congrArg ((Over.mapPullbackAdj s).homEquiv T G).symm hx) |
| 51 | · rintro ⟨x, hx⟩ |
| 52 | refine ⟨(Over.mapPullbackAdj s).homEquiv T H x, ?_⟩ |
| 53 | exact ((Over.mapPullbackAdj s).homEquiv_naturality_right x i).symm.trans |
| 54 | ((congrArg ((Over.mapPullbackAdj s).homEquiv T G) hx).trans |
| 55 | (((Over.mapPullbackAdj s).homEquiv T G).apply_symm_apply a)) |
| 56 | |
| 57 | end |
| 58 | |
| 59 | /-! Equality of independently specified kernel predicates on all tests |
| 60 | constructs the actual embedded pullback isomorphism of their representatives. -/ |
| 61 | |
| 62 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 63 | |
| 64 | variable {S S' : Scheme} (s : S' ⟶ S) |
| 65 | variable {H G : Over S} {J G' : Over S'} |
| 66 | variable (i : H ⟶ G) (j : J ⟶ G') (e : (Over.pullback s).obj G ≅ G') |
| 67 | variable (P : ∀ (T : Over S), (T ⟶ G) → Prop) |
| 68 | variable (P' : ∀ (T : Over S'), (T ⟶ G') → Prop) |
| 69 | variable (hP : ∀ (T : Over S) (a : T ⟶ G), (∃ h : T ⟶ H, h ≫ i = a) ↔ P T a) |
| 70 | variable (hP' : ∀ (T : Over S') (a : T ⟶ G'), (∃ h : T ⟶ J, h ≫ j = a) ↔ P' T a) |
| 71 | variable (htransport : ∀ (T : Over S') (a : T ⟶ (Over.pullback s).obj G), |
| 72 | P' T (a ≫ e.hom) ↔ P ((Over.map s).obj T) (((Over.mapPullbackAdj s).homEquiv T G).symm a)) |
| 73 | |
| 74 | include hP hP' htransport in |
| 75 | theorem embeddedKernelPointImage_baseChange (T : Over S') (a : T ⟶ G') : |
| 76 | (∃ h : T ⟶ (Over.pullback s).obj H, h ≫ ((Over.pullback s).map i ≫ e.hom) = a) ↔ |
| 77 | ∃ h : T ⟶ J, h ≫ j = a := by |
| 78 | have ht := htransport T (a ≫ e.inv) |
| 79 | have ha : (a ≫ e.inv) ≫ e.hom = a := by simp only [Category.assoc, Iso.inv_hom_id, Category.comp_id] |
| 80 | rw [ha] at ht |
| 81 | exact (pointImage_postcomp_iso ((Over.pullback s).map i) e a).trans |
| 82 | ((pointImage_baseChange s i T (a ≫ e.inv)).trans |
| 83 | ((hP ((Over.map s).obj T) _).trans (ht.symm.trans (hP' T a).symm))) |
| 84 | |
| 85 | include hP hP' htransport in |
| 86 | theorem exists_embeddedKernelBaseChangeIso [Mono i] [Mono j] : |
| 87 | ∃ eH : (Over.pullback s).obj H ≅ J, |
| 88 | eH.hom ≫ j = (Over.pullback s).map i ≫ e.hom := by |
| 89 | have : Mono ((Over.pullback s).map i) := inferInstance |
| 90 | have : Mono ((Over.pullback s).map i ≫ e.hom) := |
| 91 | mono_comp' (inferInstanceAs (Mono ((Over.pullback s).map i))) (inferInstanceAs (Mono e.hom)) |
| 92 | exact exists_samePointImageIso _ _ (embeddedKernelPointImage_baseChange s i j e P P' hP hP' htransport) |
| 93 | |
| 94 | end |
| 95 | |
| 96 | end OAI.AlgebraicGeometry.AbelianScheme.FrobeniusKernel.EmbeddedBaseChange.Construction |