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.Cone.Multiplicity |
| 2 | import OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Projective.ConeCodimension |
| 3 | import OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.CycleSupport |
| 4 | |
| 5 | /-! # Support Bound -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Cone.SupportBound |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | section |
| 12 | |
| 13 | /-! The cone intersection on an integral smooth projective scheme |
| 14 | is a finite cycle with the exact ambient Tor coefficients. Subtracting |
| 15 | the original support leaves a cycle on the residual closed set. -/ |
| 16 | |
| 17 | set_option backward.isDefEq.respectTransparency false |
| 18 | set_option backward.isDefEq.respectTransparency.types false |
| 19 | |
| 20 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.TopologicalSpace |
| 21 | open scoped Classical |
| 22 | |
| 23 | namespace IntegralCycle |
| 24 | |
| 25 | variable (X : Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation) (m : ℕ) |
| 26 | (L : Fin (m + 1) → Foundations.Scheme.ProjectiveSpace.projectiveGrading X.ambientDimension 1) (hL : LinearIndependent ℂ L) |
| 27 | (h : ∀ x : X.carrier, ∃ a, (L a).val ∉ (X.embedding x).asHomogeneousIdeal) |
| 28 | (p : ℕ) (W : X.DimensionCycleSupport p) |
| 29 | |
| 30 | def cone : IrreducibleCloseds (Foundations.Scheme.ProjectiveSpace.projectiveSpace X.ambientDimension) := |
| 31 | Projective.ConeSupport.support L hL (Projection.FiniteProjective.FromForms.map X m L h (CycleClass.Thom.IntersectionGeometry.supportPoint W.val)) |
| 32 | |
| 33 | def intersection : Closeds X.carrier := |
| 34 | ⟨X.embedding ⁻¹' (cone X m L hL h p W : Set (Foundations.Scheme.ProjectiveSpace.projectiveSpace X.ambientDimension)), |
| 35 | (cone X m L hL h p W).isClosed.preimage X.embedding.continuous⟩ |
| 36 | |
| 37 | variable [IsIntegral X.carrier] |
| 38 | |
| 39 | def coefficient (C : X.DimensionCycleSupport p) : ℚ := |
| 40 | CycleClass.Thom.IntersectionGeometry.intersectionMultiplicity (Projective.Dimension.SpacePresentation.presentation X.ambientDimension) |
| 41 | (cone X m L hL h p W) (Closed.ImmersionSupport.support X.embedding) |
| 42 | (Multiplicity.IntegralProjection.imageSupport X C.val) |
| 43 | |
| 44 | theorem coefficient_nonzero (C : X.DimensionCycleSupport p) |
| 45 | (hC : coefficient X m L hL h p W C ≠ 0) : |
| 46 | CycleClass.Thom.IntersectionGeometry.supportPoint C.val ∈ intersection X m L hL h p W := by |
| 47 | by_contra hn |
| 48 | apply hC |
| 49 | apply dite_eq_right |
| 50 | intro hm |
| 51 | have he := Multiplicity.IntegralProjection.image_point X C.val |
| 52 | have ha := hm.1 |
| 53 | rw [he] at ha |
| 54 | exact hn ha |
| 55 | |
| 56 | variable [SmoothOfRelativeDimension m X.structureMap] |
| 57 | |
| 58 | theorem coefficients_finite : (Function.support (coefficient X m L hL h p W)).Finite := by |
| 59 | apply (Supports.finite_supports_in_proper_closed X m p |
| 60 | (intersection X m L hL h p W) ?_).subset |
| 61 | · intro C hC |
| 62 | exact coefficient_nonzero X m L hL h p W C hC |
| 63 | · intro C hC |
| 64 | rw [← W.property] |
| 65 | exact Projective.ConeCodimension.intersection_bound X m L hL h W.val C hC |
| 66 | |
| 67 | def cycle : X.RationalDimensionCycle p := |
| 68 | Finsupp.ofSupportFinite (coefficient X m L hL h p W) (coefficients_finite X m L hL h p W) |
| 69 | |
| 70 | theorem cycle_apply (C : X.DimensionCycleSupport p) : |
| 71 | cycle X m L hL h p W C = coefficient X m L hL h p W C := rfl |
| 72 | |
| 73 | theorem cycle_supported : CycleSupport.SupportedOn X p (cycle X m L hL h p W) |
| 74 | (intersection X m L hL h p W) := by |
| 75 | intro C hC |
| 76 | apply (Supports.supportPoint_mem_iff_subset _ C.val).mp |
| 77 | exact coefficient_nonzero X m L hL h p W C (Finsupp.mem_support_iff.mp hC) |
| 78 | |
| 79 | def residual : X.RationalDimensionCycle p := cycle X m L hL h p W - Finsupp.single W 1 |
| 80 | |
| 81 | theorem decomposition : cycle X m L hL h p W = Finsupp.single W 1 + residual X m L hL h p W := by |
| 82 | unfold residual |
| 83 | abel |
| 84 | |
| 85 | theorem original_coefficient (U : X.carrier.Opens) [Etale (U.ι ≫ Projection.FiniteProjective.FromForms.map X m L h)] |
| 86 | (x : X.carrier) (hxW : x ∈ (W.val : Set X.carrier)) (hxU : x ∈ U) : |
| 87 | cycle X m L hL h p W W = 1 := |
| 88 | Multiplicity.IntegralProjection.multiplicity_one X m L hL h W.val U x hxW hxU |
| 89 | |
| 90 | theorem residual_supported (U : X.carrier.Opens) [Etale (U.ι ≫ Projection.FiniteProjective.FromForms.map X m L h)] |
| 91 | (x : X.carrier) (hxW : x ∈ (W.val : Set X.carrier)) (hxU : x ∈ U) : |
| 92 | CycleSupport.SupportedOn X p (residual X m L hL h p W) |
| 93 | (ResidualAvoidance.Projection.residual (Projection.FiniteProjective.FromForms.map X m L h) W.val) := by |
| 94 | intro C hC |
| 95 | have hne : C ≠ W := by |
| 96 | intro he |
| 97 | subst C |
| 98 | have hc := Finsupp.mem_support_iff.mp hC |
| 99 | apply hc |
| 100 | rw [residual, Finsupp.sub_apply, Finsupp.single_eq_same, original_coefficient X m L hL h p W U x hxW hxU, sub_self] |
| 101 | have hc : C ∈ (cycle X m L hL h p W).support := by |
| 102 | rw [Finsupp.mem_support_iff] |
| 103 | have ht := Finsupp.mem_support_iff.mp hC |
| 104 | rw [residual, Finsupp.sub_apply, Finsupp.single_eq_of_ne hne, sub_zero] at ht |
| 105 | exact ht |
| 106 | have hη : CycleClass.Thom.IntersectionGeometry.supportPoint C.val ∉ (W.val : Set X.carrier) := by |
| 107 | intro hm |
| 108 | let S : Closeds X.carrier := ⟨(W.val : Set X.carrier), W.val.isClosed⟩ |
| 109 | have hle : C.val ≤ W.val := |
| 110 | (Supports.supportPoint_mem_iff_subset S C.val).mp hm |
| 111 | have hlt := Supports.codimension_strictAnti X m |
| 112 | (lt_of_le_of_ne hle (fun he => hne (Subtype.ext he))) |
| 113 | rw [W.property, C.property] at hlt |
| 114 | exact lt_irrefl p hlt |
| 115 | apply (Supports.supportPoint_mem_iff_subset _ C.val).mp |
| 116 | apply subset_closure |
| 117 | refine ⟨?_, hη⟩ |
| 118 | have hm := coefficient_nonzero X m L hL h p W C (Finsupp.mem_support_iff.mp hc) |
| 119 | change CycleClass.Thom.IntersectionGeometry.supportPoint C.val ∈ X.embedding ⁻¹' (cone X m L hL h p W : Set (Foundations.Scheme.ProjectiveSpace.projectiveSpace X.ambientDimension)) at hm |
| 120 | exact Eq.mp (congrArg (fun S : Set X.carrier => CycleClass.Thom.IntersectionGeometry.supportPoint C.val ∈ S) |
| 121 | (Projective.ConePreimage.intersection X m L hL h W.val)) hm |
| 122 | |
| 123 | end IntegralCycle |
| 124 | |
| 125 | end |
| 126 | |
| 127 | /-! Proper bounds for the original support and the full residual |
| 128 | closed set control the entire cone intersection, including components |
| 129 | that might carry zero native cycle coefficient. -/ |
| 130 | |
| 131 | set_option backward.isDefEq.respectTransparency false |
| 132 | set_option backward.isDefEq.respectTransparency.types false |
| 133 | |
| 134 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.TopologicalSpace |
| 135 | |
| 136 | theorem saturated (X : Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation) {Y : Scheme} (π : X.carrier ⟶ Y) |
| 137 | (W B : IrreducibleCloseds X.carrier) (k : ℕ) |
| 138 | (hW : ∀ C : IrreducibleCloseds X.carrier, |
| 139 | (C : Set X.carrier) ⊆ (W : Set X.carrier) ∩ (B : Set X.carrier) → k ≤ X.supportCodimension C) |
| 140 | (hR : ∀ C : IrreducibleCloseds X.carrier, |
| 141 | (C : Set X.carrier) ⊆ (ResidualAvoidance.Projection.residual π W : Set X.carrier) ∩ (B : Set X.carrier) → |
| 142 | k ≤ X.supportCodimension C) |
| 143 | (C : IrreducibleCloseds X.carrier) |
| 144 | (hC : (C : Set X.carrier) ⊆ (π ⁻¹' (π '' (W : Set X.carrier))) ∩ (B : Set X.carrier)) : |
| 145 | k ≤ X.supportCodimension C := by |
| 146 | have hη : CycleClass.Thom.IntersectionGeometry.supportPoint C ∈ (C : Set X.carrier) := (C.isIrreducible.isGenericPoint_genericPoint C.isClosed).mem |
| 147 | by_cases hw : CycleClass.Thom.IntersectionGeometry.supportPoint C ∈ (W : Set X.carrier) |
| 148 | · have hCW : (C : Set X.carrier) ⊆ W := |
| 149 | (Supports.supportPoint_mem_iff_subset ⟨W, W.isClosed⟩ C).mp hw |
| 150 | exact hW C (fun z hz => ⟨hCW hz, (hC hz).2⟩) |
| 151 | · have hr : CycleClass.Thom.IntersectionGeometry.supportPoint C ∈ (ResidualAvoidance.Projection.residual π W : Set X.carrier) := |
| 152 | subset_closure ⟨(hC hη).1, hw⟩ |
| 153 | have hCR := (Supports.supportPoint_mem_iff_subset |
| 154 | (ResidualAvoidance.Projection.residual π W) C).mp hr |
| 155 | exact hR C (fun z hz => ⟨hCR hz, (hC hz).2⟩) |
| 156 | |
| 157 | theorem cone (X : Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation) (m : ℕ) |
| 158 | (L : Fin (m + 1) → Foundations.Scheme.ProjectiveSpace.projectiveGrading X.ambientDimension 1) (hL : LinearIndependent ℂ L) |
| 159 | (h : ∀ x : X.carrier, ∃ a, (L a).val ∉ (X.embedding x).asHomogeneousIdeal) |
| 160 | (p q : ℕ) (W : X.DimensionCycleSupport p) (B : X.DimensionCycleSupport q) |
| 161 | (hW : ∀ C : IrreducibleCloseds X.carrier, |
| 162 | (C : Set X.carrier) ⊆ (W.val : Set X.carrier) ∩ (B.val : Set X.carrier) → p + q ≤ X.supportCodimension C) |
| 163 | (hR : ∀ C : IrreducibleCloseds X.carrier, |
| 164 | (C : Set X.carrier) ⊆ |
| 165 | (ResidualAvoidance.Projection.residual (Projection.FiniteProjective.FromForms.map X m L h) W.val : Set X.carrier) ∩ |
| 166 | (B.val : Set X.carrier) → p + q ≤ X.supportCodimension C) |
| 167 | (C : IrreducibleCloseds X.carrier) |
| 168 | (hC : (C : Set X.carrier) ⊆ (IntegralCycle.intersection X m L hL h p W : Set X.carrier) ∩ |
| 169 | (B.val : Set X.carrier)) : p + q ≤ X.supportCodimension C := by |
| 170 | apply saturated X (Projection.FiniteProjective.FromForms.map X m L h) W.val B.val (p + q) hW hR C |
| 171 | change (C : Set X.carrier) ⊆ |
| 172 | (X.embedding ⁻¹' (IntegralCycle.cone X m L hL h p W : Set (Foundations.Scheme.ProjectiveSpace.projectiveSpace X.ambientDimension))) ∩ |
| 173 | (B.val : Set X.carrier) at hC |
| 174 | have he : X.embedding ⁻¹' (IntegralCycle.cone X m L hL h p W : Set (Foundations.Scheme.ProjectiveSpace.projectiveSpace X.ambientDimension)) = |
| 175 | Projection.FiniteProjective.FromForms.map X m L h ⁻¹' (Projection.FiniteProjective.FromForms.map X m L h '' (W.val : Set X.carrier)) := |
| 176 | Projective.ConePreimage.intersection X m L hL h W.val |
| 177 | rw [he] at hC |
| 178 | exact hC |
| 179 | |
| 180 | end |
| 181 | |
| 182 | end OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Cone.SupportBound |