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.External.SectionDimensions |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.External.AcyclicTensor |
| 3 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.CohomologyEulerCharacteristic |
| 4 | |
| 5 | /-! # Acyclic Euler -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.External.AcyclicEuler |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Euler characteristics multiply for external tensor products of line |
| 12 | bundles with no positive cohomology. Both vanishing and the degree-zero |
| 13 | dimension comparison refer to the actual sheaf cohomology. -/ |
| 14 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.TopologicalSpace _root_.AlgebraicGeometry Opposite |
| 15 | universe u |
| 16 | set_option backward.isDefEq.respectTransparency false |
| 17 | set_option backward.isDefEq.respectTransparency.types false |
| 18 | |
| 19 | theorem coefficientEulerCharacteristic_eq_finrank_zero |
| 20 | {k : Type u} [Field k] {X : Scheme.{u}} |
| 21 | (f : X ⟶ Spec (.of k)) (M : X.Modules) |
| 22 | (hM : ∀ q, Subsingleton (Zariski.Cohomology.ZariskiCohomology.H M (q + 1))) : |
| 23 | CohomologyEulerCharacteristic.coefficientEulerCharacteristic f M = |
| 24 | (Module.finrank k ((Zariski.CohomologyFunctor.ZariskiCohomology.coefficientCohomologyFunctor (Coefficient.ModulePresheaf.schemeCoefficientMap f) 0).obj M) : ℤ) := by |
| 25 | unfold CohomologyEulerCharacteristic.coefficientEulerCharacteristic |
| 26 | rw [finsum_eq_single _ 0] |
| 27 | · simp |
| 28 | · intro q hq |
| 29 | obtain ⟨r, rfl⟩ := Nat.exists_eq_succ_of_ne_zero hq |
| 30 | let : Subsingleton ((Zariski.CohomologyFunctor.ZariskiCohomology.coefficientCohomologyFunctor |
| 31 | (Coefficient.ModulePresheaf.schemeCoefficientMap f) (r + 1)).obj M) := hM r |
| 32 | simp only [Module.finrank_zero_of_subsingleton, Nat.cast_zero, mul_zero] |
| 33 | |
| 34 | variable {k : Type u} [Field k] {X Y P : Scheme.{u}} |
| 35 | variable [X.IsSeparated] [Y.IsSeparated] [P.IsSeparated] |
| 36 | variable {a : P ⟶ X} {b : P ⟶ Y} {f : X ⟶ Spec (.of k)} {g : Y ⟶ Spec (.of k)} |
| 37 | variable (H : IsPullback a b f g) (L : Line.Bundles.LineBundle X) (N : Line.Bundles.LineBundle Y) |
| 38 | variable {ι : Type u} [Finite ι] (V : ι → X.Opens) |
| 39 | variable (hV : iSup V = ⊤) (haV : ∀ i, IsAffineOpen (V i)) |
| 40 | variable (heV : ∀ i, Nonempty ((Scheme.Modules.pullback (V i).ι).obj L.sheaf ≅ Line.Bundles.structureModule (V i).toScheme)) |
| 41 | variable {κ : Type u} [Finite κ] (U : κ → Y.Opens) (haU : ∀ i, IsAffineOpen (U i)) |
| 42 | variable (heU : ∀ i, Nonempty ((Scheme.Modules.pullback (U i).ι).obj N.sheaf ≅ Line.Bundles.structureModule (U i).toScheme)) |
| 43 | |
| 44 | include H V hV haV heV haU heU in |
| 45 | theorem fieldExternal_euler_of_positive_vanishing (hU : iSup U = ⊤) |
| 46 | (hL : ∀ q, Subsingleton (Zariski.Cohomology.ZariskiCohomology.H L.sheaf (q + 1))) |
| 47 | (hN : ∀ q, Subsingleton (Zariski.Cohomology.ZariskiCohomology.H N.sheaf (q + 1))) : |
| 48 | CohomologyEulerCharacteristic.coefficientEulerCharacteristic (b ≫ g) (((L.pullback a).tensor (N.pullback b)).sheaf) = |
| 49 | CohomologyEulerCharacteristic.coefficientEulerCharacteristic f L.sheaf * CohomologyEulerCharacteristic.coefficientEulerCharacteristic g N.sheaf := by |
| 50 | have hE := AcyclicTensor.fieldExternal_positiveCohomology_vanish H L N V hV haV heV U haU heU hU hL hN |
| 51 | rw [coefficientEulerCharacteristic_eq_finrank_zero (b ≫ g) _ hE, |
| 52 | coefficientEulerCharacteristic_eq_finrank_zero f L.sheaf hL, |
| 53 | coefficientEulerCharacteristic_eq_finrank_zero g N.sheaf hN] |
| 54 | exact_mod_cast SectionDimensions.fieldExternalZeroCohomology_finrank H L N V hV haV heV U haU heU hU |
| 55 | |
| 56 | end |
| 57 | |
| 58 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.External.AcyclicEuler |