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.Affine.Prime |
| 2 | import OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.SimultaneousAffineEuler |
| 3 | |
| 4 | /-! # Intrinsic Affine Euler -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.IntrinsicAffineEuler |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! A properly positioned affine module expansion is a sum of |
| 11 | actual ThomClass intersection multiplicities. Native local Tor finiteness |
| 12 | and the projective-dimension bound follow from the geometry. -/ |
| 13 | |
| 14 | set_option backward.isDefEq.respectTransparency false |
| 15 | set_option backward.isDefEq.respectTransparency.types false |
| 16 | |
| 17 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.TopologicalSpace |
| 18 | |
| 19 | namespace Intrinsic |
| 20 | |
| 21 | open OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Affine.FiltrationAvoidance |
| 22 | |
| 23 | theorem coefficient (V : Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation) (m p q : ℕ) |
| 24 | [SmoothOfRelativeDimension m V.structureMap] |
| 25 | (R : Type) [CommRing R] [IsNoetherianRing R] |
| 26 | (j : Spec (.of R) ⟶ V.carrier) [IsOpenImmersion j] |
| 27 | (M : ModuleCat R) [Module.Finite R M] (F : Finset (PrimeSpectrum R)) |
| 28 | (Z : Finset (IrreducibleCloseds V.carrier)) |
| 29 | (hZ : ∀ B ∈ Z, q ≤ V.supportCodimension B) |
| 30 | (hcover : ∀ w ∈ Module.support R M, ∃ B ∈ Z, j w ∈ (B : Set V.carrier)) |
| 31 | (a : V.RationalDimensionCycle p) |
| 32 | (ha : a ∈ Proper.SupportCycles.submodule V p (fun B : Z => B.val)) |
| 33 | (he : SimultaneousAffineEuler.Expansion V p q j M F a) |
| 34 | (A : V.DimensionCycleSupport p) (hAa : A ∈ a.support) |
| 35 | (A₀ : IrreducibleCloseds (Spec (.of R))) (hA : j (CycleClass.Thom.IntersectionGeometry.supportPoint A₀) = CycleClass.Thom.IntersectionGeometry.supportPoint A.val) |
| 36 | (C : V.DimensionCycleSupport (p + q)) (x : PrimeSpectrum R) |
| 37 | (hx : j x = CycleClass.Thom.IntersectionGeometry.supportPoint C.val) (hxA : x ∈ (A₀ : Set (Spec (.of R)))) : |
| 38 | letI : Algebra R ((Spec (.of R)).presheaf.stalk x) := (StructureSheaf.toStalk R x).hom.toAlgebra |
| 39 | Tor.Euler.euler ((Spec (.of R)).presheaf.stalk x) |
| 40 | ((Flat.Extension.baseChange R ((Spec (.of R)).presheaf.stalk x)).obj M) |
| 41 | (CycleClass.Thom.IntersectionGeometry.localSupportModule (Spec (.of R)) A₀ x hxA) m = |
| 42 | ∑ z ∈ F, ((FiltrationBaseLength.length R (Localization.AtPrime z.asIdeal) M).toNat : ℚ) * |
| 43 | CycleClass.Thom.IntersectionGeometry.intersectionMultiplicity V (Affine.FiltrationAvoidance.support j z) A.val C.val := by |
| 44 | let S := (Spec (.of R)).presheaf.stalk x |
| 45 | let : Algebra R S := (StructureSheaf.toStalk R x).hom.toAlgebra |
| 46 | let N := CycleClass.Thom.IntersectionGeometry.localSupportModule (Spec (.of R)) A₀ x hxA |
| 47 | let : Module.Finite S N := Local.TorFinite.localSupportModule_finite (Spec (.of R)) A₀ x hxA |
| 48 | let : HasProjectiveDimensionLE N m := |
| 49 | Polynomial.DimensionBound.bound_of_ringEquiv (asIso (j.stalkMap x)).commRingCatIsoToRingEquiv m |
| 50 | (Smooth.StalkDimension.stalk_bound V.structureMap m (j x)) N |
| 51 | have hiso := Affine.CoverIsolation.isolated V m p q R j M Z hZ hcover A A₀ hA |
| 52 | (fun B hB => ha ⟨B, hB⟩ A hAa) C x hx hxA |
| 53 | have hAC : CycleClass.Thom.IntersectionGeometry.supportPoint C.val ∈ (A.val : Set V.carrier) := hx ▸ |
| 54 | Affine.CoverIsolation.image_subset j A₀ A.val hA ⟨x, hxA, rfl⟩ |
| 55 | rw [he A hAa C x hx hAC N m hiso] |
| 56 | apply Finset.sum_congr rfl |
| 57 | intro z _ |
| 58 | rw [Affine.Prime.euler V m R j z A₀ A.val C.val hA x hx hxA] |
| 59 | |
| 60 | end Intrinsic |
| 61 | |
| 62 | end |
| 63 | |
| 64 | end OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.IntrinsicAffineEuler |