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.SectionDimensionFieldExtension |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.CanonicalGraph.EulerFormula |
| 3 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.CanonicalGraph.FieldEulerPolynomial |
| 4 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Polynomial.EventualGrid |
| 5 | import Mathlib.FieldTheory.IsAlgClosed.AlgebraicClosure |
| 6 | |
| 7 | /-! # Field Euler Formula -/ |
| 8 | |
| 9 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction |
| 10 | |
| 11 | noncomputable section |
| 12 | |
| 13 | /-! The exact Euler monomial and positive original coefficient descend from an algebraic closure to every ground field through actual section base change. -/ |
| 14 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 15 | universe u |
| 16 | |
| 17 | variable {K : Type u} [Field K] {g N : ℕ} {δ : Fin g → ℕ} |
| 18 | variable (A : PolarizationData.PolarizedAbelianWithFullLevel g δ N (Spec (.of K))) |
| 19 | |
| 20 | theorem PolarizationData.PolarizedAbelianWithFullLevel.graphBundle_euler_fieldExtension {F : Type u} [Field F] |
| 21 | (φ : CommRingCat.of K ⟶ CommRingCat.of F) |
| 22 | (hN : 3 ≤ N) (hunit : IsUnit (N : Γ(Spec (.of K), ⊤))) : |
| 23 | CohomologyEulerCharacteristic.coefficientEulerCharacteristic (A.pullback (Spec.map φ)).abelian.scheme.hom |
| 24 | (A.pullback (Spec.map φ)).graphBundle.sheaf = |
| 25 | CohomologyEulerCharacteristic.coefficientEulerCharacteristic A.abelian.scheme.hom A.graphBundle.sheaf := by |
| 26 | have h := A.graphBundle_positivePower_euler_fieldExtension φ hN hunit 1 Nat.zero_lt_one |
| 27 | have hA := Proper.LineBundleEuler.coefficientEulerCharacteristic_eq_of_sheafIso A.abelian.scheme.hom |
| 28 | A.graphBundle.tensorPowerOneIso |
| 29 | have hB := Proper.LineBundleEuler.coefficientEulerCharacteristic_eq_of_sheafIso |
| 30 | (A.pullback (Spec.map φ)).abelian.scheme.hom |
| 31 | (A.pullback (Spec.map φ)).graphBundle.tensorPowerOneIso |
| 32 | exact hB.symm.trans (h.trans hA) |
| 33 | |
| 34 | theorem PolarizationData.PolarizedAbelianWithFullLevel.graphBundle_positivePower_euler_overField |
| 35 | (hN : 3 ≤ N) (hNk : (N : K) ≠ 0) (m : ℕ) (hm : 0 < m) : |
| 36 | CohomologyEulerCharacteristic.coefficientEulerCharacteristic A.abelian.scheme.hom (A.graphBundle.tensorPower m).sheaf = |
| 37 | CohomologyEulerCharacteristic.coefficientEulerCharacteristic A.abelian.scheme.hom A.graphBundle.sheaf * (m : ℤ) ^ g := by |
| 38 | let φ : CommRingCat.of K ⟶ CommRingCat.of (AlgebraicClosure K) := |
| 39 | CommRingCat.ofHom (algebraMap K (AlgebraicClosure K)) |
| 40 | let B := A.pullback (Spec.map φ) |
| 41 | have hNF : (N : AlgebraicClosure K) ≠ 0 := by |
| 42 | intro hz |
| 43 | apply hNk |
| 44 | apply (algebraMap K (AlgebraicClosure K)).injective |
| 45 | simpa only [map_natCast, map_zero] using hz |
| 46 | have hunit : IsUnit (N : Γ(Spec (.of K), ⊤)) := by |
| 47 | simpa only [map_natCast] using |
| 48 | (isUnit_iff_ne_zero.mpr hNk).map (Coefficient.ModulePresheaf.schemeCoefficientMap (𝟙 (Spec (.of K)))) |
| 49 | calc |
| 50 | CohomologyEulerCharacteristic.coefficientEulerCharacteristic A.abelian.scheme.hom (A.graphBundle.tensorPower m).sheaf = |
| 51 | CohomologyEulerCharacteristic.coefficientEulerCharacteristic B.abelian.scheme.hom (B.graphBundle.tensorPower m).sheaf := |
| 52 | (A.graphBundle_positivePower_euler_fieldExtension φ hN hunit m hm).symm |
| 53 | _ = CohomologyEulerCharacteristic.coefficientEulerCharacteristic B.abelian.scheme.hom B.graphBundle.sheaf * (m : ℤ) ^ g := |
| 54 | B.graphBundle_tensorPower_euler hN hNF m |
| 55 | _ = CohomologyEulerCharacteristic.coefficientEulerCharacteristic A.abelian.scheme.hom A.graphBundle.sheaf * (m : ℤ) ^ g := |
| 56 | congrArg (fun z : ℤ => z * (m : ℤ) ^ g) (A.graphBundle_euler_fieldExtension φ hN hunit) |
| 57 | |
| 58 | theorem PolarizationData.PolarizedAbelianWithFullLevel.graphBundle_tensorPower_euler_overField |
| 59 | (hN : 3 ≤ N) (hNk : (N : K) ≠ 0) (m : ℕ) : |
| 60 | CohomologyEulerCharacteristic.coefficientEulerCharacteristic A.abelian.scheme.hom (A.graphBundle.tensorPower m).sheaf = |
| 61 | CohomologyEulerCharacteristic.coefficientEulerCharacteristic A.abelian.scheme.hom A.graphBundle.sheaf * (m : ℤ) ^ g := by |
| 62 | obtain ⟨P, hP⟩ := A.graphBundle_eulerPolynomial_exists_overField |
| 63 | let Q := Polynomial.monomial g |
| 64 | (CohomologyEulerCharacteristic.coefficientEulerCharacteristic A.abelian.scheme.hom A.graphBundle.sheaf : ℚ) |
| 65 | have he : P = Q := HilbertConstruction.Polynomial.EventualGrid.polynomial_eq_of_positive_nat_evals P Q (by |
| 66 | intro n hn |
| 67 | have h := congrArg (fun z : ℤ => (z : ℚ)) |
| 68 | (A.graphBundle_positivePower_euler_overField hN hNk n hn) |
| 69 | rw [hP n] |
| 70 | simpa only [Q, Polynomial.eval_monomial, Int.cast_mul, Int.cast_pow, |
| 71 | Int.cast_natCast] using h) |
| 72 | have h := (hP m).symm |
| 73 | rw [he, Polynomial.eval_monomial] at h |
| 74 | apply Int.cast_injective (α := ℚ) |
| 75 | simpa only [Int.cast_mul, Int.cast_pow, Int.cast_natCast] using h |
| 76 | |
| 77 | end |
| 78 | |
| 79 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction |