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.LineBundle.OpenRestriction |
| 2 | import OAI.AlgebraicGeometry.Divisors.LineBundles.LineBundle.DivisorChow |
| 3 | import OAI.AlgebraicGeometry.Divisors.LineBundles.Graded.GlobalSpecialization |
| 4 | |
| 5 | /-! # Intersection -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.Divisors.LineBundles.LineBundle.Intersection.Cycles |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | section |
| 12 | |
| 13 | /-! # LineBundleCycles: actual line-bundle rational-section divisors on arbitrary closed integral supports -/ |
| 14 | |
| 15 | open _root_.AlgebraicGeometry _root_.CategoryTheory _root_.TopologicalSpace |
| 16 | |
| 17 | variable {X : Scheme.{0}} [AlgebraicGeometry.IsNoetherian X] (L : LineBundles.Scheme.SchemeIdealModule.BundleCycles.SchemeLineBundle X) |
| 18 | |
| 19 | def lineBundleDivisorOnSupport (W : IrreducibleCloseds X) : X →₀ ℚ := |
| 20 | Finsupp.mapDomain (CycleClass.Geometric.GenericPoint.reducedSupportι W) (L.pullback (CycleClass.Geometric.GenericPoint.reducedSupportι W)).rationalSectionPointCycle |
| 21 | |
| 22 | theorem lineBundleDivisorOnSupport_at_support (W : IrreducibleCloseds X) (x : CycleClass.Geometric.GenericPoint.reducedSupportScheme W) : |
| 23 | lineBundleDivisorOnSupport L W (CycleClass.Geometric.GenericPoint.reducedSupportι W x) = |
| 24 | (L.pullback (CycleClass.Geometric.GenericPoint.reducedSupportι W)).rationalSectionPointCycle x := |
| 25 | Finsupp.mapDomain_apply_of_injective (CycleClass.Geometric.GenericPoint.reducedSupportι W).isClosedEmbedding.injective _ x |
| 26 | |
| 27 | theorem lineBundleDivisorOnSupport_dimension (f : X ⟶ Foundations.Scheme.ProjectiveSpace.complexBase) [LocallyOfFiniteType f] |
| 28 | (W : IrreducibleCloseds X) (x : X) (hx : lineBundleDivisorOnSupport L W x ≠ 0) : |
| 29 | Foundations.Scheme.SupportDimension.supportTranscendenceDimension (irreducibleSetEquivPoints.symm x) f + 1 = |
| 30 | Foundations.Scheme.SupportDimension.supportTranscendenceDimension W f := by |
| 31 | have hr : x ∈ Set.range (CycleClass.Geometric.GenericPoint.reducedSupportι W) := by |
| 32 | by_contra h |
| 33 | exact hx (Finsupp.mapDomain_of_notMem_range _ _ h) |
| 34 | obtain ⟨y, rfl⟩ := hr |
| 35 | rw [lineBundleDivisorOnSupport_at_support] at hx |
| 36 | have hd := (L.pullback (CycleClass.Geometric.GenericPoint.reducedSupportι W)).rationalSectionPointCycle_dimension (CycleClass.Geometric.SupportFiniteType.supportStructureMap W f) y hx |
| 37 | exact (congrArg (fun n => n + 1) (Point.SupportDimension.BundleCycles.pointClosure_dimension_closedImmersion (CycleClass.Geometric.GenericPoint.reducedSupportι W) f y)).trans hd |
| 38 | |
| 39 | def lineBundleDivisorOnSupportWithCoefficient (W : IrreducibleCloseds X) |
| 40 | (a : (CycleClass.Geometric.GenericPoint.reducedSupportScheme W).functionFieldˣ) : X →₀ ℚ := |
| 41 | Finsupp.mapDomain (CycleClass.Geometric.GenericPoint.reducedSupportι W) ((L.pullback (CycleClass.Geometric.GenericPoint.reducedSupportι W)).rationalSectionPointCycleWithCoefficient a) |
| 42 | |
| 43 | theorem lineBundleDivisorOnSupportWithCoefficient_eq (W : IrreducibleCloseds X) |
| 44 | (a : (CycleClass.Geometric.GenericPoint.reducedSupportScheme W).functionFieldˣ) : |
| 45 | lineBundleDivisorOnSupportWithCoefficient L W a = |
| 46 | Graded.GlobalSpecialization.BundleCycles.schemePrincipalPointDivisor W a.val + lineBundleDivisorOnSupport L W := by |
| 47 | change Finsupp.mapDomain (CycleClass.Geometric.GenericPoint.reducedSupportι W) _ = _ |
| 48 | rw [LineBundles.Scheme.SchemeIdealModule.BundleCycles.SchemeLineBundle.rationalSectionPointCycleWithCoefficient_eq, Finsupp.mapDomain_add] |
| 49 | congr 1 |
| 50 | exact (Finsupp.embDomain_eq_mapDomain |
| 51 | ⟨CycleClass.Geometric.GenericPoint.reducedSupportι W, (CycleClass.Geometric.GenericPoint.reducedSupportι W).isClosedEmbedding.injective⟩ _).symm |
| 52 | |
| 53 | theorem lineBundleDivisorOnSupport_class_independent (f : X ⟶ Foundations.Scheme.ProjectiveSpace.complexBase) (d : ℕ) |
| 54 | (W : IrreducibleCloseds X) (hW : Foundations.Scheme.SupportDimension.supportTranscendenceDimension W f = d + 1) |
| 55 | (a : (CycleClass.Geometric.GenericPoint.reducedSupportScheme W).functionFieldˣ) : |
| 56 | Point.CycleChow.BundleCycles.pointCycleToChowQ f d (lineBundleDivisorOnSupportWithCoefficient L W a) = |
| 57 | Point.CycleChow.BundleCycles.pointCycleToChowQ f d (lineBundleDivisorOnSupport L W) := by |
| 58 | rw [lineBundleDivisorOnSupportWithCoefficient_eq, map_add, Point.CycleChow.BundleCycles.pointCycleToChowQ_principal f d W hW, zero_add] |
| 59 | |
| 60 | end |
| 61 | |
| 62 | section |
| 63 | |
| 64 | /-! # LineBundleCycles: the genuine dimension-graded line-bundle intersection operation on cycles -/ |
| 65 | |
| 66 | open _root_.AlgebraicGeometry _root_.CategoryTheory _root_.TopologicalSpace |
| 67 | |
| 68 | variable {X : Scheme.{0}} [AlgebraicGeometry.IsNoetherian X] (L : LineBundles.Scheme.SchemeIdealModule.BundleCycles.SchemeLineBundle X) |
| 69 | (f : X ⟶ Foundations.Scheme.ProjectiveSpace.complexBase) |
| 70 | |
| 71 | def lineBundleGradedDivisor (d : ℕ) (W : IrreducibleCloseds X) : Graded.GlobalSpecialization.BundleCycles.SchemeDimensionCyclePoint f d →₀ ℚ := |
| 72 | Finsupp.comapDomain (Graded.GlobalSpecialization.BundleCycles.schemeDimensionPointEmbedding f d) (lineBundleDivisorOnSupport L W) |
| 73 | (Graded.GlobalSpecialization.BundleCycles.schemeDimensionPointEmbedding f d).injective.injOn |
| 74 | |
| 75 | theorem lineBundleGradedDivisor_forget [LocallyOfFiniteType f] (d : ℕ) (W : IrreducibleCloseds X) |
| 76 | (hW : Foundations.Scheme.SupportDimension.supportTranscendenceDimension W f = d + 1) : |
| 77 | Graded.GlobalSpecialization.BundleCycles.schemeDimensionCycleInclusion f d (lineBundleGradedDivisor L f d W) = lineBundleDivisorOnSupport L W := by |
| 78 | have hs : ((lineBundleDivisorOnSupport L W).support : Set X) ⊆ Set.range (Graded.GlobalSpecialization.BundleCycles.schemeDimensionPointEmbedding f d) := by |
| 79 | intro x hx |
| 80 | refine ⟨⟨x, ?_⟩, rfl⟩ |
| 81 | have hd := lineBundleDivisorOnSupport_dimension L f W x (Finsupp.mem_support_iff.mp hx) |
| 82 | omega |
| 83 | exact Finsupp.mapDomain_comapDomain (Graded.GlobalSpecialization.BundleCycles.schemeDimensionPointEmbedding f d) |
| 84 | (Graded.GlobalSpecialization.BundleCycles.schemeDimensionPointEmbedding f d).injective (lineBundleDivisorOnSupport L W) hs |
| 85 | |
| 86 | def lineBundleCycleIntersection (d : ℕ) : |
| 87 | (Graded.GlobalSpecialization.BundleCycles.SchemeDimensionCyclePoint f (d + 1) →₀ ℚ) →ₗ[ℚ] (Graded.GlobalSpecialization.BundleCycles.SchemeDimensionCyclePoint f d →₀ ℚ) := |
| 88 | Finsupp.linearCombination ℚ (fun x => lineBundleGradedDivisor L f d (irreducibleSetEquivPoints.symm x.val)) |
| 89 | |
| 90 | theorem lineBundleCycleIntersection_single (d : ℕ) (x : Graded.GlobalSpecialization.BundleCycles.SchemeDimensionCyclePoint f (d + 1)) (a : ℚ) : |
| 91 | lineBundleCycleIntersection L f d (Finsupp.single x a) = |
| 92 | a • lineBundleGradedDivisor L f d (irreducibleSetEquivPoints.symm x.val) := |
| 93 | Finsupp.linearCombination_single ℚ a x |
| 94 | |
| 95 | end |
| 96 | |
| 97 | /-! # LineBundleCycles: the actual ungraded line-bundle cycle operation and its complete graded comparison -/ |
| 98 | |
| 99 | open _root_.AlgebraicGeometry _root_.CategoryTheory _root_.TopologicalSpace |
| 100 | |
| 101 | variable {X : Scheme.{0}} [AlgebraicGeometry.IsNoetherian X] (L : LineBundles.Scheme.SchemeIdealModule.BundleCycles.SchemeLineBundle X) |
| 102 | |
| 103 | def lineBundlePointIntersection : (X →₀ ℚ) →ₗ[ℚ] (X →₀ ℚ) := |
| 104 | Finsupp.linearCombination ℚ (fun x => lineBundleDivisorOnSupport L (irreducibleSetEquivPoints.symm x)) |
| 105 | |
| 106 | theorem lineBundlePointIntersection_single (x : X) (q : ℚ) : |
| 107 | lineBundlePointIntersection L (Finsupp.single x q) = |
| 108 | q • lineBundleDivisorOnSupport L (irreducibleSetEquivPoints.symm x) := |
| 109 | Finsupp.linearCombination_single ℚ q x |
| 110 | |
| 111 | theorem lineBundlePointIntersection_graded (f : X ⟶ Foundations.Scheme.ProjectiveSpace.complexBase) [LocallyOfFiniteType f] (d : ℕ) |
| 112 | (z : Graded.GlobalSpecialization.BundleCycles.SchemeDimensionCyclePoint f (d + 1) →₀ ℚ) : |
| 113 | lineBundlePointIntersection L (Graded.GlobalSpecialization.BundleCycles.schemeDimensionCycleInclusion f (d + 1) z) = |
| 114 | Graded.GlobalSpecialization.BundleCycles.schemeDimensionCycleInclusion f d (lineBundleCycleIntersection L f d z) := by |
| 115 | induction z using Finsupp.induction_linear with |
| 116 | | zero => simp only [map_zero] |
| 117 | | add z w hz hw => simp only [map_add, hz, hw] |
| 118 | | single x q => |
| 119 | have hi : Graded.GlobalSpecialization.BundleCycles.schemeDimensionCycleInclusion f (d + 1) (Finsupp.single x q) = Finsupp.single x.val q := |
| 120 | Finsupp.mapDomain_single |
| 121 | rw [hi, lineBundlePointIntersection_single, lineBundleCycleIntersection_single, map_smul, |
| 122 | lineBundleGradedDivisor_forget L f d _ x.property] |
| 123 | |
| 124 | variable [IsIntegral X] |
| 125 | |
| 126 | theorem lineBundlePointIntersection_divisor_sum (g : X.functionField) |
| 127 | (S : Finset X) (hs : (Ord.BundleCycles.principalDivisor X g).support ⊆ S) : |
| 128 | lineBundlePointIntersection L (RationalDivisorRestriction.BundleCycles.rationalPrincipalPointDivisor X g) = |
| 129 | ∑ x : S, (X.ord g x : ℚ) • lineBundleDivisorOnSupport L (irreducibleSetEquivPoints.symm x.val) := by |
| 130 | have hq : (RationalDivisorRestriction.BundleCycles.rationalPrincipalPointDivisor X g).support ⊆ S := by |
| 131 | intro x hx |
| 132 | apply hs |
| 133 | apply Finsupp.mem_support_iff.mpr |
| 134 | intro hz |
| 135 | apply Finsupp.mem_support_iff.mp hx |
| 136 | change (Ord.BundleCycles.principalDivisor X g x : ℚ) = 0 |
| 137 | rw [hz, Int.cast_zero] |
| 138 | rw [lineBundlePointIntersection, Finsupp.linearCombination_apply] |
| 139 | exact ((RationalDivisorRestriction.BundleCycles.rationalPrincipalPointDivisor X g).sum_of_support_subset hq |
| 140 | (fun x q => q • lineBundleDivisorOnSupport L (irreducibleSetEquivPoints.symm x)) |
| 141 | (fun x _ => zero_smul ℚ (lineBundleDivisorOnSupport L (irreducibleSetEquivPoints.symm x)))).trans |
| 142 | (Finset.sum_coe_sort S (fun x : X => (X.ord g x : ℚ) • |
| 143 | lineBundleDivisorOnSupport L (irreducibleSetEquivPoints.symm x))).symm |
| 144 | |
| 145 | end |
| 146 | |
| 147 | end OAI.AlgebraicGeometry.Divisors.LineBundles.LineBundle.Intersection.Cycles |