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.IntersectionTheory.ProjectionFormula.GeometricSupportLocalization |
| 2 | import OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.LocalizedTorEuler |
| 3 | |
| 4 | /-! # Geometric Tor Coefficient -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.GeometricTorCoefficient |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The localized algebraic Tor Euler coefficient is the native |
| 11 | geometric coefficient at the corresponding support point. On a |
| 12 | projective presentation this is ThomClass's intersection multiplicity. -/ |
| 13 | |
| 14 | set_option backward.isDefEq.respectTransparency false |
| 15 | |
| 16 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.TopologicalSpace |
| 17 | |
| 18 | def coefficient (Z : Scheme) (A B : IrreducibleCloseds Z) |
| 19 | (x : Z) (hxA : x ∈ (A : Set Z)) (hxB : x ∈ (B : Set Z)) (d : ℕ) : ℚ := |
| 20 | ∑ i ∈ Finset.range (d + 1), (-1 : ℚ) ^ i * (CycleClass.Thom.IntersectionGeometry.localTorLength Z A B x hxA hxB i).toNat |
| 21 | |
| 22 | theorem localization (Z : Scheme) (A B : IrreducibleCloseds Z) |
| 23 | (x : Z) (hxA : x ∈ (A : Set Z)) (hxB : x ∈ (B : Set Z)) |
| 24 | (p : PrimeSpectrum (Z.presheaf.stalk x)) |
| 25 | (hpA : p ∈ Module.support (Z.presheaf.stalk x) (CycleClass.Thom.IntersectionGeometry.localSupportModule Z A x hxA)) |
| 26 | (hpB : p ∈ Module.support (Z.presheaf.stalk x) (CycleClass.Thom.IntersectionGeometry.localSupportModule Z B x hxB)) (d : ℕ) : |
| 27 | coefficient Z A B (Z.fromSpecStalk x p) |
| 28 | (Local.SupportSpectrum.image_mem_support Z A x hxA p hpA) |
| 29 | (Local.SupportSpectrum.image_mem_support Z B x hxB p hpB) d = |
| 30 | Tor.Euler.euler (Localization.AtPrime p.asIdeal) |
| 31 | ((Flat.Extension.baseChange (Z.presheaf.stalk x) (Localization.AtPrime p.asIdeal)).obj |
| 32 | (CycleClass.Thom.IntersectionGeometry.localSupportModule Z A x hxA)) |
| 33 | ((Flat.Extension.baseChange (Z.presheaf.stalk x) (Localization.AtPrime p.asIdeal)).obj |
| 34 | (CycleClass.Thom.IntersectionGeometry.localSupportModule Z B x hxB)) d := by |
| 35 | rw [LocalizedTorEuler.euler] |
| 36 | apply Finset.sum_congr rfl |
| 37 | intro i _ |
| 38 | exact congrArg (fun n : ℕ∞ => (-1 : ℚ) ^ i * (n.toNat : ℚ)) |
| 39 | (GeometricSupportLocalization.Tor.length Z A B x hxA hxB p hpA hpB i) |
| 40 | |
| 41 | theorem intersectionMultiplicity (X : Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation) |
| 42 | (A B C : IrreducibleCloseds X.carrier) |
| 43 | (hxA : CycleClass.Thom.IntersectionGeometry.supportPoint C ∈ (A : Set X.carrier)) (hxB : CycleClass.Thom.IntersectionGeometry.supportPoint C ∈ (B : Set X.carrier)) : |
| 44 | coefficient X.carrier A B (CycleClass.Thom.IntersectionGeometry.supportPoint C) hxA hxB X.ambientDimension = |
| 45 | CycleClass.Thom.IntersectionGeometry.intersectionMultiplicity X A B C := by |
| 46 | rw [CycleClass.Thom.IntersectionGeometry.intersectionMultiplicity, dite_eq_left ⟨hxA, hxB⟩] |
| 47 | rfl |
| 48 | |
| 49 | end |
| 50 | |
| 51 | end OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.GeometricTorCoefficient |