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.IdealSheaf.CarrierBaseChange |
| 2 | import OAI.AlgebraicGeometry.Resolution.Blowups.Smooth.CenterComponents |
| 3 | |
| 4 | /-! # Ambient Carrier Refinement -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.Resolution.Blowups.Integral.AmbientCarrierRefinement.Construction |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | section |
| 11 | |
| 12 | /-! A smooth closed carrier becomes integral on an actual ambient open neighborhood of each of its points. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 15 | |
| 16 | theorem exists_integral_carrier_neighborhood |
| 17 | {X : Scheme} (f : X ⟶ Foundations.Scheme.ProjectiveSpace.complexBase) (H : X.IdealSheafData) [Smooth (H.subschemeι ≫ f)] |
| 18 | (x : X) (hx : x ∈ H.support) : |
| 19 | ∃ U : X.Opens, x ∈ U ∧ IsIntegral (H.comap U.ι).subscheme := by |
| 20 | have hrange : x ∈ Set.range H.subschemeι := by |
| 21 | rw [Scheme.IdealSheafData.range_subschemeι] |
| 22 | exact hx |
| 23 | obtain ⟨y, hy⟩ := hrange |
| 24 | obtain ⟨C, j, hj, hC, _, z, hz⟩ := Open.ImmersionSmoothImage.Construction.smooth_complex_pointed_integral_chart (H.subschemeι ≫ f) y |
| 25 | let : IsOpenImmersion j := hj |
| 26 | let : IsIntegral C := hC |
| 27 | obtain ⟨O, hO, hpre⟩ := H.subschemeι.isClosedEmbedding.isInducing.isOpen_iff.mp j.isOpenEmbedding.isOpen_range |
| 28 | let U : X.Opens := ⟨O, hO⟩ |
| 29 | have hxU : x ∈ U := by |
| 30 | rw [← hy] |
| 31 | change y ∈ H.subschemeι ⁻¹' O |
| 32 | rw [hpre] |
| 33 | exact ⟨z, hz⟩ |
| 34 | let K := H.comap U.ι |
| 35 | let m := IdealSheaf.CarrierBaseChange.Construction.idealSheafCarrierMapTo H K U.ι rfl |
| 36 | have hsub : Set.range m ⊆ Set.range j := by |
| 37 | rintro _ ⟨u, rfl⟩ |
| 38 | rw [← hpre] |
| 39 | change H.subschemeι (m u) ∈ O |
| 40 | have he := congrArg (fun a => a u) (IdealSheaf.CarrierBaseChange.Construction.idealSheafCarrierMapTo_over H K U.ι rfl) |
| 41 | change H.subschemeι (m u) = U.ι (K.subschemeι u) at he |
| 42 | rw [he] |
| 43 | exact (K.subschemeι u).property |
| 44 | let l := IsOpenImmersion.lift j m hsub |
| 45 | have hfac : l ≫ j = m := IsOpenImmersion.lift_fac j m hsub |
| 46 | let : IsOpenImmersion (l ≫ j) := hfac.symm ▸ inferInstanceAs (IsOpenImmersion m) |
| 47 | let : IsOpenImmersion l := IsOpenImmersion.of_comp l j |
| 48 | have hxu : (⟨x, hxU⟩ : U) ∈ Set.range K.subschemeι := by |
| 49 | rw [Scheme.IdealSheafData.range_subschemeι] |
| 50 | change (⟨x, hxU⟩ : U) ∈ (H.comap U.ι).support |
| 51 | rw [Scheme.IdealSheafData.support_comap] |
| 52 | exact hx |
| 53 | obtain ⟨u, _⟩ := hxu |
| 54 | let : Nonempty K.subscheme := ⟨u⟩ |
| 55 | exact ⟨U, hxU, isIntegral_of_isOpenImmersion l⟩ |
| 56 | |
| 57 | end |
| 58 | |
| 59 | /-! Simultaneously refine a smooth ambient scheme and its smooth closed carrier to integral affine data. -/ |
| 60 | |
| 61 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 62 | |
| 63 | theorem exists_integral_affine_ambient_carrier_refinement |
| 64 | {X : Scheme} (f : X ⟶ Foundations.Scheme.ProjectiveSpace.complexBase) [Smooth f] |
| 65 | (H : X.IdealSheafData) [Smooth (H.subschemeι ≫ f)] (x : X) (hx : x ∈ H.support) : |
| 66 | ∃ (R : CommRingCat) (j : Spec R ⟶ X), IsOpenImmersion j ∧ IsIntegral (Spec R) ∧ |
| 67 | IsIntegral (H.comap j).subscheme ∧ ∃ p : PrimeSpectrum R, j p = x := by |
| 68 | obtain ⟨U, hxU, hHU⟩ := exists_integral_carrier_neighborhood f H x hx |
| 69 | let : IsIntegral (H.comap U.ι).subscheme := hHU |
| 70 | obtain ⟨C, a, ha, hC, _, z, hz⟩ := Open.ImmersionSmoothImage.Construction.smooth_complex_pointed_integral_chart (U.ι ≫ f) (⟨x, hxU⟩ : U) |
| 71 | let : IsOpenImmersion a := ha |
| 72 | let : IsIntegral C := hC |
| 73 | obtain ⟨R, c, hc, p, hp⟩ := Scheme.exists_Spec_apply_eq z |
| 74 | let : IsOpenImmersion c := hc |
| 75 | let : Nonempty (Spec R) := ⟨p⟩ |
| 76 | let j0 := c ≫ a |
| 77 | let j := j0 ≫ U.ι |
| 78 | have hjpoint : j p = x := by |
| 79 | change U.ι (a (c p)) = x |
| 80 | rw [hp, hz] |
| 81 | rfl |
| 82 | have hpoint : j0 p ∈ (H.comap U.ι).support := by |
| 83 | rw [Scheme.IdealSheafData.support_comap] |
| 84 | change j p ∈ H.support |
| 85 | rwa [hjpoint] |
| 86 | have hcarrier : IsIntegral (H.comap j).subscheme := by |
| 87 | rw [Scheme.IdealSheafData.comap_comp] |
| 88 | exact IdealSheaf.CarrierBaseChange.Construction.idealSheaf_comap_subscheme_isIntegral (H.comap U.ι) j0 p hpoint |
| 89 | exact ⟨R, j, inferInstance, isIntegral_of_isOpenImmersion c, hcarrier, p, hjpoint⟩ |
| 90 | |
| 91 | end |
| 92 | |
| 93 | end OAI.AlgebraicGeometry.Resolution.Blowups.Integral.AmbientCarrierRefinement.Construction |