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.CycleClass.Thom.PrincipalBoundary |
| 2 | import OAI.AlgebraicGeometry.CycleClass.Thom.IntersectionGeometry |
| 3 | import OAI.AlgebraicGeometry.DivisorClass.Chern.AnalyticTransitions |
| 4 | import OAI.AlgebraicGeometry.ComplexPoints.Analytic.OpenImmersion |
| 5 | import OAI.AlgebraicGeometry.Betti.Scheme |
| 6 | |
| 7 | /-! # Rational Function Boundary -/ |
| 8 | |
| 9 | namespace OAI.AlgebraicGeometry.CycleClass.Thom.RationalFunctionBoundary.Constructions.Principal |
| 10 | |
| 11 | noncomputable section |
| 12 | |
| 13 | /-! |
| 14 | # ThomClass: 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 | section |
| 30 | |
| 31 | /-- Actual unit data representing a rational function on a nonempty open. -/ |
| 32 | structure RationalUnitRepresentative (X : Scheme) [IsIntegral X] |
| 33 | (f : X.functionField) where |
| 34 | domain : X.Opens |
| 35 | nonempty_domain : Nonempty domain |
| 36 | unit : Γ(X, domain)ˣ |
| 37 | represents : letI := nonempty_domain |
| 38 | X.germToFunctionField domain (unit : Γ(X, domain)) = f |
| 39 | |
| 40 | /-- Existence is supplied by the function-field construction, with no |
| 41 | cohomological hypotheses. -/ |
| 42 | def rationalUnitRepresentative (X : Scheme) [IsIntegral X] |
| 43 | (f : X.functionField) (hf : f ≠ 0) : RationalUnitRepresentative X f := by |
| 44 | apply Classical.choice |
| 45 | obtain ⟨U, _, a, hU, hfa, ha⟩ := exists_isUnit_germ_eq X f hf |
| 46 | refine ⟨⟨U, hU, ha.unit, ?_⟩⟩ |
| 47 | simpa only [ha.unit_spec] using hfa |
| 48 | |
| 49 | namespace RationalUnitRepresentative |
| 50 | |
| 51 | variable {X : Scheme} [IsIntegral X] {f : X.functionField} |
| 52 | |
| 53 | instance (D : RationalUnitRepresentative X f) : Nonempty D.domain := D.nonempty_domain |
| 54 | |
| 55 | /-- The divisor coefficients vanish on every such unit-representing open. -/ |
| 56 | theorem ord_eq_zero (D : RationalUnitRepresentative X f) |
| 57 | [IsLocallyNoetherian X] (x : X) (hx : x ∈ D.domain) : X.ord f x = 0 := by |
| 58 | rw [← D.represents] |
| 59 | exact Scheme.ord_of_isUnit D.unit.isUnit hx |
| 60 | |
| 61 | /-- Restriction of a regular section leaves its function-field germ unchanged. -/ |
| 62 | theorem germ_restrict {U V : X.Opens} [Nonempty U] [Nonempty V] |
| 63 | (h : V ≤ U) (a : Γ(X, U)) : |
| 64 | X.germToFunctionField V (X.presheaf.map (homOfLE h).op a) = |
| 65 | X.germToFunctionField U a := |
| 66 | X.presheaf.germ_res_apply (homOfLE h) (genericPoint X) _ a |
| 67 | |
| 68 | /-- Any two representatives of the same rational function agree on every |
| 69 | common nonempty subopen, by injectivity into the actual function field. -/ |
| 70 | theorem agree_on_common_open (D E : RationalUnitRepresentative X f) |
| 71 | (V : X.Opens) [Nonempty V] (hD : V ≤ D.domain) (hE : V ≤ E.domain) : |
| 72 | X.presheaf.map (homOfLE hD).op (D.unit : Γ(X, D.domain)) = |
| 73 | X.presheaf.map (homOfLE hE).op (E.unit : Γ(X, E.domain)) := by |
| 74 | apply X.germToFunctionField_injective V |
| 75 | rw [germ_restrict, germ_restrict, D.represents, E.represents] |
| 76 | |
| 77 | /-- The unit open, with the inherited complex scheme structure. -/ |
| 78 | def domainOver (D : RationalUnitRepresentative X f) (s : X ⟶ Foundations.Scheme.ProjectiveSpace.complexBase) : |
| 79 | Over Foundations.Scheme.ProjectiveSpace.complexBase := Over.mk (D.domain.ι ≫ s) |
| 80 | |
| 81 | /-- Its actual open inclusion as a morphism over the complex base. -/ |
| 82 | def domainInclusion (D : RationalUnitRepresentative X f) (s : X ⟶ Foundations.Scheme.ProjectiveSpace.complexBase) : |
| 83 | D.domainOver s ⟶ Over.mk s := Over.homMk D.domain.ι rfl |
| 84 | |
| 85 | instance domainInclusion_isOpenImmersion (D : RationalUnitRepresentative X f) |
| 86 | (s : X ⟶ Foundations.Scheme.ProjectiveSpace.complexBase) : IsOpenImmersion (D.domainInclusion s).left := by |
| 87 | change IsOpenImmersion D.domain.ι |
| 88 | infer_instance |
| 89 | |
| 90 | /-- The analytic open in the ambient complex-point space. -/ |
| 91 | def analyticDomain (D : RationalUnitRepresentative X f) (s : X ⟶ Foundations.Scheme.ProjectiveSpace.complexBase) : |
| 92 | Set (Betti.Scheme.schemePointSpace (Over.mk s)) := |
| 93 | Set.range (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.map (D.domainInclusion s)) |
| 94 | |
| 95 | theorem analyticDomain_isOpen (D : RationalUnitRepresentative X f) |
| 96 | (s : X ⟶ Foundations.Scheme.ProjectiveSpace.complexBase) : IsOpen (D.analyticDomain s) := |
| 97 | (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.isOpenEmbedding_map_of_isOpenImmersion |
| 98 | (D.domainInclusion s)).isOpen_range |
| 99 | |
| 100 | /-- The analytic open is identified with the points of the actual open subscheme. -/ |
| 101 | def analyticDomainHomeomorph (D : RationalUnitRepresentative X f) |
| 102 | (s : X ⟶ Foundations.Scheme.ProjectiveSpace.complexBase) : |
| 103 | ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints (D.domainOver s) ≃ₜ D.analyticDomain s := |
| 104 | (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.isOpenEmbedding_map_of_isOpenImmersion |
| 105 | (D.domainInclusion s)).isEmbedding.toHomeomorph |
| 106 | |
| 107 | /-- Transfer the unit to global sections of the open subscheme. -/ |
| 108 | def unitOnOpenScheme (D : RationalUnitRepresentative X f) : |
| 109 | Γ(D.domain.toScheme, ⊤)ˣ := |
| 110 | Units.map D.domain.topIso.inv.hom.toMonoidHom D.unit |
| 111 | |
| 112 | /-- Evaluation of the rational function on its actual analytic unit domain. -/ |
| 113 | def analyticUnitMap (D : RationalUnitRepresentative X f) (s : X ⟶ Foundations.Scheme.ProjectiveSpace.complexBase) : |
| 114 | TopCat.of (D.analyticDomain s) ⟶ TopCat.of PrincipalBoundary.Constructions.puncturedComplexLine := by |
| 115 | let F : C(D.analyticDomain s, ℂ) := |
| 116 | (DivisorClass.Chern.AnalyticTransitions.Construction.globalSectionContinuousMap (D.domainOver s) |
| 117 | (D.unitOnOpenScheme : Γ(D.domain.toScheme, ⊤))).comp |
| 118 | ⟨(D.analyticDomainHomeomorph s).symm, (D.analyticDomainHomeomorph s).symm.continuous⟩ |
| 119 | have hF (x : D.analyticDomain s) : F x ≠ 0 := by |
| 120 | exact DivisorClass.Chern.AnalyticTransitions.Construction.globalSectionEvaluation_unit_ne_zero |
| 121 | (X := D.domainOver s) D.unitOnOpenScheme ((D.analyticDomainHomeomorph s).symm x) |
| 122 | refine TopCat.ofHom ⟨fun x => ⟨(fun _ : Fin 1 => F x), ?_⟩, ?_⟩ |
| 123 | · change (fun _ : Fin 1 => F x) ≠ 0 |
| 124 | intro h |
| 125 | exact hF x (congrFun h 0) |
| 126 | · exact (continuous_pi fun _ => F.continuous).subtype_mk _ |
| 127 | |
| 128 | /-- The winding class of the nonzero rational function on the analytic open. -/ |
| 129 | def windingClass (D : RationalUnitRepresentative X f) (s : X ⟶ Foundations.Scheme.ProjectiveSpace.complexBase) : |
| 130 | AlgebraicTopology.Cohomology.Singular.Basic.singularCohomology (ModuleCat.of ℚ ℚ) (TopCat.of (D.analyticDomain s)) 1 := |
| 131 | AlgebraicTopology.Cohomology.Singular.Functor.singularCohomologyPullback (ModuleCat.of ℚ ℚ) (D.analyticUnitMap s) 1 PrincipalBoundary.Constructions.lineWindingClass |
| 132 | |
| 133 | /-- The relative divisor-boundary class attached to the genuine rational function. -/ |
| 134 | def supportedBoundary (D : RationalUnitRepresentative X f) (s : X ⟶ Foundations.Scheme.ProjectiveSpace.complexBase) : |
| 135 | AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomology (ModuleCat.of ℚ ℚ) (Betti.Scheme.schemePointSpace (Over.mk s)) |
| 136 | (D.analyticDomain s) 2 := |
| 137 | AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeCohomologyConnecting (ModuleCat.of ℚ ℚ) (Betti.Scheme.schemePointSpace (Over.mk s)) |
| 138 | (D.analyticDomain s) 1 (D.windingClass s) |
| 139 | |
| 140 | /-- This boundary has zero image in the actual ordinary cohomology of X(ℂ). -/ |
| 141 | theorem supportedBoundary_absolute_zero (D : RationalUnitRepresentative X f) |
| 142 | (s : X ⟶ Foundations.Scheme.ProjectiveSpace.complexBase) : |
| 143 | AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeCohomologyInclusion (ModuleCat.of ℚ ℚ) (Betti.Scheme.schemePointSpace (Over.mk s)) |
| 144 | (D.analyticDomain s) 2 (D.supportedBoundary s) = 0 := |
| 145 | ConcreteCategory.congr_hom |
| 146 | (AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeCohomologyConnecting_inclusion (ModuleCat.of ℚ ℚ) |
| 147 | (Betti.Scheme.schemePointSpace (Over.mk s)) (D.analyticDomain s) 1) (D.windingClass s) |
| 148 | |
| 149 | end RationalUnitRepresentative |
| 150 | |
| 151 | end |
| 152 | |
| 153 | /-- The literal ThomClass coefficient vanishes wherever the actual rational function |
| 154 | is represented by an algebraic unit. -/ |
| 155 | theorem principalDivisorCoefficient_unitDomain (X : Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation) |
| 156 | (W : TopologicalSpace.IrreducibleCloseds X.carrier) |
| 157 | (f : (Geometric.GenericPoint.reducedSupportScheme W).functionField) |
| 158 | (D : RationalUnitRepresentative (Geometric.GenericPoint.reducedSupportScheme W) f) |
| 159 | (C : TopologicalSpace.IrreducibleCloseds X.carrier) (y : Geometric.GenericPoint.reducedSupportScheme W) |
| 160 | (hy : Geometric.GenericPoint.reducedSupportι W y = IntersectionGeometry.supportPoint C) (hU : y ∈ D.domain) : |
| 161 | IntersectionGeometry.principalDivisorCoefficient X W f C = 0 := by |
| 162 | rw [IntersectionGeometry.principalDivisorCoefficient_at_image X W f C y hy, D.ord_eq_zero y hU] |
| 163 | rfl |
| 164 | |
| 165 | end |
| 166 | |
| 167 | end OAI.AlgebraicGeometry.CycleClass.Thom.RationalFunctionBoundary.Constructions.Principal |