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.Subsheaf |
| 2 | |
| 3 | /-! # Presheaf Fiber Sheaf -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.PresheafFiberSheaf |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Prescribing the value of a morphism of sheaves gives a sheaf of normalized sections. -/ |
| 10 | |
| 11 | open _root_.CategoryTheory |
| 12 | |
| 13 | universe u v w |
| 14 | |
| 15 | variable {C : Type u} [Category.{v} C] {P Q : Cᵒᵖ ⥤ Type w} |
| 16 | |
| 17 | def presheafSectionFiber (α : P ⟶ Q) (b : Q.sections) : Subfunctor P where |
| 18 | obj U := {s | α.app U s = b.val U} |
| 19 | map {U V} f := by |
| 20 | intro s hs |
| 21 | change α.app U s = b.val U at hs |
| 22 | change α.app V (P.map f s) = b.val V |
| 23 | exact (α.naturality_apply f s).trans ((congrArg (Q.map f) hs).trans (b.property f)) |
| 24 | |
| 25 | theorem presheafSectionFiber_isSheaf (J : GrothendieckTopology C) (α : P ⟶ Q) (b : Q.sections) |
| 26 | (hP : Presheaf.IsSheaf J P) (hQ : Presheaf.IsSheaf J Q) : |
| 27 | Presheaf.IsSheaf J (presheafSectionFiber α b).toFunctor := by |
| 28 | apply (isSheaf_iff_isSheaf_of_type _ _).mpr |
| 29 | apply ((presheafSectionFiber α b).isSheaf_iff (J := J) ((isSheaf_iff_isSheaf_of_type _ _).mp hP)).mpr |
| 30 | intro U s hs |
| 31 | change α.app U s = b.val U |
| 32 | apply (((isSheaf_iff_isSheaf_of_type _ _).mp hQ) _ hs).isSeparatedFor.ext |
| 33 | intro V f hf |
| 34 | have hf' : α.app (.op V) (P.map f.op s) = b.val (.op V) := hf |
| 35 | exact (α.naturality_apply f.op s).symm.trans (hf'.trans (b.property f.op).symm) |
| 36 | |
| 37 | end |
| 38 | |
| 39 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.PresheafFiberSheaf |