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.GeometricTorCoefficient |
| 2 | import OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.GeometricSupportLocalization |
| 3 | import OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Tor.Support |
| 4 | |
| 5 | /-! # Total Tor Coefficient -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.TotalTorCoefficient |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Native geometric Tor coefficients extend by zero off the |
| 12 | intersection, and agree at every local prime with the localized Euler coefficient. -/ |
| 13 | |
| 14 | set_option backward.isDefEq.respectTransparency false |
| 15 | |
| 16 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.TopologicalSpace |
| 17 | open scoped Classical |
| 18 | |
| 19 | def coefficient (Z : Scheme) (A B : IrreducibleCloseds Z) (x : Z) (d : ℕ) : ℚ := |
| 20 | if h : x ∈ (A : Set Z) ∧ x ∈ (B : Set Z) then |
| 21 | GeometricTorCoefficient.coefficient Z A B x h.1 h.2 d else 0 |
| 22 | |
| 23 | theorem localization (Z : Scheme) (A B : IrreducibleCloseds Z) |
| 24 | (x : Z) (hxA : x ∈ (A : Set Z)) (hxB : x ∈ (B : Set Z)) |
| 25 | (p : PrimeSpectrum (Z.presheaf.stalk x)) (d : ℕ) : |
| 26 | coefficient Z A B (Z.fromSpecStalk x p) d = |
| 27 | ProjectionFormula.Tor.Euler.euler (Localization.AtPrime p.asIdeal) |
| 28 | ((Flat.Extension.baseChange (Z.presheaf.stalk x) (Localization.AtPrime p.asIdeal)).obj |
| 29 | (CycleClass.Thom.IntersectionGeometry.localSupportModule Z A x hxA)) |
| 30 | ((Flat.Extension.baseChange (Z.presheaf.stalk x) (Localization.AtPrime p.asIdeal)).obj |
| 31 | (CycleClass.Thom.IntersectionGeometry.localSupportModule Z B x hxB)) d := by |
| 32 | let R := Z.presheaf.stalk x |
| 33 | let M := CycleClass.Thom.IntersectionGeometry.localSupportModule Z A x hxA |
| 34 | let N := CycleClass.Thom.IntersectionGeometry.localSupportModule Z B x hxB |
| 35 | by_cases hp : p ∈ Module.support R M ∩ Module.support R N |
| 36 | · have hA := (GeometricSupportLocalization.mem_iff Z A x hxA p).mp hp.1 |
| 37 | have hB := (GeometricSupportLocalization.mem_iff Z B x hxB p).mp hp.2 |
| 38 | rw [coefficient, dite_eq_left ⟨hA, hB⟩] |
| 39 | exact GeometricTorCoefficient.localization Z A B x hxA hxB p hp.1 hp.2 d |
| 40 | · have hnot : ¬(Z.fromSpecStalk x p ∈ (A : Set Z) ∧ Z.fromSpecStalk x p ∈ (B : Set Z)) := by |
| 41 | rintro ⟨hA, hB⟩ |
| 42 | exact hp ⟨(GeometricSupportLocalization.mem_iff Z A x hxA p).mpr hA, |
| 43 | (GeometricSupportLocalization.mem_iff Z B x hxB p).mpr hB⟩ |
| 44 | rw [coefficient, dite_eq_right hnot, LocalizedTorEuler.euler] |
| 45 | symm |
| 46 | apply Finset.sum_eq_zero |
| 47 | intro n _ |
| 48 | have hn : p ∉ Module.support R (((Tor (ModuleCat R) n).obj M).obj N) := |
| 49 | fun hn => hp (ProjectionFormula.Tor.Support.support_subset R M N n hn) |
| 50 | rw [LocalizedTorEuler.length_zero R _ p hn] |
| 51 | simp |
| 52 | |
| 53 | end |
| 54 | |
| 55 | end OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.TotalTorCoefficient |