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.IntrinsicPrincipalExpansion |
| 2 | import OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Affine.PrincipalIsolation |
| 3 | |
| 4 | /-! # Covered Principal Expansion -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.CoveredPrincipalExpansion |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Full geometric support covers discharge the isolation condition |
| 11 | in the native principal-quotient expansion. -/ |
| 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.Affine.SupportStalk |
| 19 | |
| 20 | def pairing (R : Type) [CommRing R] (v : PrimeSpectrum R) (r : R) |
| 21 | (A₀ : IrreducibleCloseds (Spec (.of R))) (x : PrimeSpectrum R) |
| 22 | (hxA : x ∈ (A₀ : Set (Spec (.of R)))) (hvx : v.asIdeal ≤ x.asIdeal) (d : ℕ) : ℚ := |
| 23 | Tor.Euler.euler ((Spec (.of R)).presheaf.stalk x) |
| 24 | (.of _ (QuotSMulTop (StructureSheaf.toStalk R x r) |
| 25 | (CycleClass.Thom.IntersectionGeometry.localSupportModule (Spec (.of R)) (Affine.SupportStalk.support R v) x (Affine.SupportStalk.mem R v x hvx)))) |
| 26 | (CycleClass.Thom.IntersectionGeometry.localSupportModule (Spec (.of R)) A₀ x hxA) d |
| 27 | |
| 28 | theorem coefficient (V : Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation) (m p q : ℕ) |
| 29 | [SmoothOfRelativeDimension m V.structureMap] |
| 30 | (R : Type) [CommRing R] [IsNoetherianRing R] |
| 31 | (j : Spec (.of R) ⟶ V.carrier) [IsOpenImmersion j] |
| 32 | (v : PrimeSpectrum R) (r : R) (F : Finset (PrimeSpectrum R)) (a : V.RationalDimensionCycle p) |
| 33 | (he : Principal.AffineExpansion.Expansion V p q j v r F a) |
| 34 | (S : Finset (IrreducibleCloseds V.carrier)) |
| 35 | (hS : ∀ B ∈ S, q ≤ V.supportCodimension B) |
| 36 | (hcover : ∀ w ∈ Module.support R (QuotSMulTop r (R ⧸ v.asIdeal)), |
| 37 | ∃ B ∈ S, j w ∈ (B : Set V.carrier)) |
| 38 | (A : V.DimensionCycleSupport p) (hAa : A ∈ a.support) |
| 39 | (A₀ : IrreducibleCloseds (Spec (.of R))) (hA : j (CycleClass.Thom.IntersectionGeometry.supportPoint A₀) = CycleClass.Thom.IntersectionGeometry.supportPoint A.val) |
| 40 | (hproper : ∀ B ∈ S, ∀ D : IrreducibleCloseds V.carrier, |
| 41 | (D : Set V.carrier) ⊆ (A.val : Set V.carrier) ∩ (B : Set V.carrier) → |
| 42 | p + V.supportCodimension B ≤ V.supportCodimension D) |
| 43 | (C : V.DimensionCycleSupport (p + q)) (x : PrimeSpectrum R) |
| 44 | (hx : j x = CycleClass.Thom.IntersectionGeometry.supportPoint C.val) (hxA : x ∈ (A₀ : Set (Spec (.of R)))) |
| 45 | (hvx : v.asIdeal ≤ x.asIdeal) : |
| 46 | pairing R v r A₀ x hxA hvx m = |
| 47 | ∑ z ∈ F, Affine.PrincipalWeight.weight R v r z * |
| 48 | CycleClass.Thom.IntersectionGeometry.intersectionMultiplicity V (Affine.FiltrationAvoidance.support j z) A.val C.val := by |
| 49 | exact IntrinsicPrincipalExpansion.Intrinsic.coefficient V m p q R j v r F a he A hAa A₀ hA C x hx hxA hvx |
| 50 | (Affine.PrincipalIsolation.isolated V m p q R j v r S hS hcover A A₀ hA hproper C x hx hxA hvx) |
| 51 | |
| 52 | end |
| 53 | |
| 54 | end OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.CoveredPrincipalExpansion |