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 Mathlib.CategoryTheory.Sites.Abelian |
| 2 | import Mathlib.Algebra.Homology.ShortComplex.Exact |
| 3 | |
| 4 | /-! # Sheafification Left -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.PadicHodge.GeometricComparison.SheafificationLeft.SheafificationLeftExactness |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Exactness after sheafification reflects to a short complex whose three presheaves already satisfy the sheaf condition. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory |
| 13 | |
| 14 | universe u v u' v' |
| 15 | |
| 16 | variable {C : Type u} [Category.{v} C] (J : GrothendieckTopology C) |
| 17 | {D : Type u'} [Category.{v'} D] [Abelian D] [HasSheafify J D] |
| 18 | (S : ShortComplex (Cᵒᵖ ⥤ D)) |
| 19 | (h₁ : Presheaf.IsSheaf J S.X₁) (h₂ : Presheaf.IsSheaf J S.X₂) (h₃ : Presheaf.IsSheaf J S.X₃) |
| 20 | |
| 21 | def unitIso : S ≅ (S.map (presheafToSheaf J D)).map (sheafToPresheaf J D) := |
| 22 | ShortComplex.isoMk (isoSheafify J h₁) (isoSheafify J h₂) (isoSheafify J h₃) |
| 23 | (toSheafify_naturality J S.f).symm (toSheafify_naturality J S.g).symm |
| 24 | |
| 25 | include h₁ h₂ h₃ in |
| 26 | theorem of_sheafification (hE : (S.map (presheafToSheaf J D)).Exact) |
| 27 | [Mono (S.map (presheafToSheaf J D)).f] : S.Exact ∧ Mono S.f := by |
| 28 | have hmap := hE.map_of_mono_of_preservesKernel (sheafToPresheaf J D) inferInstance inferInstance |
| 29 | apply (ShortComplex.exact_and_mono_f_iff_of_iso (unitIso J S h₁ h₂ h₃)).mpr |
| 30 | refine ⟨hmap, ?_⟩ |
| 31 | change Mono ((sheafToPresheaf J D).map (S.map (presheafToSheaf J D)).f) |
| 32 | infer_instance |
| 33 | |
| 34 | end |
| 35 | |
| 36 | end OAI.NumberTheory.PadicHodge.GeometricComparison.SheafificationLeft.SheafificationLeftExactness |