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.Over.HomOpenCoverDetection |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Noetherian.AffineTestMorphisms |
| 3 | |
| 4 | /-! # Iso Cocycle Detection -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Affine.IsoCocycleDetection.AffineIsoCocycleDetection |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Generic conjugation and affine-test detection of isomorphism laws. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 13 | universe u v w u₁ u₂ v₁ v₂ |
| 14 | |
| 15 | theorem pullbackLift_exists {C : Type v} [Category.{w} C] |
| 16 | {W A B Z T : C} {l : W ⟶ A} {r : W ⟶ B} {p : A ⟶ Z} {q : B ⟶ Z} |
| 17 | (H : IsPullback l r p q) (a : T ⟶ A) (b : T ⟶ B) (h : a ≫ p = b ≫ q) : |
| 18 | ∃ c : T ⟶ W, c ≫ l = a ∧ c ≫ r = b := |
| 19 | ⟨H.lift a b h, H.lift_fst a b h, H.lift_snd a b h⟩ |
| 20 | |
| 21 | theorem tripleFactorization_of_arrow_eq {C : Type v} [Category.{w} C] |
| 22 | {W A B D T : C} {a₀ a₁ : W ⟶ A} {b₀ b₁ : W ⟶ B} {c₀ c₁ : W ⟶ D} |
| 23 | (ha : a₀ = a₁) (hb : b₀ = b₁) (hc : c₀ = c₁) |
| 24 | {a : T ⟶ A} {b : T ⟶ B} {c : T ⟶ D} |
| 25 | (h : ∃ t : T ⟶ W, t ≫ a₁ = a ∧ t ≫ b₁ = b ∧ t ≫ c₁ = c) : |
| 26 | ∃ t : T ⟶ W, t ≫ a₀ = a ∧ t ≫ b₀ = b ∧ t ≫ c₀ = c := by |
| 27 | subst a₀ |
| 28 | subst b₀ |
| 29 | subst c₀ |
| 30 | exact h |
| 31 | |
| 32 | theorem isoConjugation_injective {C : Type v} [Category.{w} C] |
| 33 | {A A' B B' : C} (a : A' ≅ A) (b : B' ≅ B) : |
| 34 | Function.Injective (fun e : A ≅ B => a ≪≫ e ≪≫ b.symm) := by |
| 35 | intro e f h |
| 36 | have hh := congrArg (fun t : A' ≅ B' => a.symm ≪≫ t ≪≫ b) h |
| 37 | simpa only [Iso.trans_assoc, Iso.symm_self_id_assoc, Iso.symm_self_id, |
| 38 | Iso.trans_refl] using hh |
| 39 | |
| 40 | theorem isoSelf_of_conjugate {C : Type v} [Category.{w} C] |
| 41 | {A A' : C} (a : A' ≅ A) (e : A ≅ A) |
| 42 | (h : a ≪≫ e ≪≫ a.symm = Iso.refl A') : e = Iso.refl A := by |
| 43 | apply isoConjugation_injective a a |
| 44 | simpa only [Iso.refl_trans, Iso.self_symm_id] using h |
| 45 | |
| 46 | theorem isoCocycle_of_conjugate {C : Type v} [Category.{w} C] |
| 47 | {A A' B B' D D' : C} (a : A' ≅ A) (b : B' ≅ B) (d : D' ≅ D) |
| 48 | (e : A ≅ B) (f : B ≅ D) (g : A ≅ D) |
| 49 | (h : (a ≪≫ e ≪≫ b.symm) ≪≫ (b ≪≫ f ≪≫ d.symm) = a ≪≫ g ≪≫ d.symm) : |
| 50 | e ≪≫ f = g := by |
| 51 | apply isoConjugation_injective a d |
| 52 | simpa only [Iso.trans_assoc, Iso.symm_self_id_assoc] using h |
| 53 | |
| 54 | theorem isoCocycle_of_comparisons {C : Type v} [Category.{w} C] |
| 55 | {A B D : C} {e e' : A ≅ B} {f f' : B ≅ D} {g g' : A ≅ D} |
| 56 | (he : e = e') (hf : f = f') (hg : g = g') (h : e' ≪≫ f' = g') : |
| 57 | e ≪≫ f = g := by |
| 58 | rw [he, hf, hg] |
| 59 | exact h |
| 60 | |
| 61 | theorem isoConjugatedFunctorCocycle |
| 62 | {C : Type u₁} [Category.{v₁} C] {D : Type u₂} [Category.{v₂} D] |
| 63 | (K : C ⥤ D) {A B E : C} {A' B' E' : D} |
| 64 | (a : A' ≅ K.obj A) (b : B' ≅ K.obj B) (c : E' ≅ K.obj E) |
| 65 | (e : A ≅ B) (f : B ≅ E) (g : A ≅ E) (h : e ≪≫ f = g) : |
| 66 | (a ≪≫ K.mapIso e ≪≫ b.symm) ≪≫ (b ≪≫ K.mapIso f ≪≫ c.symm) = |
| 67 | a ≪≫ K.mapIso g ≪≫ c.symm := by |
| 68 | rw [← h, Functor.mapIso_trans] |
| 69 | simp only [Iso.trans_assoc, Iso.symm_self_id_assoc] |
| 70 | |
| 71 | theorem overIso_eq_of_noetherianAffinePullbacks |
| 72 | {S : Scheme.{u}} [IsLocallyNoetherian S] {A B : Over S} (e f : A ≅ B) |
| 73 | (h : ∀ (C : CommRingCat.{u}) [IsNoetherianRing C] (a : Spec C ⟶ S), |
| 74 | (Over.pullback a).mapIso e = (Over.pullback a).mapIso f) : e = f := by |
| 75 | apply Iso.ext |
| 76 | apply HilbertConstruction.Over.HomOpenCoverDetection.overHom_eq_of_openCoverPullbacks S.affineOpenCover.openCover |
| 77 | intro i |
| 78 | change S.affineOpenCover.I₀ at i |
| 79 | exact congrArg Iso.hom (h (S.affineOpenCover.X i) (S.affineOpenCover.f i)) |
| 80 | |
| 81 | end |
| 82 | |
| 83 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Affine.IsoCocycleDetection.AffineIsoCocycleDetection |