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.IntrinsicPrincipalDimension |
| 2 | import OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.IntrinsicParameterLength |
| 3 | import OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.FiberPrimeTor |
| 4 | import OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Flat.AffineParameter |
| 5 | |
| 6 | /-! # Intrinsic Fiber Weighted Euler -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.IntrinsicFiberWeightedEuler |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! On a smooth parameter family, the principal quotient's Euler |
| 13 | pairing is the finite sum of actual divisor weights times native Tor |
| 14 | pairings on the scalar fiber. -/ |
| 15 | |
| 16 | set_option backward.isDefEq.respectTransparency false |
| 17 | set_option backward.isDefEq.respectTransparency.types false |
| 18 | |
| 19 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.TopologicalSpace |
| 20 | open scoped _root_.Polynomial |
| 21 | |
| 22 | namespace Intrinsic |
| 23 | |
| 24 | open OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Local.Principal OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Stalk.DivisorSupport |
| 25 | |
| 26 | theorem exists_sum (Z : Scheme) [IsLocallyNoetherian Z] |
| 27 | (f : Z ⟶ Foundations.Scheme.ProjectiveSpace.complexBase) (d : ℕ) [SmoothOfRelativeDimension d f] |
| 28 | (t : Z ⟶ Spec (.of ℂ[X])) [Flat t] |
| 29 | (A B : IrreducibleCloseds Z) [Flat (CycleClass.Geometric.GenericPoint.reducedSupportι B ≫ t)] |
| 30 | (x : Z) (hxA : x ∈ (A : Set Z)) (hxB : x ∈ (B : Set Z)) (a : ℂ) |
| 31 | (hr : Local.Principal.supportStalkMap Z A x hxA (Affine.ParameterFiber.germ ℂ t x a) ≠ 0) |
| 32 | (S : Type) [CommRing S] [Algebra (Z.presheaf.stalk x) S] |
| 33 | (hφ : Function.Surjective (algebraMap (Z.presheaf.stalk x) S)) |
| 34 | (hk : RingHom.ker (algebraMap (Z.presheaf.stalk x) S) = |
| 35 | Ideal.span {Affine.ParameterFiber.germ ℂ t x a}) |
| 36 | (N₀ : ModuleCat S) |
| 37 | (eN : QuotSMulTop (Affine.ParameterFiber.germ ℂ t x a) (CycleClass.Thom.IntersectionGeometry.localSupportModule Z B x hxB) ≃ₗ[ |
| 38 | Z.presheaf.stalk x] (ModuleCat.restrictScalars (algebraMap (Z.presheaf.stalk x) S)).obj N₀) |
| 39 | (s : ℕ) (hBdim : Foundations.Scheme.SupportDimension.supportTranscendenceDimension B f ≤ s) |
| 40 | (heq : (Foundations.Scheme.SupportDimension.supportTranscendenceDimension A f - 1) + s = |
| 41 | d + Foundations.Scheme.SupportDimension.supportTranscendenceDimension (irreducibleSetEquivPoints.symm x) f) |
| 42 | (hi : Module.support (Z.presheaf.stalk x) |
| 43 | (QuotSMulTop (Affine.ParameterFiber.germ ℂ t x a) (CycleClass.Thom.IntersectionGeometry.localSupportModule Z A x hxA)) ∩ |
| 44 | Module.support (Z.presheaf.stalk x) (CycleClass.Thom.IntersectionGeometry.localSupportModule Z B x hxB) ⊆ |
| 45 | {IsLocalRing.closedPoint (Z.presheaf.stalk x)}) : |
| 46 | ∃ F : Finset (PrimeSpectrum (Z.presheaf.stalk x)), |
| 47 | (∀ p ∈ F, p ∈ Module.support (Z.presheaf.stalk x) (CycleClass.Thom.IntersectionGeometry.localSupportModule Z A x hxA) ∧ |
| 48 | Affine.ParameterFiber.germ ℂ t x a ∈ p.asIdeal ∧ |
| 49 | Foundations.Scheme.SupportDimension.supportTranscendenceDimension (Stalk.DivisorSupport.primeClosure Z x p) f = Foundations.Scheme.SupportDimension.supportTranscendenceDimension A f - 1) ∧ |
| 50 | (∀ p, Foundations.Scheme.SupportDimension.supportTranscendenceDimension (Stalk.DivisorSupport.primeClosure Z x p) f = Foundations.Scheme.SupportDimension.supportTranscendenceDimension A f - 1 → |
| 51 | p ∉ F → FiltrationBaseLength.length (Z.presheaf.stalk x) (Localization.AtPrime p.asIdeal) |
| 52 | (.of _ (QuotSMulTop (Affine.ParameterFiber.germ ℂ t x a) (CycleClass.Thom.IntersectionGeometry.localSupportModule Z A x hxA))) = 0) ∧ |
| 53 | Tor.Euler.euler (Z.presheaf.stalk x) |
| 54 | (.of _ (QuotSMulTop (Affine.ParameterFiber.germ ℂ t x a) (CycleClass.Thom.IntersectionGeometry.localSupportModule Z A x hxA))) |
| 55 | (CycleClass.Thom.IntersectionGeometry.localSupportModule Z B x hxB) d = |
| 56 | ∑ p ∈ F, GlobalParameterSum.Weights.weight Z (Z.fromSpecStalk x p) |
| 57 | (Affine.ParameterFiber.germ ℂ t (Z.fromSpecStalk x p) a) A * |
| 58 | Tor.Euler.euler S (.of S (S ⧸ p.asIdeal.map (algebraMap (Z.presheaf.stalk x) S))) N₀ d := by |
| 59 | let : Smooth f := SmoothOfRelativeDimension.smooth d f |
| 60 | let R := Z.presheaf.stalk x |
| 61 | let r := Affine.ParameterFiber.germ ℂ t x a |
| 62 | let N := CycleClass.Thom.IntersectionGeometry.localSupportModule Z B x hxB |
| 63 | let : Module.Finite R N := Local.TorFinite.localSupportModule_finite Z B x hxB |
| 64 | obtain ⟨F, hF, hout, he⟩ := IntrinsicPrincipalDimension.Intrinsic.exists_data f d A x hxA r hr |
| 65 | refine ⟨F, hF, hout, ?_⟩ |
| 66 | have hN : ∀ p ∈ Module.support R N, |
| 67 | Foundations.Scheme.SupportDimension.supportTranscendenceDimension (Stalk.DivisorSupport.primeClosure Z x p) f ≤ s := by |
| 68 | intro p hp |
| 69 | exact ((Foundations.Scheme.SupportDimensionDrop.supportTranscendenceDimension_strictMono f).monotone |
| 70 | (IntrinsicPrincipalDimension.Intrinsic.support_le Z B x hxB p hp)).trans hBdim |
| 71 | rw [he N s hN heq hi] |
| 72 | apply Finset.sum_congr rfl |
| 73 | intro p hp |
| 74 | apply congrArg₂ (fun w e : ℚ => w * e) |
| 75 | · exact IntrinsicParameterLength.Intrinsic.weight Z A t x hxA a p (hF p hp).1 hr |
| 76 | · exact FiberPrimeTor.euler R S hφ r (ProjectionFormula.Flat.AffineParameter.regular ℂ t x a) hk |
| 77 | p.asIdeal (hF p hp).2.1 N (ProjectionFormula.Flat.AffineParameter.support_regular Z B t x hxB a) N₀ eN d |
| 78 | |
| 79 | end Intrinsic |
| 80 | |
| 81 | end |
| 82 | |
| 83 | end OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.IntrinsicFiberWeightedEuler |