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.SupportedBoundaryCenterExtension |
| 2 | import OAI.AlgebraicGeometry.Resolution.Blowups.GlobalBoundary.SequenceCompatibility |
| 3 | import OAI.AlgebraicGeometry.Resolution.Blowups.MixedBoundary.PartialLabelTransform |
| 4 | import OAI.AlgebraicGeometry.Resolution.Blowups.Global.CanonicalBoundaryAtlas |
| 5 | |
| 6 | /-! # Labels -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.Resolution.Blowups |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | section |
| 13 | |
| 14 | /-! Native boundary and center atlases retain partially relabelled components and unit labels. -/ |
| 15 | |
| 16 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 17 | |
| 18 | def Global.CanonicalBoundaryAtlas.Construction.GlobalMixedCenterAtlas.pullbackLabels |
| 19 | {X : Scheme} {f : X ⟶ Foundations.Scheme.ProjectiveSpace.complexBase} {I : X.IdealSheafData} |
| 20 | {β γ : Type} [Fintype γ] {D : β → X.IdealSheafData} |
| 21 | (A : Global.CanonicalBoundaryAtlas.Construction.GlobalMixedCenterAtlas f I D) (p : γ → Option β) |
| 22 | (hp : ∀ i j s, p i = some s → p j = some s → i = j) |
| 23 | (E : γ → X.IdealSheafData) (hE : ∀ j, E j = match p j with | none => ⊤ | some s => D s) : |
| 24 | Global.CanonicalBoundaryAtlas.Construction.GlobalMixedCenterAtlas f I E := by |
| 25 | classical |
| 26 | let v (i : A.indices) (j : γ) : Γ(X, A.opens i) := |
| 27 | match p j with | none => 1 | some s => A.equations i s |
| 28 | let F (i : A.indices) := Finset.univ.filter (fun j => ∃ s ∈ A.divided i, p j = some s) |
| 29 | refine { indices := A.indices |
| 30 | opens := A.opens |
| 31 | cover := A.cover |
| 32 | equations := v |
| 33 | divided := F |
| 34 | component := ?_ |
| 35 | contained := ?_ |
| 36 | boundary := ?_ |
| 37 | center := ?_ } |
| 38 | · intro i j |
| 39 | rw [hE j] |
| 40 | cases hj : p j with |
| 41 | | none => |
| 42 | change (⊤ : Ideal Γ(X, A.opens i)) = Ideal.span {v i j} |
| 43 | simp only [v, hj] |
| 44 | exact Ideal.span_singleton_one.symm |
| 45 | | some s => |
| 46 | change (D s).ideal (A.opens i) = Ideal.span {v i j} |
| 47 | simpa only [v, hj] using A.component i s |
| 48 | · intro i j hj |
| 49 | obtain ⟨s, hs, hpj⟩ := (Finset.mem_filter.mp hj).2 |
| 50 | simpa only [v, hpj] using A.contained i s hs |
| 51 | · intro i |
| 52 | let : Algebra ℂ Γ(X, A.opens i) := Smooth.DifferentialIdealSheaf.Construction.affineComplexAlgebra f (A.opens i) |
| 53 | apply (A.boundary i).pullbackLabels p hp (v i) (fun _ => 1) (fun _ => isUnit_one) |
| 54 | intro j |
| 55 | exact (one_mul (v i j)).symm |
| 56 | · intro i |
| 57 | let : Algebra ℂ Γ(X, A.opens i) := Smooth.DifferentialIdealSheaf.Construction.affineComplexAlgebra f (A.opens i) |
| 58 | apply (A.center i).pullbackLabels p hp (v i) (fun _ => 1) (fun _ => isUnit_one) |
| 59 | (fun j => (one_mul (v i j)).symm) (F i) |
| 60 | intro j |
| 61 | simp only [F, Finset.mem_filter, Finset.mem_univ, true_and] |
| 62 | |
| 63 | def Global.MonomialBoundaryAtlas.Construction.GlobalMonomialBoundaryAtlas.pullbackLabels |
| 64 | {X : Scheme} {f : X ⟶ Foundations.Scheme.ProjectiveSpace.complexBase} {β γ : Type} [Fintype γ] |
| 65 | {D : β → X.IdealSheafData} {L : List (Finset β)} |
| 66 | (A : Global.MonomialBoundaryAtlas.Construction.GlobalMonomialBoundaryAtlas f D L) (p : γ → Option β) |
| 67 | (hp : ∀ i j s, p i = some s → p j = some s → i = j) |
| 68 | (E : γ → X.IdealSheafData) (hE : ∀ j, E j = match p j with | none => ⊤ | some s => D s) : |
| 69 | Global.MonomialBoundaryAtlas.Construction.GlobalMonomialBoundaryAtlas f E [Finset.univ] := |
| 70 | (A.unitCenter.pullbackLabels p hp E hE).boundaryAtlas |
| 71 | |
| 72 | end |
| 73 | |
| 74 | section |
| 75 | |
| 76 | /-! Actual global boundary-compatible sequences retain any injectively relabelled boundary family. -/ |
| 77 | |
| 78 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 79 | |
| 80 | def GlobalBoundary.Labels.Construction.swapFirstBoundaryLabels {β : Type} : Option (Option β) ≃ Option (Option β) where |
| 81 | toFun |
| 82 | | none => some none |
| 83 | | some none => none |
| 84 | | some (some j) => some (some j) |
| 85 | invFun |
| 86 | | none => some none |
| 87 | | some none => none |
| 88 | | some (some j) => some (some j) |
| 89 | left_inv := by intro j; rcases j with _ | (_ | j) <;> rfl |
| 90 | right_inv := by intro j; rcases j with _ | (_ | j) <;> rfl |
| 91 | |
| 92 | theorem Global.MonomialSequence.Construction.SmoothFixedControlSequence.boundaryCompatible_reindex |
| 93 | {b : ℕ} {X : Scheme} {f : X ⟶ Foundations.Scheme.ProjectiveSpace.complexBase} {J : X.IdealSheafData} |
| 94 | (T : Global.MonomialSequence.Construction.SmoothFixedControlSequence b X f J) : |
| 95 | ∀ (β γ : Type) [Fintype β] [Fintype γ] (D : β → X.IdealSheafData), |
| 96 | T.boundaryCompatible β D → ∀ e : γ ↪ β, |
| 97 | T.boundaryCompatible γ (fun j => D (e j)) := by |
| 98 | induction T with |
| 99 | | terminal h => |
| 100 | intro β γ _ _ D hB e |
| 101 | obtain ⟨A⟩ := hB |
| 102 | refine ⟨A.pullbackLabels (fun j => some (e j)) ?_ (fun j => D (e j)) (fun _ => rfl)⟩ |
| 103 | intro i j s hi hj |
| 104 | exact e.injective (Option.some_injective _ (hi.trans hj.symm)) |
| 105 | | @blowup X _ _ f J I hI hb hp hs hbl tail ih => |
| 106 | intro β γ _ _ D hB e |
| 107 | change Nonempty (Global.CanonicalBoundaryAtlas.Construction.GlobalMixedCenterAtlas f I D) ∧ |
| 108 | tail.boundaryCompatible (Option β) (CanonicalBoundaryTransform.Construction.globalBlowupCanonicalBoundary I hI D) at hB |
| 109 | obtain ⟨A⟩ := hB.1 |
| 110 | change Nonempty (Global.CanonicalBoundaryAtlas.Construction.GlobalMixedCenterAtlas f I (fun j => D (e j))) ∧ |
| 111 | tail.boundaryCompatible (Option γ) (CanonicalBoundaryTransform.Construction.globalBlowupCanonicalBoundary I hI (fun j => D (e j))) |
| 112 | refine ⟨⟨A.pullbackLabels (fun j => some (e j)) ?_ (fun j => D (e j)) (fun _ => rfl)⟩, ?_⟩ |
| 113 | · intro i j s hi hj |
| 114 | exact e.injective (Option.some_injective _ (hi.trans hj.symm)) |
| 115 | · let e' : Option γ ↪ Option β := ⟨Option.map e, Option.map_injective e.injective⟩ |
| 116 | have h := ih (Option β) (Option γ) (CanonicalBoundaryTransform.Construction.globalBlowupCanonicalBoundary I hI D) hB.2 e' |
| 117 | convert h using 1 |
| 118 | funext j |
| 119 | cases j <;> rfl |
| 120 | |
| 121 | theorem GlobalBoundary.Labels.Construction.canonical_boundary_swap_contained_carrier |
| 122 | {X : Scheme} [IsIntegral X] [IsLocallyNoetherian X] |
| 123 | (I H : X.IdealSheafData) (hI : I ≠ ⊥) {β : Type} (D : β → X.IdealSheafData) |
| 124 | (j : Option (Option β)) : |
| 125 | CanonicalBoundaryTransform.Construction.globalBlowupCanonicalBoundary I hI |
| 126 | (fun l : Option β => match l with | none => H | some s => D s) (GlobalBoundary.Labels.Construction.swapFirstBoundaryLabels j) = |
| 127 | (match j with |
| 128 | | none => GlobalControlled.Ideal.Construction.globalBlowupControlledIdeal I H hI 1 |
| 129 | | some l => CanonicalBoundaryTransform.Construction.globalBlowupCanonicalBoundary I hI D l) := by |
| 130 | rcases j with _ | (_ | j) <;> rfl |
| 131 | |
| 132 | end |
| 133 | |
| 134 | /-! Retain a distinguished carrier boundary alongside the exceptional labels of a coefficient lift. -/ |
| 135 | |
| 136 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 137 | |
| 138 | def Global.MonomialBoundaryAtlas.Construction.GlobalMonomialBoundaryAtlas.dropFirst |
| 139 | {X : Scheme} {f : X ⟶ Foundations.Scheme.ProjectiveSpace.complexBase} {β : Type} [Fintype β] |
| 140 | {D : Option β → X.IdealSheafData} {L : List (Finset (Option β))} |
| 141 | (A : Global.MonomialBoundaryAtlas.Construction.GlobalMonomialBoundaryAtlas f D L) : |
| 142 | Global.MonomialBoundaryAtlas.Construction.GlobalMonomialBoundaryAtlas f (fun j => D (some j)) [Finset.univ] := |
| 143 | A.pullbackLabels (fun j : β => some (some j)) |
| 144 | (by intro i j s hi hj; exact Option.some_injective β (Option.some_injective (Option β) (hi.trans hj.symm))) |
| 145 | (fun j => D (some j)) (fun _ => rfl) |
| 146 | |
| 147 | def Global.CanonicalBoundaryAtlas.Construction.GlobalMixedCenterAtlas.blowupBoundaryWithCarrier |
| 148 | {X : Scheme} [IsIntegral X] [IsLocallyNoetherian X] {f : X ⟶ Foundations.Scheme.ProjectiveSpace.complexBase} |
| 149 | {I H : X.IdealSheafData} {β : Type} [Fintype β] {D : β → X.IdealSheafData} |
| 150 | (A : Global.CanonicalBoundaryAtlas.Construction.GlobalMixedCenterAtlas f I (fun j : Option β => match j with | none => H | some l => D l)) |
| 151 | (hI : I ≠ ⊥) : |
| 152 | Global.MonomialBoundaryAtlas.Construction.GlobalMonomialBoundaryAtlas (GlobalBlowup.Data.Construction.globalBlowupToBase I hI ≫ f) |
| 153 | (fun j : Option (Option β) => match j with |
| 154 | | none => GlobalControlled.Ideal.Construction.globalBlowupControlledIdeal I H hI 1 |
| 155 | | some l => CanonicalBoundaryTransform.Construction.globalBlowupCanonicalBoundary I hI D l) [Finset.univ] := by |
| 156 | apply (A.blowupBoundary hI).pullbackLabels (fun j => some (GlobalBoundary.Labels.Construction.swapFirstBoundaryLabels j)) |
| 157 | · intro i j s hi hj |
| 158 | exact GlobalBoundary.Labels.Construction.swapFirstBoundaryLabels.injective (Option.some_injective _ (hi.trans hj.symm)) |
| 159 | · intro j |
| 160 | exact (GlobalBoundary.Labels.Construction.canonical_boundary_swap_contained_carrier I H hI D j).symm |
| 161 | |
| 162 | theorem Global.MonomialSequence.Construction.SmoothFixedControlSequence.boundaryCompatible_carrier_to_canonical |
| 163 | {X : Scheme} [IsIntegral X] [IsLocallyNoetherian X] {f : X ⟶ Foundations.Scheme.ProjectiveSpace.complexBase} |
| 164 | {I H : X.IdealSheafData} (hI : I ≠ ⊥) {β : Type} [Fintype β] (D : β → X.IdealSheafData) |
| 165 | {b : ℕ} {J : (GlobalBlowup.Data.Construction.globalBlowup I hI).IdealSheafData} |
| 166 | (T : Global.MonomialSequence.Construction.SmoothFixedControlSequence b (GlobalBlowup.Data.Construction.globalBlowup I hI) (GlobalBlowup.Data.Construction.globalBlowupToBase I hI ≫ f) J) |
| 167 | (hT : T.boundaryCompatible (Option (Option β)) |
| 168 | (fun j => match j with |
| 169 | | none => GlobalControlled.Ideal.Construction.globalBlowupControlledIdeal I H hI 1 |
| 170 | | some l => CanonicalBoundaryTransform.Construction.globalBlowupCanonicalBoundary I hI D l)) : |
| 171 | T.boundaryCompatible (Option (Option β)) |
| 172 | (CanonicalBoundaryTransform.Construction.globalBlowupCanonicalBoundary I hI (fun j : Option β => match j with | none => H | some l => D l)) := by |
| 173 | have h := T.boundaryCompatible_reindex (Option (Option β)) (Option (Option β)) _ hT |
| 174 | GlobalBoundary.Labels.Construction.swapFirstBoundaryLabels.toEmbedding |
| 175 | convert h using 1 |
| 176 | funext j |
| 177 | rcases j with _ | (_ | j) <;> rfl |
| 178 | |
| 179 | end |
| 180 | |
| 181 | end OAI.AlgebraicGeometry.Resolution.Blowups |