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.IntersectionTheory.ProjectionFormula.Support.Map |
| 2 | import OAI.AlgebraicGeometry.Divisors.LineBundles.Ord |
| 3 | |
| 4 | /-! # Closed Section Cycle -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Principal.ClosedSectionCycle |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | section |
| 11 | |
| 12 | /-! |
| 13 | # ProjectionFormula: principal-divisor generators as constructed finite cycles |
| 14 | |
| 15 | The ThomClass coefficient relation is identified with the degree component of |
| 16 | the actual finite principal divisor on the integral support. Finiteness |
| 17 | comes from Divisors, independently of any Chow operation. |
| 18 | -/ |
| 19 | |
| 20 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.TopologicalSpace |
| 21 | open scoped Classical |
| 22 | |
| 23 | open OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.CyclePushforward |
| 24 | |
| 25 | theorem degreeComponent_apply (X : Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation) (p : ℕ) |
| 26 | (c : X.carrier →₀ ℚ) (C : X.DimensionCycleSupport p) : |
| 27 | CyclePushforward.degreeComponent X p c C = c (CycleClass.Thom.IntersectionGeometry.supportPoint C.val) := by |
| 28 | induction c using Finsupp.induction_linear with |
| 29 | | zero => simp |
| 30 | | add c d hc hd => simp only [map_add, Finsupp.add_apply, hc, hd] |
| 31 | | single x a => |
| 32 | rw [CyclePushforward.degreeComponent, Finsupp.linearCombination_single, Finsupp.smul_apply, |
| 33 | CycleClass.Thom.IntersectionGeometry.supportInDegree_apply] |
| 34 | have he : irreducibleSetEquivPoints.symm x = C.val ↔ x = CycleClass.Thom.IntersectionGeometry.supportPoint C.val := |
| 35 | irreducibleSetEquivPoints.symm_apply_eq |
| 36 | rw [he] |
| 37 | by_cases hx : x = CycleClass.Thom.IntersectionGeometry.supportPoint C.val |
| 38 | · subst x |
| 39 | simp |
| 40 | · simp [hx] |
| 41 | |
| 42 | theorem residueDegree_immersion {A B : Scheme} (i : A ⟶ B) |
| 43 | [SurjectiveOnStalks i] (x : A) : i.residueDegree x = 1 := by |
| 44 | have h := Support.Map.residueDegree_post_immersion (𝟙 A) i x |
| 45 | simpa only [Category.id_comp, Scheme.Hom.residueDegree_id] using h |
| 46 | |
| 47 | theorem pointPushforward_closedImmersion {A B : Scheme} (i : A ⟶ B) |
| 48 | [IsClosedImmersion i] (c : A →₀ ℚ) : |
| 49 | CyclePushforward.pointPushforward i c = |
| 50 | Finsupp.embDomain ⟨i, i.isClosedEmbedding.injective⟩ c := by |
| 51 | induction c using Finsupp.induction_linear with |
| 52 | | zero => simp |
| 53 | | add c d hc hd => simp only [map_add, Finsupp.embDomain_add, hc, hd] |
| 54 | | single x a => |
| 55 | rw [CyclePushforward.pointPushforward_single, residueDegree_immersion] |
| 56 | simp |
| 57 | |
| 58 | /-- The rational principal divisor on the actual support, embedded into |
| 59 | the ambient scheme and projected to the requested codimension. -/ |
| 60 | def principalCycle (X : Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation) (p : ℕ) |
| 61 | (W : IrreducibleCloseds X.carrier) |
| 62 | (f : (CycleClass.Geometric.GenericPoint.reducedSupportScheme W).functionField) : X.RationalDimensionCycle p := |
| 63 | CyclePushforward.degreeComponent X p |
| 64 | (Finsupp.embDomain ⟨CycleClass.Geometric.GenericPoint.reducedSupportι W, (CycleClass.Geometric.GenericPoint.reducedSupportι W).isClosedEmbedding.injective⟩ |
| 65 | ((Divisors.LineBundles.Ord.BundleCycles.principalDivisor (CycleClass.Geometric.GenericPoint.reducedSupportScheme W) f).mapRange |
| 66 | (Int.castRingHom ℚ) (map_zero _))) |
| 67 | |
| 68 | theorem principalCycle_apply (X : Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation) (p : ℕ) |
| 69 | (W : IrreducibleCloseds X.carrier) |
| 70 | (f : (CycleClass.Geometric.GenericPoint.reducedSupportScheme W).functionField) (C : X.DimensionCycleSupport p) : |
| 71 | principalCycle X p W f C = CycleClass.Thom.IntersectionGeometry.principalDivisorCoefficient X W f C.val := by |
| 72 | rw [principalCycle, degreeComponent_apply] |
| 73 | by_cases hx : CycleClass.Thom.IntersectionGeometry.supportPoint C.val ∈ (W : Set X.carrier) |
| 74 | · rw [CycleClass.Thom.IntersectionGeometry.principalDivisorCoefficient, dite_eq_left hx] |
| 75 | conv_lhs => rw [← CycleClass.Thom.IntersectionGeometry.supportPreimage_spec W (CycleClass.Thom.IntersectionGeometry.supportPoint C.val) hx] |
| 76 | exact Finsupp.embDomain_apply_self _ _ _ |
| 77 | · rw [CycleClass.Thom.IntersectionGeometry.principalDivisorCoefficient, dite_eq_right hx] |
| 78 | apply Finsupp.embDomain_of_notMem_range |
| 79 | change CycleClass.Thom.IntersectionGeometry.supportPoint C.val ∉ Set.range (CycleClass.Geometric.GenericPoint.reducedSupportι W) |
| 80 | simpa only [CycleClass.Geometric.GenericPoint.range_reducedSupportι] using hx |
| 81 | |
| 82 | /-- Every nonzero rational function gives a finite generator in exactly |
| 83 | the coefficient relation used to define ThomClass's quotient. -/ |
| 84 | theorem principalCycle_isPrincipalDivisor (X : Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation) (p : ℕ) |
| 85 | (W : IrreducibleCloseds X.carrier) (hW : X.supportCodimension W + 1 = p) |
| 86 | (f : (CycleClass.Geometric.GenericPoint.reducedSupportScheme W).functionField) (hf : f ≠ 0) : |
| 87 | CycleClass.Thom.IntersectionGeometry.IsPrincipalDivisor X p (principalCycle X p W f) := |
| 88 | ⟨W, hW, f, hf, principalCycle_apply X p W f⟩ |
| 89 | |
| 90 | theorem isPrincipalDivisor_iff (X : Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation) (p : ℕ) |
| 91 | (d : X.RationalDimensionCycle p) : |
| 92 | CycleClass.Thom.IntersectionGeometry.IsPrincipalDivisor X p d ↔ |
| 93 | ∃ W : IrreducibleCloseds X.carrier, X.supportCodimension W + 1 = p ∧ |
| 94 | ∃ f : (CycleClass.Geometric.GenericPoint.reducedSupportScheme W).functionField, |
| 95 | f ≠ 0 ∧ d = principalCycle X p W f := by |
| 96 | constructor |
| 97 | · rintro ⟨W, hW, f, hf, hd⟩ |
| 98 | exact ⟨W, hW, f, hf, Finsupp.ext (fun C => |
| 99 | (hd C).trans (principalCycle_apply X p W f C).symm)⟩ |
| 100 | · rintro ⟨W, hW, f, hf, rfl⟩ |
| 101 | exact principalCycle_isPrincipalDivisor X p W hW f hf |
| 102 | |
| 103 | theorem principalCycle_eq_pushforward (X : Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation) (p : ℕ) |
| 104 | (W : IrreducibleCloseds X.carrier) (f : (CycleClass.Geometric.GenericPoint.reducedSupportScheme W).functionField) : |
| 105 | principalCycle X p W f = CyclePushforward.degreeComponent X p |
| 106 | (CyclePushforward.pointPushforward (CycleClass.Geometric.GenericPoint.reducedSupportι W) |
| 107 | ((Divisors.LineBundles.Ord.BundleCycles.principalDivisor (CycleClass.Geometric.GenericPoint.reducedSupportScheme W) f).mapRange |
| 108 | (Int.castRingHom ℚ) (map_zero _))) := by |
| 109 | rw [pointPushforward_closedImmersion] |
| 110 | rfl |
| 111 | |
| 112 | end |
| 113 | |
| 114 | /-! A cycle supported on a closed section is recovered exactly |
| 115 | by projection, with coefficient one from every residue-field map. -/ |
| 116 | |
| 117 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 118 | |
| 119 | open OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.CyclePushforward |
| 120 | |
| 121 | variable {X Y : Scheme} (s : X ⟶ Y) [IsClosedImmersion s] |
| 122 | |
| 123 | theorem reconstruct (c : Y →₀ ℚ) (hc : (c.support : Set Y) ⊆ Set.range s) : |
| 124 | CyclePushforward.pointPushforward s (Finsupp.comapDomain s c s.isClosedEmbedding.injective.injOn) = c := by |
| 125 | rw [pointPushforward_closedImmersion] |
| 126 | exact Finsupp.embDomain_comapDomain hc |
| 127 | |
| 128 | theorem projection (q : Y ⟶ X) (h : s ≫ q = 𝟙 X) |
| 129 | (c : Y →₀ ℚ) (hc : (c.support : Set Y) ⊆ Set.range s) : |
| 130 | CyclePushforward.pointPushforward q c = Finsupp.comapDomain s c s.isClosedEmbedding.injective.injOn := by |
| 131 | calc |
| 132 | CyclePushforward.pointPushforward q c = CyclePushforward.pointPushforward q |
| 133 | (CyclePushforward.pointPushforward s (Finsupp.comapDomain s c s.isClosedEmbedding.injective.injOn)) := |
| 134 | congrArg (CyclePushforward.pointPushforward q) (reconstruct s c hc).symm |
| 135 | _ = _ := by |
| 136 | rw [← LinearMap.comp_apply, ← CyclePushforward.pointPushforward_comp, h, CyclePushforward.pointPushforward_id, LinearMap.id_apply] |
| 137 | |
| 138 | theorem apply (q : Y ⟶ X) (h : s ≫ q = 𝟙 X) |
| 139 | (c : Y →₀ ℚ) (hc : (c.support : Set Y) ⊆ Set.range s) (x : X) : |
| 140 | CyclePushforward.pointPushforward q c x = c (s x) := by |
| 141 | rw [projection s q h c hc] |
| 142 | rfl |
| 143 | |
| 144 | end |
| 145 | |
| 146 | end OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Principal.ClosedSectionCycle |