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.Open.PrincipalIsolation |
| 2 | import OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Open.SupportTor |
| 3 | |
| 4 | /-! # Support Euler -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Open.SupportEuler |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Native reduced-support Euler characteristics and isolated |
| 11 | pairings transport along an open immersion's actual stalk isomorphism. -/ |
| 12 | |
| 13 | set_option backward.isDefEq.respectTransparency false |
| 14 | set_option backward.isDefEq.respectTransparency.types false |
| 15 | |
| 16 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.TopologicalSpace |
| 17 | |
| 18 | variable {Y X : Scheme.{0}} (j : Y ⟶ X) [IsOpenImmersion j] |
| 19 | (A B : IrreducibleCloseds Y) (A' B' : IrreducibleCloseds X) |
| 20 | (hA : j (CycleClass.Thom.IntersectionGeometry.supportPoint A) = CycleClass.Thom.IntersectionGeometry.supportPoint A') (hB : j (CycleClass.Thom.IntersectionGeometry.supportPoint B) = CycleClass.Thom.IntersectionGeometry.supportPoint B') |
| 21 | (y : Y) (hyA : y ∈ (A : Set Y)) (hyB : y ∈ (B : Set Y)) |
| 22 | (hxA : j y ∈ (A' : Set X)) (hxB : j y ∈ (B' : Set X)) |
| 23 | |
| 24 | include hA hB |
| 25 | |
| 26 | theorem euler (d : ℕ) : |
| 27 | Tor.Euler.euler (Y.presheaf.stalk y) (CycleClass.Thom.IntersectionGeometry.localSupportModule Y A y hyA) (CycleClass.Thom.IntersectionGeometry.localSupportModule Y B y hyB) d = |
| 28 | Tor.Euler.euler (X.presheaf.stalk (j y)) |
| 29 | (CycleClass.Thom.IntersectionGeometry.localSupportModule X A' (j y) hxA) (CycleClass.Thom.IntersectionGeometry.localSupportModule X B' (j y) hxB) d := by |
| 30 | change (∑ i ∈ Finset.range (d + 1), (-1 : ℚ) ^ i * (CycleClass.Thom.IntersectionGeometry.localTorLength Y A B y hyA hyB i).toNat) = |
| 31 | ∑ i ∈ Finset.range (d + 1), (-1 : ℚ) ^ i * (CycleClass.Thom.IntersectionGeometry.localTorLength X A' B' (j y) hxA hxB i).toNat |
| 32 | apply Finset.sum_congr rfl |
| 33 | intro i _ |
| 34 | exact congrArg (fun l : ℕ∞ => (-1 : ℚ) ^ i * (l.toNat : ℚ)) |
| 35 | (SupportTor.localTorLength_eq j A B A' B' hA hB y hyA hyB hxA hxB i) |
| 36 | |
| 37 | theorem isolated |
| 38 | (hi : Module.support (Y.presheaf.stalk y) (CycleClass.Thom.IntersectionGeometry.localSupportModule Y A y hyA) ∩ |
| 39 | Module.support (Y.presheaf.stalk y) (CycleClass.Thom.IntersectionGeometry.localSupportModule Y B y hyB) ⊆ |
| 40 | {IsLocalRing.closedPoint (Y.presheaf.stalk y)}) : |
| 41 | Module.support (X.presheaf.stalk (j y)) (CycleClass.Thom.IntersectionGeometry.localSupportModule X A' (j y) hxA) ∩ |
| 42 | Module.support (X.presheaf.stalk (j y)) (CycleClass.Thom.IntersectionGeometry.localSupportModule X B' (j y) hxB) ⊆ |
| 43 | {IsLocalRing.closedPoint (X.presheaf.stalk (j y))} := by |
| 44 | rw [PrincipalIsolation.support j A A' hA y hyA hxA, |
| 45 | PrincipalIsolation.support j B B' hB y hyB hxB] at hi |
| 46 | intro p hp |
| 47 | obtain ⟨q, hq⟩ := (Spec.map (j.stalkMap y)).surjective p |
| 48 | change PrimeSpectrum.comap (j.stalkMap y).hom q = p at hq |
| 49 | have he : q = IsLocalRing.closedPoint (Y.presheaf.stalk y) := |
| 50 | Set.mem_singleton_iff.mp (hi (by simpa only [Set.mem_inter_iff, Set.mem_preimage, hq] using hp)) |
| 51 | apply Set.mem_singleton_iff.mpr |
| 52 | rw [← hq, he] |
| 53 | apply PrimeSpectrum.ext |
| 54 | exact IsLocalRing.maximalIdeal_comap (j.stalkMap y).hom |
| 55 | |
| 56 | end |
| 57 | |
| 58 | end OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Open.SupportEuler |