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.Polarization.SquareEulerDeterminant |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Normalized.GraphPolynomial |
| 3 | |
| 4 | /-! # Addition Bundle -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Polarization.AdditionBundle.PolarizedAbelianWithLevel |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The external graph bundles and the pullback along addition form the |
| 11 | actual line bundle underlying the addition graph. Its Euler coefficient |
| 12 | is three to the relative dimension times the square of the graph coefficient. -/ |
| 13 | open _root_.CategoryTheory _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 | def _root_.OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.PolarizationData.PolarizedAbelianWithFullLevel.additionGraphBundle {S : Scheme.{u}} {g N : ℕ} {δ : Fin g → ℕ} |
| 20 | (A : PolarizationData.PolarizedAbelianWithFullLevel g δ N S) : |
| 21 | Line.Bundles.LineBundle (A.abelian.scheme ⊗ A.abelian.scheme).left := |
| 22 | ((A.graphBundle.pullback (fst A.abelian.scheme A.abelian.scheme).left).tensor |
| 23 | (A.graphBundle.pullback (snd A.abelian.scheme A.abelian.scheme).left)).tensor |
| 24 | (A.graphBundle.pullback μ[A.abelian.scheme].left) |
| 25 | |
| 26 | variable {k : Type u} [Field k] {g N : ℕ} {δ : Fin g → ℕ} |
| 27 | variable (A : PolarizationData.PolarizedAbelianWithFullLevel g δ N (Spec (.of k))) |
| 28 | variable (L : Line.Bundles.LineBundle A.abelian.scheme.left) |
| 29 | variable (e : (((A.dual.poincareAt A.polarization.isogeny.hom).tensor |
| 30 | (L.pullback (fst A.abelian.scheme A.abelian.scheme).left)).tensor |
| 31 | (L.pullback (snd A.abelian.scheme A.abelian.scheme).left)).sheaf ≅ |
| 32 | (L.pullback μ[A.abelian.scheme].left).sheaf) |
| 33 | |
| 34 | private theorem pairDiagonalMul {G A : Type*} [Monoid G] [CommMonoid A] |
| 35 | (B : G →* G →* A) (x y : G) (h : B y x = B x y) : |
| 36 | B (x * y) (x * y) = B x x * B y y * B x y ^ 2 := by |
| 37 | rw [B.map_mul] |
| 38 | change B x (x * y) * B y (x * y) = _ |
| 39 | rw [(B x).map_mul, (B y).map_mul, h, pow_two] |
| 40 | ac_rfl |
| 41 | |
| 42 | private theorem pairDiagonalProduct {G C : Type*} [Monoid G] [CommGroup C] |
| 43 | (B : G →* G →* C) (x y : G) (h : B y x = B x y) : |
| 44 | (B x x * B y y) * B (x * y) (x * y) = |
| 45 | B x x ^ (2 : ℤ) * B y y ^ (2 : ℤ) * B x y ^ (2 : ℤ) := by |
| 46 | rw [pairDiagonalMul B x y h] |
| 47 | simp only [show (2 : ℤ) = ((2 : ℕ) : ℤ) by rfl, zpow_natCast] |
| 48 | rw [← mul_assoc, ← pow_two, mul_pow] |
| 49 | |
| 50 | include L e in |
| 51 | theorem _root_.OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.PolarizationData.PolarizedAbelianWithFullLevel.additionGraphBundle_class : |
| 52 | Line.Bundles.LineBundle.classOf A.additionGraphBundle = |
| 53 | ShearClasses.polarizationSquareClass A.dual A.polarization.isogeny.hom 2 2 2 := by |
| 54 | let B := ClassPairing.polarizationPairClass A.dual A.polarization.isogeny.hom |
| 55 | (A.abelian.scheme ⊗ A.abelian.scheme) |
| 56 | let x := fst A.abelian.scheme A.abelian.scheme |
| 57 | let y := snd A.abelian.scheme A.abelian.scheme |
| 58 | have hμ : x * y = μ[A.abelian.scheme] := by |
| 59 | rw [Hom.mul_def, lift_fst_snd, Category.id_comp] |
| 60 | have hs := PairSymmetry.polarizationPairClass_symmetric A.dual A.polarization.isogeny.hom L e y x |
| 61 | change Line.Bundles.LineBundle.classOf (((A.graphBundle.pullback x.left).tensor |
| 62 | (A.graphBundle.pullback y.left)).tensor (A.graphBundle.pullback μ[A.abelian.scheme].left)) = _ |
| 63 | simp only [PolarizationData.PolarizedAbelianWithFullLevel.graphBundle] |
| 64 | rw [Line.Bundles.LineBundle.classOf_tensor, Line.Bundles.LineBundle.classOf_tensor, |
| 65 | ClassPairing.graphPullback_class_eq_pair, ClassPairing.graphPullback_class_eq_pair, ClassPairing.graphPullback_class_eq_pair] |
| 66 | change B x x * B y y * B μ[A.abelian.scheme] μ[A.abelian.scheme] = |
| 67 | B x x ^ (2 : ℤ) * B y y ^ (2 : ℤ) * B x y ^ (2 : ℤ) |
| 68 | rw [← hμ] |
| 69 | exact pairDiagonalProduct B x y hs |
| 70 | |
| 71 | include L e in |
| 72 | theorem _root_.OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.PolarizationData.PolarizedAbelianWithFullLevel.additionGraphBundle_euler (hN : 3 ≤ N) (hNk : (N : k) ≠ 0) : |
| 73 | CohomologyEulerCharacteristic.coefficientEulerCharacteristic (A.abelian.scheme ⊗ A.abelian.scheme).hom |
| 74 | A.additionGraphBundle.sheaf = |
| 75 | (3 : ℤ) ^ g * (CohomologyEulerCharacteristic.coefficientEulerCharacteristic A.abelian.scheme.hom A.graphBundle.sheaf) ^ 2 := by |
| 76 | have h := A.polarizationSquareClass_euler_determinant_of_normalized_formula hN hNk L e 2 2 2 |
| 77 | rw [← A.additionGraphBundle_class L e, LineBundle.EulerShifts.lineBundleClassEuler_classOf] at h |
| 78 | norm_num at h |
| 79 | apply Int.cast_injective (α := ℚ) |
| 80 | simp only [Int.cast_mul, Int.cast_pow, Int.cast_ofNat] |
| 81 | apply mul_left_cancel₀ (pow_ne_zero g (show (4 : ℚ) ≠ 0 by norm_num)) |
| 82 | calc |
| 83 | _ = (CohomologyEulerCharacteristic.coefficientEulerCharacteristic A.abelian.scheme.hom A.graphBundle.sheaf : ℚ) ^ 2 * |
| 84 | (12 : ℚ) ^ g := h |
| 85 | _ = _ := by |
| 86 | rw [show (12 : ℚ) = 4 * 3 by norm_num, mul_pow] |
| 87 | ring |
| 88 | |
| 89 | include L e in |
| 90 | theorem _root_.OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.PolarizationData.PolarizedAbelianWithFullLevel.additionGraphBundle_euler_normalized |
| 91 | (hg : 0 < g) (hN : 3 ≤ N) (hNk : (N : k) ≠ 0) : |
| 92 | CohomologyEulerCharacteristic.coefficientEulerCharacteristic (A.abelian.scheme ⊗ A.abelian.scheme).hom |
| 93 | A.additionGraphBundle.sheaf = |
| 94 | (3 : ℤ) ^ g * ((2 : ℤ) ^ g * ((∏ i, δ i : ℕ) : ℤ)) ^ 2 := by |
| 95 | rw [A.additionGraphBundle_euler L e hN hNk, |
| 96 | A.graphBundle_euler_normalized_overField hg hN hNk] |
| 97 | |
| 98 | end |
| 99 | |
| 100 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Polarization.AdditionBundle.PolarizedAbelianWithLevel |