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.KoszulEulerSums |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.LineBundle.EulerShifts |
| 3 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Generated.LineBundleKoszul |
| 4 | |
| 5 | /-! # Koszul Euler Difference -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.KoszulEulerDifference |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Finite global generators annihilate a finite tensor difference of the genuine Euler function on all line-bundle classes. -/ |
| 12 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 13 | universe u |
| 14 | |
| 15 | theorem lineBundleKoszulEuler_eq_difference {k : Type u} [Field k] {X : Scheme.{u}} |
| 16 | (p : X ⟶ Spec (.of k)) [IsProper p] (L M : Line.Bundles.LineBundle X) |
| 17 | (ss : List (Line.Bundles.structureModule X ⟶ L.sheaf)) : |
| 18 | KoszulEulerSums.lineBundleKoszulEuler p L M.sheaf ss = |
| 19 | (((LineBundle.EulerShifts.lineBundleEulerShift X (Line.Bundles.LineBundle.classOf L) - 1) ^ ss.length) |
| 20 | (LineBundle.EulerShifts.lineBundleClassEuler p)) (Line.Bundles.LineBundle.classOf M) := by |
| 21 | induction ss generalizing M with |
| 22 | | nil => |
| 23 | rw [KoszulEulerSums.lineBundleKoszulEuler_nil] |
| 24 | rfl |
| 25 | | cons s ss ih => |
| 26 | have : M.sheaf.IsQuasicoherent := M.isQuasicoherent |
| 27 | have : M.sheaf.IsFiniteType := M.isFiniteType |
| 28 | let e : (LineBundle.TensorEquivalence.lineBundleTensorEquivalence L).functor.obj M.sheaf ≅ (M.tensor L).sheaf := |
| 29 | LineBundle.TensorEquivalence.lineBundleTensorEquivalence_objIso L M.sheaf ≪≫ Tensor.ProductSheaf.tensorModuleCommIso L.sheaf M.sheaf |
| 30 | rw [KoszulEulerSums.lineBundleKoszulEuler_cons p L M.sheaf s ss, |
| 31 | KoszulEulerSums.lineBundleKoszulEuler_coefficient_iso p L e ss, ih (M.tensor L), ih M] |
| 32 | rw [List.length_cons, pow_succ'] |
| 33 | rfl |
| 34 | |
| 35 | theorem lineBundleEulerShift_difference_annihilates_of_generators |
| 36 | {k : Type u} [Field k] {X : Scheme.{u}} (p : X ⟶ Spec (.of k)) [IsProper p] |
| 37 | (L : Line.Bundles.LineBundle X) (hL : Finite.GlobalModuleGenerators.HasFiniteGlobalGenerators L.sheaf) : |
| 38 | ∃ r : ℕ, ((LineBundle.EulerShifts.lineBundleEulerShift X (Line.Bundles.LineBundle.classOf L) - 1) ^ r) |
| 39 | (LineBundle.EulerShifts.lineBundleClassEuler p) = 0 := by |
| 40 | have : IsLocallyNoetherian X := LocallyOfFiniteType.isLocallyNoetherian p |
| 41 | obtain ⟨ss, hss⟩ := Finite.GlobalModuleGenerators.HasFiniteGlobalGenerators.exists_acyclic_koszul L hL |
| 42 | refine ⟨ss.length, ?_⟩ |
| 43 | funext q |
| 44 | induction q using Quotient.inductionOn with |
| 45 | | h M => |
| 46 | have : M.sheaf.IsQuasicoherent := M.isQuasicoherent |
| 47 | have : M.sheaf.IsFiniteType := M.isFiniteType |
| 48 | exact (lineBundleKoszulEuler_eq_difference p L M ss).symm.trans |
| 49 | (KoszulEulerSums.lineBundleKoszulEuler_eq_zero_of_acyclic p L M.sheaf ss (hss M.sheaf).1) |
| 50 | |
| 51 | end |
| 52 | |
| 53 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.KoszulEulerDifference |