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.CompactExternalAcyclicEuler |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.CanonicalGraph.FieldEulerFormula |
| 3 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.External.TensorAmpleness |
| 4 | |
| 5 | /-! # External Positive Euler -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! The external product of positive canonical graph powers has its exact |
| 12 | Euler monomial, over every field satisfying the original tame-level condition. -/ |
| 13 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 14 | universe u |
| 15 | set_option backward.isDefEq.respectTransparency false |
| 16 | set_option backward.isDefEq.respectTransparency.types false |
| 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_external_positivePowers_euler |
| 21 | (hN : 3 ≤ N) (hNk : (N : k) ≠ 0) (m n : ℕ) (hm : 0 < m) (hn : 0 < n) : |
| 22 | CohomologyEulerCharacteristic.coefficientEulerCharacteristic |
| 23 | (pullback.fst A.abelian.scheme.hom A.abelian.scheme.hom ≫ A.abelian.scheme.hom) |
| 24 | (Line.Bundles.LineBundle.externalTensor A.abelian.scheme.hom A.abelian.scheme.hom |
| 25 | (A.graphBundle.tensorPower m) (A.graphBundle.tensorPower n)).sheaf = |
| 26 | (CohomologyEulerCharacteristic.coefficientEulerCharacteristic A.abelian.scheme.hom A.graphBundle.sheaf) ^ 2 * |
| 27 | (m : ℤ) ^ g * (n : ℤ) ^ g := by |
| 28 | let f := A.abelian.scheme.hom |
| 29 | have : IsProper f := A.abelian.proper |
| 30 | have : A.abelian.scheme.left.IsSeparated := by |
| 31 | constructor |
| 32 | rw [← terminal.comp_from f] |
| 33 | infer_instance |
| 34 | have : CompactSpace A.abelian.scheme.left := QuasiCompact.compactSpace_of_compactSpace f |
| 35 | have : IsProper (pullback.fst f f ≫ f) := inferInstance |
| 36 | have : (CategoryTheory.Limits.pullback f f).IsSeparated := by |
| 37 | constructor |
| 38 | rw [← terminal.comp_from (pullback.fst f f ≫ f)] |
| 39 | infer_instance |
| 40 | have hunit : IsUnit (N : Γ(Spec (.of k), ⊤)) := by |
| 41 | simpa only [map_natCast] using |
| 42 | (isUnit_iff_ne_zero.mpr hNk).map (Coefficient.ModulePresheaf.schemeCoefficientMap (𝟙 (Spec (.of k)))) |
| 43 | have hL (q : ℕ) : Subsingleton (Zariski.Cohomology.ZariskiCohomology.H (A.graphBundle.tensorPower m).sheaf (q + 1)) := |
| 44 | ModuleCat.subsingleton_of_isZero |
| 45 | (A.graphBundle_positivePower_cohomology_vanishes_overField hN hunit m hm q) |
| 46 | have hM (q : ℕ) : Subsingleton (Zariski.Cohomology.ZariskiCohomology.H (A.graphBundle.tensorPower n).sheaf (q + 1)) := |
| 47 | ModuleCat.subsingleton_of_isZero |
| 48 | (A.graphBundle_positivePower_cohomology_vanishes_overField hN hunit n hn q) |
| 49 | have hE := CompactExternalAcyclicEuler.fieldExternal_euler_of_positive_vanishing_of_compact |
| 50 | (IsPullback.of_hasPullback f f) (A.graphBundle.tensorPower m) (A.graphBundle.tensorPower n) hL hM |
| 51 | change CohomologyEulerCharacteristic.coefficientEulerCharacteristic (pullback.fst f f ≫ f) |
| 52 | (Line.Bundles.LineBundle.externalTensor f f (A.graphBundle.tensorPower m) (A.graphBundle.tensorPower n)).sheaf = _ |
| 53 | rw [pullback.condition] |
| 54 | erw [hE, A.graphBundle_positivePower_euler_overField hN hNk m hm, |
| 55 | A.graphBundle_positivePower_euler_overField hN hNk n hn] |
| 56 | ring |
| 57 | |
| 58 | end |
| 59 | |
| 60 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction |