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.Proper.CohomologyEulerAdditivity |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Coherent.BinaryBiproduct |
| 3 | |
| 4 | /-! # Coherent Euler Biprod -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Proper.CoherentEulerBiprod |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Binary Euler additivity from the actual split short exact sequence. -/ |
| 11 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 12 | universe u |
| 13 | |
| 14 | theorem proper_coherent_euler_biprod {k : Type u} [Field k] {X : Scheme.{u}} |
| 15 | (p : X ⟶ Spec (.of k)) [IsProper p] (M N : X.Modules) |
| 16 | [M.IsQuasicoherent] [N.IsQuasicoherent] [M.IsFiniteType] [N.IsFiniteType] : |
| 17 | CohomologyEulerCharacteristic.coefficientEulerCharacteristic p (M ⊞ N) = |
| 18 | CohomologyEulerCharacteristic.coefficientEulerCharacteristic p M + CohomologyEulerCharacteristic.coefficientEulerCharacteristic p N := by |
| 19 | have := Coherent.BinaryBiproduct.module_biprod_quasicoherent M N |
| 20 | have := Coherent.BinaryBiproduct.module_biprod_finiteType M N |
| 21 | let S : ShortComplex X.Modules := ShortComplex.mk |
| 22 | (biprod.inl : M ⟶ M ⊞ N) (biprod.snd : M ⊞ N ⟶ N) (by simp) |
| 23 | let t : S.Splitting := |
| 24 | { r := biprod.fst |
| 25 | s := biprod.inr |
| 26 | f_r := by change biprod.inl ≫ biprod.fst = 𝟙 M; exact biprod.inl_fst |
| 27 | s_g := by change biprod.inr ≫ biprod.snd = 𝟙 N; exact biprod.inr_snd |
| 28 | id := by |
| 29 | change (biprod.fst : M ⊞ N ⟶ M) ≫ biprod.inl + biprod.snd ≫ biprod.inr = 𝟙 (M ⊞ N) |
| 30 | exact biprod.total } |
| 31 | exact @CohomologyEulerAdditivity.proper_coherent_euler_additive k _ X p _ S t.shortExact |
| 32 | (inferInstance : M.IsQuasicoherent) (inferInstance : M.IsFiniteType) |
| 33 | (Coherent.BinaryBiproduct.module_biprod_quasicoherent M N) (Coherent.BinaryBiproduct.module_biprod_finiteType M N) |
| 34 | (inferInstance : N.IsQuasicoherent) (inferInstance : N.IsFiniteType) |
| 35 | |
| 36 | end |
| 37 | |
| 38 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Proper.CoherentEulerBiprod |