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.Divisors.LineBundles.Periodic.Exact |
| 2 | import OAI.AlgebraicGeometry.Divisors.LineBundles.Closed.SupportLength |
| 3 | |
| 4 | /-! # Localization -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.Divisors.LineBundles.Periodic.Localization.BundleCycles |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! |
| 11 | # LineBundleCycles: vanishing and finiteness of actual localized periodic homology |
| 12 | |
| 13 | An exact localized complex makes every homology representative a |
| 14 | boundary after multiplication by a denominator. If this holds away |
| 15 | from the closed point, the actual homology has finite length. |
| 16 | -/ |
| 17 | |
| 18 | variable {R M : Type*} [CommRing R] [AddCommGroup M] [Module R M] |
| 19 | |
| 20 | def localizedEndomorphism (S : Submonoid R) (φ : M →ₗ[R] M) : |
| 21 | LocalizedModule S M →ₗ[R] LocalizedModule S M := |
| 22 | IsLocalizedModule.map S (LocalizedModule.mkLinearMap S M) (LocalizedModule.mkLinearMap S M) φ |
| 23 | |
| 24 | theorem localizedEndomorphism_comp_map (S : Submonoid R) (φ : M →ₗ[R] M) : |
| 25 | (localizedEndomorphism S φ).comp (LocalizedModule.mkLinearMap S M) = |
| 26 | (LocalizedModule.mkLinearMap S M).comp φ := |
| 27 | IsLocalizedModule.map_comp S (LocalizedModule.mkLinearMap S M) (LocalizedModule.mkLinearMap S M) φ |
| 28 | |
| 29 | theorem localizedPeriodicHomology_subsingleton (S : Submonoid R) |
| 30 | (φ ψ : M →ₗ[R] M) (hψφ : φ.comp ψ = 0) |
| 31 | (hex : Function.Exact (localizedEndomorphism S ψ) (localizedEndomorphism S φ)) : |
| 32 | Subsingleton (LocalizedModule S (Periodic.Exact.BundleCycles.periodicHomology φ ψ hψφ)) := by |
| 33 | apply LocalizedModule.subsingleton_iff.mpr |
| 34 | intro q |
| 35 | obtain ⟨u, rfl⟩ := (Periodic.Exact.BundleCycles.periodicBoundaryMap φ ψ hψφ).range.mkQ_surjective q |
| 36 | let f : M →ₗ[R] LocalizedModule S M := LocalizedModule.mkLinearMap S M |
| 37 | have hfu : localizedEndomorphism S φ (f u.1) = 0 := |
| 38 | (LinearMap.congr_fun (localizedEndomorphism_comp_map S φ) u.1).trans |
| 39 | ((congrArg f u.2).trans f.map_zero) |
| 40 | obtain ⟨v, hv⟩ := (hex (f u.1)).mp hfu |
| 41 | obtain ⟨⟨m, s⟩, hs⟩ := IsLocalizedModule.surj S f v |
| 42 | change (s : R) • v = f m at hs |
| 43 | have he : f (ψ m) = f ((s : R) • u.1) := by |
| 44 | calc |
| 45 | f (ψ m) = localizedEndomorphism S ψ (f m) := |
| 46 | (LinearMap.congr_fun (localizedEndomorphism_comp_map S ψ) m).symm |
| 47 | _ = localizedEndomorphism S ψ ((s : R) • v) := congrArg _ hs.symm |
| 48 | _ = (s : R) • f u.1 := |
| 49 | ((localizedEndomorphism S ψ).map_smul (s : R) v).trans |
| 50 | (congrArg (fun z => (s : R) • z) hv) |
| 51 | _ = f ((s : R) • u.1) := (f.map_smul (s : R) u.1).symm |
| 52 | obtain ⟨t, ht⟩ := IsLocalizedModule.exists_of_eq (S := S) (f := f) he |
| 53 | change (t : R) • ψ m = (t : R) • ((s : R) • u.1) at ht |
| 54 | refine ⟨(t : R) * (s : R), S.mul_mem t.2 s.2, ?_⟩ |
| 55 | change (Periodic.Exact.BundleCycles.periodicBoundaryMap φ ψ hψφ).range.mkQ (((t : R) * (s : R)) • u) = 0 |
| 56 | apply (Submodule.Quotient.mk_eq_zero _).mpr |
| 57 | refine ⟨(t : R) • m, Subtype.ext ?_⟩ |
| 58 | exact (ψ.map_smul (t : R) m).trans (ht.trans (mul_smul (t : R) (s : R) u.1).symm) |
| 59 | |
| 60 | theorem periodicHomology_length_ne_top_of_local_exact |
| 61 | [IsNoetherianRing R] [IsLocalRing R] [Module.Finite R M] |
| 62 | (φ ψ : M →ₗ[R] M) (hψφ : φ.comp ψ = 0) |
| 63 | (hs : ∀ p : PrimeSpectrum R, p.asIdeal ≠ IsLocalRing.maximalIdeal R → |
| 64 | Function.Exact (localizedEndomorphism p.asIdeal.primeCompl ψ) |
| 65 | (localizedEndomorphism p.asIdeal.primeCompl φ)) : |
| 66 | Module.length R (Periodic.Exact.BundleCycles.periodicHomology φ ψ hψφ) ≠ ⊤ := by |
| 67 | apply Closed.SupportLength.BundleCycles.moduleLength_ne_top_of_localizations_zero |
| 68 | intro p hp |
| 69 | exact localizedPeriodicHomology_subsingleton p.asIdeal.primeCompl φ ψ hψφ (hs p hp) |
| 70 | |
| 71 | end |
| 72 | |
| 73 | end OAI.AlgebraicGeometry.Divisors.LineBundles.Periodic.Localization.BundleCycles |