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.HilbertScheme.Presentations.Noetherian.TargetPrimeSpreading |
| 2 | import Mathlib.AlgebraicGeometry.Pullbacks |
| 3 | |
| 4 | /-! # Prime Point Spreading -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.HilbertScheme.Presentations.Relative.PrimePointSpreading |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Relative scheme points at coefficient primes spread over arbitrary |
| 11 | test rings once the base map factors through a Noetherian affine scheme. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 14 | |
| 15 | universe u |
| 16 | variable {S : Scheme.{u}} {B A : Type u} [CommRing B] [IsNoetherianRing B] |
| 17 | variable [CommRing A] [Algebra B A] |
| 18 | variable (H : Over S) [LocallyOfFiniteType H.hom] |
| 19 | |
| 20 | theorem spread_relative_prime_point |
| 21 | (c : Spec (.of B) ⟶ S) (a : Spec (.of A) ⟶ S) |
| 22 | (ha : Spec.map (CommRingCat.ofHom (algebraMap B A)) ≫ c = a) |
| 23 | (p : Ideal A) [p.IsPrime] (g : Spec (.of (Localization.AtPrime p)) ⟶ H.left) |
| 24 | (hg : g ≫ H.hom = Spec.map (CommRingCat.ofHom (algebraMap A (Localization.AtPrime p))) ≫ a) : |
| 25 | ∃ (s : A) (hs : s ∉ p) (j : Spec (.of (Localization.Away s)) ⟶ H.left), |
| 26 | Spec.map (CommRingCat.ofHom (Principal.PrimeLocalization.principalToPrimeMap p s hs)) ≫ j = g ∧ |
| 27 | j ≫ H.hom = Spec.map (CommRingCat.ofHom (algebraMap A (Localization.Away s))) ≫ a := by |
| 28 | let d : Spec (.of (Localization.AtPrime p)) ⟶ Spec (.of B) := |
| 29 | Spec.map (CommRingCat.ofHom ((algebraMap A (Localization.AtPrime p)).comp (algebraMap B A))) |
| 30 | have hd : d ≫ c = Spec.map (CommRingCat.ofHom (algebraMap A (Localization.AtPrime p))) ≫ a := by |
| 31 | rw [← ha, ← Category.assoc, ← Spec.map_comp] |
| 32 | rfl |
| 33 | let gp : Spec (.of (Localization.AtPrime p)) ⟶ pullback H.hom c := |
| 34 | pullback.lift g d (hg.trans hd.symm) |
| 35 | have hgp : gp ≫ pullback.snd H.hom c = d := pullback.lift_snd _ _ _ |
| 36 | obtain ⟨s, hs, jp, hjp, hjbase⟩ := |
| 37 | Noetherian.TargetPrimeSpreading.spread_prime_point_over_noetherian_affine (pullback.snd H.hom c) p gp hgp |
| 38 | refine ⟨s, hs, jp ≫ pullback.fst H.hom c, ?_, ?_⟩ |
| 39 | · rw [← Category.assoc, hjp] |
| 40 | exact pullback.lift_fst _ _ _ |
| 41 | · rw [Category.assoc, pullback.condition, ← Category.assoc, hjbase] |
| 42 | rw [← ha, ← Category.assoc, ← Spec.map_comp] |
| 43 | rfl |
| 44 | |
| 45 | end |
| 46 | |
| 47 | end OAI.AlgebraicGeometry.HilbertScheme.Presentations.Relative.PrimePointSpreading |