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.NumberTheory.PadicHodge.IntegralComparison.Coherent.KTheory |
| 2 | import OAI.AlgebraicGeometry.SheafCohomology.Projective.EulerRange |
| 3 | |
| 4 | /-! # Euler Index -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.Coherent.EulerIndex.ProjectiveK |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The actual coherent Euler characteristic, computed by the finite |
| 11 | projective affine Čech cover, descends to the coherent Grothendieck group. |
| 12 | The definition uses the original sheaf and its actual direct image. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 15 | |
| 16 | universe u |
| 17 | attribute [local instance] MvPolynomial.gradedAlgebra |
| 18 | |
| 19 | variable {K : Type u} [Field K] {r : ℕ} {A : Scheme.{u}} |
| 20 | (f : A ⟶ Proj (MvPolynomial.homogeneousSubmodule (Fin (r + 1)) K)) |
| 21 | [IsClosedImmersion f] |
| 22 | |
| 23 | def coherentEuler (M : A.Modules) : ℤ := |
| 24 | AlgebraicGeometry.SheafCohomology.Projective.Euler.MvPolynomial.projectiveSheafEuler ((Scheme.Modules.pushforward f).obj M) |
| 25 | |
| 26 | omit [IsClosedImmersion f] in |
| 27 | theorem coherentEuler_eq_of_iso {M N : A.Modules} (e : M ≅ N) : |
| 28 | coherentEuler f M = coherentEuler f N := |
| 29 | AlgebraicGeometry.SheafCohomology.Projective.Euler.MvPolynomial.projectiveSheafEuler_eq_of_iso ((Scheme.Modules.pushforward f).mapIso e) |
| 30 | |
| 31 | theorem coherentEuler_add_of_shortExact (T : ShortComplex A.Modules) (hT : T.ShortExact) |
| 32 | [T.X₁.IsQuasicoherent] [T.X₂.IsQuasicoherent] [T.X₃.IsQuasicoherent] |
| 33 | [T.X₁.IsFiniteType] [T.X₂.IsFiniteType] [T.X₃.IsFiniteType] : |
| 34 | coherentEuler f T.X₂ = coherentEuler f T.X₁ + coherentEuler f T.X₃ := by |
| 35 | let S := T.map (Scheme.Modules.pushforward f) |
| 36 | have : S.X₁.IsQuasicoherent := AlgebraicGeometry.FormalGeometry.Completion.ClosedHilbertNumerics.Construction.coherentClosedDirectImage_quasicoherent f T.X₁ |
| 37 | have : S.X₂.IsQuasicoherent := AlgebraicGeometry.FormalGeometry.Completion.ClosedHilbertNumerics.Construction.coherentClosedDirectImage_quasicoherent f T.X₂ |
| 38 | have : S.X₃.IsQuasicoherent := AlgebraicGeometry.FormalGeometry.Completion.ClosedHilbertNumerics.Construction.coherentClosedDirectImage_quasicoherent f T.X₃ |
| 39 | have : S.X₁.IsFiniteType := AlgebraicGeometry.FormalGeometry.Completion.ClosedHilbertNumerics.Construction.coherentClosedDirectImage_finiteType f T.X₁ |
| 40 | have : S.X₂.IsFiniteType := AlgebraicGeometry.FormalGeometry.Completion.ClosedHilbertNumerics.Construction.coherentClosedDirectImage_finiteType f T.X₂ |
| 41 | have : S.X₃.IsFiniteType := AlgebraicGeometry.FormalGeometry.Completion.ClosedHilbertNumerics.Construction.coherentClosedDirectImage_finiteType f T.X₃ |
| 42 | exact AlgebraicGeometry.FormalGeometry.Completion.Projective.Numerics.Construction.projectiveEuler_add_of_shortExact S (AlgebraicGeometry.FormalGeometry.Completion.Affine.PushforwardExact.Construction.affineModulePushforward_shortExact f hT) |
| 43 | |
| 44 | def coherentEulerOnFree : FreeAbelianGroup (KTheory.Projective.CoherentModule A) →+ ℤ := |
| 45 | FreeAbelianGroup.lift (fun M => coherentEuler f M.sheaf) |
| 46 | |
| 47 | theorem coherentK0Relations_le_eulerKernel : |
| 48 | KTheory.Projective.coherentK0Relations A ≤ (coherentEulerOnFree f).ker := by |
| 49 | apply (AddSubgroup.closure_le _).mpr |
| 50 | rintro _ ⟨S, rfl⟩ |
| 51 | change coherentEulerOnFree f (KTheory.Projective.coherentExactRelation S) = 0 |
| 52 | simp only [coherentEulerOnFree, KTheory.Projective.coherentExactRelation, map_sub, |
| 53 | FreeAbelianGroup.lift_apply_of] |
| 54 | have he := coherentEuler_add_of_shortExact f |
| 55 | (ShortComplex.mk S.inclusion S.projection S.zero) S.shortExact |
| 56 | change coherentEuler f S.middle.sheaf = |
| 57 | coherentEuler f S.left.sheaf + coherentEuler f S.right.sheaf at he |
| 58 | rw [he] |
| 59 | abel |
| 60 | |
| 61 | def coherentEulerIndex : KTheory.Projective.CoherentK0 A →+ ℤ := |
| 62 | QuotientAddGroup.lift (KTheory.Projective.coherentK0Relations A) (coherentEulerOnFree f) |
| 63 | (coherentK0Relations_le_eulerKernel f) |
| 64 | |
| 65 | @[simp] |
| 66 | theorem coherentEulerIndex_class (M : KTheory.Projective.CoherentModule A) : |
| 67 | coherentEulerIndex f (KTheory.Projective.coherentK0Class M) = coherentEuler f M.sheaf := by |
| 68 | change coherentEulerOnFree f (FreeAbelianGroup.of M) = _ |
| 69 | exact FreeAbelianGroup.lift_apply_of _ _ |
| 70 | |
| 71 | @[simp] |
| 72 | theorem coherentEulerIndex_tensor_class (L : A.Modules) |
| 73 | (hL : AlgebraicGeometry.SheafCohomology.Projective.Invertible.Scheme.Modules.IsInvertible L) (M : KTheory.Projective.CoherentModule A) : |
| 74 | coherentEulerIndex f (KTheory.Projective.coherentTensorK0 L hL (KTheory.Projective.coherentK0Class M)) = |
| 75 | coherentEuler f (KTheory.Projective.coherentTensorModule L hL M).sheaf := by |
| 76 | rw [KTheory.Projective.coherentTensorK0_class, coherentEulerIndex_class] |
| 77 | |
| 78 | end |
| 79 | |
| 80 | end OAI.NumberTheory.PadicHodge.IntegralComparison.Coherent.EulerIndex.ProjectiveK |