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.CycleClass.Thom.SupportStalkModule |
| 2 | |
| 3 | /-! # Stalk Prime Quotient -/ |
| 4 | |
| 5 | namespace OAI |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | namespace AlgebraicGeometry.CycleClass.Thom.StalkPrimeQuotient |
| 10 | |
| 11 | /-! A prime of an ambient stalk is the exact kernel of the local module |
| 12 | of the closure of its image. Thus its quotient is the native ThomClass support module. -/ |
| 13 | |
| 14 | set_option backward.isDefEq.respectTransparency false |
| 15 | set_option backward.isDefEq.respectTransparency.types false |
| 16 | |
| 17 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.TopologicalSpace |
| 18 | |
| 19 | namespace Constructions |
| 20 | |
| 21 | open OAI.AlgebraicGeometry.CycleClass.Thom.SupportStalkModule.Constructions |
| 22 | |
| 23 | def kernelPrime (X : Scheme) (W : IrreducibleCloseds X) (x : X) (hx : x ∈ (W : Set X)) : |
| 24 | Spec (X.presheaf.stalk x) := |
| 25 | ⟨RingHom.ker (SupportStalkModule.Constructions.supportStalkMap X W x hx).hom, |
| 26 | Ideal.isPrime_bot.comap (SupportStalkModule.Constructions.supportStalkMap X W x hx).hom⟩ |
| 27 | |
| 28 | theorem kernelPrime_image (X : Scheme) (W : IrreducibleCloseds X) (x : X) |
| 29 | (hx : x ∈ (W : Set X)) : |
| 30 | X.fromSpecStalk x (kernelPrime X W x hx) = IntersectionGeometry.supportPoint W := by |
| 31 | let Y := Geometric.GenericPoint.reducedSupportScheme W |
| 32 | let y := IntersectionGeometry.supportPreimage W x hx |
| 33 | let T := Y.presheaf.stalk y |
| 34 | let σ := SupportStalkModule.Constructions.supportStalkMap X W x hx |
| 35 | have hs := TorAlgebra.LocalSupportSpectrum.stalkMap_square (Geometric.GenericPoint.reducedSupportι W) y x |
| 36 | (IntersectionGeometry.supportPreimage_spec W x hx) |
| 37 | have he := congrArg (fun f : Spec T ⟶ X => f (genericPoint (Spec T))) hs |
| 38 | change X.fromSpecStalk x ((Spec.map σ) (genericPoint (Spec T))) = |
| 39 | Geometric.GenericPoint.reducedSupportι W (Y.fromSpecStalk y (genericPoint (Spec T))) at he |
| 40 | rw [SupportStalkModule.Constructions.genericPoint_image, Geometric.GenericPoint.reducedSupport_genericPoint_eq] at he |
| 41 | rw [genericPoint_eq_bot_of_affine] at he |
| 42 | exact he |
| 43 | |
| 44 | theorem kernel_eq (X : Scheme) (W : IrreducibleCloseds X) (x : X) (hx : x ∈ (W : Set X)) |
| 45 | (p : Spec (X.presheaf.stalk x)) (hp : X.fromSpecStalk x p = IntersectionGeometry.supportPoint W) : |
| 46 | RingHom.ker (SupportStalkModule.Constructions.supportStalkMap X W x hx).hom = p.asIdeal := by |
| 47 | have hprime : kernelPrime X W x hx = p := |
| 48 | (X.fromSpecStalk x).isEmbedding.injective ((kernelPrime_image X W x hx).trans hp.symm) |
| 49 | exact congrArg PrimeSpectrum.asIdeal hprime |
| 50 | |
| 51 | def moduleEquiv (X : Scheme) (W : IrreducibleCloseds X) (x : X) (hx : x ∈ (W : Set X)) |
| 52 | (p : Spec (X.presheaf.stalk x)) (hp : X.fromSpecStalk x p = IntersectionGeometry.supportPoint W) : |
| 53 | IntersectionGeometry.localSupportModule X W x hx ≃ₗ[X.presheaf.stalk x] (X.presheaf.stalk x ⧸ p.asIdeal) := by |
| 54 | let R := X.presheaf.stalk x |
| 55 | let T := (Geometric.GenericPoint.reducedSupportScheme W).presheaf.stalk (IntersectionGeometry.supportPreimage W x hx) |
| 56 | let σ := SupportStalkModule.Constructions.supportStalkMap X W x hx |
| 57 | let : Algebra R T := σ.hom.toAlgebra |
| 58 | have hσ : Function.Surjective (Algebra.ofId R T) := SupportStalkModule.Constructions.supportStalkMap_surjective X W x hx |
| 59 | exact (Ideal.quotientKerAlgEquivOfSurjective hσ).symm.toLinearEquiv.trans |
| 60 | (Submodule.quotEquivOfEq _ _ (kernel_eq X W x hx p hp)) |
| 61 | |
| 62 | end Constructions |
| 63 | |
| 64 | end AlgebraicGeometry.CycleClass.Thom.StalkPrimeQuotient |
| 65 | |
| 66 | namespace AlgebraicGeometry.CycleClass.Thom.StalkPrimeQuotient.Constructions.SupportScheme |
| 67 | |
| 68 | /-! The prime quotient of the actual ambient stalk maps canonically |
| 69 | into its original reduced support. Its spectrum points give the actual |
| 70 | global irreducible supports used in the principal cycle. -/ |
| 71 | |
| 72 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.TopologicalSpace |
| 73 | |
| 74 | open OAI.AlgebraicGeometry.CycleClass.Thom.SupportStalkModule.Constructions OAI.AlgebraicGeometry.CycleClass.Thom.StalkPrimeQuotient.Constructions |
| 75 | |
| 76 | set_option backward.isDefEq.respectTransparency false |
| 77 | set_option backward.isDefEq.respectTransparency.types false |
| 78 | |
| 79 | variable (X : Scheme) (D : IrreducibleCloseds X) (x : X) (hxD : x ∈ (D : Set X)) |
| 80 | |
| 81 | abbrev quotientRing := X.presheaf.stalk x ⧸ (kernelPrime X D x hxD).asIdeal |
| 82 | |
| 83 | instance quotientRing_isDomain : IsDomain (quotientRing X D x hxD) := by |
| 84 | let : (kernelPrime X D x hxD).asIdeal.IsPrime := (kernelPrime X D x hxD).isPrime |
| 85 | infer_instance |
| 86 | |
| 87 | def quotientStalkEquiv : quotientRing X D x hxD ≃+* |
| 88 | (Geometric.GenericPoint.reducedSupportScheme D).presheaf.stalk (IntersectionGeometry.supportPreimage D x hxD) := |
| 89 | (SupportStalkModule.Constructions.supportStalkMap X D x hxD).hom.quotientKerEquivOfSurjective (SupportStalkModule.Constructions.supportStalkMap_surjective X D x hxD) |
| 90 | |
| 91 | theorem quotientStalkEquiv_symm_apply (r : X.presheaf.stalk x) : |
| 92 | (quotientStalkEquiv X D x hxD).symm (SupportStalkModule.Constructions.supportStalkMap X D x hxD r) = |
| 93 | algebraMap (X.presheaf.stalk x) (quotientRing X D x hxD) r := |
| 94 | RingHom.quotientKerEquivOfSurjective_symm_apply (SupportStalkModule.Constructions.supportStalkMap_surjective X D x hxD) r |
| 95 | |
| 96 | def quotientSupportMap : Spec (.of (quotientRing X D x hxD)) ⟶ Geometric.GenericPoint.reducedSupportScheme D := |
| 97 | Spec.map (quotientStalkEquiv X D x hxD).symm.toCommRingCatIso.hom ≫ |
| 98 | (Geometric.GenericPoint.reducedSupportScheme D).fromSpecStalk (IntersectionGeometry.supportPreimage D x hxD) |
| 99 | |
| 100 | theorem quotientSupportMap_ambient : quotientSupportMap X D x hxD ≫ Geometric.GenericPoint.reducedSupportι D = |
| 101 | Spec.map (CommRingCat.ofHom (algebraMap (X.presheaf.stalk x) (quotientRing X D x hxD))) ≫ X.fromSpecStalk x := by |
| 102 | have hσ : SupportStalkModule.Constructions.supportStalkMap X D x hxD ≫ (quotientStalkEquiv X D x hxD).symm.toCommRingCatIso.hom = |
| 103 | CommRingCat.ofHom (algebraMap (X.presheaf.stalk x) (quotientRing X D x hxD)) := by |
| 104 | ext r |
| 105 | exact quotientStalkEquiv_symm_apply X D x hxD r |
| 106 | have hs := TorAlgebra.LocalSupportSpectrum.stalkMap_square (Geometric.GenericPoint.reducedSupportι D) (IntersectionGeometry.supportPreimage D x hxD) x |
| 107 | (IntersectionGeometry.supportPreimage_spec D x hxD) |
| 108 | change Spec.map (SupportStalkModule.Constructions.supportStalkMap X D x hxD) ≫ X.fromSpecStalk x = |
| 109 | (Geometric.GenericPoint.reducedSupportScheme D).fromSpecStalk (IntersectionGeometry.supportPreimage D x hxD) ≫ Geometric.GenericPoint.reducedSupportι D at hs |
| 110 | rw [quotientSupportMap, Category.assoc, ← hs, ← Category.assoc, ← Spec.map_comp, hσ] |
| 111 | |
| 112 | def quotientSupport (q : Spec (.of (quotientRing X D x hxD))) : IrreducibleCloseds X := |
| 113 | irreducibleSetEquivPoints.symm (Geometric.GenericPoint.reducedSupportι D (quotientSupportMap X D x hxD q)) |
| 114 | |
| 115 | theorem supportPoint_quotientSupport (q : Spec (.of (quotientRing X D x hxD))) : |
| 116 | IntersectionGeometry.supportPoint (quotientSupport X D x hxD q) = Geometric.GenericPoint.reducedSupportι D (quotientSupportMap X D x hxD q) := |
| 117 | irreducibleSetEquivPoints.apply_symm_apply _ |
| 118 | |
| 119 | theorem quotientSupport_mem_parent (q : Spec (.of (quotientRing X D x hxD))) : |
| 120 | IntersectionGeometry.supportPoint (quotientSupport X D x hxD q) ∈ (D : Set X) := by |
| 121 | rw [supportPoint_quotientSupport, ← Geometric.GenericPoint.range_reducedSupportι] |
| 122 | exact ⟨_, rfl⟩ |
| 123 | |
| 124 | theorem quotientSupport_preimage (q : Spec (.of (quotientRing X D x hxD))) : |
| 125 | quotientSupportMap X D x hxD q = IntersectionGeometry.supportPreimage D (IntersectionGeometry.supportPoint (quotientSupport X D x hxD q)) |
| 126 | (quotientSupport_mem_parent X D x hxD q) := by |
| 127 | apply (Geometric.GenericPoint.reducedSupportι D).isClosedEmbedding.injective |
| 128 | exact (supportPoint_quotientSupport X D x hxD q).symm.trans (IntersectionGeometry.supportPreimage_spec D _ _).symm |
| 129 | |
| 130 | end AlgebraicGeometry.CycleClass.Thom.StalkPrimeQuotient.Constructions.SupportScheme |
| 131 | |
| 132 | end |
| 133 | |
| 134 | end OAI |