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.SmoothProjectiveDecomposition |
| 2 | import OAI.AlgebraicGeometry.ComplexPoints.Analytic.ProjectiveComponent |
| 3 | import OAI.AlgebraicTopology.Cohomology.Singular.FiniteCoproduct |
| 4 | import OAI.AlgebraicGeometry.Betti.Scheme |
| 5 | |
| 6 | /-! # Components -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.Comparison.Betti.Smooth.Components |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! |
| 13 | # Integral components of arbitrary smooth finite-type complex schemes |
| 14 | |
| 15 | Smoothness gives domain stalks. Noetherianity makes the irreducible |
| 16 | components finite, open, closed and disjoint. Their actual point spaces |
| 17 | therefore decompose ordinary singular cohomology by genuine restrictions. |
| 18 | -/ |
| 19 | |
| 20 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry _root_.TopologicalSpace Set |
| 21 | |
| 22 | variable (X : Over Foundations.Scheme.ProjectiveSpace.complexBase) [Smooth X.hom] [QuasiCompact X.hom] |
| 23 | |
| 24 | instance smoothFiniteTypeNoetherian : IsNoetherian X.left := by |
| 25 | have : IsLocallyNoetherian Foundations.Scheme.ProjectiveSpace.complexBase := inferInstanceAs (IsLocallyNoetherian (Spec (.of ℂ))) |
| 26 | have : CompactSpace Foundations.Scheme.ProjectiveSpace.complexBase := inferInstanceAs (CompactSpace (PrimeSpectrum ℂ)) |
| 27 | have : CompactSpace X.left := QuasiCompact.compactSpace_of_compactSpace X.hom |
| 28 | exact { __ := LocallyOfFiniteType.isLocallyNoetherian X.hom } |
| 29 | |
| 30 | instance finiteComponents : Finite (irreducibleComponents X.left) := |
| 31 | (finite_irreducibleComponents_of_isNoetherian (X := X.left)).to_subtype |
| 32 | |
| 33 | def componentOpen (C : irreducibleComponents X.left) : X.left.Opens := |
| 34 | ⟨C.val, Foundations.Scheme.LocalDomainComponents.isOpen_irreducibleComponent_of_stalkDomains |
| 35 | (Foundations.Scheme.SmoothProjectiveDecomposition.smoothScheme_stalk_isDomain X.hom) |
| 36 | (finite_irreducibleComponents_of_isNoetherian (X := X.left)) C.property⟩ |
| 37 | |
| 38 | instance componentIntegral (C : irreducibleComponents X.left) : |
| 39 | IsIntegral (componentOpen X C).toScheme := by |
| 40 | have : IsReduced X.left := Foundations.Scheme.SmoothProjectiveDecomposition.smoothScheme_isReduced X.hom |
| 41 | have : IrreducibleSpace (componentOpen X C).toScheme := |
| 42 | isIrreducible_iff_irreducibleSpace.mp C.property.1 |
| 43 | exact isIntegral_of_irreducibleSpace_of_isReduced _ |
| 44 | |
| 45 | def componentOver (C : irreducibleComponents X.left) : Over Foundations.Scheme.ProjectiveSpace.complexBase := |
| 46 | Over.mk ((componentOpen X C).ι ≫ X.hom) |
| 47 | |
| 48 | def componentInclusion (C : irreducibleComponents X.left) : componentOver X C ⟶ X := |
| 49 | Over.homMk (componentOpen X C).ι rfl |
| 50 | |
| 51 | instance componentInclusionOpen (C : irreducibleComponents X.left) : |
| 52 | IsOpenImmersion (componentInclusion X C).left := |
| 53 | inferInstanceAs (IsOpenImmersion (componentOpen X C).ι) |
| 54 | |
| 55 | instance componentInclusionClosed (C : irreducibleComponents X.left) : |
| 56 | IsClosedImmersion (componentInclusion X C).left := by |
| 57 | change IsClosedImmersion (componentOpen X C).ι |
| 58 | apply IsClosedImmersion.of_isPreimmersion |
| 59 | rw [Scheme.Opens.range_ι] |
| 60 | exact isClosed_of_mem_irreducibleComponents C.val C.property |
| 61 | |
| 62 | instance componentOverIntegral (C : irreducibleComponents X.left) : |
| 63 | IsIntegral (componentOver X C).left := componentIntegral X C |
| 64 | |
| 65 | instance componentOverSmooth (C : irreducibleComponents X.left) : |
| 66 | Smooth (componentOver X C).hom := by |
| 67 | change Smooth ((componentOpen X C).ι ≫ X.hom) |
| 68 | infer_instance |
| 69 | |
| 70 | instance componentOverQuasiCompact (C : irreducibleComponents X.left) : |
| 71 | QuasiCompact (componentOver X C).hom := by |
| 72 | change QuasiCompact ((componentInclusion X C).left ≫ X.hom) |
| 73 | infer_instance |
| 74 | |
| 75 | instance componentOverSeparated [IsSeparated X.hom] (C : irreducibleComponents X.left) : |
| 76 | IsSeparated (componentOver X C).hom := by |
| 77 | change IsSeparated ((componentInclusion X C).left ≫ X.hom) |
| 78 | infer_instance |
| 79 | |
| 80 | theorem componentInclusion_range (C : irreducibleComponents X.left) : |
| 81 | Set.range (componentInclusion X C).left = C.val := (componentOpen X C).range_ι |
| 82 | |
| 83 | theorem componentInclusions_cover (x : X.left) : |
| 84 | ∃ C : irreducibleComponents X.left, x ∈ Set.range (componentInclusion X C).left := by |
| 85 | refine ⟨⟨irreducibleComponent x, irreducibleComponent_mem_irreducibleComponents x⟩, ?_⟩ |
| 86 | rw [componentInclusion_range] |
| 87 | exact mem_irreducibleComponent |
| 88 | |
| 89 | theorem componentInclusions_disjoint : |
| 90 | Pairwise (fun C D : irreducibleComponents X.left => |
| 91 | Disjoint (Set.range (componentInclusion X C).left) (Set.range (componentInclusion X D).left)) := by |
| 92 | intro C D hCD |
| 93 | rw [componentInclusion_range, componentInclusion_range] |
| 94 | exact Foundations.Scheme.LocalDomainComponents.irreducibleComponents_disjoint_of_stalkDomains |
| 95 | (Foundations.Scheme.SmoothProjectiveDecomposition.smoothScheme_stalk_isDomain X.hom) C.property D.property (fun h => hCD (Subtype.ext h)) |
| 96 | |
| 97 | def componentPointsHomeomorph : |
| 98 | (Σ C : irreducibleComponents X.left, ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints (componentOver X C)) ≃ₜ |
| 99 | ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints X := |
| 100 | ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.disjointOpenFamilyPointHomeomorph X (componentOver X) (componentInclusion X) |
| 101 | (componentInclusions_cover X) (componentInclusions_disjoint X) |
| 102 | |
| 103 | abbrev componentPointSpaces (C : irreducibleComponents X.left) : TopCat := |
| 104 | Betti.Scheme.schemePointSpace (componentOver X C) |
| 105 | |
| 106 | def componentPointSpaceIso : |
| 107 | TopCat.of (Σ C, componentPointSpaces X C) ≅ Betti.Scheme.schemePointSpace X := |
| 108 | TopCat.isoOfHomeo (componentPointsHomeomorph X) |
| 109 | |
| 110 | def componentBettiEquiv (n : ℕ) : |
| 111 | Betti.Scheme.schemeBetti (ModuleCat.of ℂ ℂ) X n ≃ₗ[ℂ] |
| 112 | (∀ C : irreducibleComponents X.left, Betti.Scheme.schemeBetti (ModuleCat.of ℂ ℂ) (componentOver X C) n) := |
| 113 | ((AlgebraicTopology.Cohomology.Singular.Functor.singularCohomologyFunctor (ModuleCat.of ℂ ℂ) n).mapIso |
| 114 | (componentPointSpaceIso X).op).toLinearEquiv.trans |
| 115 | (AlgebraicTopology.Cohomology.Singular.FiniteCoproduct.singularSigmaCohomologyEquiv (componentPointSpaces X) (ModuleCat.of ℂ ℂ) n) |
| 116 | |
| 117 | theorem componentBettiEquiv_apply (n : ℕ) (a : Betti.Scheme.schemeBetti (ModuleCat.of ℂ ℂ) X n) |
| 118 | (C : irreducibleComponents X.left) : |
| 119 | componentBettiEquiv X n a C = Betti.Scheme.schemeBettiMap (ModuleCat.of ℂ ℂ) n (componentInclusion X C) a := by |
| 120 | change AlgebraicTopology.Cohomology.Singular.FiniteCoproduct.singularSigmaCohomologyEquiv (componentPointSpaces X) (ModuleCat.of ℂ ℂ) n |
| 121 | (AlgebraicTopology.Cohomology.Singular.Functor.singularCohomologyPullback (ModuleCat.of ℂ ℂ) |
| 122 | (componentPointSpaceIso X).hom n a) C = _ |
| 123 | rw [AlgebraicTopology.Cohomology.Singular.FiniteCoproduct.singularSigmaCohomologyEquiv_apply] |
| 124 | have hmap : TopCat.sigmaι (componentPointSpaces X) C ≫ |
| 125 | (componentPointSpaceIso X).hom = |
| 126 | ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPointsFunctor.map (componentInclusion X C) := by |
| 127 | ext p |
| 128 | rfl |
| 129 | have h := AlgebraicTopology.Cohomology.Singular.Functor.singularCohomologyPullback_comp (ModuleCat.of ℂ ℂ) |
| 130 | (TopCat.sigmaι (componentPointSpaces X) C) |
| 131 | (componentPointSpaceIso X).hom n |
| 132 | rw [hmap] at h |
| 133 | exact (ConcreteCategory.congr_hom h a).symm |
| 134 | |
| 135 | end |
| 136 | |
| 137 | end OAI.AlgebraicGeometry.Comparison.Betti.Smooth.Components |