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.Stalk.PrimeQuotient |
| 2 | import OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Supports |
| 3 | |
| 4 | /-! # Equation Restriction -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Support.EquationRestriction |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! A local defining equation restricts nontrivially to an integral |
| 11 | support precisely when that support is not contained in its zero locus. -/ |
| 12 | |
| 13 | set_option backward.isDefEq.respectTransparency false |
| 14 | |
| 15 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.TopologicalSpace |
| 16 | |
| 17 | open OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Local.Principal OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Stalk.PrimeQuotient |
| 18 | |
| 19 | theorem nonzero (X : Scheme) (A B : IrreducibleCloseds X) (x : X) |
| 20 | (hxA : x ∈ (A : Set X)) (hxB : x ∈ (B : Set X)) |
| 21 | (r : X.presheaf.stalk x) |
| 22 | (hr : RingHom.ker (Local.Principal.supportStalkMap X B x hxB).hom = Ideal.span {r}) |
| 23 | (hAB : ¬ A ≤ B) : Local.Principal.supportStalkMap X A x hxA r ≠ 0 := by |
| 24 | intro hz |
| 25 | let p : PrimeSpectrum (X.presheaf.stalk x) := Stalk.PrimeQuotient.kernelPrime X B x hxB |
| 26 | let q : PrimeSpectrum (X.presheaf.stalk x) := Stalk.PrimeQuotient.kernelPrime X A x hxA |
| 27 | have hle : p ≤ q := by |
| 28 | change RingHom.ker (Local.Principal.supportStalkMap X B x hxB).hom ≤ |
| 29 | RingHom.ker (Local.Principal.supportStalkMap X A x hxA).hom |
| 30 | rw [hr] |
| 31 | exact Ideal.span_le.mpr (Set.singleton_subset_iff.mpr (RingHom.mem_ker.mpr hz)) |
| 32 | have hs : CycleClass.Thom.IntersectionGeometry.supportPoint B ⤳ CycleClass.Thom.IntersectionGeometry.supportPoint A := by |
| 33 | have h := ((PrimeSpectrum.le_iff_specializes p q).mp hle).map (X.fromSpecStalk x).continuous |
| 34 | simpa only [p, q, Stalk.PrimeQuotient.kernelPrime_image] using h |
| 35 | have hx : CycleClass.Thom.IntersectionGeometry.supportPoint A ∈ (B : Set X) := hs.mem_closed B.isClosed |
| 36 | (B.isIrreducible.isGenericPoint_genericPoint B.isClosed).mem |
| 37 | apply hAB |
| 38 | exact (Supports.supportPoint_mem_iff_subset |
| 39 | (⟨(B : Set X), B.isClosed⟩ : Closeds X) A).mp hx |
| 40 | |
| 41 | end |
| 42 | |
| 43 | end OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Support.EquationRestriction |