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.Divisors.LineBundles.Principal.Boundary |
| 2 | import OAI.AlgebraicGeometry.Divisors.LineBundles.Ord |
| 3 | import OAI.AlgebraicGeometry.DivisorClass.Chern.AnalyticTransitions |
| 4 | import OAI.AlgebraicGeometry.ComplexPoints.Analytic.OpenImmersion |
| 5 | import OAI.AlgebraicGeometry.Betti.Scheme |
| 6 | |
| 7 | /-! # Rational Boundary -/ |
| 8 | |
| 9 | namespace OAI.AlgebraicGeometry.Divisors.LineBundles.RationalBoundary.BundleCycles |
| 10 | |
| 11 | noncomputable section |
| 12 | |
| 13 | /-! |
| 14 | # LineBundleCycles: the boundary class of an actual rational function |
| 15 | |
| 16 | Every nonzero rational function on an integral scheme is an algebraic unit |
| 17 | on a nonempty open. Its actual complex-point evaluation gives a winding |
| 18 | class on that analytic open, and the connecting homomorphism gives a |
| 19 | relative class on the ambient complex-point space. Its absolute image is |
| 20 | proved to be zero. |
| 21 | |
| 22 | The local comparison of this relative boundary with the divisor's |
| 23 | fundamental-cycle multiplicities is still required. No assertion of that |
| 24 | comparison is included in the representative data. |
| 25 | -/ |
| 26 | |
| 27 | open _root_.AlgebraicGeometry _root_.CategoryTheory |
| 28 | |
| 29 | /-- Actual unit data representing a rational function on a nonempty open. -/ |
| 30 | structure RationalUnitRepresentative (X : Scheme) [IsIntegral X] |
| 31 | (f : X.functionField) where |
| 32 | domain : X.Opens |
| 33 | nonempty_domain : Nonempty domain |
| 34 | unit : Γ(X, domain)ˣ |
| 35 | represents : letI := nonempty_domain |
| 36 | X.germToFunctionField domain (unit : Γ(X, domain)) = f |
| 37 | |
| 38 | /-- Existence is supplied by the function-field construction, with no |
| 39 | cohomological hypotheses. -/ |
| 40 | def rationalUnitRepresentative (X : Scheme) [IsIntegral X] |
| 41 | (f : X.functionField) (hf : f ≠ 0) : RationalUnitRepresentative X f := by |
| 42 | apply Classical.choice |
| 43 | obtain ⟨U, _, a, hU, hfa, ha⟩ := exists_isUnit_germ_eq X f hf |
| 44 | refine ⟨⟨U, hU, ha.unit, ?_⟩⟩ |
| 45 | simpa only [ha.unit_spec] using hfa |
| 46 | |
| 47 | namespace RationalUnitRepresentative |
| 48 | |
| 49 | variable {X : Scheme} [IsIntegral X] {f : X.functionField} |
| 50 | |
| 51 | instance (D : RationalUnitRepresentative X f) : Nonempty D.domain := D.nonempty_domain |
| 52 | |
| 53 | /-- The divisor coefficients vanish on every such unit-representing open. -/ |
| 54 | theorem ord_eq_zero (D : RationalUnitRepresentative X f) |
| 55 | [IsLocallyNoetherian X] (x : X) (hx : x ∈ D.domain) : X.ord f x = 0 := by |
| 56 | rw [← D.represents] |
| 57 | exact Scheme.ord_of_isUnit D.unit.isUnit hx |
| 58 | |
| 59 | /-- The finite algebraic divisor is supported outside the unit domain used |
| 60 | to construct the topological boundary. -/ |
| 61 | theorem principalDivisor_support_subset (D : RationalUnitRepresentative X f) |
| 62 | [AlgebraicGeometry.IsNoetherian X] : |
| 63 | (↑(Ord.BundleCycles.principalDivisor X f).support : Set X) ⊆ (D.domain : Set X)ᶜ := by |
| 64 | intro x hx hxU |
| 65 | have hxne := Finsupp.mem_support_iff.mp hx |
| 66 | exact hxne (D.ord_eq_zero x hxU) |
| 67 | |
| 68 | /-- The entire closed support of each divisor term misses the unit domain. -/ |
| 69 | theorem principalDivisor_closure_subset (D : RationalUnitRepresentative X f) |
| 70 | [AlgebraicGeometry.IsNoetherian X] (x : X) (hx : Ord.BundleCycles.principalDivisor X f x ≠ 0) : |
| 71 | closure ({x} : Set X) ⊆ (D.domain : Set X)ᶜ := by |
| 72 | apply D.domain.isOpen.isClosed_compl.closure_subset_iff.mpr |
| 73 | exact Set.singleton_subset_iff.mpr |
| 74 | (D.principalDivisor_support_subset (Finsupp.mem_support_iff.mpr hx)) |
| 75 | |
| 76 | /-- Restriction of a regular section leaves its function-field germ unchanged. -/ |
| 77 | theorem germ_restrict {U V : X.Opens} [Nonempty U] [Nonempty V] |
| 78 | (h : V ≤ U) (a : Γ(X, U)) : |
| 79 | X.germToFunctionField V (X.presheaf.map (homOfLE h).op a) = |
| 80 | X.germToFunctionField U a := |
| 81 | X.presheaf.germ_res_apply (homOfLE h) (genericPoint X) _ a |
| 82 | |
| 83 | /-- Any two representatives of the same rational function agree on every |
| 84 | common nonempty subopen, by injectivity into the actual function field. -/ |
| 85 | theorem agree_on_common_open (D E : RationalUnitRepresentative X f) |
| 86 | (V : X.Opens) [Nonempty V] (hD : V ≤ D.domain) (hE : V ≤ E.domain) : |
| 87 | X.presheaf.map (homOfLE hD).op (D.unit : Γ(X, D.domain)) = |
| 88 | X.presheaf.map (homOfLE hE).op (E.unit : Γ(X, E.domain)) := by |
| 89 | apply X.germToFunctionField_injective V |
| 90 | rw [germ_restrict, germ_restrict, D.represents, E.represents] |
| 91 | |
| 92 | /-- The unit open, with the inherited complex scheme structure. -/ |
| 93 | def domainOver (D : RationalUnitRepresentative X f) (s : X ⟶ Foundations.Scheme.ProjectiveSpace.complexBase) : |
| 94 | Over Foundations.Scheme.ProjectiveSpace.complexBase := Over.mk (D.domain.ι ≫ s) |
| 95 | |
| 96 | /-- Its actual open inclusion as a morphism over the complex base. -/ |
| 97 | def domainInclusion (D : RationalUnitRepresentative X f) (s : X ⟶ Foundations.Scheme.ProjectiveSpace.complexBase) : |
| 98 | D.domainOver s ⟶ Over.mk s := Over.homMk D.domain.ι rfl |
| 99 | |
| 100 | instance domainInclusion_isOpenImmersion (D : RationalUnitRepresentative X f) |
| 101 | (s : X ⟶ Foundations.Scheme.ProjectiveSpace.complexBase) : IsOpenImmersion (D.domainInclusion s).left := by |
| 102 | change IsOpenImmersion D.domain.ι |
| 103 | infer_instance |
| 104 | |
| 105 | /-- The analytic open in the ambient complex-point space. -/ |
| 106 | def analyticDomain (D : RationalUnitRepresentative X f) (s : X ⟶ Foundations.Scheme.ProjectiveSpace.complexBase) : |
| 107 | Set (Betti.Scheme.schemePointSpace (Over.mk s)) := |
| 108 | Set.range (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.map (D.domainInclusion s)) |
| 109 | |
| 110 | theorem analyticDomain_isOpen (D : RationalUnitRepresentative X f) |
| 111 | (s : X ⟶ Foundations.Scheme.ProjectiveSpace.complexBase) : IsOpen (D.analyticDomain s) := |
| 112 | (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.isOpenEmbedding_map_of_isOpenImmersion |
| 113 | (D.domainInclusion s)).isOpen_range |
| 114 | |
| 115 | /-- The analytic open is identified with the points of the actual open subscheme. -/ |
| 116 | def analyticDomainHomeomorph (D : RationalUnitRepresentative X f) |
| 117 | (s : X ⟶ Foundations.Scheme.ProjectiveSpace.complexBase) : |
| 118 | ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints (D.domainOver s) ≃ₜ D.analyticDomain s := |
| 119 | (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.isOpenEmbedding_map_of_isOpenImmersion |
| 120 | (D.domainInclusion s)).isEmbedding.toHomeomorph |
| 121 | |
| 122 | /-- Transfer the unit to global sections of the open subscheme. -/ |
| 123 | def unitOnOpenScheme (D : RationalUnitRepresentative X f) : |
| 124 | Γ(D.domain.toScheme, ⊤)ˣ := |
| 125 | Units.map D.domain.topIso.inv.hom.toMonoidHom D.unit |
| 126 | |
| 127 | /-- Evaluation of the rational function on its actual analytic unit domain. -/ |
| 128 | def analyticUnitMap (D : RationalUnitRepresentative X f) (s : X ⟶ Foundations.Scheme.ProjectiveSpace.complexBase) : |
| 129 | TopCat.of (D.analyticDomain s) ⟶ TopCat.of Principal.Boundary.BundleCycles.puncturedComplexLine := by |
| 130 | let F : C(D.analyticDomain s, ℂ) := |
| 131 | (DivisorClass.Chern.AnalyticTransitions.Construction.globalSectionContinuousMap (D.domainOver s) |
| 132 | (D.unitOnOpenScheme : Γ(D.domain.toScheme, ⊤))).comp |
| 133 | ⟨(D.analyticDomainHomeomorph s).symm, (D.analyticDomainHomeomorph s).symm.continuous⟩ |
| 134 | have hF (x : D.analyticDomain s) : F x ≠ 0 := by |
| 135 | exact DivisorClass.Chern.AnalyticTransitions.Construction.globalSectionEvaluation_unit_ne_zero |
| 136 | (X := D.domainOver s) D.unitOnOpenScheme ((D.analyticDomainHomeomorph s).symm x) |
| 137 | refine TopCat.ofHom ⟨fun x => ⟨(fun _ : Fin 1 => F x), ?_⟩, ?_⟩ |
| 138 | · change (fun _ : Fin 1 => F x) ≠ 0 |
| 139 | intro h |
| 140 | exact hF x (congrFun h 0) |
| 141 | · exact (continuous_pi fun _ => F.continuous).subtype_mk _ |
| 142 | |
| 143 | /-- The winding class of the nonzero rational function on the analytic open. -/ |
| 144 | def windingClass (D : RationalUnitRepresentative X f) (s : X ⟶ Foundations.Scheme.ProjectiveSpace.complexBase) : |
| 145 | AlgebraicTopology.Cohomology.Singular.Basic.singularCohomology (ModuleCat.of ℚ ℚ) (TopCat.of (D.analyticDomain s)) 1 := |
| 146 | AlgebraicTopology.Cohomology.Singular.Functor.singularCohomologyPullback (ModuleCat.of ℚ ℚ) (D.analyticUnitMap s) 1 Principal.Boundary.BundleCycles.lineWindingClass |
| 147 | |
| 148 | /-- The relative divisor-boundary class attached to the genuine rational function. -/ |
| 149 | def supportedBoundary (D : RationalUnitRepresentative X f) (s : X ⟶ Foundations.Scheme.ProjectiveSpace.complexBase) : |
| 150 | AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomology (ModuleCat.of ℚ ℚ) (Betti.Scheme.schemePointSpace (Over.mk s)) |
| 151 | (D.analyticDomain s) 2 := |
| 152 | AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeCohomologyConnecting (ModuleCat.of ℚ ℚ) (Betti.Scheme.schemePointSpace (Over.mk s)) |
| 153 | (D.analyticDomain s) 1 (D.windingClass s) |
| 154 | |
| 155 | /-- This boundary has zero image in the actual ordinary cohomology of X(ℂ). -/ |
| 156 | theorem supportedBoundary_absolute_zero (D : RationalUnitRepresentative X f) |
| 157 | (s : X ⟶ Foundations.Scheme.ProjectiveSpace.complexBase) : |
| 158 | AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeCohomologyInclusion (ModuleCat.of ℚ ℚ) (Betti.Scheme.schemePointSpace (Over.mk s)) |
| 159 | (D.analyticDomain s) 2 (D.supportedBoundary s) = 0 := |
| 160 | ConcreteCategory.congr_hom |
| 161 | (AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeCohomologyConnecting_inclusion (ModuleCat.of ℚ ℚ) |
| 162 | (Betti.Scheme.schemePointSpace (Over.mk s)) (D.analyticDomain s) 1) (D.windingClass s) |
| 163 | |
| 164 | end RationalUnitRepresentative |
| 165 | |
| 166 | end |
| 167 | |
| 168 | end OAI.AlgebraicGeometry.Divisors.LineBundles.RationalBoundary.BundleCycles |