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.AbelianModuli.HilbertConstruction.Line.Bundles |
| 2 | import Mathlib.CategoryTheory.Preadditive.Biproducts |
| 3 | |
| 4 | /-! # Idempotent Sheaf Summands -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.IdempotentSheafSummands |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! An idempotent on a module sheaf has an actual equalizer summand, with an explicit inclusion and retraction. -/ |
| 11 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 12 | universe u |
| 13 | variable {X : Scheme.{u}} {M : X.Modules} |
| 14 | |
| 15 | def idempotentSheafSummand (p : End M) : X.Modules := equalizer (𝟙 M) p |
| 16 | |
| 17 | def idempotentSheafInclusion (p : End M) : idempotentSheafSummand p ⟶ M := |
| 18 | equalizer.ι (𝟙 M) p |
| 19 | |
| 20 | def idempotentSheafRetraction (p : End M) (hp : p ≫ p = p) : M ⟶ idempotentSheafSummand p := |
| 21 | equalizer.lift p (by rw [Category.comp_id, hp]) |
| 22 | |
| 23 | instance (p : End M) : Mono (idempotentSheafInclusion p) := |
| 24 | inferInstanceAs (Mono (equalizer.ι (𝟙 M) p)) |
| 25 | |
| 26 | theorem idempotentSheafInclusion_fixed (p : End M) : |
| 27 | idempotentSheafInclusion p ≫ p = idempotentSheafInclusion p := |
| 28 | (equalizer.condition (𝟙 M) p).symm.trans (Category.comp_id _) |
| 29 | |
| 30 | theorem idempotentSheafRetraction_inclusion (p : End M) (hp : p ≫ p = p) : |
| 31 | idempotentSheafRetraction p hp ≫ idempotentSheafInclusion p = p := |
| 32 | equalizer.lift_ι _ _ |
| 33 | |
| 34 | theorem idempotentSheafInclusion_retraction (p : End M) (hp : p ≫ p = p) : |
| 35 | idempotentSheafInclusion p ≫ idempotentSheafRetraction p hp = 𝟙 _ := by |
| 36 | apply (cancel_mono (idempotentSheafInclusion p)).mp |
| 37 | rw [Category.assoc, idempotentSheafRetraction_inclusion, |
| 38 | idempotentSheafInclusion_fixed, Category.id_comp] |
| 39 | |
| 40 | theorem idempotentSheafInclusion_retraction_orthogonal (p q : End M) |
| 41 | (hq : q ≫ q = q) (hpq : p ≫ q = 0) : |
| 42 | idempotentSheafInclusion p ≫ idempotentSheafRetraction q hq = 0 := by |
| 43 | apply (cancel_mono (idempotentSheafInclusion q)).mp |
| 44 | rw [Category.assoc, idempotentSheafRetraction_inclusion, zero_comp] |
| 45 | calc |
| 46 | idempotentSheafInclusion p ≫ q = (idempotentSheafInclusion p ≫ p) ≫ q := by |
| 47 | rw [idempotentSheafInclusion_fixed] |
| 48 | _ = 0 := by rw [Category.assoc, hpq, comp_zero] |
| 49 | |
| 50 | end |
| 51 | |
| 52 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.IdempotentSheafSummands |