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.GeometricWeightedEuler |
| 2 | import OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.GeometricSupportLocalization |
| 3 | |
| 4 | /-! # Intrinsic Principal Dimension -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.IntrinsicPrincipalDimension |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! A nonzero principal parameter on an integral support lowers the |
| 11 | geometric dimension of every prime in its native quotient module. -/ |
| 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 | namespace Intrinsic |
| 19 | |
| 20 | open OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Local.Principal OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Stalk.DivisorSupport OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Stalk.PrimeQuotient |
| 21 | |
| 22 | theorem support_le (X : Scheme) (A : IrreducibleCloseds X) (x : X) (hx : x ∈ (A : Set X)) |
| 23 | (p : PrimeSpectrum (X.presheaf.stalk x)) |
| 24 | (hp : p ∈ Module.support (X.presheaf.stalk x) (CycleClass.Thom.IntersectionGeometry.localSupportModule X A x hx)) : |
| 25 | Stalk.DivisorSupport.primeClosure X x p ≤ A := |
| 26 | closure_minimal (Set.singleton_subset_iff.mpr |
| 27 | (Local.SupportSpectrum.image_mem_support X A x hx p hp)) A.isClosed |
| 28 | |
| 29 | theorem support_bound {K : Type} [Field K] {X : Scheme} [IsLocallyNoetherian X] |
| 30 | (f : X ⟶ Spec (.of K)) [LocallyOfFiniteType f] |
| 31 | (A : IrreducibleCloseds X) (x : X) (hx : x ∈ (A : Set X)) |
| 32 | (r : X.presheaf.stalk x) (hr : Local.Principal.supportStalkMap X A x hx r ≠ 0) |
| 33 | (p : PrimeSpectrum (X.presheaf.stalk x)) |
| 34 | (hp : p ∈ Module.support (X.presheaf.stalk x) (QuotSMulTop r (CycleClass.Thom.IntersectionGeometry.localSupportModule X A x hx))) : |
| 35 | Foundations.Scheme.SupportDimension.supportTranscendenceDimension (Stalk.DivisorSupport.primeClosure X x p) f ≤ Foundations.Scheme.SupportDimension.supportTranscendenceDimension A f - 1 := by |
| 36 | let := Local.TorFinite.localSupportModule_finite X A x hx |
| 37 | simp only [Module.support_quotSMulTop, Set.mem_inter_iff, PrimeSpectrum.mem_zeroLocus, |
| 38 | Set.singleton_subset_iff] at hp |
| 39 | have hle := support_le X A x hx p hp.1 |
| 40 | have hne : Stalk.DivisorSupport.primeClosure X x p ≠ A := by |
| 41 | intro he |
| 42 | have hpoint : X.fromSpecStalk x p = CycleClass.Thom.IntersectionGeometry.supportPoint A := |
| 43 | (Stalk.DivisorSupport.primeClosure_point X x p).symm.trans (congrArg CycleClass.Thom.IntersectionGeometry.supportPoint he) |
| 44 | have hk := Stalk.PrimeQuotient.kernel_eq X A x hx p hpoint |
| 45 | apply hr |
| 46 | apply RingHom.mem_ker.mp |
| 47 | rw [hk] |
| 48 | exact hp.2 |
| 49 | have hlt := Foundations.Scheme.SupportDimensionDrop.supportTranscendenceDimension_strictMono f (lt_of_le_of_ne hle hne) |
| 50 | change Foundations.Scheme.SupportDimension.supportTranscendenceDimension (Stalk.DivisorSupport.primeClosure X x p) f < Foundations.Scheme.SupportDimension.supportTranscendenceDimension A f at hlt |
| 51 | omega |
| 52 | |
| 53 | theorem exists_data {K : Type} [Field K] {X : Scheme} [IsLocallyNoetherian X] |
| 54 | (f : X ⟶ Spec (.of K)) (d : ℕ) [SmoothOfRelativeDimension d f] |
| 55 | (A : IrreducibleCloseds X) (x : X) (hx : x ∈ (A : Set X)) |
| 56 | (r : X.presheaf.stalk x) (hr : Local.Principal.supportStalkMap X A x hx r ≠ 0) : |
| 57 | ∃ F : Finset (PrimeSpectrum (X.presheaf.stalk x)), |
| 58 | (∀ p ∈ F, p ∈ Module.support (X.presheaf.stalk x) (CycleClass.Thom.IntersectionGeometry.localSupportModule X A x hx) ∧ |
| 59 | r ∈ p.asIdeal ∧ |
| 60 | Foundations.Scheme.SupportDimension.supportTranscendenceDimension (Stalk.DivisorSupport.primeClosure X x p) f = Foundations.Scheme.SupportDimension.supportTranscendenceDimension A f - 1) ∧ |
| 61 | (∀ p, Foundations.Scheme.SupportDimension.supportTranscendenceDimension (Stalk.DivisorSupport.primeClosure X x p) f = Foundations.Scheme.SupportDimension.supportTranscendenceDimension A f - 1 → |
| 62 | p ∉ F → FiltrationBaseLength.length (X.presheaf.stalk x) (Localization.AtPrime p.asIdeal) |
| 63 | (.of _ (QuotSMulTop r (CycleClass.Thom.IntersectionGeometry.localSupportModule X A x hx))) = 0) ∧ |
| 64 | ∀ (N : ModuleCat (X.presheaf.stalk x)) [Module.Finite (X.presheaf.stalk x) N] (s : ℕ) |
| 65 | (_hN : ∀ p ∈ Module.support (X.presheaf.stalk x) N, |
| 66 | Foundations.Scheme.SupportDimension.supportTranscendenceDimension (Stalk.DivisorSupport.primeClosure X x p) f ≤ s) |
| 67 | (_heq : (Foundations.Scheme.SupportDimension.supportTranscendenceDimension A f - 1) + s = |
| 68 | d + Foundations.Scheme.SupportDimension.supportTranscendenceDimension (irreducibleSetEquivPoints.symm x) f) |
| 69 | (_hi : Module.support (X.presheaf.stalk x) (QuotSMulTop r (CycleClass.Thom.IntersectionGeometry.localSupportModule X A x hx)) ∩ |
| 70 | Module.support (X.presheaf.stalk x) N ⊆ {IsLocalRing.closedPoint (X.presheaf.stalk x)}), |
| 71 | Tor.Euler.euler (X.presheaf.stalk x) (.of _ (QuotSMulTop r (CycleClass.Thom.IntersectionGeometry.localSupportModule X A x hx))) N d = |
| 72 | ∑ p ∈ F, ((FiltrationBaseLength.length (X.presheaf.stalk x) (Localization.AtPrime p.asIdeal) |
| 73 | (.of _ (QuotSMulTop r (CycleClass.Thom.IntersectionGeometry.localSupportModule X A x hx)))).toNat : ℚ) * |
| 74 | Tor.Euler.euler (X.presheaf.stalk x) (.of _ (X.presheaf.stalk x ⧸ p.asIdeal)) N d := by |
| 75 | let : Smooth f := SmoothOfRelativeDimension.smooth d f |
| 76 | let := Local.TorFinite.localSupportModule_finite X A x hx |
| 77 | obtain ⟨F, hF, hout, he⟩ := GeometricWeightedEuler.exists_data f d x |
| 78 | (.of _ (QuotSMulTop r (CycleClass.Thom.IntersectionGeometry.localSupportModule X A x hx))) |
| 79 | (Foundations.Scheme.SupportDimension.supportTranscendenceDimension A f - 1) (support_bound f A x hx r hr) |
| 80 | refine ⟨F, ?_, hout, ?_⟩ |
| 81 | · intro p hp |
| 82 | have h := (hF p hp).1 |
| 83 | change p ∈ Module.support (X.presheaf.stalk x) (QuotSMulTop r (CycleClass.Thom.IntersectionGeometry.localSupportModule X A x hx)) at h |
| 84 | simp only [Module.support_quotSMulTop, Set.mem_inter_iff, PrimeSpectrum.mem_zeroLocus, |
| 85 | Set.singleton_subset_iff] at h |
| 86 | exact ⟨h.1, h.2, (hF p hp).2.1⟩ |
| 87 | · intro N _ s hN heq hi |
| 88 | let : HasProjectiveDimensionLE N d := ProjectionFormula.Smooth.StalkDimension.stalk_bound f d x N |
| 89 | exact he N s hN heq hi |
| 90 | |
| 91 | end Intrinsic |
| 92 | |
| 93 | end |
| 94 | |
| 95 | end OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.IntrinsicPrincipalDimension |