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.SupportBaseChange |
| 2 | import OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Local.TorFinite |
| 3 | |
| 4 | /-! # Principal Isolation -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Open.PrincipalIsolation |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Native support and principal-quotient isolation descend through |
| 11 | the actual isomorphism of ambient stalks in an open immersion. -/ |
| 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.PrimeQuotient |
| 19 | |
| 20 | theorem support {Y X : Scheme} (j : Y ⟶ X) [IsOpenImmersion j] |
| 21 | (A : IrreducibleCloseds Y) (B : IrreducibleCloseds X) |
| 22 | (hA : j (CycleClass.Thom.IntersectionGeometry.supportPoint A) = CycleClass.Thom.IntersectionGeometry.supportPoint B) |
| 23 | (y : Y) (hy : y ∈ (A : Set Y)) (hx : j y ∈ (B : Set X)) : |
| 24 | Module.support (Y.presheaf.stalk y) (CycleClass.Thom.IntersectionGeometry.localSupportModule Y A y hy) = |
| 25 | PrimeSpectrum.comap (j.stalkMap y).hom ⁻¹' |
| 26 | Module.support (X.presheaf.stalk (j y)) (CycleClass.Thom.IntersectionGeometry.localSupportModule X B (j y) hx) := by |
| 27 | rw [(Stalk.PrimeQuotient.moduleEquiv Y A y hy _ (Stalk.PrimeQuotient.kernelPrime_image Y A y hy)).support_eq, |
| 28 | (Stalk.PrimeQuotient.moduleEquiv X B (j y) hx _ (Stalk.PrimeQuotient.kernelPrime_image X B (j y) hx)).support_eq] |
| 29 | ext q |
| 30 | simp only [Module.support_of_algebra, Ideal.Quotient.algebraMap_eq, Ideal.mk_ker, |
| 31 | Set.mem_preimage, PrimeSpectrum.mem_zeroLocus, PrimeSpectrum.comap_asIdeal] |
| 32 | rw [← StalkSupport.kernelPrime_map j A B hA y hy hx] |
| 33 | exact Ideal.map_le_iff_le_comap |
| 34 | |
| 35 | theorem quotient_support {Y X : Scheme} [IsLocallyNoetherian Y] [IsLocallyNoetherian X] |
| 36 | (j : Y ⟶ X) [IsOpenImmersion j] |
| 37 | (A : IrreducibleCloseds Y) (B : IrreducibleCloseds X) |
| 38 | (hA : j (CycleClass.Thom.IntersectionGeometry.supportPoint A) = CycleClass.Thom.IntersectionGeometry.supportPoint B) |
| 39 | (y : Y) (hy : y ∈ (A : Set Y)) (hx : j y ∈ (B : Set X)) (r : X.presheaf.stalk (j y)) : |
| 40 | Module.support (Y.presheaf.stalk y) (QuotSMulTop (j.stalkMap y r) (CycleClass.Thom.IntersectionGeometry.localSupportModule Y A y hy)) = |
| 41 | PrimeSpectrum.comap (j.stalkMap y).hom ⁻¹' |
| 42 | Module.support (X.presheaf.stalk (j y)) (QuotSMulTop r (CycleClass.Thom.IntersectionGeometry.localSupportModule X B (j y) hx)) := by |
| 43 | let : Module.Finite (Y.presheaf.stalk y) (CycleClass.Thom.IntersectionGeometry.localSupportModule Y A y hy) := |
| 44 | Local.TorFinite.localSupportModule_finite Y A y hy |
| 45 | let : Module.Finite (X.presheaf.stalk (j y)) (CycleClass.Thom.IntersectionGeometry.localSupportModule X B (j y) hx) := |
| 46 | Local.TorFinite.localSupportModule_finite X B (j y) hx |
| 47 | rw [Module.support_quotSMulTop, Module.support_quotSMulTop, PrincipalIsolation.support j A B hA y hy hx] |
| 48 | ext q |
| 49 | simp only [Set.mem_inter_iff, Set.mem_preimage, PrimeSpectrum.mem_zeroLocus, |
| 50 | Set.singleton_subset_iff, PrimeSpectrum.comap_asIdeal] |
| 51 | rfl |
| 52 | |
| 53 | theorem isolated {Y X : Scheme} [IsLocallyNoetherian Y] [IsLocallyNoetherian X] |
| 54 | (j : Y ⟶ X) [IsOpenImmersion j] |
| 55 | (A B : IrreducibleCloseds Y) (A' B' : IrreducibleCloseds X) |
| 56 | (hA : j (CycleClass.Thom.IntersectionGeometry.supportPoint A) = CycleClass.Thom.IntersectionGeometry.supportPoint A') (hB : j (CycleClass.Thom.IntersectionGeometry.supportPoint B) = CycleClass.Thom.IntersectionGeometry.supportPoint B') |
| 57 | (y : Y) (hyA : y ∈ (A : Set Y)) (hyB : y ∈ (B : Set Y)) |
| 58 | (hxA : j y ∈ (A' : Set X)) (hxB : j y ∈ (B' : Set X)) (r : X.presheaf.stalk (j y)) |
| 59 | (hiso : Module.support (Y.presheaf.stalk y) |
| 60 | (QuotSMulTop (j.stalkMap y r) (CycleClass.Thom.IntersectionGeometry.localSupportModule Y A y hyA)) ∩ |
| 61 | Module.support (Y.presheaf.stalk y) (CycleClass.Thom.IntersectionGeometry.localSupportModule Y B y hyB) ⊆ |
| 62 | {IsLocalRing.closedPoint (Y.presheaf.stalk y)}) : |
| 63 | Module.support (X.presheaf.stalk (j y)) (QuotSMulTop r (CycleClass.Thom.IntersectionGeometry.localSupportModule X A' (j y) hxA)) ∩ |
| 64 | Module.support (X.presheaf.stalk (j y)) (CycleClass.Thom.IntersectionGeometry.localSupportModule X B' (j y) hxB) ⊆ |
| 65 | {IsLocalRing.closedPoint (X.presheaf.stalk (j y))} := by |
| 66 | rw [quotient_support j A A' hA y hyA hxA r, PrincipalIsolation.support j B B' hB y hyB hxB] at hiso |
| 67 | intro p hp |
| 68 | obtain ⟨q, hq⟩ := (Spec.map (j.stalkMap y)).surjective p |
| 69 | change PrimeSpectrum.comap (j.stalkMap y).hom q = p at hq |
| 70 | have hq' : q = IsLocalRing.closedPoint (Y.presheaf.stalk y) := |
| 71 | Set.mem_singleton_iff.mp (hiso (by simpa only [Set.mem_inter_iff, Set.mem_preimage, hq] using hp)) |
| 72 | apply Set.mem_singleton_iff.mpr |
| 73 | rw [← hq, hq'] |
| 74 | apply PrimeSpectrum.ext |
| 75 | exact IsLocalRing.maximalIdeal_comap (j.stalkMap y).hom |
| 76 | |
| 77 | end |
| 78 | |
| 79 | end OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Open.PrincipalIsolation |