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.Graph.EulerSquareNormalization |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Polarization.BiextensionPoincarePoint |
| 3 | |
| 4 | /-! # Euler Normalization -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The geometric positivity condition supplies the normalized formula on |
| 11 | the identity base change. It determines the positive graph Euler coefficient, |
| 12 | which then descends from an algebraic closure to every ground field. -/ |
| 13 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 14 | open _root_.CategoryTheory.MonoidalCategory _root_.CategoryTheory.CartesianMonoidalCategory |
| 15 | open scoped _root_.CategoryTheory.MonObj _root_.CategoryTheory.Obj BigOperators |
| 16 | universe u |
| 17 | set_option backward.isDefEq.respectTransparency false |
| 18 | set_option backward.isDefEq.respectTransparency.types false |
| 19 | variable {k : Type u} [Field k] {g N : ℕ} {δ : Fin g → ℕ} |
| 20 | variable (A : PolarizationData.PolarizedAbelianWithFullLevel g δ N (Spec (.of k))) |
| 21 | |
| 22 | theorem PolarizationData.PolarizedAbelianWithFullLevel.graphBundle_euler_normalized_overAlgClosed [IsAlgClosed k] |
| 23 | (hg : 0 < g) (hN : 3 ≤ N) (hNk : (N : k) ≠ 0) : |
| 24 | CohomologyEulerCharacteristic.coefficientEulerCharacteristic A.abelian.scheme.hom A.graphBundle.sheaf = |
| 25 | (2 : ℤ) ^ g * ((∏ i, δ i : ℕ) : ℤ) := by |
| 26 | let f : Spec (.of k) ⟶ Spec (.of k) := 𝟙 _ |
| 27 | let B := A.pullback f |
| 28 | obtain ⟨L, _, _, ⟨e⟩⟩ := A.polarization.positive k f |
| 29 | let L₁ := L.pullback (fst B.abelian.scheme B.abelian.scheme).left |
| 30 | let L₂ := L.pullback (snd B.abelian.scheme B.abelian.scheme).left |
| 31 | let e' : (((B.dual.poincareAt B.polarization.isogeny.hom).tensor L₁).tensor L₂).sheaf ≅ |
| 32 | (L.pullback μ[B.abelian.scheme].left).sheaf := |
| 33 | Tensor.Bifunctor.tensorModuleMapIso (Tensor.Bifunctor.tensorModuleMapIso |
| 34 | (Polarization.BiextensionPoincarePoint.polarizationBiextensionAt_poincareAtIso A.dual A.polarization.isogeny.hom f) |
| 35 | (Iso.refl L₁.sheaf)) (Iso.refl L₂.sheaf) ≪≫ e |
| 36 | have hsq := B.graphBundle_euler_square_of_normalized_formula hg hN hNk L e' |
| 37 | have hpos := B.graphBundle_euler_pos hN hNk |
| 38 | have hr : 0 ≤ (2 : ℤ) ^ g * ((∏ i, δ i : ℕ) : ℤ) := |
| 39 | mul_nonneg (pow_nonneg (by norm_num) _) (Int.natCast_nonneg _) |
| 40 | have hb : CohomologyEulerCharacteristic.coefficientEulerCharacteristic B.abelian.scheme.hom B.graphBundle.sheaf = |
| 41 | (2 : ℤ) ^ g * ((∏ i, δ i : ℕ) : ℤ) := by nlinarith |
| 42 | have hunit : IsUnit (N : Γ(Spec (.of k), ⊤)) := by |
| 43 | simpa only [map_natCast] using |
| 44 | (isUnit_iff_ne_zero.mpr hNk).map (Coefficient.ModulePresheaf.schemeCoefficientMap (𝟙 (Spec (.of k)))) |
| 45 | have hid : CohomologyEulerCharacteristic.coefficientEulerCharacteristic B.abelian.scheme.hom B.graphBundle.sheaf = |
| 46 | CohomologyEulerCharacteristic.coefficientEulerCharacteristic A.abelian.scheme.hom A.graphBundle.sheaf := by |
| 47 | have h := A.graphBundle_euler_fieldExtension (𝟙 (CommRingCat.of k)) hN hunit |
| 48 | erw [Spec.map_id] at h |
| 49 | exact h |
| 50 | exact hid.symm.trans hb |
| 51 | |
| 52 | theorem PolarizationData.PolarizedAbelianWithFullLevel.graphBundle_euler_normalized_overField |
| 53 | (hg : 0 < g) (hN : 3 ≤ N) (hNk : (N : k) ≠ 0) : |
| 54 | CohomologyEulerCharacteristic.coefficientEulerCharacteristic A.abelian.scheme.hom A.graphBundle.sheaf = |
| 55 | (2 : ℤ) ^ g * ((∏ i, δ i : ℕ) : ℤ) := by |
| 56 | let φ : CommRingCat.of k ⟶ CommRingCat.of (AlgebraicClosure k) := |
| 57 | CommRingCat.ofHom (algebraMap k (AlgebraicClosure k)) |
| 58 | let B := A.pullback (Spec.map φ) |
| 59 | have hNF : (N : AlgebraicClosure k) ≠ 0 := by |
| 60 | intro hz |
| 61 | apply hNk |
| 62 | apply (algebraMap k (AlgebraicClosure k)).injective |
| 63 | simpa only [map_natCast, map_zero] using hz |
| 64 | have hunit : IsUnit (N : Γ(Spec (.of k), ⊤)) := by |
| 65 | simpa only [map_natCast] using |
| 66 | (isUnit_iff_ne_zero.mpr hNk).map (Coefficient.ModulePresheaf.schemeCoefficientMap (𝟙 (Spec (.of k)))) |
| 67 | exact (A.graphBundle_euler_fieldExtension φ hN hunit).symm.trans |
| 68 | (B.graphBundle_euler_normalized_overAlgClosed hg hN hNF) |
| 69 | |
| 70 | theorem PolarizationData.PolarizedAbelianWithFullLevel.graphBundle_tensorPower_euler_normalized_overField |
| 71 | (hg : 0 < g) (hN : 3 ≤ N) (hNk : (N : k) ≠ 0) (m : ℕ) : |
| 72 | CohomologyEulerCharacteristic.coefficientEulerCharacteristic A.abelian.scheme.hom (A.graphBundle.tensorPower m).sheaf = |
| 73 | ((2 : ℤ) ^ g * ((∏ i, δ i : ℕ) : ℤ)) * (m : ℤ) ^ g := by |
| 74 | rw [A.graphBundle_tensorPower_euler_overField hN hNk m, |
| 75 | A.graphBundle_euler_normalized_overField hg hN hNk] |
| 76 | |
| 77 | end |
| 78 | |
| 79 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction |