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.Sheafification |
| 2 | |
| 3 | /-! # Sheafification Unit -/ |
| 4 | |
| 5 | namespace OAI.NumberTheory.PadicHodge.GeometricComparison.SheafificationUnit.SheafificationUnitTransfer |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Invertibility of the canonical sheafification map on an object is preserved by an actual presheaf isomorphism. -/ |
| 10 | |
| 11 | open _root_.CategoryTheory |
| 12 | |
| 13 | universe u v u' v' |
| 14 | |
| 15 | variable {C : Type u} [Category.{v} C] (J : GrothendieckTopology C) |
| 16 | {D : Type u'} [Category.{v'} D] [HasWeakSheafify J D] |
| 17 | {P Q : Cᵒᵖ ⥤ D} (e : P ≅ Q) (U : Cᵒᵖ) |
| 18 | |
| 19 | include e in |
| 20 | theorem of_iso (h : IsIso ((toSheafify J Q).app U)) : IsIso ((toSheafify J P).app U) := by |
| 21 | have : IsIso (e.hom.app U) := (e.app U).isIso_hom |
| 22 | have : IsIso ((sheafifyMap J e.hom).app U) := |
| 23 | (((sheafToPresheaf J D).mapIso ((presheafToSheaf J D).mapIso e)).app U).isIso_hom |
| 24 | have ht : e.hom.app U ≫ (toSheafify J Q).app U = |
| 25 | (toSheafify J P).app U ≫ (sheafifyMap J e.hom).app U := |
| 26 | congrArg (fun α => α.app U) (toSheafify_naturality J e.hom) |
| 27 | have hi : IsIso ((toSheafify J P).app U ≫ (sheafifyMap J e.hom).app U) := |
| 28 | ht ▸ inferInstance |
| 29 | exact (isIso_comp_right_iff _ _).mp hi |
| 30 | |
| 31 | end |
| 32 | |
| 33 | end OAI.NumberTheory.PadicHodge.GeometricComparison.SheafificationUnit.SheafificationUnitTransfer |