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.Parameter.ScalarQuotient |
| 2 | import OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Tor.FiniteLength |
| 3 | import Mathlib.RingTheory.Spectrum.Prime.Module |
| 4 | |
| 5 | /-! # Fiber Finiteness -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Parameter.FiberFiniteness |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! A parameter fiber whose two input supports intersect at at most |
| 12 | one prime has finite native Tor lengths over the quotient ring. -/ |
| 13 | |
| 14 | set_option backward.isDefEq.respectTransparency false |
| 15 | |
| 16 | open _root_.CategoryTheory |
| 17 | |
| 18 | universe u |
| 19 | |
| 20 | open OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Parameter.ScalarQuotient |
| 21 | |
| 22 | variable (R : Type u) [CommRing R] [IsNoetherianRing R] (r : R) |
| 23 | (M N : ModuleCat.{u} R) [Module.Finite R M] [Module.Finite R N] |
| 24 | |
| 25 | omit [IsNoetherianRing R] in |
| 26 | theorem support_image (p : PrimeSpectrum (ScalarQuotient.Ring R r)) |
| 27 | (hp : p ∈ Module.support (ScalarQuotient.Ring R r) ((ScalarQuotient.quotient R r).obj M) ∩ |
| 28 | Module.support (ScalarQuotient.Ring R r) ((ScalarQuotient.quotient R r).obj N)) : |
| 29 | PrimeSpectrum.comap (Ideal.Quotient.mk (Ideal.span {r})) p ∈ |
| 30 | (Module.support R M ∩ Module.support R N) ∩ |
| 31 | Module.support R (ScalarQuotient.Ring R r) := by |
| 32 | have hM := Module.support_subset_preimage_comap (R := R) (A := ScalarQuotient.Ring R r) |
| 33 | (M := QuotSMulTop r M) hp.1 |
| 34 | have hN := Module.support_subset_preimage_comap (R := R) (A := ScalarQuotient.Ring R r) |
| 35 | (M := QuotSMulTop r N) hp.2 |
| 36 | rw [Module.support_quotSMulTop] at hM hN |
| 37 | refine ⟨⟨hM.1, hN.1⟩, ?_⟩ |
| 38 | rw [Module.support_of_algebra, Ideal.Quotient.algebraMap_eq, Ideal.mk_ker] |
| 39 | exact Ideal.span_le.mpr hM.2 |
| 40 | |
| 41 | theorem length_ne_top (p₀ : PrimeSpectrum R) |
| 42 | (hisolated : (Module.support R M ∩ Module.support R N) ∩ |
| 43 | Module.support R (ScalarQuotient.Ring R r) ⊆ {p₀}) (i : ℕ) : |
| 44 | Module.length (ScalarQuotient.Ring R r) |
| 45 | (((Tor (ModuleCat (ScalarQuotient.Ring R r)) i).obj ((ScalarQuotient.quotient R r).obj M)).obj |
| 46 | ((ScalarQuotient.quotient R r).obj N)) ≠ ⊤ := by |
| 47 | let S := ScalarQuotient.Ring R r |
| 48 | let A := (ScalarQuotient.quotient R r).obj M |
| 49 | let B := (ScalarQuotient.quotient R r).obj N |
| 50 | let T := ((Tor (ModuleCat S) i).obj A).obj B |
| 51 | let : Module.Finite S A := Module.Finite.of_restrictScalars_finite R S (QuotSMulTop r M) |
| 52 | let : Module.Finite S B := Module.Finite.of_restrictScalars_finite R S (QuotSMulTop r N) |
| 53 | let : Module.Finite S T := ProjectionFormula.Finite.Tor.finite S A B i |
| 54 | have himage (p : PrimeSpectrum S) (hp : p ∈ Module.support S T) : |
| 55 | PrimeSpectrum.comap (Ideal.Quotient.mk (Ideal.span {r})) p = p₀ := |
| 56 | Set.mem_singleton_iff.mp (hisolated |
| 57 | (support_image R r M N p (ProjectionFormula.Tor.Support.support_subset S A B i hp))) |
| 58 | let : Subsingleton (Module.support S T) := ⟨fun p q => by |
| 59 | apply Subtype.ext |
| 60 | apply PrimeSpectrum.comap_injective_of_surjective _ Ideal.Quotient.mk_surjective |
| 61 | exact (himage p p.property).trans (himage q q.property).symm⟩ |
| 62 | exact Module.length_ne_top_iff.mpr |
| 63 | (ProjectionFormula.Tor.FiniteLength.finiteLength_of_support_subsingleton S T) |
| 64 | |
| 65 | end |
| 66 | |
| 67 | end OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Parameter.FiberFiniteness |