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 | /-! # Short Exact Transport -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.FormalGeometry.Completion.ShortExactTransport.Construction |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! |
| 10 | # Completion: changing the endpoints of an actual extension along isomorphisms |
| 11 | -/ |
| 12 | |
| 13 | open _root_.CategoryTheory Limits Abelian |
| 14 | |
| 15 | set_option backward.defeqAttrib.useBackward true |
| 16 | set_option backward.isDefEq.respectTransparency false |
| 17 | |
| 18 | universe u v w |
| 19 | |
| 20 | variable {C : Type u} [Category.{v} C] [Abelian C] (S : ShortComplex C) |
| 21 | {A B : C} (a : S.X₁ ≅ A) (b : S.X₃ ≅ B) |
| 22 | |
| 23 | /-- Change both endpoints of a short exact complex, retaining its middle object. -/ |
| 24 | def endpointTransportComplex : ShortComplex C := |
| 25 | ShortComplex.mk (a.inv ≫ S.f) (S.g ≫ b.hom) (by simp [Category.assoc]) |
| 26 | |
| 27 | /-- The transported complex is isomorphic to the original actual complex. -/ |
| 28 | def endpointTransportIso : S ≅ endpointTransportComplex S a b := |
| 29 | ShortComplex.isoMk a (Iso.refl _) b (by simp [endpointTransportComplex]) |
| 30 | (by simp [endpointTransportComplex]) |
| 31 | |
| 32 | theorem endpointTransport_shortExact (hS : S.ShortExact) : |
| 33 | (endpointTransportComplex S a b).ShortExact := |
| 34 | ShortComplex.shortExact_of_iso (endpointTransportIso S a b) hS |
| 35 | |
| 36 | variable [HasExt.{w} C] |
| 37 | |
| 38 | /-- Endpoint transport changes the extension class by the actual pre- and postcomposition maps. -/ |
| 39 | theorem endpointTransport_extClass (hS : S.ShortExact) : |
| 40 | (endpointTransport_shortExact S a b hS).extClass = |
| 41 | ((Ext.mk₀ b.inv).comp hS.extClass (zero_add 1)).comp (Ext.mk₀ a.hom) (add_zero 1) := by |
| 42 | have h := ShortComplex.ShortExact.extClass_naturality hS |
| 43 | (endpointTransport_shortExact S a b hS) (endpointTransportIso S a b).hom |
| 44 | have hh := congrArg (fun z => (Ext.mk₀ b.inv).comp z (zero_add 1)) h |
| 45 | simpa only [endpointTransportIso, ShortComplex.isoMk_hom_τ₁, ShortComplex.isoMk_hom_τ₃, |
| 46 | ← Ext.comp_assoc_of_second_deg_zero, Ext.mk₀_comp_mk₀, b.inv_hom_id, Ext.mk₀_id_comp, |
| 47 | ← Ext.comp_assoc_of_third_deg_zero] using hh.symm |
| 48 | |
| 49 | end |
| 50 | |
| 51 | end OAI.AlgebraicGeometry.FormalGeometry.Completion.ShortExactTransport.Construction |