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.Affine.PrimeCodimension |
| 2 | |
| 3 | /-! # Support Representative -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Affine.SupportRepresentative |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Every global support containing a chart point has a unique |
| 10 | generic affine prime specializing to that point. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.TopologicalSpace |
| 13 | |
| 14 | open OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Affine.FiltrationAvoidance |
| 15 | |
| 16 | theorem exists_prime {R : Type} [CommRing R] {X : Scheme} |
| 17 | (j : Spec (.of R) ⟶ X) [IsOpenImmersion j] |
| 18 | (B : IrreducibleCloseds X) (x : PrimeSpectrum R) (hx : j x ∈ (B : Set X)) : |
| 19 | ∃ z : PrimeSpectrum R, j z = CycleClass.Thom.IntersectionGeometry.supportPoint B ∧ FiltrationAvoidance.support j z = B ∧ z.asIdeal ≤ x.asIdeal := by |
| 20 | have hs : CycleClass.Thom.IntersectionGeometry.supportPoint B ⤳ j x := |
| 21 | (B.isIrreducible.isGenericPoint_genericPoint B.isClosed).specializes hx |
| 22 | have hr : CycleClass.Thom.IntersectionGeometry.supportPoint B ∈ j.opensRange := hs.mem_open j.opensRange.isOpen ⟨x, rfl⟩ |
| 23 | obtain ⟨z, hz⟩ := hr |
| 24 | refine ⟨z, hz, ?_, ?_⟩ |
| 25 | · exact (congrArg irreducibleSetEquivPoints.symm hz).trans |
| 26 | (irreducibleSetEquivPoints.symm_apply_apply B) |
| 27 | · apply (PrimeSpectrum.le_iff_specializes z x).mpr |
| 28 | apply j.isOpenEmbedding.isInducing.specializes_iff.mp |
| 29 | exact hz.symm ▸ hs |
| 30 | |
| 31 | end |
| 32 | |
| 33 | end OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Affine.SupportRepresentative |