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.LocalDomainComponents |
| 2 | import OAI.AlgebraicGeometry.Foundations.Scheme.ClosedProjective |
| 3 | import OAI.AlgebraicGeometry.Foundations.Scheme.IntegralProjective |
| 4 | import Mathlib.AlgebraicGeometry.Limits |
| 5 | |
| 6 | /-! # Smooth Projective Components -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.Foundations.Scheme |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! |
| 13 | # Integral components once local-domain regularity is established |
| 14 | |
| 15 | This file constructs the actual finite disjoint decomposition of a smooth |
| 16 | projective presentation, assuming explicitly that its local rings are |
| 17 | domains. Discharging that local-domain hypothesis from smoothness is a |
| 18 | separate algebraic theorem; this file does not assume it in the definition |
| 19 | of a smooth projective presentation or in a Hodge target. |
| 20 | -/ |
| 21 | |
| 22 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry _root_.TopologicalSpace Set |
| 23 | open scoped Function |
| 24 | |
| 25 | variable (P : SmoothProjective.SmoothProjectivePresentation) |
| 26 | |
| 27 | /-- A projective presentation has only finitely many irreducible components. -/ |
| 28 | instance SmoothProjective.SmoothProjectivePresentation.finite_componentIndex : Finite (irreducibleComponents P.carrier) := |
| 29 | (finite_irreducibleComponents_of_isNoetherian (X := P.carrier)).to_subtype |
| 30 | |
| 31 | variable (hlocal : ∀ x : P.carrier, IsDomain (P.carrier.presheaf.stalk x)) |
| 32 | |
| 33 | /-- An irreducible component as its actual open subset, once domain stalks |
| 34 | have established that distinct components are disjoint. -/ |
| 35 | def SmoothProjective.SmoothProjectivePresentation.componentOpenOfStalkDomains (C : irreducibleComponents P.carrier) : P.carrier.Opens := |
| 36 | ⟨C.val, LocalDomainComponents.isOpen_irreducibleComponent_of_stalkDomains hlocal |
| 37 | (finite_irreducibleComponents_of_isNoetherian (X := P.carrier)) C.property⟩ |
| 38 | |
| 39 | @[simp] |
| 40 | theorem SmoothProjective.SmoothProjectivePresentation.componentOpenOfStalkDomains_coe (C : irreducibleComponents P.carrier) : |
| 41 | (P.componentOpenOfStalkDomains hlocal C : Set P.carrier) = C.val := rfl |
| 42 | |
| 43 | /-- The actual open component is integral: it is irreducible and inherits |
| 44 | reducedness, which follows from the domain local rings. -/ |
| 45 | instance SmoothProjective.SmoothProjectivePresentation.componentOpenOfStalkDomains_isIntegral (C : irreducibleComponents P.carrier) : |
| 46 | IsIntegral (P.componentOpenOfStalkDomains hlocal C).toScheme := by |
| 47 | let : IsReduced P.carrier := LocalDomainComponents.isReduced_of_stalkDomains hlocal |
| 48 | let : IrreducibleSpace (P.componentOpenOfStalkDomains hlocal C).toScheme := |
| 49 | isIrreducible_iff_irreducibleSpace.mp C.property.1 |
| 50 | exact isIntegral_of_irreducibleSpace_of_isReduced _ |
| 51 | |
| 52 | /-- Inclusion of an open irreducible component is also a closed immersion. -/ |
| 53 | instance SmoothProjective.SmoothProjectivePresentation.componentOpenOfStalkDomains_ι_isClosedImmersion |
| 54 | (C : irreducibleComponents P.carrier) : |
| 55 | IsClosedImmersion (P.componentOpenOfStalkDomains hlocal C).ι := by |
| 56 | apply IsClosedImmersion.of_isPreimmersion |
| 57 | rw [Scheme.Opens.range_ι] |
| 58 | exact isClosed_of_mem_irreducibleComponents C.val C.property |
| 59 | |
| 60 | /-- Every component inherits the actual smooth structure map and the actual |
| 61 | closed projective embedding from the original presentation. -/ |
| 62 | def SmoothProjective.SmoothProjectivePresentation.componentVarietyOfStalkDomains (C : irreducibleComponents P.carrier) : |
| 63 | IntegralProjective.IntegralProjectiveVariety := |
| 64 | IntegralProjective.IntegralProjectiveVariety.ofClosedImmersion |
| 65 | ((P.componentOpenOfStalkDomains hlocal C).ι ≫ P.structureMap) |
| 66 | P.ambientDimension ((P.componentOpenOfStalkDomains hlocal C).ι ≫ P.embedding) |
| 67 | (by infer_instance) |
| 68 | (by rw [Category.assoc, P.embedding_over]) |
| 69 | (by infer_instance) (by infer_instance) |
| 70 | |
| 71 | /-- The component inclusion is the genuine open-subscheme inclusion. -/ |
| 72 | abbrev SmoothProjective.SmoothProjectivePresentation.componentInclusionOfStalkDomains (C : irreducibleComponents P.carrier) : |
| 73 | (P.componentVarietyOfStalkDomains hlocal C).carrier ⟶ P.carrier := |
| 74 | (P.componentOpenOfStalkDomains hlocal C).ι |
| 75 | |
| 76 | instance SmoothProjective.SmoothProjectivePresentation.componentInclusionOfStalkDomains_isOpenImmersion |
| 77 | (C : irreducibleComponents P.carrier) : |
| 78 | IsOpenImmersion (P.componentInclusionOfStalkDomains hlocal C) := by |
| 79 | change IsOpenImmersion (P.componentOpenOfStalkDomains hlocal C).ι |
| 80 | infer_instance |
| 81 | |
| 82 | /-- The component inclusion preserves the original complex structure map. -/ |
| 83 | @[reassoc] |
| 84 | theorem SmoothProjective.SmoothProjectivePresentation.componentInclusionOfStalkDomains_over (C : irreducibleComponents P.carrier) : |
| 85 | P.componentInclusionOfStalkDomains hlocal C ≫ P.structureMap = |
| 86 | (P.componentVarietyOfStalkDomains hlocal C).structureMap := rfl |
| 87 | |
| 88 | /-- Its range is exactly the chosen irreducible component. -/ |
| 89 | @[simp] |
| 90 | theorem SmoothProjective.SmoothProjectivePresentation.componentInclusionOfStalkDomains_range (C : irreducibleComponents P.carrier) : |
| 91 | Set.range (P.componentInclusionOfStalkDomains hlocal C) = C.val := |
| 92 | (P.componentOpenOfStalkDomains hlocal C).range_ι |
| 93 | |
| 94 | /-- The actual component inclusions cover the whole scheme. -/ |
| 95 | theorem SmoothProjective.SmoothProjectivePresentation.componentInclusionsOfStalkDomains_iSup : |
| 96 | (⨆ C, (P.componentInclusionOfStalkDomains hlocal C).opensRange) = ⊤ := by |
| 97 | apply top_unique |
| 98 | intro x _ |
| 99 | apply TopologicalSpace.Opens.mem_iSup.mpr |
| 100 | refine ⟨⟨irreducibleComponent x, irreducibleComponent_mem_irreducibleComponents x⟩, ?_⟩ |
| 101 | exact ⟨⟨x, mem_irreducibleComponent⟩, rfl⟩ |
| 102 | |
| 103 | /-- The actual component inclusions have pairwise disjoint ranges. -/ |
| 104 | theorem SmoothProjective.SmoothProjectivePresentation.componentInclusionsOfStalkDomains_disjoint : |
| 105 | Pairwise (Disjoint on |
| 106 | (fun C => (P.componentInclusionOfStalkDomains hlocal C).opensRange)) := by |
| 107 | intro C D hCD |
| 108 | change Disjoint (P.componentInclusionOfStalkDomains hlocal C).opensRange |
| 109 | (P.componentInclusionOfStalkDomains hlocal D).opensRange |
| 110 | rw [← TopologicalSpace.Opens.coe_disjoint] |
| 111 | change Disjoint (Set.range (P.componentInclusionOfStalkDomains hlocal C)) |
| 112 | (Set.range (P.componentInclusionOfStalkDomains hlocal D)) |
| 113 | rw [P.componentInclusionOfStalkDomains_range, P.componentInclusionOfStalkDomains_range] |
| 114 | exact LocalDomainComponents.irreducibleComponents_disjoint_of_stalkDomains hlocal C.property D.property |
| 115 | (fun h => hCD (Subtype.ext h)) |
| 116 | |
| 117 | /-- These genuine integral components exhibit the original scheme as their |
| 118 | categorical disjoint union. -/ |
| 119 | theorem SmoothProjective.SmoothProjectivePresentation.componentCofanOfStalkDomains_isColimit : |
| 120 | Nonempty (IsColimit (Cofan.mk P.carrier (P.componentInclusionOfStalkDomains hlocal))) := |
| 121 | AlgebraicGeometry.nonempty_isColimit_cofanMk_of _ |
| 122 | (P.componentInclusionsOfStalkDomains_iSup hlocal) |
| 123 | (P.componentInclusionsOfStalkDomains_disjoint hlocal) |
| 124 | |
| 125 | /-- The canonical finite disjoint-union morphism from the integral components |
| 126 | is an actual scheme isomorphism. -/ |
| 127 | def SmoothProjective.SmoothProjectivePresentation.componentCoproductIsoOfStalkDomains : |
| 128 | (∐ fun C => (P.componentVarietyOfStalkDomains hlocal C).carrier) ≅ P.carrier := by |
| 129 | letI : IsIso (Sigma.desc (P.componentInclusionOfStalkDomains hlocal)) := |
| 130 | (Cofan.nonempty_isColimit_iff_isIso_sigmaDesc |
| 131 | (Cofan.mk P.carrier (P.componentInclusionOfStalkDomains hlocal))).mp |
| 132 | (P.componentCofanOfStalkDomains_isColimit hlocal) |
| 133 | exact asIso (Sigma.desc (P.componentInclusionOfStalkDomains hlocal)) |
| 134 | |
| 135 | /-- The disjoint-union isomorphism is compatible with the complex base map. -/ |
| 136 | @[reassoc] |
| 137 | theorem SmoothProjective.SmoothProjectivePresentation.componentCoproductIsoOfStalkDomains_over : |
| 138 | (P.componentCoproductIsoOfStalkDomains hlocal).hom ≫ P.structureMap = |
| 139 | Sigma.desc (fun C => (P.componentVarietyOfStalkDomains hlocal C).structureMap) := by |
| 140 | apply Sigma.hom_ext |
| 141 | intro C |
| 142 | change Sigma.ι (fun C => (P.componentVarietyOfStalkDomains hlocal C).carrier) C ≫ |
| 143 | Sigma.desc (P.componentInclusionOfStalkDomains hlocal) ≫ P.structureMap = _ |
| 144 | rw [Sigma.ι_comp_desc_assoc, Sigma.ι_comp_desc] |
| 145 | rfl |
| 146 | |
| 147 | end |
| 148 | |
| 149 | end OAI.AlgebraicGeometry.Foundations.Scheme |