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.IdempotentSheafSummands |
| 2 | |
| 3 | /-! # Orthogonal Sheaf Decomposition -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.OrthogonalSheafDecomposition |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! A finite complete family of orthogonal sheaf idempotents gives an actual biproduct decomposition through its equalizer summands. -/ |
| 10 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 11 | universe u v |
| 12 | instance moduleSheaf_hasFiniteBiproducts (X : Scheme.{u}) : HasFiniteBiproducts X.Modules := |
| 13 | HasFiniteBiproducts.of_hasFiniteProducts |
| 14 | |
| 15 | variable {X : Scheme.{u}} {M : X.Modules} {I : Type v} |
| 16 | |
| 17 | def orthogonalIdempotentSheafBicone (p : I → End M) |
| 18 | (hp : ∀ i, p i ≫ p i = p i) (ho : ∀ i j, i ≠ j → p i ≫ p j = 0) : |
| 19 | Bicone (fun i => IdempotentSheafSummands.idempotentSheafSummand (p i)) where |
| 20 | pt := M |
| 21 | π i := IdempotentSheafSummands.idempotentSheafRetraction (p i) (hp i) |
| 22 | ι i := IdempotentSheafSummands.idempotentSheafInclusion (p i) |
| 23 | ι_π i j := by |
| 24 | classical |
| 25 | by_cases h : i = j |
| 26 | · subst j |
| 27 | simpa using IdempotentSheafSummands.idempotentSheafInclusion_retraction (p i) (hp i) |
| 28 | · simpa only [dite_eq_right h] using |
| 29 | IdempotentSheafSummands.idempotentSheafInclusion_retraction_orthogonal (p i) (p j) (hp j) (ho i j h) |
| 30 | |
| 31 | def orthogonalIdempotentSheafBilimit [Fintype I] (p : I → End M) |
| 32 | (hp : ∀ i, p i ≫ p i = p i) (ho : ∀ i j, i ≠ j → p i ≫ p j = 0) |
| 33 | (hs : ∑ i, p i = 𝟙 M) : (orthogonalIdempotentSheafBicone p hp ho).IsBilimit := |
| 34 | isBilimitOfTotal _ (by |
| 35 | change ∑ i, IdempotentSheafSummands.idempotentSheafRetraction (p i) (hp i) ≫ IdempotentSheafSummands.idempotentSheafInclusion (p i) = 𝟙 M |
| 36 | simpa only [IdempotentSheafSummands.idempotentSheafRetraction_inclusion] using hs) |
| 37 | |
| 38 | def orthogonalIdempotentSheafIso [Fintype I] (p : I → End M) |
| 39 | (hp : ∀ i, p i ≫ p i = p i) (ho : ∀ i j, i ≠ j → p i ≫ p j = 0) |
| 40 | (hs : ∑ i, p i = 𝟙 M) : M ≅ ⨁ (fun i => IdempotentSheafSummands.idempotentSheafSummand (p i)) := |
| 41 | biproduct.uniqueUpToIso _ (orthogonalIdempotentSheafBilimit p hp ho hs) |
| 42 | |
| 43 | end |
| 44 | |
| 45 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.OrthogonalSheafDecomposition |