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.ExternalPositiveEuler |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.SeparatePolynomialMonomial |
| 3 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.LineBundleEulerPolynomial |
| 4 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Ample.ExternalSquareEmbedding |
| 5 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.LineBundle.PowerBaseChange |
| 6 | |
| 7 | /-! # External Integer Euler -/ |
| 8 | |
| 9 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction |
| 10 | |
| 11 | noncomputable section |
| 12 | |
| 13 | /-! The external graph-bundle Euler monomial extends to arbitrary integer |
| 14 | powers of both factor classes. -/ |
| 15 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 16 | open _root_.CategoryTheory.MonoidalCategory _root_.CategoryTheory.CartesianMonoidalCategory |
| 17 | universe u |
| 18 | set_option backward.isDefEq.respectTransparency false |
| 19 | set_option backward.isDefEq.respectTransparency.types false |
| 20 | variable {k : Type u} [Field k] {g N : ℕ} {δ : Fin g → ℕ} |
| 21 | variable (A : PolarizationData.PolarizedAbelianWithFullLevel g δ N (Spec (.of k))) |
| 22 | |
| 23 | theorem PolarizationData.PolarizedAbelianWithFullLevel.graphBundle_external_integerClasses_euler |
| 24 | (hN : 3 ≤ N) (hNk : (N : k) ≠ 0) (a b : ℤ) : |
| 25 | LineBundle.EulerShifts.lineBundleClassEuler (A.abelian.scheme ⊗ A.abelian.scheme).hom |
| 26 | (Line.Bundles.LineBundle.classOf (A.graphBundle.pullback (fst A.abelian.scheme A.abelian.scheme).left) ^ a * |
| 27 | Line.Bundles.LineBundle.classOf (A.graphBundle.pullback (snd A.abelian.scheme A.abelian.scheme).left) ^ b) = |
| 28 | (CohomologyEulerCharacteristic.coefficientEulerCharacteristic A.abelian.scheme.hom A.graphBundle.sheaf) ^ 2 * a ^ g * b ^ g := by |
| 29 | let p := (A.abelian.scheme ⊗ A.abelian.scheme).hom |
| 30 | let L := A.graphBundle.pullback (fst A.abelian.scheme A.abelian.scheme).left |
| 31 | let M := A.graphBundle.pullback (snd A.abelian.scheme A.abelian.scheme).left |
| 32 | have : IsProper p := inferInstanceAs |
| 33 | (IsProper (pullback.fst A.abelian.scheme.hom A.abelian.scheme.hom ≫ A.abelian.scheme.hom)) |
| 34 | have : Flat p := inferInstanceAs |
| 35 | (Flat (pullback.fst A.abelian.scheme.hom A.abelian.scheme.hom ≫ A.abelian.scheme.hom)) |
| 36 | have : LocallyOfFinitePresentation p := inferInstanceAs |
| 37 | (LocallyOfFinitePresentation (pullback.fst A.abelian.scheme.hom A.abelian.scheme.hom ≫ A.abelian.scheme.hom)) |
| 38 | let E := Ample.ExternalSquareEmbedding.ampleExternalSquarePowerEmbedding A.graphBundle A.graphBundle_isAmple_overField |
| 39 | let F : ℤ → ℤ → ℚ := fun a b => |
| 40 | (LineBundle.EulerShifts.lineBundleClassEuler p (Line.Bundles.LineBundle.classOf L ^ a * Line.Bundles.LineBundle.classOf M ^ b) : ℚ) |
| 41 | let c : ℤ := (CohomologyEulerCharacteristic.coefficientEulerCharacteristic A.abelian.scheme.hom A.graphBundle.sheaf) ^ 2 |
| 42 | have hfirst (b : ℤ) : ∃ P : Polynomial ℚ, ∀ a : ℤ, P.eval (a : ℚ) = F a b := by |
| 43 | obtain ⟨P, hP⟩ := E.lineBundleClass_integerEulerPolynomial p L (Line.Bundles.LineBundle.classOf M ^ b) |
| 44 | exact ⟨P, fun a => by simpa only [F, mul_comm] using hP a⟩ |
| 45 | have hsecond (a : ℤ) : ∃ P : Polynomial ℚ, ∀ b : ℤ, P.eval (b : ℚ) = F a b := |
| 46 | E.lineBundleClass_integerEulerPolynomial p M (Line.Bundles.LineBundle.classOf L ^ a) |
| 47 | have hpos (m n : ℕ) (hm : 0 < m) (hn : 0 < n) : |
| 48 | F m n = (c : ℚ) * (m : ℚ) ^ g * (n : ℚ) ^ g := by |
| 49 | let e : (Line.Bundles.LineBundle.externalTensor A.abelian.scheme.hom A.abelian.scheme.hom |
| 50 | (A.graphBundle.tensorPower m) (A.graphBundle.tensorPower n)).sheaf ≅ |
| 51 | ((L.tensorPower m).tensor (M.tensorPower n)).sheaf := |
| 52 | Tensor.Bifunctor.tensorModuleMapIso |
| 53 | (A.graphBundle.powerBaseChangeIso (fst A.abelian.scheme A.abelian.scheme).left m) |
| 54 | (A.graphBundle.powerBaseChangeIso (snd A.abelian.scheme A.abelian.scheme).left n) |
| 55 | have he := Proper.LineBundleEuler.coefficientEulerCharacteristic_eq_of_sheafIso p e |
| 56 | have hv := A.graphBundle_external_positivePowers_euler hN hNk m n hm hn |
| 57 | dsimp only [F] |
| 58 | simp only [zpow_natCast, ← Line.Bundles.LineBundle.classOf_tensorPower, ← Line.Bundles.LineBundle.classOf_tensor, |
| 59 | LineBundle.EulerShifts.lineBundleClassEuler_classOf] |
| 60 | rw [← he] |
| 61 | erw [hv] |
| 62 | simp only [c, Int.cast_mul, Int.cast_pow, Int.cast_natCast] |
| 63 | have h := SeparatePolynomialMonomial.separately_polynomial_monomial_of_positive_grid F g (c : ℚ) hfirst hsecond hpos a b |
| 64 | apply Int.cast_injective (α := ℚ) |
| 65 | simpa only [F, c, Int.cast_mul, Int.cast_pow] using h |
| 66 | |
| 67 | end |
| 68 | |
| 69 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction |