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.CanonicalGraph.Euler |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.PoincareGraph.PowerEulerScaling |
| 3 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Intrinsic.SectionPolynomial |
| 4 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Iterated.Powers |
| 5 | |
| 6 | /-! # Euler Sequence -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! The Euler sequence of a fixed positive graph-bundle power has the actual dilation law and agrees eventually with every intrinsic section polynomial of that power. -/ |
| 13 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 14 | universe u |
| 15 | |
| 16 | variable {K : Type u} [Field K] {g N : ℕ} {δ : Fin g → ℕ} |
| 17 | variable (A : PolarizationData.PolarizedAbelianWithFullLevel g δ N (Spec (.of K))) |
| 18 | |
| 19 | def PolarizationData.PolarizedAbelianWithFullLevel.graphPowerEulerSequence (r m : ℕ) : ℚ := |
| 20 | (CohomologyEulerCharacteristic.coefficientEulerCharacteristic A.abelian.scheme.hom |
| 21 | (A.graphBundle.tensorPower (r * m)).sheaf : ℚ) |
| 22 | |
| 23 | theorem PolarizationData.PolarizedAbelianWithFullLevel.graphPowerEulerSequence_scaling [IsAlgClosed K] [NeZero N] (hNk : (N : K) ≠ 0) (r m : ℕ) : |
| 24 | A.graphPowerEulerSequence r (m * (N * N)) = |
| 25 | ((N * N : ℕ) : ℚ) ^ g * A.graphPowerEulerSequence r m := by |
| 26 | have hs := PoincareGraph.PowerEulerScaling.poincareGraphBundle_tensorPowers_euler_scaling A.dual A.level |
| 27 | A.polarization.isogeny.hom hNk (r * m) |
| 28 | have hc := congrArg (fun z : ℤ => (z : ℚ)) hs |
| 29 | have hw : ((N * N : ℕ) : ℚ) ^ g = (N : ℚ) ^ (2 * g) := by |
| 30 | rw [Nat.cast_mul, ← pow_two, ← pow_mul] |
| 31 | rw [hw] |
| 32 | simpa only [PolarizationData.PolarizedAbelianWithFullLevel.graphPowerEulerSequence, PolarizationData.PolarizedAbelianWithFullLevel.graphBundle, Nat.mul_assoc, |
| 33 | Int.cast_mul, Int.cast_pow, Int.cast_natCast] using hc |
| 34 | |
| 35 | theorem PolarizationData.PolarizedAbelianWithFullLevel.graphPowerEulerSequence_eventual |
| 36 | (hN : 3 ≤ N) (hunit : IsUnit (N : Γ(Spec (.of K), ⊤))) |
| 37 | (r : ℕ) (hr : 0 < r) (P : Polynomial ℚ) |
| 38 | (hP : (A.graphBundle.tensorPower r).HasSectionHilbertPolynomial A.abelian.scheme.hom P) : |
| 39 | ∃ b : ℕ, ∀ m, b ≤ m → P.eval (m : ℚ) = A.graphPowerEulerSequence r m := by |
| 40 | obtain ⟨b, hb⟩ := hP |
| 41 | refine ⟨max b 1, fun m hm => ?_⟩ |
| 42 | have hm0 : 0 < m := (le_max_right b 1).trans hm |
| 43 | have hdim := (hb m ((le_max_left b 1).trans hm)).2 |
| 44 | have hs := (Coefficient.GlobalSectionsFunctor.schemeGlobalSectionsIso A.abelian.scheme.hom |
| 45 | (A.graphBundle.tensorPowerComposeIso m r)).finrank_eq |
| 46 | have he := congrArg (fun z : ℤ => (z : ℚ)) |
| 47 | (A.graphBundle_positivePower_euler_eq_sections hN hunit (m * r) (Nat.mul_pos hm0 hr)) |
| 48 | simp only [Int.cast_natCast] at he |
| 49 | calc |
| 50 | P.eval (m : ℚ) = |
| 51 | (Module.finrank K ((Coefficient.GlobalSectionsFunctor.schemeGlobalSectionsFunctor A.abelian.scheme.hom).obj |
| 52 | ((A.graphBundle.tensorPower r).tensorPower m).sheaf) : ℚ) := hdim |
| 53 | _ = (Module.finrank K ((Coefficient.GlobalSectionsFunctor.schemeGlobalSectionsFunctor A.abelian.scheme.hom).obj |
| 54 | (A.graphBundle.tensorPower (m * r)).sheaf) : ℚ) := |
| 55 | congrArg (fun n : ℕ => (n : ℚ)) hs.symm |
| 56 | _ = A.graphPowerEulerSequence r m := by |
| 57 | simpa only [PolarizationData.PolarizedAbelianWithFullLevel.graphPowerEulerSequence, Nat.mul_comm m r] using he.symm |
| 58 | |
| 59 | end |
| 60 | |
| 61 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction |