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.ArithmeticGeometry.OrdinaryLocus.Openness.ShortExactPullback |
| 2 | |
| 3 | /-! # Ext One Extensions -/ |
| 4 | |
| 5 | namespace OAI.ArithmeticGeometry.OrdinaryLocus.Openness.ExtOneExtensions.Construction |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Realizing first Ext classes by short exact extensions with specified endpoints. -/ |
| 10 | |
| 11 | open _root_.CategoryTheory _root_.CategoryTheory.Limits |
| 12 | open _root_.CategoryTheory.Abelian |
| 13 | |
| 14 | universe u v w |
| 15 | |
| 16 | variable {C : Type u} [Category.{v} C] [Abelian C] [HasExt.{w} C] |
| 17 | |
| 18 | theorem pullbackShortComplex_extClass (S : ShortComplex C) {P : C} |
| 19 | (q : P ⟶ S.X₃) (hS : S.ShortExact) : |
| 20 | (ShortExactPullback.Construction.pullbackShortComplex_shortExact S q hS).extClass = |
| 21 | (Ext.mk₀ q).comp hS.extClass (zero_add 1) := by |
| 22 | have he := ShortComplex.ShortExact.extClass_naturality |
| 23 | (ShortExactPullback.Construction.pullbackShortComplex_shortExact S q hS) hS (ShortExactPullback.Construction.pullbackShortComplexMap S q) |
| 24 | change (ShortExactPullback.Construction.pullbackShortComplex_shortExact S q hS).extClass.comp (Ext.mk₀ (𝟙 S.X₁)) _ = _ at he |
| 25 | rw [Ext.comp_mk₀_id] at he |
| 26 | exact he |
| 27 | |
| 28 | theorem ext_one_has_extension [EnoughInjectives C] (P F : C) (e : Ext P F 1) : |
| 29 | ∃ (E : C) (a : F ⟶ E) (b : E ⟶ P) (hab : a ≫ b = 0) |
| 30 | (hS : (ShortComplex.mk a b hab).ShortExact), hS.extClass = e := by |
| 31 | let S := ShortComplex.mk (Injective.ι F) (cokernel.π (Injective.ι F)) |
| 32 | (cokernel.condition (Injective.ι F)) |
| 33 | have hS : S.ShortExact := |
| 34 | { exact := ShortComplex.exact_of_g_is_cokernel _ (cokernelIsCokernel S.f) } |
| 35 | obtain ⟨q, hq⟩ := Ext.covariant_sequence_exact₁ P hS e |
| 36 | (Ext.eq_zero_of_injective _) (rfl : 0 + 1 = 1) |
| 37 | obtain ⟨q', rfl⟩ := (Ext.mk₀_bijective _ _).surjective q |
| 38 | exact ⟨(ShortExactPullback.Construction.pullbackShortComplex S q').X₂, (ShortExactPullback.Construction.pullbackShortComplex S q').f, |
| 39 | (ShortExactPullback.Construction.pullbackShortComplex S q').g, (ShortExactPullback.Construction.pullbackShortComplex S q').zero, |
| 40 | ShortExactPullback.Construction.pullbackShortComplex_shortExact S q' hS, (pullbackShortComplex_extClass S q' hS).trans hq⟩ |
| 41 | |
| 42 | theorem extClass_comp_zero_iff_extends (S : ShortComplex C) (hS : S.ShortExact) |
| 43 | {G : C} (φ : S.X₁ ⟶ G) : |
| 44 | hS.extClass.comp (Ext.mk₀ φ) (add_zero 1) = 0 ↔ ∃ t : S.X₂ ⟶ G, S.f ≫ t = φ := by |
| 45 | constructor |
| 46 | · intro hφ |
| 47 | obtain ⟨t, ht⟩ := Ext.contravariant_sequence_exact₁ hS G (Ext.mk₀ φ) |
| 48 | (rfl : 1 + 0 = 1) hφ |
| 49 | obtain ⟨t', rfl⟩ := (Ext.mk₀_bijective _ _).surjective t |
| 50 | exact ⟨t', (Ext.mk₀_bijective _ _).injective ((Ext.mk₀_comp_mk₀ S.f t').symm.trans ht)⟩ |
| 51 | · rintro ⟨t, rfl⟩ |
| 52 | rw [← Ext.mk₀_comp_mk₀] |
| 53 | exact hS.extClass_comp_assoc (Ext.mk₀ t) |
| 54 | |
| 55 | theorem extClass_eq_zero_of_section (S : ShortComplex C) (hS : S.ShortExact) |
| 56 | (t : S.X₃ ⟶ S.X₂) (ht : t ≫ S.g = 𝟙 _) : hS.extClass = 0 := by |
| 57 | calc |
| 58 | hS.extClass = (Ext.mk₀ (𝟙 S.X₃)).comp hS.extClass (zero_add 1) := |
| 59 | (Ext.mk₀_id_comp _).symm |
| 60 | _ = (Ext.mk₀ (t ≫ S.g)).comp hS.extClass (zero_add 1) := by rw [ht] |
| 61 | _ = 0 := by rw [← Ext.mk₀_comp_mk₀_assoc, hS.comp_extClass, Ext.comp_zero] |
| 62 | |
| 63 | end |
| 64 | |
| 65 | end OAI.ArithmeticGeometry.OrdinaryLocus.Openness.ExtOneExtensions.Construction |