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.LineBundleEulerPolynomial |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Coherent.TwistEulerZero |
| 3 | import OAI.AlgebraicGeometry.FormalGeometry.Completion.GeneratedLineBundleFrames |
| 4 | |
| 5 | /-! # Opposite Ample Euler -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! A nonzero line bundle on a nonempty projective scheme has a nonzero |
| 12 | ample-twist Euler polynomial. Two such polynomials have simultaneous |
| 13 | nonzero values at opposite positive and negative integers. -/ |
| 14 | |
| 15 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 16 | universe u |
| 17 | |
| 18 | local instance OppositeAmpleEuler.ampleEulerClassCommGroup (X : Scheme.{u}) : CommGroup (Line.Bundles.LineBundle.IsoClass X) := |
| 19 | Line.Bundles.LineBundle.isoClassCommGroup X |
| 20 | |
| 21 | theorem OppositeAmpleEuler.polynomial_exists_opposite_nonzero_values |
| 22 | (P Q : Polynomial ℚ) (hP : P ≠ 0) (hQ : Q ≠ 0) : |
| 23 | ∃ m : ℕ, 0 < m ∧ P.eval (m : ℚ) ≠ 0 ∧ Q.eval (-(m : ℚ)) ≠ 0 := by |
| 24 | classical |
| 25 | by_contra h |
| 26 | have hprod : P * Q.comp (-Polynomial.X) = 0 := by |
| 27 | apply HilbertConstruction.Polynomial.EventualGrid.polynomial_eq_of_positive_nat_evals |
| 28 | intro m hm |
| 29 | have hz : P.eval (m : ℚ) = 0 ∨ Q.eval (-(m : ℚ)) = 0 := by |
| 30 | by_contra hn |
| 31 | push Not at hn |
| 32 | exact h ⟨m, hm, hn⟩ |
| 33 | simp only [Polynomial.eval_mul, Polynomial.eval_comp, Polynomial.eval_neg, |
| 34 | Polynomial.eval_X, Polynomial.eval_zero] |
| 35 | exact mul_eq_zero.mpr hz |
| 36 | rcases mul_eq_zero.mp hprod with hp | hq |
| 37 | · exact hP hp |
| 38 | · exact hQ (Polynomial.comp_neg_X_eq_zero_iff.mp hq) |
| 39 | |
| 40 | theorem Power.ProjectiveEmbeddings.PowerProjectiveEmbedding.exists_nonzero_integerEulerPolynomial |
| 41 | {K : Type u} [Field K] {X : Scheme.{u}} [Nonempty X] |
| 42 | (p : X ⟶ Spec (.of K)) [IsProper p] [Flat p] [LocallyOfFinitePresentation p] |
| 43 | {L : Line.Bundles.LineBundle X} (E : Power.ProjectiveEmbeddings.PowerProjectiveEmbedding L p) (M : Line.Bundles.LineBundle X) : |
| 44 | ∃ P : Polynomial ℚ, P ≠ 0 ∧ ∀ z : ℤ, |
| 45 | P.eval (z : ℚ) = |
| 46 | (LineBundle.EulerShifts.lineBundleClassEuler p (Line.Bundles.LineBundle.classOf M * Line.Bundles.LineBundle.classOf L ^ z) : ℚ) := by |
| 47 | obtain ⟨P, hP⟩ := E.lineBundleClass_integerEulerPolynomial p L (Line.Bundles.LineBundle.classOf M) |
| 48 | refine ⟨P, ?_, hP⟩ |
| 49 | intro hz |
| 50 | have : M.sheaf.IsQuasicoherent := M.isQuasicoherent |
| 51 | have : M.sheaf.IsFiniteType := M.isFiniteType |
| 52 | apply FormalGeometry.Completion.GeneratedLineBundleFrames.Construction.lineBundle_not_isZero M |
| 53 | apply E.coherent_isZero_of_twist_euler_zero p M.sheaf |
| 54 | intro m |
| 55 | have hm := hP (m : ℤ) |
| 56 | simp only [hz, Polynomial.eval_zero, zpow_natCast, |
| 57 | ← Line.Bundles.LineBundle.classOf_tensorPower, ← Line.Bundles.LineBundle.classOf_tensor, |
| 58 | LineBundle.EulerShifts.lineBundleClassEuler_classOf] at hm |
| 59 | exact_mod_cast hm.symm |
| 60 | |
| 61 | theorem Power.ProjectiveEmbeddings.PowerProjectiveEmbedding.exists_opposite_nonzero_euler |
| 62 | {K : Type u} [Field K] {X : Scheme.{u}} [Nonempty X] |
| 63 | (p : X ⟶ Spec (.of K)) [IsProper p] [Flat p] [LocallyOfFinitePresentation p] |
| 64 | {L : Line.Bundles.LineBundle X} (E : Power.ProjectiveEmbeddings.PowerProjectiveEmbedding L p) (M N : Line.Bundles.LineBundle X) : |
| 65 | ∃ m : ℕ, 0 < m ∧ |
| 66 | LineBundle.EulerShifts.lineBundleClassEuler p (Line.Bundles.LineBundle.classOf M * Line.Bundles.LineBundle.classOf L ^ (m : ℤ)) ≠ 0 ∧ |
| 67 | LineBundle.EulerShifts.lineBundleClassEuler p (Line.Bundles.LineBundle.classOf N * Line.Bundles.LineBundle.classOf L ^ (-(m : ℤ))) ≠ 0 := by |
| 68 | obtain ⟨P, hP, eP⟩ := E.exists_nonzero_integerEulerPolynomial p M |
| 69 | obtain ⟨Q, hQ, eQ⟩ := E.exists_nonzero_integerEulerPolynomial p N |
| 70 | obtain ⟨m, hm, hp, hq⟩ := OppositeAmpleEuler.polynomial_exists_opposite_nonzero_values P Q hP hQ |
| 71 | refine ⟨m, hm, ?_, ?_⟩ |
| 72 | · intro hz |
| 73 | apply hp |
| 74 | simpa only [Int.cast_natCast, hz, Int.cast_zero] using eP (m : ℤ) |
| 75 | · intro hz |
| 76 | apply hq |
| 77 | simpa only [Int.cast_neg, Int.cast_natCast, hz, Int.cast_zero] using eQ (-(m : ℤ)) |
| 78 | |
| 79 | end |
| 80 | |
| 81 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction |