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.DivisorSupport |
| 2 | import OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Supports |
| 3 | |
| 4 | /-! # Prime Component -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Local.PrimeComponent |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! A prime minimal in the localized support determines a genuine |
| 11 | global irreducible component of the closed support through the point. -/ |
| 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 | open OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Stalk.DivisorSupport |
| 19 | |
| 20 | theorem exists_component (Z : Scheme) (S : Closeds Z) (x : Z) |
| 21 | (p : PrimeSpectrum (Z.presheaf.stalk x)) (hp : Z.fromSpecStalk x p ∈ S) |
| 22 | (hminimal : ∀ q : PrimeSpectrum (Z.presheaf.stalk x), Z.fromSpecStalk x q ∈ S → |
| 23 | q.asIdeal ≤ p.asIdeal → q = p) : |
| 24 | ∃ D : irreducibleComponents S, CycleClass.Thom.IntersectionGeometry.closedComponentSupport Z S D = Stalk.DivisorSupport.primeClosure Z x p := by |
| 25 | let C := Stalk.DivisorSupport.primeClosure Z x p |
| 26 | have hCP : CycleClass.Thom.IntersectionGeometry.supportPoint C = Z.fromSpecStalk x p := Stalk.DivisorSupport.primeClosure_point Z x p |
| 27 | have hCS : (C : Set Z) ⊆ S := by |
| 28 | apply (Supports.supportPoint_mem_iff_subset S C).mp |
| 29 | rwa [hCP] |
| 30 | obtain ⟨D, hCD⟩ := Supports.closedComponentSupport_covers Z S C hCS |
| 31 | let E := CycleClass.Thom.IntersectionGeometry.closedComponentSupport Z S D |
| 32 | have hηC : CycleClass.Thom.IntersectionGeometry.supportPoint C ∈ (C : Set Z) := |
| 33 | (C.isIrreducible.isGenericPoint_genericPoint C.isClosed).mem |
| 34 | have hηE : CycleClass.Thom.IntersectionGeometry.supportPoint E ∈ (E : Set Z) := |
| 35 | (E.isIrreducible.isGenericPoint_genericPoint E.isClosed).mem |
| 36 | have hEC : CycleClass.Thom.IntersectionGeometry.supportPoint E ⤳ Z.fromSpecStalk x p := by |
| 37 | rw [← hCP] |
| 38 | exact (E.isIrreducible.isGenericPoint_genericPoint E.isClosed).specializes (hCD hηC) |
| 39 | have hpx : Z.fromSpecStalk x p ⤳ x := by |
| 40 | simpa only [Scheme.fromSpecStalk_closedPoint] using |
| 41 | (IsLocalRing.specializes_closedPoint p).map (Z.fromSpecStalk x).continuous |
| 42 | have hrange : CycleClass.Thom.IntersectionGeometry.supportPoint E ∈ Set.range (Z.fromSpecStalk x) := by |
| 43 | rw [Scheme.range_fromSpecStalk] |
| 44 | exact hEC.trans hpx |
| 45 | obtain ⟨q, hq⟩ := hrange |
| 46 | have hqS : Z.fromSpecStalk x q ∈ S := by |
| 47 | rw [hq] |
| 48 | exact Supports.closedComponentSupport_subset Z S D hηE |
| 49 | have hqp : q.asIdeal ≤ p.asIdeal := by |
| 50 | apply (PrimeSpectrum.le_iff_specializes _ _).mpr |
| 51 | apply (Z.fromSpecStalk x).isEmbedding.isInducing.specializes_iff.mp |
| 52 | rwa [hq] |
| 53 | have heq := hminimal q hqS hqp |
| 54 | refine ⟨D, ?_⟩ |
| 55 | apply irreducibleSetEquivPoints.injective |
| 56 | change CycleClass.Thom.IntersectionGeometry.supportPoint E = CycleClass.Thom.IntersectionGeometry.supportPoint C |
| 57 | exact hq.symm.trans ((congrArg (Z.fromSpecStalk x) heq).trans hCP.symm) |
| 58 | |
| 59 | end |
| 60 | |
| 61 | end OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Local.PrimeComponent |