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.Integral.SchemeImage |
| 2 | import OAI.AlgebraicGeometry.Resolution.Blowups.Global.PointedSmoothCenter |
| 3 | import OAI.AlgebraicGeometry.Resolution.Blowups.Open.IdealSheafBaseChange |
| 4 | import OAI.AlgebraicGeometry.Resolution.Blowups.Smooth.IntegralOpenCover |
| 5 | |
| 6 | /-! # Immersion Smooth Image -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.Resolution.Blowups.Open.ImmersionSmoothImage.Construction |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! The scheme image of an open immersion into a smooth complex scheme is smooth. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 15 | |
| 16 | universe u v |
| 17 | |
| 18 | theorem openImmersion_kernel_dichotomy {V X : Scheme.{u}} |
| 19 | (j : V ⟶ X) [IsOpenImmersion j] [IsIntegral X] : j.ker = ⊥ ∨ j.ker = ⊤ := by |
| 20 | by_cases hv : Nonempty V |
| 21 | · let : Nonempty V := hv |
| 22 | let : IsDominant j := ⟨j.isOpenEmbedding.isOpen_range.dense (Set.range_nonempty j)⟩ |
| 23 | let : IsSchemeTheoreticallyDominant j := IsSchemeTheoreticallyDominant.of_isDominant j |
| 24 | exact Or.inl j.ker_eq_bot |
| 25 | · let : IsEmpty V := not_nonempty_iff.mp hv |
| 26 | exact Or.inr (Scheme.ker_eq_top_of_isEmpty j) |
| 27 | |
| 28 | theorem openImmersion_image_smooth_of_integral_open_cover |
| 29 | {V X B : Scheme.{u}} (j : V ⟶ X) [IsOpenImmersion j] [QuasiCompact j] (f : X ⟶ B) |
| 30 | {ι : Type v} (C : ι → Scheme.{u}) (a : ∀ t, C t ⟶ X) |
| 31 | [∀ t, IsOpenImmersion (a t)] [∀ t, IsIntegral (C t)] [∀ t, Smooth (a t ≫ f)] |
| 32 | (hcover : ⨆ t, (a t).opensRange = ⊤) : Smooth (j.imageι ≫ f) := by |
| 33 | apply Global.PointedSmoothCenter.Construction.idealSheaf_subscheme_smooth_of_open_charts j.ker f C a hcover |
| 34 | intro t |
| 35 | have hk := IdealSheafBaseChange.Construction.kernel_comap_of_open_pullback j (pullback.fst (a t) j) (pullback.snd (a t) j) |
| 36 | (a t) (IsPullback.of_hasPullback (a t) j) |
| 37 | rw [hk] |
| 38 | rcases openImmersion_kernel_dichotomy (pullback.fst (a t) j) with hz | ht |
| 39 | · rw [hz] |
| 40 | infer_instance |
| 41 | · rw [ht] |
| 42 | infer_instance |
| 43 | |
| 44 | theorem smooth_complex_pointed_integral_chart {X : Scheme} |
| 45 | (f : X ⟶ Foundations.Scheme.ProjectiveSpace.complexBase) [Smooth f] (x : X) : |
| 46 | ∃ (C : Scheme) (a : C ⟶ X), IsOpenImmersion a ∧ IsIntegral C ∧ |
| 47 | Smooth (a ≫ f) ∧ ∃ q : C, a q = x := by |
| 48 | obtain ⟨_, ⟨U, hU, rfl⟩, hxU, _⟩ := |
| 49 | X.isBasis_affineOpens.exists_subset_of_mem_open (Set.mem_univ x) isOpen_univ |
| 50 | let A : X.affineOpens := ⟨U, hU⟩ |
| 51 | let : Algebra ℂ Γ(X, A) := Blowups.Smooth.DifferentialIdealSheaf.Construction.affineComplexAlgebra f A |
| 52 | let : Algebra.Smooth ℂ Γ(X, A) := Blowups.Smooth.DifferentialIdealSheaf.Construction.affineComplexAlgebra_smooth f A |
| 53 | let : IsOpenImmersion A.2.fromSpec := A.2.isOpenImmersion_fromSpec |
| 54 | have hx : x ∈ A.2.fromSpec.opensRange := by |
| 55 | rw [A.2.opensRange_fromSpec] |
| 56 | exact hxU |
| 57 | obtain ⟨p, hp⟩ := hx |
| 58 | obtain ⟨C, q, hq⟩ := Blowups.Smooth.IntegralOpenCover.Construction.smooth_integral_open_chart_at ℂ p |
| 59 | change PrimeSpectrum.comap C.map.toRingHom q = p at hq |
| 60 | let a := Spec.map (CommRingCat.ofHom C.map.toRingHom) ≫ A.2.fromSpec |
| 61 | refine ⟨Spec C.carrier, a, inferInstance, inferInstance, inferInstance, q, ?_⟩ |
| 62 | change A.2.fromSpec (PrimeSpectrum.comap C.map.toRingHom q) = x |
| 63 | rw [hq] |
| 64 | exact hp |
| 65 | |
| 66 | theorem openImmersion_image_smooth_complex {V X : Scheme} |
| 67 | (j : V ⟶ X) [IsOpenImmersion j] [QuasiCompact j] |
| 68 | (f : X ⟶ Foundations.Scheme.ProjectiveSpace.complexBase) [Smooth f] : Smooth (j.imageι ≫ f) := by |
| 69 | classical |
| 70 | choose C a ha hC hs q hq using smooth_complex_pointed_integral_chart f |
| 71 | let : ∀ x, IsOpenImmersion (a x) := ha |
| 72 | let : ∀ x, IsIntegral (C x) := hC |
| 73 | let : ∀ x, Smooth (a x ≫ f) := hs |
| 74 | apply openImmersion_image_smooth_of_integral_open_cover j f C a |
| 75 | apply top_le_iff.mp |
| 76 | intro x _ |
| 77 | exact TopologicalSpace.Opens.mem_iSup.mpr ⟨x, q x, hq x⟩ |
| 78 | |
| 79 | end |
| 80 | |
| 81 | end OAI.AlgebraicGeometry.Resolution.Blowups.Open.ImmersionSmoothImage.Construction |