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.FormalGeometry.Completion.ExtExtensions |
| 2 | |
| 3 | /-! # Ext Pushout -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.FormalGeometry.Completion.ExtPushout.Construction |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! |
| 10 | # Completion: changing coefficients in an actual extension |
| 11 | |
| 12 | The pushout of the first map represents the induced Ext¹ class under a |
| 13 | coefficient map. This connects finite reduction of H¹ with split finite |
| 14 | coefficient extensions. |
| 15 | -/ |
| 16 | |
| 17 | open _root_.CategoryTheory Limits Abelian |
| 18 | |
| 19 | set_option backward.defeqAttrib.useBackward true |
| 20 | set_option backward.isDefEq.respectTransparency false |
| 21 | |
| 22 | universe u v w |
| 23 | |
| 24 | variable {C : Type u} [Category.{v} C] [Abelian C] |
| 25 | |
| 26 | /-- Push out the first map of an extension along a coefficient map. -/ |
| 27 | def pushoutExtensionComplex (S : ShortComplex C) {Z : C} (a : S.X₁ ⟶ Z) : ShortComplex C := |
| 28 | ShortComplex.mk (pushout.inr S.f a) (pushout.desc S.g 0 (by simp [S.zero])) |
| 29 | (by simp) |
| 30 | |
| 31 | theorem pushoutExtensionComplex_shortExact {S : ShortComplex C} (hS : S.ShortExact) |
| 32 | {Z : C} (a : S.X₁ ⟶ Z) : (pushoutExtensionComplex S a).ShortExact := by |
| 33 | have : Mono S.f := hS.mono_f |
| 34 | have : Epi S.g := hS.epi_g |
| 35 | let T := pushoutExtensionComplex S a |
| 36 | have hm : Mono T.f := inferInstanceAs (Mono (pushout.inr S.f a)) |
| 37 | have he : Epi T.g := epi_of_epi_fac (pushout.inl_desc S.g 0 (by simp [S.zero])) |
| 38 | refine ShortComplex.ShortExact.mk' ?_ hm he |
| 39 | apply ShortComplex.exact_of_g_is_cokernel |
| 40 | apply CokernelCofork.IsColimit.ofπ' |
| 41 | intro W k hk |
| 42 | have hk' : S.f ≫ (pushout.inl S.f a ≫ k) = 0 := by |
| 43 | rw [← Category.assoc, pushout.condition, Category.assoc] |
| 44 | change a ≫ (T.f ≫ k) = 0 |
| 45 | rw [hk, comp_zero] |
| 46 | obtain ⟨l, hl⟩ := CokernelCofork.IsColimit.desc' hS.exact.gIsCokernel _ hk' |
| 47 | refine ⟨l, ?_⟩ |
| 48 | apply pushout.hom_ext |
| 49 | · simpa [T, pushoutExtensionComplex, ← Category.assoc] using hl |
| 50 | · simpa [T, pushoutExtensionComplex, ← Category.assoc] using hk.symm |
| 51 | |
| 52 | /-- The canonical morphism into a changed-coefficient extension. -/ |
| 53 | def pushoutExtensionMorphism (S : ShortComplex C) {Z : C} (a : S.X₁ ⟶ Z) : |
| 54 | S ⟶ pushoutExtensionComplex S a where |
| 55 | τ₁ := a |
| 56 | τ₂ := pushout.inl S.f a |
| 57 | τ₃ := 𝟙 _ |
| 58 | comm₁₂ := pushout.condition.symm |
| 59 | comm₂₃ := by simp [pushoutExtensionComplex] |
| 60 | |
| 61 | variable [HasExt.{w} C] |
| 62 | |
| 63 | /-- Pushout represents the actual induced Ext¹ class under the coefficient map. -/ |
| 64 | theorem pushoutExtensionComplex_extClass {S : ShortComplex C} (hS : S.ShortExact) |
| 65 | {Z : C} (a : S.X₁ ⟶ Z) : |
| 66 | (pushoutExtensionComplex_shortExact hS a).extClass = |
| 67 | hS.extClass.comp (Ext.mk₀ a) (add_zero 1) := by |
| 68 | have h := ShortComplex.ShortExact.extClass_naturality |
| 69 | hS (pushoutExtensionComplex_shortExact hS a) (pushoutExtensionMorphism S a) |
| 70 | simpa [pushoutExtensionMorphism] using h.symm |
| 71 | |
| 72 | /-- Vanishing after changing coefficients is equivalent to a section of the pushout. -/ |
| 73 | theorem extClass_coefficientMap_eq_zero_iff {S : ShortComplex C} (hS : S.ShortExact) |
| 74 | {Z : C} (a : S.X₁ ⟶ Z) : |
| 75 | hS.extClass.comp (Ext.mk₀ a) (add_zero 1) = 0 ↔ |
| 76 | ∃ s : S.X₃ ⟶ (pushoutExtensionComplex S a).X₂, |
| 77 | s ≫ (pushoutExtensionComplex S a).g = 𝟙 _ := by |
| 78 | rw [← pushoutExtensionComplex_extClass hS a] |
| 79 | exact ExtExtensions.Construction.extClass_eq_zero_iff_exists_section (pushoutExtensionComplex_shortExact hS a) |
| 80 | |
| 81 | end |
| 82 | |
| 83 | end OAI.AlgebraicGeometry.FormalGeometry.Completion.ExtPushout.Construction |