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.Local.IsomorphismGermOrder |
| 2 | import OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Stalk.ParameterGerm |
| 3 | import OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Affine.PrincipalBaseChange |
| 4 | import OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.GeometricSupportLocalization |
| 5 | |
| 6 | /-! # Intrinsic Parameter Length -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.IntrinsicParameterLength |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! The generic length of the native parameter quotient is the native |
| 13 | parameter order at the corresponding geometric point. -/ |
| 14 | |
| 15 | set_option backward.isDefEq.respectTransparency false |
| 16 | set_option backward.isDefEq.respectTransparency.types false |
| 17 | |
| 18 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.TopologicalSpace |
| 19 | open scoped _root_.Polynomial |
| 20 | |
| 21 | namespace Intrinsic |
| 22 | |
| 23 | open OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Local.Principal OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Stalk.PrimeQuotient |
| 24 | |
| 25 | theorem length (Z : Scheme) (A : IrreducibleCloseds Z) (t : Z ⟶ Spec (.of ℂ[X])) |
| 26 | (x : Z) (hx : x ∈ (A : Set Z)) (a : ℂ) (p : PrimeSpectrum (Z.presheaf.stalk x)) |
| 27 | (hp : p ∈ Module.support (Z.presheaf.stalk x) (CycleClass.Thom.IntersectionGeometry.localSupportModule Z A x hx)) : |
| 28 | FiltrationBaseLength.length (Z.presheaf.stalk x) (Localization.AtPrime p.asIdeal) |
| 29 | (.of _ (QuotSMulTop (Affine.ParameterFiber.germ ℂ t x a) (CycleClass.Thom.IntersectionGeometry.localSupportModule Z A x hx))) = |
| 30 | Ring.ord ((CycleClass.Geometric.GenericPoint.reducedSupportScheme A).presheaf.stalk |
| 31 | (CycleClass.Thom.IntersectionGeometry.supportPreimage A (Z.fromSpecStalk x p) (Local.SupportSpectrum.image_mem_support Z A x hx p hp))) |
| 32 | (Local.Principal.supportStalkMap Z A (Z.fromSpecStalk x p) |
| 33 | (Local.SupportSpectrum.image_mem_support Z A x hx p hp) |
| 34 | (Affine.ParameterFiber.germ ℂ t (Z.fromSpecStalk x p) a)) := by |
| 35 | let R := Z.presheaf.stalk x |
| 36 | let r := Affine.ParameterFiber.germ ℂ t x a |
| 37 | let q := Stalk.PrimeQuotient.kernelPrime Z A x hx |
| 38 | let C := Affine.SupportStalk.support R q |
| 39 | let i := Z.fromSpecStalk x |
| 40 | have hqp := (GeometricSupportLocalization.Tor.support_iff Z A x hx p).mp hp |
| 41 | have hC : i (CycleClass.Thom.IntersectionGeometry.supportPoint C) = CycleClass.Thom.IntersectionGeometry.supportPoint A := by |
| 42 | rw [Affine.SupportStalk.point] |
| 43 | exact Stalk.PrimeQuotient.kernelPrime_image Z A x hx |
| 44 | let : IsIso (i.stalkMap p) := Stalk.Localization.stalkMap_isIso Z x p |
| 45 | let e := QuotSMulTop.congr r (Stalk.PrimeQuotient.moduleEquiv Z A x hx q (Stalk.PrimeQuotient.kernelPrime_image Z A x hx)) |
| 46 | calc |
| 47 | _ = FiltrationBaseLength.length R (Localization.AtPrime p.asIdeal) |
| 48 | (.of R (QuotSMulTop r (R ⧸ q.asIdeal))) := |
| 49 | FiltrationBaseLength.length_iso R (Localization.AtPrime p.asIdeal) e.toModuleIso |
| 50 | _ = Ring.ord ((CycleClass.Geometric.GenericPoint.reducedSupportScheme C).presheaf.stalk |
| 51 | (CycleClass.Thom.IntersectionGeometry.supportPreimage C p (Affine.SupportStalk.mem R q p hqp))) |
| 52 | (Local.Principal.supportStalkMap (Spec (.of R)) C p (Affine.SupportStalk.mem R q p hqp) |
| 53 | (StructureSheaf.toStalk R p r)) := Affine.PrincipalBaseChange.SupportOrder.length R q p hqp r |
| 54 | _ = _ := by |
| 55 | change Ring.ord _ (Local.Principal.supportStalkMap (Spec (.of R)) C p (Affine.SupportStalk.mem R q p hqp) |
| 56 | (StructureSheaf.toStalk R p (Affine.ParameterFiber.germ ℂ t x a))) = _ |
| 57 | rw [← Stalk.ParameterGerm.localization] |
| 58 | exact Local.IsomorphismGermOrder.order i C A hC p (Affine.SupportStalk.mem R q p hqp) |
| 59 | (Local.SupportSpectrum.image_mem_support Z A x hx p hp) |
| 60 | (Affine.ParameterFiber.germ ℂ t (Z.fromSpecStalk x p) a) |
| 61 | |
| 62 | theorem nonzero (Z : Scheme) (A : IrreducibleCloseds Z) (t : Z ⟶ Spec (.of ℂ[X])) |
| 63 | (x : Z) (hx : x ∈ (A : Set Z)) (a : ℂ) |
| 64 | (hr : Local.Principal.supportStalkMap Z A x hx (Affine.ParameterFiber.germ ℂ t x a) ≠ 0) |
| 65 | (p : PrimeSpectrum (Z.presheaf.stalk x)) |
| 66 | (hp : p ∈ Module.support (Z.presheaf.stalk x) (CycleClass.Thom.IntersectionGeometry.localSupportModule Z A x hx)) : |
| 67 | Local.Principal.supportStalkMap Z A (Z.fromSpecStalk x p) |
| 68 | (Local.SupportSpectrum.image_mem_support Z A x hx p hp) |
| 69 | (Affine.ParameterFiber.germ ℂ t (Z.fromSpecStalk x p) a) ≠ 0 := by |
| 70 | let R := Z.presheaf.stalk x |
| 71 | let q := Stalk.PrimeQuotient.kernelPrime Z A x hx |
| 72 | let C := Affine.SupportStalk.support R q |
| 73 | let i := Z.fromSpecStalk x |
| 74 | have hqp := (GeometricSupportLocalization.Tor.support_iff Z A x hx p).mp hp |
| 75 | have hC : i (CycleClass.Thom.IntersectionGeometry.supportPoint C) = CycleClass.Thom.IntersectionGeometry.supportPoint A := by |
| 76 | rw [Affine.SupportStalk.point] |
| 77 | exact Stalk.PrimeQuotient.kernelPrime_image Z A x hx |
| 78 | have hrq : Affine.ParameterFiber.germ ℂ t x a ∉ q.asIdeal := hr |
| 79 | have h := Affine.PrincipalBaseChange.SupportOrder.image_ne_zero R q p hqp |
| 80 | (Affine.ParameterFiber.germ ℂ t x a) hrq |
| 81 | rw [← Stalk.ParameterGerm.localization] at h |
| 82 | exact (Open.SupportGermOrder.nonzero_iff i C A hC p (Affine.SupportStalk.mem R q p hqp) |
| 83 | (Local.SupportSpectrum.image_mem_support Z A x hx p hp) |
| 84 | (Affine.ParameterFiber.germ ℂ t (Z.fromSpecStalk x p) a)).mp h |
| 85 | |
| 86 | theorem weight (Z : Scheme) (A : IrreducibleCloseds Z) (t : Z ⟶ Spec (.of ℂ[X])) |
| 87 | (x : Z) (hx : x ∈ (A : Set Z)) (a : ℂ) (p : PrimeSpectrum (Z.presheaf.stalk x)) |
| 88 | (hp : p ∈ Module.support (Z.presheaf.stalk x) (CycleClass.Thom.IntersectionGeometry.localSupportModule Z A x hx)) |
| 89 | (hr : Local.Principal.supportStalkMap Z A x hx (Affine.ParameterFiber.germ ℂ t x a) ≠ 0) : |
| 90 | ((FiltrationBaseLength.length (Z.presheaf.stalk x) (Localization.AtPrime p.asIdeal) |
| 91 | (.of _ (QuotSMulTop (Affine.ParameterFiber.germ ℂ t x a) (CycleClass.Thom.IntersectionGeometry.localSupportModule Z A x hx)))).toNat : ℚ) = |
| 92 | GlobalParameterSum.Weights.weight Z (Z.fromSpecStalk x p) |
| 93 | (Affine.ParameterFiber.germ ℂ t (Z.fromSpecStalk x p) a) A := by |
| 94 | rw [GlobalParameterSum.Weights.weight, |
| 95 | dite_eq_left (Local.SupportSpectrum.image_mem_support Z A x hx p hp), |
| 96 | ite_eq_left (nonzero Z A t x hx a hr p hp), length Z A t x hx a p hp] |
| 97 | |
| 98 | end Intrinsic |
| 99 | |
| 100 | end |
| 101 | |
| 102 | end OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.IntrinsicParameterLength |