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.Resolution.Blowups.Boundary.LocalSmoothness |
| 2 | |
| 3 | /-! # Pointed Open Smoothness -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.Resolution.Blowups.Quotient.PointedOpenSmoothness.Construction |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Smoothness of a quotient can be checked only at points on its actual closed center. -/ |
| 10 | |
| 11 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 12 | |
| 13 | universe u |
| 14 | |
| 15 | theorem smooth_quotient_of_pointed_open_charts |
| 16 | (k : Type u) [CommRing k] {R : Type u} [CommRing R] [Algebra k R] (I : Ideal R) |
| 17 | (hlocal : ∀ p : PrimeSpectrum R, I ≤ p.asIdeal → |
| 18 | ∃ (S : CommRingCat.{u}) (_ : Algebra k S) (φ : R →ₐ[k] S), |
| 19 | IsOpenImmersion (Spec.map (CommRingCat.ofHom φ.toRingHom)) ∧ |
| 20 | ∃ q : PrimeSpectrum S, PrimeSpectrum.comap φ.toRingHom q = p ∧ |
| 21 | Algebra.Smooth k (S ⧸ I.map φ.toRingHom)) : |
| 22 | Algebra.Smooth k (R ⧸ I) := by |
| 23 | let Q := R ⧸ I |
| 24 | let pR (p : PrimeSpectrum Q) := PrimeSpectrum.comap (Ideal.Quotient.mk I) p |
| 25 | have hI (p : PrimeSpectrum Q) : I ≤ (pR p).asIdeal := by |
| 26 | intro x hx |
| 27 | change Ideal.Quotient.mk I x ∈ p.asIdeal |
| 28 | rw [Ideal.Quotient.eq_zero_iff_mem.mpr hx] |
| 29 | exact p.asIdeal.zero_mem |
| 30 | choose S alg φ hopen q hq hs using fun p : PrimeSpectrum Q => hlocal (pR p) (hI p) |
| 31 | let : ∀ p, Algebra k (S p) := alg |
| 32 | let : ∀ p, Algebra R (S p) := fun p => (φ p).toRingHom.toAlgebra |
| 33 | let : ∀ p, IsScalarTower k R (S p) := fun p => |
| 34 | IsScalarTower.of_algebraMap_eq (fun x => ((φ p).commutes x).symm) |
| 35 | let T (p : PrimeSpectrum Q) := S p ⧸ I.map (algebraMap R (S p)) |
| 36 | let : ∀ p, IsScalarTower k Q (T p) := fun _ => Blowups.Smooth.TransformedCoordinateHypersurface.Construction.extendedQuotient_scalarTower I |
| 37 | let c := Spec.map (CommRingCat.ofHom (Ideal.Quotient.mk I)) |
| 38 | let f := Spec.map (CommRingCat.ofHom (algebraMap k Q)) |
| 39 | let r (p : PrimeSpectrum Q) := Spec.map (CommRingCat.ofHom (algebraMap R (S p))) |
| 40 | let j (p : PrimeSpectrum Q) := Spec.map (CommRingCat.ofHom (algebraMap Q (T p))) |
| 41 | let g (p : PrimeSpectrum Q) := Spec.map (CommRingCat.ofHom (Ideal.Quotient.mk (I.map (algebraMap R (S p))))) |
| 42 | let : ∀ p, IsOpenImmersion (r p) := hopen |
| 43 | have hpb (p : PrimeSpectrum Q) : IsPullback (j p) (g p) c (r p) := |
| 44 | Affine.QuotientBaseChange.Construction.affineQuotient_baseChange_isPullback (S := S p) I |
| 45 | let : ∀ p, IsOpenImmersion (j p) := fun p => |
| 46 | MorphismProperty.of_isPullback (P := @IsOpenImmersion) (hpb p).flip inferInstance |
| 47 | have hcover : ⨆ p, (j p).opensRange = ⊤ := by |
| 48 | apply top_le_iff.mp |
| 49 | intro p _ |
| 50 | change PrimeSpectrum Q at p |
| 51 | apply TopologicalSpace.Opens.mem_iSup.mpr |
| 52 | refine ⟨p, ?_⟩ |
| 53 | rw [SupportedBlowupSmoothGluing.Construction.opensRange_of_open_pullback (j p) (g p) c (r p) (hpb p)] |
| 54 | exact ⟨q p, hq p⟩ |
| 55 | have hlocal' (p : PrimeSpectrum Q) : Smooth (j p ≫ f) := by |
| 56 | have ht : Algebra.Smooth k (T p) := hs p |
| 57 | rw [← Spec.map_comp] |
| 58 | have he : CommRingCat.ofHom (algebraMap k Q) ≫ CommRingCat.ofHom (algebraMap Q (T p)) = |
| 59 | CommRingCat.ofHom (algebraMap k (T p)) := by |
| 60 | ext x |
| 61 | exact (IsScalarTower.algebraMap_apply k Q (T p) x).symm |
| 62 | rw [he] |
| 63 | exact (HasRingHomProperty.Spec_iff (P := @Smooth)).mpr (RingHom.smooth_algebraMap.mpr ht) |
| 64 | have hf : Smooth f := by |
| 65 | let : IsZariskiLocalAtSource @AlgebraicGeometry.Smooth.{u} := |
| 66 | HasRingHomProperty.instIsZariskiLocalAtSource (Q := @RingHom.Smooth) |
| 67 | apply IsZariskiLocalAtSource.of_iSup_eq_top (P := @Smooth) (fun p => (j p).opensRange) hcover |
| 68 | intro p |
| 69 | let : Smooth (j p ≫ f) := hlocal' p |
| 70 | exact SupportedBlowupSmoothGluing.Construction.smooth_on_opensRange_of_open_immersion f (j p) |
| 71 | exact RingHom.smooth_algebraMap.mp ((HasRingHomProperty.Spec_iff (P := @Smooth)).mp hf) |
| 72 | |
| 73 | end |
| 74 | |
| 75 | end OAI.AlgebraicGeometry.Resolution.Blowups.Quotient.PointedOpenSmoothness.Construction |