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.Foundations.Scheme.SmoothLocalDomain |
| 2 | import OAI.AlgebraicGeometry.Foundations.Scheme.AffineOpenSmooth |
| 3 | import OAI.AlgebraicGeometry.Foundations.Scheme.SmoothProjectiveComponents |
| 4 | |
| 5 | /-! # Smooth Projective Decomposition -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.Foundations.Scheme |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! |
| 12 | # Finite integral decomposition of arbitrary smooth projective schemes |
| 13 | |
| 14 | The local-domain property is proved from smoothness over a field through |
| 15 | the actual affine localization of each stalk. The resulting components |
| 16 | are the genuine open and closed irreducible components, with inherited |
| 17 | smooth complex structure maps and closed projective embeddings. |
| 18 | -/ |
| 19 | |
| 20 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry _root_.TopologicalSpace Set |
| 21 | |
| 22 | universe u |
| 23 | |
| 24 | /-- Every actual local ring of a scheme smooth over a field is a domain. -/ |
| 25 | theorem SmoothProjectiveDecomposition.smoothScheme_stalk_isDomain {K : Type u} [Field K] {X : Scheme.{u}} |
| 26 | (f : X ⟶ Spec (.of K)) [Smooth f] (x : X) : |
| 27 | IsDomain (X.presheaf.stalk x) := by |
| 28 | obtain ⟨_, ⟨U, hU, rfl⟩, hxU, -⟩ := |
| 29 | X.isBasis_affineOpens.exists_subset_of_mem_open (Set.mem_univ x) isOpen_univ |
| 30 | let := SpecScalarTransport.specSectionScalarAlgebra f U |
| 31 | let := AffineOpenSmooth.specSectionScalarAlgebra_smooth f U hU |
| 32 | let := X.presheaf.algebra_section_stalk ⟨x, hxU⟩ |
| 33 | let := hU.isLocalization_stalk ⟨x, hxU⟩ |
| 34 | let p := (hU.primeIdealOf ⟨x, hxU⟩).asIdeal |
| 35 | exact SmoothLocalDomain.isDomain_of_isLocalizationAtPrime_of_smooth K Γ(X, U) (X.presheaf.stalk x) p |
| 36 | |
| 37 | /-- In particular, a scheme smooth over a field is reduced. -/ |
| 38 | theorem SmoothProjectiveDecomposition.smoothScheme_isReduced {K : Type u} [Field K] {X : Scheme.{u}} |
| 39 | (f : X ⟶ Spec (.of K)) [Smooth f] : IsReduced X := |
| 40 | LocalDomainComponents.isReduced_of_stalkDomains (SmoothProjectiveDecomposition.smoothScheme_stalk_isDomain f) |
| 41 | |
| 42 | variable (P : SmoothProjective.SmoothProjectivePresentation) |
| 43 | |
| 44 | /-- Smoothness supplies the actual local-domain property required by the |
| 45 | finite irreducible-component construction. -/ |
| 46 | theorem SmoothProjective.SmoothProjectivePresentation.stalk_isDomain (x : P.carrier) : IsDomain (P.carrier.presheaf.stalk x) := |
| 47 | SmoothProjectiveDecomposition.smoothScheme_stalk_isDomain P.structureMap x |
| 48 | |
| 49 | /-- Every smooth projective presentation is reduced, including disconnected |
| 50 | and empty presentations. -/ |
| 51 | instance SmoothProjective.SmoothProjectivePresentation.isReduced : IsReduced P.carrier := |
| 52 | SmoothProjectiveDecomposition.smoothScheme_isReduced P.structureMap |
| 53 | |
| 54 | /-- The genuine irreducible component as an open subset of the original scheme. -/ |
| 55 | def SmoothProjective.SmoothProjectivePresentation.componentOpen (C : irreducibleComponents P.carrier) : P.carrier.Opens := |
| 56 | P.componentOpenOfStalkDomains P.stalk_isDomain C |
| 57 | |
| 58 | @[simp] |
| 59 | theorem SmoothProjective.SmoothProjectivePresentation.componentOpen_coe (C : irreducibleComponents P.carrier) : |
| 60 | (P.componentOpen C : Set P.carrier) = C.val := rfl |
| 61 | |
| 62 | /-- Each irreducible component is itself a genuine integral smooth projective |
| 63 | complex variety. No connectedness, normality, or local-domain assumption is added. -/ |
| 64 | def SmoothProjective.SmoothProjectivePresentation.componentVariety (C : irreducibleComponents P.carrier) : IntegralProjective.IntegralProjectiveVariety := |
| 65 | P.componentVarietyOfStalkDomains P.stalk_isDomain C |
| 66 | |
| 67 | /-- Inclusion of the actual integral component into the original presentation. -/ |
| 68 | abbrev SmoothProjective.SmoothProjectivePresentation.componentInclusion (C : irreducibleComponents P.carrier) : |
| 69 | (P.componentVariety C).carrier ⟶ P.carrier := |
| 70 | P.componentInclusionOfStalkDomains P.stalk_isDomain C |
| 71 | |
| 72 | instance SmoothProjective.SmoothProjectivePresentation.componentInclusion_isOpenImmersion (C : irreducibleComponents P.carrier) : |
| 73 | IsOpenImmersion (P.componentInclusion C) := |
| 74 | P.componentInclusionOfStalkDomains_isOpenImmersion P.stalk_isDomain C |
| 75 | |
| 76 | instance SmoothProjective.SmoothProjectivePresentation.componentInclusion_isClosedImmersion (C : irreducibleComponents P.carrier) : |
| 77 | IsClosedImmersion (P.componentInclusion C) := |
| 78 | P.componentOpenOfStalkDomains_ι_isClosedImmersion P.stalk_isDomain C |
| 79 | |
| 80 | /-- The component inclusion respects the given complex structure map. -/ |
| 81 | @[reassoc] |
| 82 | theorem SmoothProjective.SmoothProjectivePresentation.componentInclusion_over (C : irreducibleComponents P.carrier) : |
| 83 | P.componentInclusion C ≫ P.structureMap = (P.componentVariety C).structureMap := rfl |
| 84 | |
| 85 | @[simp] |
| 86 | theorem SmoothProjective.SmoothProjectivePresentation.componentInclusion_range (C : irreducibleComponents P.carrier) : |
| 87 | Set.range (P.componentInclusion C) = C.val := |
| 88 | P.componentInclusionOfStalkDomains_range P.stalk_isDomain C |
| 89 | |
| 90 | /-- An arbitrary smooth projective presentation is the finite disjoint union |
| 91 | of its actual integral components. -/ |
| 92 | def SmoothProjective.SmoothProjectivePresentation.componentCoproductIso : |
| 93 | (∐ fun C => (P.componentVariety C).carrier) ≅ P.carrier := |
| 94 | P.componentCoproductIsoOfStalkDomains P.stalk_isDomain |
| 95 | |
| 96 | /-- The coproduct isomorphism carries each summand by its original component |
| 97 | inclusion, supplying the naturality square for restriction to components. -/ |
| 98 | @[reassoc (attr := simp)] |
| 99 | theorem SmoothProjective.SmoothProjectivePresentation.componentCoproductIso_ι_hom (C : irreducibleComponents P.carrier) : |
| 100 | Sigma.ι (fun C => (P.componentVariety C).carrier) C ≫ P.componentCoproductIso.hom = |
| 101 | P.componentInclusion C := by |
| 102 | change Sigma.ι (fun C => (P.componentVariety C).carrier) C ≫ |
| 103 | Sigma.desc P.componentInclusion = P.componentInclusion C |
| 104 | exact Sigma.ι_comp_desc P.componentInclusion C |
| 105 | |
| 106 | /-- The component decomposition commutes with the structure map to `Spec ℂ`. -/ |
| 107 | @[reassoc] |
| 108 | theorem SmoothProjective.SmoothProjectivePresentation.componentCoproductIso_over : |
| 109 | P.componentCoproductIso.hom ≫ P.structureMap = |
| 110 | Sigma.desc (fun C => (P.componentVariety C).structureMap) := |
| 111 | P.componentCoproductIsoOfStalkDomains_over P.stalk_isDomain |
| 112 | |
| 113 | /-- The same finite component decomposition as an isomorphism over the |
| 114 | complex base, preserving the given scalar structure. -/ |
| 115 | def SmoothProjective.SmoothProjectivePresentation.componentCoproductOverIso : |
| 116 | Over.mk (Sigma.desc (fun C => (P.componentVariety C).structureMap)) ≅ P.toOver := |
| 117 | Over.isoMk P.componentCoproductIso P.componentCoproductIso_over |
| 118 | |
| 119 | end |
| 120 | |
| 121 | end OAI.AlgebraicGeometry.Foundations.Scheme |