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.Chow |
| 2 | import OAI.AlgebraicGeometry.Divisors.LineBundles.TopDimensionChow |
| 3 | import OAI.AlgebraicGeometry.Divisors.LineBundles.Open.PrincipalRestriction |
| 4 | |
| 5 | /-! # Codimension Point Class -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.Divisors.LineBundles.Projective.CodimensionPointClass.BundleCycles |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | section |
| 12 | |
| 13 | /-! The full principal divisor of an integral support lies in the |
| 14 | next codimension, measured in its actual smooth projective component. -/ |
| 15 | |
| 16 | open _root_.AlgebraicGeometry _root_.CategoryTheory _root_.TopologicalSpace |
| 17 | |
| 18 | theorem projectiveSupport_dimension_le_component (X : Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation) |
| 19 | (W : IrreducibleCloseds X.carrier) : |
| 20 | Foundations.Scheme.SupportDimension.supportTranscendenceDimension W X.structureMap ≤ |
| 21 | Foundations.Scheme.TranscendenceDimension.schemeTranscendenceDimension (X.componentVariety (X.supportComponent W)).structureMap := by |
| 22 | let C := X.supportComponent W |
| 23 | let V := X.componentSupportPreimage C W (X.support_subset_component W) |
| 24 | have hd := TopDimensionChow.BundleCycles.integralSupport_dimension_le (X.componentVariety C).structureMap V |
| 25 | have he := X.componentSupportImage_transcendenceDimension C V |
| 26 | rw [X.componentSupportImage_preimage] at he |
| 27 | exact he.trans_le hd |
| 28 | |
| 29 | theorem projectiveSupportComponent_eq_of_le (X : Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation) |
| 30 | (Z W : IrreducibleCloseds X.carrier) (hZW : Z ≤ W) : X.supportComponent Z = X.supportComponent W := |
| 31 | X.supportComponent_eq_of_subset Z (X.supportComponent W) |
| 32 | ((show (Z : Set X.carrier) ⊆ W from hZW).trans (X.support_subset_component W)) |
| 33 | |
| 34 | theorem schemePrincipalPointDivisor_codimension (X : Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation) |
| 35 | (W : IrreducibleCloseds X.carrier) (g : (CycleClass.Geometric.GenericPoint.reducedSupportScheme W).functionField) |
| 36 | (x : X.carrier) (hx : Graded.GlobalSpecialization.BundleCycles.schemePrincipalPointDivisor W g x ≠ 0) : |
| 37 | X.supportCodimension (irreducibleSetEquivPoints.symm x) = X.supportCodimension W + 1 := by |
| 38 | have hxW : x ∈ (W : Set X.carrier) := by |
| 39 | by_contra hn |
| 40 | exact hx (Open.PrincipalRestriction.BundleCycles.schemePrincipalPointDivisor_off_support W g x hn) |
| 41 | have hle : irreducibleSetEquivPoints.symm x ≤ W := |
| 42 | closure_minimal (Set.singleton_subset_iff.mpr hxW) W.isClosed |
| 43 | have hC := projectiveSupportComponent_eq_of_le X _ W hle |
| 44 | have hd := Graded.GlobalSpecialization.BundleCycles.schemePrincipalPointDivisor_dimension X.structureMap W g x hx |
| 45 | have hbound := projectiveSupport_dimension_le_component X W |
| 46 | have hN := congrArg (fun C : irreducibleComponents X.carrier => |
| 47 | Foundations.Scheme.TranscendenceDimension.schemeTranscendenceDimension (X.componentVariety C).structureMap) hC |
| 48 | unfold Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation.supportCodimension |
| 49 | omega |
| 50 | |
| 51 | end |
| 52 | |
| 53 | /-! Taking a point cycle's codimension component defines its actual |
| 54 | projective Chow class and kills every geometric principal divisor. -/ |
| 55 | |
| 56 | open _root_.AlgebraicGeometry _root_.CategoryTheory _root_.TopologicalSpace |
| 57 | |
| 58 | variable (X : Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation) (p : ℕ) |
| 59 | |
| 60 | def projectiveCodimensionComponent : (X.carrier →₀ ℚ) →ₗ[ℚ] X.RationalDimensionCycle p := |
| 61 | Finsupp.lcomapDomain (Chow.BundleCycles.cyclePointEmbedding X p) (Chow.BundleCycles.cyclePointEmbedding X p).injective |
| 62 | |
| 63 | theorem projectiveCodimensionComponent_pointCycle (z : X.RationalDimensionCycle p) : |
| 64 | projectiveCodimensionComponent X p (Chow.BundleCycles.pointCycle X p z) = z := by |
| 65 | ext Z |
| 66 | exact Chow.BundleCycles.pointCycle_apply X p z Z |
| 67 | |
| 68 | theorem pointCycle_codimensionComponent_supported (z : X.carrier →₀ ℚ) |
| 69 | (hz : ∀ x, z x ≠ 0 → X.supportCodimension (irreducibleSetEquivPoints.symm x) = p) : |
| 70 | Chow.BundleCycles.pointCycle X p (projectiveCodimensionComponent X p z) = z := by |
| 71 | have hs : (z.support : Set X.carrier) ⊆ Set.range (Chow.BundleCycles.cyclePointEmbedding X p) := by |
| 72 | intro x hx |
| 73 | exact ⟨⟨irreducibleSetEquivPoints.symm x, hz x (Finsupp.mem_support_iff.mp hx)⟩, |
| 74 | irreducibleSetEquivPoints.apply_symm_apply x⟩ |
| 75 | exact Finsupp.embDomain_comapDomain hs |
| 76 | |
| 77 | theorem projectiveCodimensionComponent_eq_zero_of_off_grade (z : X.carrier →₀ ℚ) |
| 78 | (hz : ∀ x, z x ≠ 0 → X.supportCodimension (irreducibleSetEquivPoints.symm x) ≠ p) : |
| 79 | projectiveCodimensionComponent X p z = 0 := by |
| 80 | ext Z |
| 81 | change z (Chow.BundleCycles.cyclePointEmbedding X p Z) = 0 |
| 82 | by_contra hn |
| 83 | apply hz (Chow.BundleCycles.cyclePointEmbedding X p Z) hn |
| 84 | change X.supportCodimension (irreducibleSetEquivPoints.symm (irreducibleSetEquivPoints Z.val)) = p |
| 85 | rw [irreducibleSetEquivPoints.symm_apply_apply] |
| 86 | exact Z.property |
| 87 | |
| 88 | def projectivePointChowClass : (X.carrier →₀ ℚ) →ₗ[ℚ] Chow.BundleCycles.ChowQ X p := |
| 89 | (Chow.BundleCycles.cycleToChowQ X p).comp (projectiveCodimensionComponent X p) |
| 90 | |
| 91 | theorem projectivePointChowClass_pointCycle (z : X.RationalDimensionCycle p) : |
| 92 | projectivePointChowClass X p (Chow.BundleCycles.pointCycle X p z) = Chow.BundleCycles.cycleToChowQ X p z := by |
| 93 | change Chow.BundleCycles.cycleToChowQ X p (projectiveCodimensionComponent X p (Chow.BundleCycles.pointCycle X p z)) = _ |
| 94 | rw [projectiveCodimensionComponent_pointCycle] |
| 95 | |
| 96 | theorem projectivePointChowClass_principal (W : IrreducibleCloseds X.carrier) |
| 97 | (g : (CycleClass.Geometric.GenericPoint.reducedSupportScheme W).functionField) (hg : g ≠ 0) : |
| 98 | projectivePointChowClass X p (Graded.GlobalSpecialization.BundleCycles.schemePrincipalPointDivisor W g) = 0 := by |
| 99 | change Chow.BundleCycles.cycleToChowQ X p (projectiveCodimensionComponent X p (Graded.GlobalSpecialization.BundleCycles.schemePrincipalPointDivisor W g)) = 0 |
| 100 | by_cases hp : X.supportCodimension W + 1 = p |
| 101 | · apply Chow.BundleCycles.cycleToChowQ_principalDivisor |
| 102 | refine ⟨W, hp, g, hg, ?_⟩ |
| 103 | exact pointCycle_codimensionComponent_supported X p _ (fun x hx => |
| 104 | (schemePrincipalPointDivisor_codimension X W g x hx).trans hp) |
| 105 | · rw [projectiveCodimensionComponent_eq_zero_of_off_grade, map_zero] |
| 106 | intro x hx |
| 107 | rw [schemePrincipalPointDivisor_codimension X W g x hx] |
| 108 | exact hp |
| 109 | |
| 110 | end |
| 111 | |
| 112 | end OAI.AlgebraicGeometry.Divisors.LineBundles.Projective.CodimensionPointClass.BundleCycles |