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.SupportTor |
| 2 | import OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Local.IsomorphismTor |
| 3 | |
| 4 | /-! # Geometric Support Localization -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.GeometricSupportLocalization |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | section |
| 11 | |
| 12 | /-! Localizing the actual support Tor modules at a stalk prime |
| 13 | computes the native geometric Tor lengths at the corresponding |
| 14 | generalization of the point. -/ |
| 15 | |
| 16 | set_option backward.isDefEq.respectTransparency false |
| 17 | set_option backward.isDefEq.respectTransparency.types false |
| 18 | |
| 19 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.TopologicalSpace |
| 20 | |
| 21 | namespace Tor |
| 22 | |
| 23 | open OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Stalk.PrimeQuotient |
| 24 | |
| 25 | theorem support_iff (Z : Scheme) (A : IrreducibleCloseds Z) |
| 26 | (x : Z) (hx : x ∈ (A : Set Z)) (p : PrimeSpectrum (Z.presheaf.stalk x)) : |
| 27 | p ∈ Module.support (Z.presheaf.stalk x) (CycleClass.Thom.IntersectionGeometry.localSupportModule Z A x hx) ↔ |
| 28 | (Stalk.PrimeQuotient.kernelPrime Z A x hx).asIdeal ≤ p.asIdeal := by |
| 29 | let R := Z.presheaf.stalk x |
| 30 | let T := (CycleClass.Geometric.GenericPoint.reducedSupportScheme A).presheaf.stalk (CycleClass.Thom.IntersectionGeometry.supportPreimage A x hx) |
| 31 | let : Algebra R T := (Local.Principal.supportStalkMap Z A x hx).hom.toAlgebra |
| 32 | change p ∈ Module.support R T ↔ _ |
| 33 | rw [Module.support_of_algebra] |
| 34 | rfl |
| 35 | |
| 36 | theorem length (Z : Scheme) (A B : IrreducibleCloseds Z) |
| 37 | (x : Z) (hxA : x ∈ (A : Set Z)) (hxB : x ∈ (B : Set Z)) |
| 38 | (p : PrimeSpectrum (Z.presheaf.stalk x)) |
| 39 | (hpA : p ∈ Module.support (Z.presheaf.stalk x) (CycleClass.Thom.IntersectionGeometry.localSupportModule Z A x hxA)) |
| 40 | (hpB : p ∈ Module.support (Z.presheaf.stalk x) (CycleClass.Thom.IntersectionGeometry.localSupportModule Z B x hxB)) (n : ℕ) : |
| 41 | CycleClass.Thom.IntersectionGeometry.localTorLength Z A B (Z.fromSpecStalk x p) |
| 42 | (Local.SupportSpectrum.image_mem_support Z A x hxA p hpA) |
| 43 | (Local.SupportSpectrum.image_mem_support Z B x hxB p hpB) n = |
| 44 | FiltrationBaseLength.length (Z.presheaf.stalk x) (Localization.AtPrime p.asIdeal) |
| 45 | (((Tor (ModuleCat (Z.presheaf.stalk x)) n).obj (CycleClass.Thom.IntersectionGeometry.localSupportModule Z A x hxA)).obj |
| 46 | (CycleClass.Thom.IntersectionGeometry.localSupportModule Z B x hxB)) := by |
| 47 | let R := Z.presheaf.stalk x |
| 48 | let i := Z.fromSpecStalk x |
| 49 | let qA := Stalk.PrimeQuotient.kernelPrime Z A x hxA |
| 50 | let qB := Stalk.PrimeQuotient.kernelPrime Z B x hxB |
| 51 | let C := Affine.SupportStalk.support R qA |
| 52 | let D := Affine.SupportStalk.support R qB |
| 53 | have hqA : qA.asIdeal ≤ p.asIdeal := (support_iff Z A x hxA p).mp hpA |
| 54 | have hqB : qB.asIdeal ≤ p.asIdeal := (support_iff Z B x hxB p).mp hpB |
| 55 | have hC : i (CycleClass.Thom.IntersectionGeometry.supportPoint C) = CycleClass.Thom.IntersectionGeometry.supportPoint A := by |
| 56 | rw [Affine.SupportStalk.point] |
| 57 | exact Stalk.PrimeQuotient.kernelPrime_image Z A x hxA |
| 58 | have hD : i (CycleClass.Thom.IntersectionGeometry.supportPoint D) = CycleClass.Thom.IntersectionGeometry.supportPoint B := by |
| 59 | rw [Affine.SupportStalk.point] |
| 60 | exact Stalk.PrimeQuotient.kernelPrime_image Z B x hxB |
| 61 | let : IsIso (i.stalkMap p) := Stalk.Localization.stalkMap_isIso Z x p |
| 62 | have hgeom := Local.IsomorphismTor.length_eq i C D A B hC hD p |
| 63 | (Affine.SupportStalk.mem R qA p hqA) (Affine.SupportStalk.mem R qB p hqB) |
| 64 | (Local.SupportSpectrum.image_mem_support Z A x hxA p hpA) |
| 65 | (Local.SupportSpectrum.image_mem_support Z B x hxB p hpB) n |
| 66 | have haff := Affine.SupportTor.length R qA qB p hqA hqB n |
| 67 | let eA := (Stalk.PrimeQuotient.moduleEquiv Z A x hxA qA (Stalk.PrimeQuotient.kernelPrime_image Z A x hxA)).toModuleIso |
| 68 | let eB := (Stalk.PrimeQuotient.moduleEquiv Z B x hxB qB (Stalk.PrimeQuotient.kernelPrime_image Z B x hxB)).toModuleIso |
| 69 | let e := (((Tor (ModuleCat R) n).mapIso eA).app (CycleClass.Thom.IntersectionGeometry.localSupportModule Z B x hxB)) ≪≫ |
| 70 | (((Tor (ModuleCat R) n).obj (.of R (R ⧸ qA.asIdeal))).mapIso eB) |
| 71 | have hinput := FiltrationBaseLength.length_iso R (Localization.AtPrime p.asIdeal) e |
| 72 | exact hgeom.symm.trans (haff.trans hinput.symm) |
| 73 | |
| 74 | end Tor |
| 75 | |
| 76 | end |
| 77 | |
| 78 | /-! The module support of a reduced-support stalk is exactly the |
| 79 | inverse image of its geometric support under the stalk spectrum map. -/ |
| 80 | |
| 81 | set_option backward.isDefEq.respectTransparency false |
| 82 | |
| 83 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.TopologicalSpace |
| 84 | |
| 85 | open OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Stalk.PrimeQuotient |
| 86 | |
| 87 | theorem mem_iff (Z : Scheme) (A : IrreducibleCloseds Z) |
| 88 | (x : Z) (hx : x ∈ (A : Set Z)) (p : PrimeSpectrum (Z.presheaf.stalk x)) : |
| 89 | p ∈ Module.support (Z.presheaf.stalk x) (CycleClass.Thom.IntersectionGeometry.localSupportModule Z A x hx) ↔ |
| 90 | Z.fromSpecStalk x p ∈ (A : Set Z) := by |
| 91 | constructor |
| 92 | · exact Local.SupportSpectrum.image_mem_support Z A x hx p |
| 93 | · intro hp |
| 94 | apply (GeometricSupportLocalization.Tor.support_iff Z A x hx p).mpr |
| 95 | apply (PrimeSpectrum.le_iff_specializes _ _).mpr |
| 96 | apply (Z.fromSpecStalk x).isEmbedding.isInducing.specializes_iff.mp |
| 97 | rw [Stalk.PrimeQuotient.kernelPrime_image] |
| 98 | exact (A.isIrreducible.isGenericPoint_genericPoint A.isClosed).specializes hp |
| 99 | |
| 100 | end |
| 101 | |
| 102 | end OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.GeometricSupportLocalization |