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.Resolution.Blowups.Global.OrderSequenceExtension |
| 2 | import OAI.AlgebraicGeometry.Resolution.Blowups.Global.Companion |
| 3 | |
| 4 | /-! # Residual Neighborhood -/ |
| 5 | |
| 6 | namespace OAI |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | namespace AlgebraicGeometry.Resolution.Blowups.Global.ResidualNeighborhood.Construction |
| 11 | |
| 12 | /-! The terminal companion drop gives an actual lower-residual-order neighborhood of the entire remaining order locus. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 15 | |
| 16 | theorem idealSheaf_support_subset_complement_of_sup_top |
| 17 | {X : Scheme} (I J : X.IdealSheafData) (h : I ⊔ J = ⊤) : |
| 18 | (I.support : Set X) ⊆ J.support.compl := by |
| 19 | intro x hx hj |
| 20 | have hs : x ∈ (I ⊔ J).support := by |
| 21 | rw [Scheme.IdealSheafData.support_sup] |
| 22 | exact ⟨hx, hj⟩ |
| 23 | rw [h, Scheme.IdealSheafData.support_top] at hs |
| 24 | exact hs |
| 25 | |
| 26 | theorem idealSheaf_comap_supportComplement_eq_top {X : Scheme} (I : X.IdealSheafData) : |
| 27 | I.comap (Scheme.Opens.ι (X := X) I.support.compl) = ⊤ := by |
| 28 | apply (Scheme.IdealSheafData.support_eq_bot_iff _).mp |
| 29 | apply SetLike.coe_injective |
| 30 | apply Set.eq_empty_iff_forall_notMem.mpr |
| 31 | intro x hx |
| 32 | rw [Scheme.IdealSheafData.support_comap] at hx |
| 33 | exact x.property hx |
| 34 | |
| 35 | def residualOrderDropOpen {X : Scheme} (f : X ⟶ Foundations.Scheme.ProjectiveSpace.complexBase) [Smooth f] |
| 36 | (J : X.IdealSheafData) (m : ℕ) : X.Opens := |
| 37 | (Blowups.Smooth.DifferentialIdealSheaf.Construction.smoothDifferentialIdealSheaf f J (m - 1)).support.compl |
| 38 | |
| 39 | theorem residualOrderDropOpen_residual_bound {X : Scheme} (f : X ⟶ Foundations.Scheme.ProjectiveSpace.complexBase) [Smooth f] |
| 40 | (J : X.IdealSheafData) (m : ℕ) : |
| 41 | Blowups.Smooth.DifferentialIdealSheaf.Construction.smoothDifferentialIdealSheaf ((residualOrderDropOpen f J m).ι ≫ f) |
| 42 | (J.comap (residualOrderDropOpen f J m).ι) (m - 1) = ⊤ := by |
| 43 | rw [← Blowups.Smooth.DifferentialSheafRestriction.Construction.smoothDifferentialIdealSheaf_comap_open] |
| 44 | exact idealSheaf_comap_supportComplement_eq_top _ |
| 45 | |
| 46 | theorem residualOrderDropOpen_contains_order_support |
| 47 | {X : Scheme} (f : X ⟶ Foundations.Scheme.ProjectiveSpace.complexBase) [Smooth f] (M J : X.IdealSheafData) (m b : ℕ) |
| 48 | (hd : Blowups.Smooth.DifferentialIdealSheaf.Construction.smoothDifferentialIdealSheaf f (M * J) (b - 1) ⊔ |
| 49 | Blowups.Smooth.DifferentialIdealSheaf.Construction.smoothDifferentialIdealSheaf f J (m - 1) = ⊤) : |
| 50 | ((Blowups.Smooth.DifferentialIdealSheaf.Construction.smoothDifferentialIdealSheaf f (M * J) (b - 1)).support : Set X) ⊆ |
| 51 | Set.range (residualOrderDropOpen f J m).ι := by |
| 52 | intro x hx |
| 53 | exact ⟨⟨x, idealSheaf_support_subset_complement_of_sup_top _ _ hd hx⟩, rfl⟩ |
| 54 | |
| 55 | theorem exists_global_sequence_of_residual_order_neighborhood |
| 56 | {X : Scheme} [IsIntegral X] [IsLocallyNoetherian X] |
| 57 | (f : X ⟶ Foundations.Scheme.ProjectiveSpace.complexBase) [Smooth f] (M J : X.IdealSheafData) (m b : ℕ) |
| 58 | (hMJ : M * J ≠ ⊥) |
| 59 | (hd : Blowups.Smooth.DifferentialIdealSheaf.Construction.smoothDifferentialIdealSheaf f (M * J) (b - 1) ⊔ |
| 60 | Blowups.Smooth.DifferentialIdealSheaf.Construction.smoothDifferentialIdealSheaf f J (m - 1) = ⊤) |
| 61 | (T : MonomialSequence.Construction.SmoothFixedControlSequence b (residualOrderDropOpen f J m) |
| 62 | ((residualOrderDropOpen f J m).ι ≫ f) ((M * J).comap (residualOrderDropOpen f J m).ι)) : |
| 63 | Nonempty (MonomialSequence.Construction.SmoothFixedControlSequence b X f (M * J)) := |
| 64 | T.extend_from_order_neighborhood X f (M * J) hMJ (residualOrderDropOpen f J m).ι |
| 65 | rfl rfl (residualOrderDropOpen_contains_order_support f M J m b hd) |
| 66 | |
| 67 | end AlgebraicGeometry.Resolution.Blowups.Global.ResidualNeighborhood.Construction |
| 68 | |
| 69 | namespace AlgebraicGeometry.Resolution.Blowups.Global |
| 70 | open _root_.CategoryTheory |
| 71 | open _root_.AlgebraicGeometry |
| 72 | section |
| 73 | |
| 74 | /-! Continue a global companion phase using an actual sequence only on its lower-order residual neighborhood. -/ |
| 75 | |
| 76 | theorem CompanionSequence.Construction.SmoothGlobalCompanionSequence.terminal_product_ne_bot {m b : ℕ} {X : Scheme} {f : X ⟶ Foundations.Scheme.ProjectiveSpace.complexBase} |
| 77 | {M J : X.IdealSheafData} (T : CompanionSequence.Construction.SmoothGlobalCompanionSequence m b X f M J) |
| 78 | (hmb : m ≤ b) (hMJ : M * J ≠ ⊥) : T.exceptionalIdeal * T.residualIdeal ≠ ⊥ := by |
| 79 | induction T with |
| 80 | | terminal => exact hMJ |
| 81 | | @blowup Y hY hN g hg M J hbound I hI hM hJ hs hbl tail ih => |
| 82 | apply ih |
| 83 | rw [← CompanionTransform.Construction.globalBlowup_companion_product_transform I M J hI m b hmb hM hJ] |
| 84 | exact GlobalBlowup.Nonzero.Construction.globalBlowupControlledIdeal_ne_bot I (M * J) hI b hMJ |
| 85 | |
| 86 | def CompanionSequence.Construction.SmoothGlobalCompanionSequence.residualNeighborhood {m b : ℕ} {X : Scheme} {f : X ⟶ Foundations.Scheme.ProjectiveSpace.complexBase} |
| 87 | {M J : X.IdealSheafData} (T : CompanionSequence.Construction.SmoothGlobalCompanionSequence m b X f M J) : T.endpoint.Opens := |
| 88 | ResidualNeighborhood.Construction.residualOrderDropOpen (T.toBase ≫ f) T.residualIdeal m |
| 89 | |
| 90 | theorem CompanionSequence.Construction.SmoothGlobalCompanionSequence.residualNeighborhood_bound {m b : ℕ} {X : Scheme} {f : X ⟶ Foundations.Scheme.ProjectiveSpace.complexBase} |
| 91 | {M J : X.IdealSheafData} (T : CompanionSequence.Construction.SmoothGlobalCompanionSequence m b X f M J) : |
| 92 | Blowups.Smooth.DifferentialIdealSheaf.Construction.smoothDifferentialIdealSheaf (T.residualNeighborhood.ι ≫ (T.toBase ≫ f)) |
| 93 | (T.residualIdeal.comap T.residualNeighborhood.ι) (m - 1) = ⊤ := |
| 94 | ResidualNeighborhood.Construction.residualOrderDropOpen_residual_bound (T.toBase ≫ f) T.residualIdeal m |
| 95 | |
| 96 | theorem CompanionSequence.Construction.SmoothGlobalCompanionSequence.attachControl_from_residualNeighborhood {m b : ℕ} |
| 97 | {X : Scheme} [IsIntegral X] {f : X ⟶ Foundations.Scheme.ProjectiveSpace.complexBase} {M J : X.IdealSheafData} |
| 98 | (T : CompanionSequence.Construction.SmoothGlobalCompanionSequence m b X f M J) (hb : 0 < b) (hmb : m ≤ b) |
| 99 | (hMJ : M * J ≠ ⊥) |
| 100 | (rest : MonomialSequence.Construction.SmoothFixedControlSequence b T.residualNeighborhood |
| 101 | (T.residualNeighborhood.ι ≫ (T.toBase ≫ f)) |
| 102 | ((T.exceptionalIdeal * T.residualIdeal).comap T.residualNeighborhood.ι)) : |
| 103 | Nonempty (MonomialSequence.Construction.SmoothFixedControlSequence b X f (M * J)) := by |
| 104 | let : IsIntegral T.endpoint := T.endpoint_integral |
| 105 | let : IsLocallyNoetherian T.endpoint := LocallyOfFiniteType.isLocallyNoetherian (T.toBase ≫ f) |
| 106 | obtain ⟨U⟩ := ResidualNeighborhood.Construction.exists_global_sequence_of_residual_order_neighborhood |
| 107 | (T.toBase ≫ f) T.exceptionalIdeal T.residualIdeal m b (T.terminal_product_ne_bot hmb hMJ) |
| 108 | T.terminal_residual_drop rest |
| 109 | exact ⟨T.attachControl hb hmb U⟩ |
| 110 | |
| 111 | end |
| 112 | |
| 113 | /-! Nonempty integral residual neighborhoods and their native nonzero ideals. -/ |
| 114 | |
| 115 | theorem ResidualNeighborhood.Construction.residualOrderDropOpen_nonempty {X : Scheme} [IsIntegral X] |
| 116 | (f : X ⟶ Foundations.Scheme.ProjectiveSpace.complexBase) [Smooth f] (J : X.IdealSheafData) (hJ : J ≠ ⊥) (m : ℕ) : |
| 117 | Nonempty (ResidualNeighborhood.Construction.residualOrderDropOpen f J m) := by |
| 118 | by_contra h |
| 119 | apply OrderCenterExtension.Construction.differential_order_support_ne_univ f J hJ (m - 1) |
| 120 | apply Set.eq_univ_of_forall |
| 121 | intro x |
| 122 | by_contra hx |
| 123 | exact h ⟨⟨x, hx⟩⟩ |
| 124 | |
| 125 | theorem ResidualNeighborhood.Construction.residualOrderDropOpen_integral {X : Scheme} [IsIntegral X] |
| 126 | (f : X ⟶ Foundations.Scheme.ProjectiveSpace.complexBase) [Smooth f] (J : X.IdealSheafData) (hJ : J ≠ ⊥) (m : ℕ) : |
| 127 | IsIntegral (ResidualNeighborhood.Construction.residualOrderDropOpen f J m) := by |
| 128 | let : Nonempty (ResidualNeighborhood.Construction.residualOrderDropOpen f J m) := ResidualNeighborhood.Construction.residualOrderDropOpen_nonempty f J hJ m |
| 129 | exact isIntegral_of_isOpenImmersion (ResidualNeighborhood.Construction.residualOrderDropOpen f J m).ι |
| 130 | |
| 131 | theorem ResidualNeighborhood.Construction.idealSheaf_right_factor_ne_bot {X : Scheme} (M J : X.IdealSheafData) |
| 132 | (h : M * J ≠ ⊥) : J ≠ ⊥ := by |
| 133 | intro hz |
| 134 | apply h |
| 135 | apply Scheme.IdealSheafData.ext |
| 136 | funext U |
| 137 | change (M.ideal U) * (J.ideal U) = ⊥ |
| 138 | rw [hz] |
| 139 | exact Ideal.mul_bot (M.ideal U) |
| 140 | |
| 141 | theorem CompanionSequence.Construction.SmoothGlobalCompanionSequence.residualNeighborhood_integral |
| 142 | {m b : ℕ} {X : Scheme} [IsIntegral X] {f : X ⟶ Foundations.Scheme.ProjectiveSpace.complexBase} {M J : X.IdealSheafData} |
| 143 | (T : CompanionSequence.Construction.SmoothGlobalCompanionSequence m b X f M J) (hmb : m ≤ b) (hMJ : M * J ≠ ⊥) : |
| 144 | IsIntegral T.residualNeighborhood := by |
| 145 | let : IsIntegral T.endpoint := T.endpoint_integral |
| 146 | exact ResidualNeighborhood.Construction.residualOrderDropOpen_integral (T.toBase ≫ f) T.residualIdeal |
| 147 | (ResidualNeighborhood.Construction.idealSheaf_right_factor_ne_bot _ _ (T.terminal_product_ne_bot hmb hMJ)) m |
| 148 | |
| 149 | theorem CompanionSequence.Construction.SmoothGlobalCompanionSequence.residualNeighborhood_product_ne_bot |
| 150 | {m b : ℕ} {X : Scheme} [IsIntegral X] {f : X ⟶ Foundations.Scheme.ProjectiveSpace.complexBase} {M J : X.IdealSheafData} |
| 151 | (T : CompanionSequence.Construction.SmoothGlobalCompanionSequence m b X f M J) (hmb : m ≤ b) (hMJ : M * J ≠ ⊥) : |
| 152 | (T.exceptionalIdeal * T.residualIdeal).comap T.residualNeighborhood.ι ≠ ⊥ := by |
| 153 | let : IsIntegral T.endpoint := T.endpoint_integral |
| 154 | let : IsIntegral T.residualNeighborhood := T.residualNeighborhood_integral hmb hMJ |
| 155 | let : IsDominant T.residualNeighborhood.ι := by |
| 156 | constructor |
| 157 | exact T.residualNeighborhood.ι.opensRange.isOpen.dense |
| 158 | (Set.range_nonempty T.residualNeighborhood.ι) |
| 159 | let : IsSchemeTheoreticallyDominant T.residualNeighborhood.ι := |
| 160 | IsSchemeTheoreticallyDominant.of_isDominant T.residualNeighborhood.ι |
| 161 | exact GlobalBlowup.Nonzero.Construction.idealSheaf_comap_ne_bot_of_ker_eq_bot T.residualNeighborhood.ι |
| 162 | T.residualNeighborhood.ι.ker_eq_bot _ (T.terminal_product_ne_bot hmb hMJ) |
| 163 | |
| 164 | end AlgebraicGeometry.Resolution.Blowups.Global |
| 165 | |
| 166 | end |
| 167 | |
| 168 | end OAI |