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.TotalTorCoefficient |
| 2 | import OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.EndpointTorComparison |
| 3 | import OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Parameter.WeightedSpecialization |
| 4 | import OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Flat.AffineParameter |
| 5 | import OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.IsolatedGeometricComponents |
| 6 | |
| 7 | /-! # Geometric Endpoint Specialization -/ |
| 8 | |
| 9 | namespace OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.GeometricEndpointSpecialization |
| 10 | |
| 11 | noncomputable section |
| 12 | |
| 13 | /-! An isolated native endpoint intersection is the finite weighted |
| 14 | sum of native family coefficients on actual global intersection |
| 15 | components. Endpoint Tor is transported through the actual quotient map. -/ |
| 16 | |
| 17 | set_option backward.isDefEq.respectTransparency false |
| 18 | set_option backward.isDefEq.respectTransparency.types false |
| 19 | |
| 20 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.TopologicalSpace IsLocalRing |
| 21 | open scoped _root_.Polynomial |
| 22 | |
| 23 | variable (Z : Scheme) [IsIntegral Z] [IsLocallyNoetherian Z] |
| 24 | (t : Z ⟶ Spec (.of ℂ[X])) [Flat t] (A B : IrreducibleCloseds Z) |
| 25 | [Flat (CycleClass.Geometric.GenericPoint.reducedSupportι A ≫ t)] [Flat (CycleClass.Geometric.GenericPoint.reducedSupportι B ≫ t)] |
| 26 | (x : Z) (hxA : x ∈ (A : Set Z)) (hxB : x ∈ (B : Set Z)) |
| 27 | (a : ℂ) (hx : t x = Affine.ParameterFiber.point ℂ a) |
| 28 | (S : Type) [CommRing S] (φ : Z.presheaf.stalk x →+* S) (hφ : Function.Surjective φ) |
| 29 | (hk : RingHom.ker φ = Ideal.span {Affine.ParameterFiber.germ ℂ t x a}) |
| 30 | (M₀ N₀ : ModuleCat S) |
| 31 | (eM : QuotSMulTop (Affine.ParameterFiber.germ ℂ t x a) (CycleClass.Thom.IntersectionGeometry.localSupportModule Z A x hxA) ≃ₗ[ |
| 32 | Z.presheaf.stalk x] (ModuleCat.restrictScalars φ).obj M₀) |
| 33 | (eN : QuotSMulTop (Affine.ParameterFiber.germ ℂ t x a) (CycleClass.Thom.IntersectionGeometry.localSupportModule Z B x hxB) ≃ₗ[ |
| 34 | Z.presheaf.stalk x] (ModuleCat.restrictScalars φ).obj N₀) |
| 35 | (d : ℕ) [HasProjectiveDimensionLE (CycleClass.Thom.IntersectionGeometry.localSupportModule Z B x hxB) d] |
| 36 | (hisolated : (Module.support (Z.presheaf.stalk x) (CycleClass.Thom.IntersectionGeometry.localSupportModule Z A x hxA) ∩ |
| 37 | Module.support (Z.presheaf.stalk x) (CycleClass.Thom.IntersectionGeometry.localSupportModule Z B x hxB)) ∩ |
| 38 | Module.support (Z.presheaf.stalk x) |
| 39 | ((Z.presheaf.stalk x) ⧸ Ideal.span {Affine.ParameterFiber.germ ℂ t x a}) ⊆ |
| 40 | {closedPoint (Z.presheaf.stalk x)}) |
| 41 | |
| 42 | include hx hφ hk eM eN hisolated |
| 43 | |
| 44 | theorem exists_sum : ∃ T : Finset (PrimeSpectrum (Z.presheaf.stalk x)), |
| 45 | (∀ p ∈ T, Affine.ParameterFiber.germ ℂ t x a ∉ p.asIdeal ∧ |
| 46 | ∃ D : irreducibleComponents (IsolatedGeometricComponents.intersection Z A B), |
| 47 | CycleClass.Thom.IntersectionGeometry.closedComponentSupport Z (IsolatedGeometricComponents.intersection Z A B) D = |
| 48 | Stalk.DivisorSupport.primeClosure Z x p) ∧ |
| 49 | (∀ p, p ≠ closedPoint (Z.presheaf.stalk x) → p ∉ T → |
| 50 | TotalTorCoefficient.coefficient Z A B (Z.fromSpecStalk x p) d = 0) ∧ |
| 51 | Tor.Euler.euler S M₀ N₀ d = |
| 52 | ∑ p ∈ T, TotalTorCoefficient.coefficient Z A B (Z.fromSpecStalk x p) d * |
| 53 | ((Ring.ord ((Z.presheaf.stalk x) ⧸ p.asIdeal) |
| 54 | (Ideal.Quotient.mk p.asIdeal (Affine.ParameterFiber.germ ℂ t x a))).toNat : ℚ) := by |
| 55 | let R := Z.presheaf.stalk x |
| 56 | let M := CycleClass.Thom.IntersectionGeometry.localSupportModule Z A x hxA |
| 57 | let N := CycleClass.Thom.IntersectionGeometry.localSupportModule Z B x hxB |
| 58 | let r : R := Affine.ParameterFiber.germ ℂ t x a |
| 59 | let : Module.Finite R M := Local.TorFinite.localSupportModule_finite Z A x hxA |
| 60 | let : Module.Finite R N := Local.TorFinite.localSupportModule_finite Z B x hxB |
| 61 | have hr : r ≠ 0 := ProjectionFormula.Flat.AffineParameter.nonzero ℂ t x a |
| 62 | have hrm : r ∈ maximalIdeal R := (Affine.ParameterFiber.germ_mem_maximalIdeal ℂ t x a).mpr hx |
| 63 | have hM := ProjectionFormula.Flat.AffineParameter.support_regular Z A t x hxA a |
| 64 | have hN := ProjectionFormula.Flat.AffineParameter.support_regular Z B t x hxB a |
| 65 | obtain ⟨T, hT, hout, hsum⟩ := |
| 66 | Parameter.WeightedSpecialization.exists_sum R M N r hr hrm hM hN d hisolated |
| 67 | refine ⟨T, ?_, ?_, ?_⟩ |
| 68 | · intro p hp |
| 69 | exact ⟨(hT p hp).2.2, IsolatedGeometricComponents.exists_component Z A B x hxA hxB r hrm |
| 70 | hisolated p (hT p hp).1.1 (hT p hp).1.2 (hT p hp).2.1⟩ |
| 71 | · intro p hpn hpT |
| 72 | rw [TotalTorCoefficient.localization Z A B x hxA hxB p d] |
| 73 | exact hout p hpn hpT |
| 74 | · calc |
| 75 | _ = Tor.Euler.euler (Parameter.ScalarQuotient.Ring R r) |
| 76 | ((Parameter.ScalarQuotient.quotient R r).obj M) |
| 77 | ((Parameter.ScalarQuotient.quotient R r).obj N) d := |
| 78 | (EndpointTorComparison.euler R S r φ hφ hk M N M₀ N₀ eM eN d).symm |
| 79 | _ = _ := hsum.trans (Finset.sum_congr rfl (fun p _ => by |
| 80 | rw [TotalTorCoefficient.localization Z A B x hxA hxB p d] |
| 81 | rfl)) |
| 82 | |
| 83 | end |
| 84 | |
| 85 | end OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.GeometricEndpointSpecialization |