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.Divisor.CycleLocalOrder |
| 2 | import OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.PrimeEquationOrder |
| 3 | import OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.CoheightOneCodimension |
| 4 | import Mathlib.RingTheory.Ideal.KrullsHeightTheorem |
| 5 | |
| 6 | /-! # Prime Factor Support -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Local.PrimeFactorSupport |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! Each prime factor of an ambient local function defines an actual |
| 13 | codimension-one support, with coefficient one and its native restricted order. -/ |
| 14 | |
| 15 | set_option backward.isDefEq.respectTransparency false |
| 16 | |
| 17 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.TopologicalSpace |
| 18 | open scoped Classical |
| 19 | |
| 20 | open OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Local.Principal OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Stalk.DivisorSupport |
| 21 | |
| 22 | def prime (X : Scheme) (x : X) (r : X.presheaf.stalk x) (hr : Prime r) : |
| 23 | PrimeSpectrum (X.presheaf.stalk x) := |
| 24 | ⟨Ideal.span {r}, (Ideal.span_singleton_prime hr.ne_zero).mpr hr⟩ |
| 25 | |
| 26 | theorem height (X : Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation) (x : X.carrier) |
| 27 | (r : X.carrier.presheaf.stalk x) (hr : Prime r) : |
| 28 | (prime X.carrier x r hr).asIdeal.height = 1 := by |
| 29 | let := X.stalk_isDomain x |
| 30 | exact Ideal.height_span_singleton_eq_one_of_mem_nonZeroDivisors |
| 31 | (mem_nonZeroDivisors_of_ne_zero hr.ne_zero) hr.not_isUnit |
| 32 | |
| 33 | def support (X : Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation) (m : ℕ) |
| 34 | [SmoothOfRelativeDimension m X.structureMap] (x : X.carrier) |
| 35 | (r : X.carrier.presheaf.stalk x) (hr : Prime r) : X.DimensionCycleSupport 1 := |
| 36 | ⟨Stalk.DivisorSupport.primeClosure X.carrier x (prime X.carrier x r hr), |
| 37 | CoheightOneCodimension.codimension X m _ (by |
| 38 | rw [Stalk.DivisorSupport.primeClosure_point, ← Stalk.Localization.height_eq_coheight_image] |
| 39 | exact PrimeFactorSupport.height X x r hr)⟩ |
| 40 | |
| 41 | theorem point_mem (X : Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation) (m : ℕ) |
| 42 | [SmoothOfRelativeDimension m X.structureMap] (x : X.carrier) |
| 43 | (r : X.carrier.presheaf.stalk x) (hr : Prime r) : |
| 44 | x ∈ ((support X m x r hr).val : Set X.carrier) := |
| 45 | Stalk.DivisorSupport.point_mem_primeClosure X.carrier x (prime X.carrier x r hr) |
| 46 | |
| 47 | theorem equation (X : Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation) (m : ℕ) |
| 48 | [SmoothOfRelativeDimension m X.structureMap] (x : X.carrier) |
| 49 | (r : X.carrier.presheaf.stalk x) (hr : Prime r) : |
| 50 | RingHom.ker (Principal.supportStalkMap X.carrier (support X m x r hr).val x |
| 51 | (point_mem X m x r hr)).hom = Ideal.span {r} := |
| 52 | Stalk.PrimeQuotient.kernel_eq X.carrier _ x _ (prime X.carrier x r hr) |
| 53 | (Stalk.DivisorSupport.primeClosure_point X.carrier x (prime X.carrier x r hr)).symm |
| 54 | |
| 55 | theorem geometric_order (X : Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation) (m : ℕ) |
| 56 | [SmoothOfRelativeDimension m X.structureMap] [IsIntegral X.carrier] |
| 57 | (x : X.carrier) (r : X.carrier.presheaf.stalk x) (hr : Prime r) |
| 58 | (B : X.DimensionCycleSupport 1) (hxB : x ∈ (B.val : Set X.carrier)) : |
| 59 | X.carrier.ord (algebraMap (X.carrier.presheaf.stalk x) X.carrier.functionField r) |
| 60 | (CycleClass.Thom.IntersectionGeometry.supportPoint B.val) = if B = support X m x r hr then 1 else 0 := |
| 61 | PrimeEquationOrder.geometric X m (support X m x r hr) B x (point_mem X m x r hr) hxB r hr.ne_zero |
| 62 | (equation X m x r hr) |
| 63 | |
| 64 | theorem multiplicity (X : Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation) (m q : ℕ) |
| 65 | [SmoothOfRelativeDimension m X.structureMap] |
| 66 | (A : X.DimensionCycleSupport q) (C : X.DimensionCycleSupport (q + 1)) |
| 67 | (hxA : CycleClass.Thom.IntersectionGeometry.supportPoint C.val ∈ (A.val : Set X.carrier)) |
| 68 | (r : X.carrier.presheaf.stalk (CycleClass.Thom.IntersectionGeometry.supportPoint C.val)) (hr : Prime r) |
| 69 | (hra : Principal.supportStalkMap X.carrier A.val (CycleClass.Thom.IntersectionGeometry.supportPoint C.val) hxA r ≠ 0) : |
| 70 | CycleClass.Thom.IntersectionGeometry.intersectionMultiplicity X (support X m (CycleClass.Thom.IntersectionGeometry.supportPoint C.val) r hr).val A.val C.val = |
| 71 | ((Ring.ord ((CycleClass.Geometric.GenericPoint.reducedSupportScheme A.val).presheaf.stalk |
| 72 | (CycleClass.Thom.IntersectionGeometry.supportPreimage A.val (CycleClass.Thom.IntersectionGeometry.supportPoint C.val) hxA)) |
| 73 | (Principal.supportStalkMap X.carrier A.val (CycleClass.Thom.IntersectionGeometry.supportPoint C.val) hxA r)).toNat : ℚ) := |
| 74 | PrincipalLeft.intersectionMultiplicity_eq_order X A.val _ C.val hxA |
| 75 | (point_mem X m (CycleClass.Thom.IntersectionGeometry.supportPoint C.val) r hr) r hr.ne_zero |
| 76 | (equation X m (CycleClass.Thom.IntersectionGeometry.supportPoint C.val) r hr) hra |
| 77 | |
| 78 | end |
| 79 | |
| 80 | end OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Local.PrimeFactorSupport |