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.MultiplicationCharacter.Euler |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.MultiplicationCharacter.TensorDecomposition |
| 3 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Affine.PushforwardEuler |
| 4 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Proper.CohomologyEulerBiproduct |
| 5 | |
| 6 | /-! # Euler -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! Full-level multiplication multiplies genuine Euler characteristic by N^(2g), using actual character line bundles, their homogeneity, and the proved projection formula. -/ |
| 13 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 14 | universe u |
| 15 | |
| 16 | theorem Dual.Data.DualAbelianData.fullLevel_multiplication_pullback_euler |
| 17 | {K : Type u} [Field K] [IsAlgClosed K] {g N : ℕ} [NeZero N] |
| 18 | {A : Abelian.Schemes.AbelianScheme g (Spec (.of K))} (D : Dual.Data.DualAbelianData A) |
| 19 | (level : A.FullLevel N) (L : Line.Bundles.LineBundle A.scheme.left) (hN : (N : K) ≠ 0) : |
| 20 | CohomologyEulerCharacteristic.coefficientEulerCharacteristic A.scheme.hom (L.pullback (A.multiplication N).left).sheaf = |
| 21 | (N : ℤ) ^ (2 * g) * CohomologyEulerCharacteristic.coefficientEulerCharacteristic A.scheme.hom L.sheaf := by |
| 22 | classical |
| 23 | let I := ULift.{u} (Multiplicative (Fin (2 * g) → ZMod N)) →* Kˣ |
| 24 | let : Fintype I := Fintype.ofFinite I |
| 25 | let f := (A.multiplication N).left |
| 26 | let M : I → A.scheme.left.Modules := fun χ => |
| 27 | (L.tensor (A.multiplicationCharacterLineBundle level χ hN)).sheaf |
| 28 | have : IsFinite f := A.fullLevel_multiplication_isFinite level |
| 29 | have : A.scheme.left.IsSeparated := ⟨by rw [← terminal.comp_from A.scheme.hom]; infer_instance⟩ |
| 30 | have : (L.pullback f).sheaf.IsQuasicoherent := (L.pullback f).isQuasicoherent |
| 31 | have : ∀ χ, (M χ).IsQuasicoherent := fun χ => |
| 32 | (L.tensor (A.multiplicationCharacterLineBundle level χ hN)).isQuasicoherent |
| 33 | have : ∀ χ, (M χ).IsFiniteType := fun χ => |
| 34 | (L.tensor (A.multiplicationCharacterLineBundle level χ hN)).isFiniteType |
| 35 | have hfp : f ≫ A.scheme.hom = A.scheme.hom := (A.multiplication N).w |
| 36 | have hpush := Affine.PushforwardEuler.coefficientEulerCharacteristic_affinePushforward f A.scheme.hom (L.pullback f).sheaf |
| 37 | rw [hfp] at hpush |
| 38 | have hcard : Fintype.card I = N ^ (2 * g) := by |
| 39 | rw [← Nat.card_eq_fintype_card] |
| 40 | exact TameCharacters.fullLevelCharacter_card K g N hN |
| 41 | calc |
| 42 | CohomologyEulerCharacteristic.coefficientEulerCharacteristic A.scheme.hom (L.pullback f).sheaf = |
| 43 | CohomologyEulerCharacteristic.coefficientEulerCharacteristic A.scheme.hom ((Scheme.Modules.pushforward f).obj (L.pullback f).sheaf) := hpush |
| 44 | _ = CohomologyEulerCharacteristic.coefficientEulerCharacteristic A.scheme.hom (⨁ M) := |
| 45 | Proper.LineBundleEuler.coefficientEulerCharacteristic_eq_of_sheafIso A.scheme.hom |
| 46 | (A.multiplicationCharacterTensorDecomposition level L hN) |
| 47 | _ = ∑ χ : I, CohomologyEulerCharacteristic.coefficientEulerCharacteristic A.scheme.hom (M χ) := |
| 48 | Proper.CohomologyEulerBiproduct.proper_coherent_euler_biproduct A.scheme.hom M |
| 49 | _ = ∑ _χ : I, CohomologyEulerCharacteristic.coefficientEulerCharacteristic A.scheme.hom L.sheaf := |
| 50 | Finset.sum_congr rfl (fun χ _ => D.multiplicationCharacter_twist_euler level L χ hN) |
| 51 | _ = (N : ℤ) ^ (2 * g) * CohomologyEulerCharacteristic.coefficientEulerCharacteristic A.scheme.hom L.sheaf := by |
| 52 | simp only [Finset.sum_const, Finset.card_univ, nsmul_eq_mul, hcard, Nat.cast_pow] |
| 53 | |
| 54 | end |
| 55 | |
| 56 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction |