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.Bounded.CohomologyEulerAdditivity |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Quasicoherent.CohomologyBound |
| 3 | |
| 4 | /-! # Cohomology Euler Additivity -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Proper.CohomologyEulerAdditivity |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Genuine coherent Euler characteristic is additive on short exact sequences over a proper scheme over a field. Finiteness and cohomology bounds are proved from the geometry. -/ |
| 11 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 12 | universe u |
| 13 | |
| 14 | theorem proper_coherent_euler_additive |
| 15 | {K : Type u} [Field K] {X : Scheme.{u}} (p : X ⟶ Spec (.of K)) [IsProper p] |
| 16 | {S : ShortComplex X.Modules} (hS : S.ShortExact) |
| 17 | [S.X₁.IsQuasicoherent] [S.X₁.IsFiniteType] |
| 18 | [S.X₂.IsQuasicoherent] [S.X₂.IsFiniteType] |
| 19 | [S.X₃.IsQuasicoherent] [S.X₃.IsFiniteType] : |
| 20 | CohomologyEulerCharacteristic.coefficientEulerCharacteristic p S.X₂ = |
| 21 | CohomologyEulerCharacteristic.coefficientEulerCharacteristic p S.X₁ + CohomologyEulerCharacteristic.coefficientEulerCharacteristic p S.X₃ := by |
| 22 | have : X.IsSeparated := ⟨by rw [← terminal.comp_from p]; infer_instance⟩ |
| 23 | have : CompactSpace X := QuasiCompact.compactSpace_of_compactSpace p |
| 24 | obtain ⟨N₁, h₁⟩ := Quasicoherent.CohomologyBound.compactSeparated_quasicoherent_cohomology_bounded (Coefficient.ModulePresheaf.schemeCoefficientMap p) S.X₁ |
| 25 | obtain ⟨N₂, h₂⟩ := Quasicoherent.CohomologyBound.compactSeparated_quasicoherent_cohomology_bounded (Coefficient.ModulePresheaf.schemeCoefficientMap p) S.X₂ |
| 26 | obtain ⟨N₃, h₃⟩ := Quasicoherent.CohomologyBound.compactSeparated_quasicoherent_cohomology_bounded (Coefficient.ModulePresheaf.schemeCoefficientMap p) S.X₃ |
| 27 | exact Bounded.CohomologyEulerAdditivity.coefficientEulerCharacteristic_shortExact_of_bounded p hS |
| 28 | (CoherentCohomology.proper_coherent_cohomologyFinite p S.X₁) |
| 29 | (CoherentCohomology.proper_coherent_cohomologyFinite p S.X₂) |
| 30 | (CoherentCohomology.proper_coherent_cohomologyFinite p S.X₃) |
| 31 | (max N₁ (max N₂ N₃)) |
| 32 | (fun q hq => h₁ q (by omega)) (fun q hq => h₂ q (by omega)) (fun q hq => h₃ q (by omega)) |
| 33 | |
| 34 | end |
| 35 | |
| 36 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Proper.CohomologyEulerAdditivity |