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.SimultaneousFiberCut |
| 2 | |
| 3 | /-! # Fiber Cut Induction -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.FiberCutInduction |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | section |
| 10 | |
| 11 | /-! Iterated simultaneous fiber cuts produce base-point-free linear |
| 12 | coordinates with independent jets and singleton fibers on lower-dimensional supports. -/ |
| 13 | |
| 14 | set_option backward.isDefEq.respectTransparency false |
| 15 | set_option backward.isDefEq.respectTransparency.types false |
| 16 | |
| 17 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.TopologicalSpace |
| 18 | |
| 19 | open OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Supports OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.PointFiberLinearForms OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Projective.LinearCut |
| 20 | |
| 21 | theorem commonZero_cons {X : Scheme} {n k : ℕ} (i : X ⟶ Foundations.Scheme.ProjectiveSpace.projectiveSpace n) |
| 22 | (a : Foundations.Scheme.ProjectiveSpace.homogeneousCoordinateRing n) (L : Fin k → Foundations.Scheme.ProjectiveSpace.homogeneousCoordinateRing n) : |
| 23 | Projective.LinearCut.commonZero i (Fin.cons a L) = Projective.LinearCut.commonZero i L ⊓ Projective.LinearCut.zeroSet i a := by |
| 24 | ext x |
| 25 | change x ∈ Projective.LinearCut.commonZero i (Fin.cons a L) ↔ x ∈ Projective.LinearCut.commonZero i L ⊓ Projective.LinearCut.zeroSet i a |
| 26 | rw [Projective.LinearCut.mem_commonZero] |
| 27 | change (∀ j, Fin.cons (α := fun _ => Foundations.Scheme.ProjectiveSpace.homogeneousCoordinateRing n) a L j ∈ (i x).asHomogeneousIdeal) ↔ |
| 28 | x ∈ Projective.LinearCut.commonZero i L ∧ ¬ a ∉ (i x).asHomogeneousIdeal |
| 29 | rw [Projective.LinearCut.mem_commonZero, not_not, Fin.forall_fin_succ] |
| 30 | exact and_comm |
| 31 | |
| 32 | variable (X : Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation) (m : ℕ) |
| 33 | [SmoothOfRelativeDimension m X.structureMap] |
| 34 | {ι κ : Type} [Finite ι] [Finite κ] |
| 35 | (p : ι → (Foundations.Scheme.ProjectiveSpace.complexBase ⟶ X.carrier)) (hp : ∀ j, p j ≫ X.structureMap = 𝟙 _) |
| 36 | (s : Foundations.Scheme.ProjectiveSpace.projectiveGrading X.ambientDimension 1) |
| 37 | (hs : ∀ j, PointFiberLinearForms.value X (p j) (hp j) s ≠ 0) |
| 38 | (hscut : ∀ W : IrreducibleCloseds X.carrier, |
| 39 | (W : Set X.carrier) ⊆ Projective.LinearCut.zeroSet X.embedding s.val → 1 ≤ X.supportCodimension W) |
| 40 | (Z : ι → Closeds X.carrier) |
| 41 | (hZ : ∀ j, ∀ W : IrreducibleCloseds X.carrier, |
| 42 | (W : Set X.carrier) ⊆ Z j → 1 ≤ X.supportCodimension W) |
| 43 | (D : κ → Foundations.Scheme.ProjectiveSpace.projectiveGrading X.ambientDimension 1 →ₗ[ℂ] (Fin (m + 1) → ℂ)) |
| 44 | (hD : ∀ j, Function.Surjective (D j)) (hDs : ∀ j, D j s ≠ 0) |
| 45 | |
| 46 | include hs hscut hZ hD hDs in |
| 47 | theorem exists_partial (k : ℕ) (hk : k ≤ m) : |
| 48 | ∃ L : Fin (k + 1) → Foundations.Scheme.ProjectiveSpace.projectiveGrading X.ambientDimension 1, |
| 49 | s ∈ Set.range L ∧ |
| 50 | (∀ W : IrreducibleCloseds X.carrier, |
| 51 | (W : Set X.carrier) ⊆ Projective.LinearCut.commonZero X.embedding (fun a => (L a).val) → |
| 52 | k + 1 ≤ X.supportCodimension W) ∧ |
| 53 | (∀ j, ∀ W : IrreducibleCloseds X.carrier, |
| 54 | (W : Set X.carrier) ⊆ Z j ⊓ Projective.LinearCut.commonZero X.embedding |
| 55 | (fun a => (PointFiberLinearForms.cross X (p j) (hp j) s (L a)).val) → |
| 56 | ¬ (W : Set X.carrier) ⊆ {p j (IsLocalRing.closedPoint ℂ)} → |
| 57 | k + 1 ≤ X.supportCodimension W) ∧ |
| 58 | ∀ j, LinearIndependent ℂ (fun a => D j (L a)) := by |
| 59 | induction k with |
| 60 | | zero => |
| 61 | refine ⟨fun _ => s, ⟨0, rfl⟩, ?_, ?_, ?_⟩ |
| 62 | · intro W hW |
| 63 | apply hscut W |
| 64 | intro x hx |
| 65 | change ¬ s.val ∉ (X.embedding x).asHomogeneousIdeal |
| 66 | exact not_not.mpr ((Projective.LinearCut.mem_commonZero X.embedding (fun _ : Fin 1 => s.val) x).mp (hW hx) 0) |
| 67 | · intro j W hW _ |
| 68 | exact hZ j W (fun x hx => (hW hx).1) |
| 69 | · intro j |
| 70 | change LinearIndependent ℂ (fun _ : Fin 1 => D j s) |
| 71 | exact linearIndependent_unique_iff.mpr (hDs j) |
| 72 | | succ k ih => |
| 73 | obtain ⟨L, hLs, hcodim, hfiber, hLI⟩ := ih (by omega) |
| 74 | let T := Projective.LinearCut.commonZero X.embedding (fun a => (L a).val) |
| 75 | let S j := Z j ⊓ Projective.LinearCut.commonZero X.embedding (fun a => (PointFiberLinearForms.cross X (p j) (hp j) s (L a)).val) |
| 76 | obtain ⟨a, ha, haf, haD⟩ := SimultaneousFiberCut.exists_form X m p hp s hs S T |
| 77 | D hD (by omega) L hLI |
| 78 | let L' : Fin (k + 1 + 1) → Foundations.Scheme.ProjectiveSpace.projectiveGrading X.ambientDimension 1 := Fin.cons a L |
| 79 | have hT : Projective.LinearCut.commonZero X.embedding (fun b => (L' b).val) = T ⊓ Projective.LinearCut.zeroSet X.embedding a.val := by |
| 80 | rw [show (fun b => (L' b).val) = Fin.cons a.val (fun b => (L b).val) from by |
| 81 | funext b; exact Fin.cases rfl (fun _ => rfl) b] |
| 82 | exact commonZero_cons X.embedding a.val (fun b => (L b).val) |
| 83 | have hS (j : ι) : Z j ⊓ Projective.LinearCut.commonZero X.embedding |
| 84 | (fun b => (PointFiberLinearForms.cross X (p j) (hp j) s (L' b)).val) = |
| 85 | S j ⊓ Projective.LinearCut.zeroSet X.embedding (PointFiberLinearForms.cross X (p j) (hp j) s a).val := by |
| 86 | rw [show (fun b => (PointFiberLinearForms.cross X (p j) (hp j) s (L' b)).val) = |
| 87 | Fin.cons (PointFiberLinearForms.cross X (p j) (hp j) s a).val |
| 88 | (fun b => (PointFiberLinearForms.cross X (p j) (hp j) s (L b)).val) from by |
| 89 | funext b; exact Fin.cases rfl (fun _ => rfl) b] |
| 90 | rw [commonZero_cons, ← inf_assoc] |
| 91 | refine ⟨L', ?_, ?_, ?_, ?_⟩ |
| 92 | · obtain ⟨b, hb⟩ := hLs |
| 93 | exact ⟨b.succ, hb⟩ |
| 94 | · rw [hT] |
| 95 | exact CutAwayFromPoint.cut_all X m (k + 1) T hcodim a.val ha |
| 96 | · intro j |
| 97 | change ∀ W : IrreducibleCloseds X.carrier, |
| 98 | (W : Set X.carrier) ⊆ (Z j ⊓ Projective.LinearCut.commonZero X.embedding |
| 99 | (fun b => (PointFiberLinearForms.cross X (p j) (hp j) s (L' b)).val) : Closeds X.carrier) → |
| 100 | ¬ (W : Set X.carrier) ⊆ {p j (IsLocalRing.closedPoint ℂ)} → |
| 101 | k + 1 + 1 ≤ X.supportCodimension W |
| 102 | rw [hS] |
| 103 | exact CutAwayFromPoint.cut X m (k + 1) (p j (IsLocalRing.closedPoint ℂ)) |
| 104 | (S j) (hfiber j) (PointFiberLinearForms.cross X (p j) (hp j) s a).val (haf j) |
| 105 | · intro j |
| 106 | have he : (fun b => D j (L' b)) = Fin.cons (D j a) (fun b => D j (L b)) := by |
| 107 | funext b |
| 108 | exact Fin.cases rfl (fun _ => rfl) b |
| 109 | rw [he, linearIndependent_finCons] |
| 110 | exact ⟨hLI j, haD j⟩ |
| 111 | |
| 112 | end |
| 113 | |
| 114 | /-! Unconditional simultaneous choices of linear forms with independent |
| 115 | first-order data and isolated fibers on positive-codimension supports. -/ |
| 116 | |
| 117 | set_option backward.isDefEq.respectTransparency false |
| 118 | set_option backward.isDefEq.respectTransparency.types false |
| 119 | |
| 120 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.TopologicalSpace |
| 121 | |
| 122 | namespace SeparatingForms |
| 123 | |
| 124 | open OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Supports OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.PointFiberLinearForms OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Projective.LinearCut |
| 125 | |
| 126 | variable (X : Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation) (m : ℕ) |
| 127 | [SmoothOfRelativeDimension m X.structureMap] |
| 128 | {ι κ : Type} [Finite ι] [Finite κ] |
| 129 | (p : ι → (Foundations.Scheme.ProjectiveSpace.complexBase ⟶ X.carrier)) (hp : ∀ j, p j ≫ X.structureMap = 𝟙 _) |
| 130 | (D : κ → Foundations.Scheme.ProjectiveSpace.projectiveGrading X.ambientDimension 1 →ₗ[ℂ] (Fin (m + 1) → ℂ)) |
| 131 | (hD : ∀ j, Function.Surjective (D j)) |
| 132 | |
| 133 | include hD m in |
| 134 | theorem initial : ∃ s : Foundations.Scheme.ProjectiveSpace.projectiveGrading X.ambientDimension 1, |
| 135 | (∀ j, PointFiberLinearForms.value X (p j) (hp j) s ≠ 0) ∧ |
| 136 | (∀ W : IrreducibleCloseds X.carrier, |
| 137 | (W : Set X.carrier) ⊆ Projective.LinearCut.zeroSet X.embedding s.val → 1 ≤ X.supportCodimension W) ∧ |
| 138 | ∀ j, D j s ≠ 0 := by |
| 139 | let T : Closeds X.carrier := ⊤ |
| 140 | let : Finite (irreducibleComponents T) := SimultaneousFiberCut.finite_components X T |
| 141 | let N j : Submodule ℂ (Foundations.Scheme.ProjectiveSpace.projectiveGrading X.ambientDimension 1) := |
| 142 | (⊥ : Submodule ℂ (Fin (m + 1) → ℂ)).comap (D j) |
| 143 | have hN : ∀ j, N j ≠ ⊤ := by |
| 144 | intro j |
| 145 | have h := IndependentLinearCut.comap_span_ne_top X m D hD (Nat.zero_lt_succ m) |
| 146 | (Fin.elim0 : Fin 0 → Foundations.Scheme.ProjectiveSpace.projectiveGrading X.ambientDimension 1) |
| 147 | (fun _ => linearIndependent_empty_type) j |
| 148 | simpa only [Set.range_eq_empty, Submodule.span_empty] using h |
| 149 | let q : irreducibleComponents T ⊕ ι → Foundations.Scheme.ProjectiveSpace.projectiveSpace X.ambientDimension := |
| 150 | Sum.elim (fun C => X.embedding (CycleClass.Thom.IntersectionGeometry.supportPoint (CycleClass.Thom.IntersectionGeometry.closedComponentSupport X.carrier T C))) |
| 151 | (fun j => X.embedding (p j (IsLocalRing.closedPoint ℂ))) |
| 152 | obtain ⟨s, hs, hsN⟩ := ConstrainedLinearForms.exists_form X.ambientDimension q N hN |
| 153 | refine ⟨s, ?_, ?_, fun j => hsN j⟩ |
| 154 | · intro j |
| 155 | exact fun h => hs (Sum.inr j) ((PointFiberLinearForms.value_zero X (p j) (hp j) s).mp h) |
| 156 | · intro W hW |
| 157 | exact CutAwayFromPoint.cut_all X m 0 T (fun _ _ => Nat.zero_le _) s.val |
| 158 | (fun C => hs (Sum.inl C)) W (fun x hx => ⟨Set.mem_univ _, hW hx⟩) |
| 159 | |
| 160 | include hD m in |
| 161 | theorem exists_forms (Z : ι → Closeds X.carrier) |
| 162 | (hZ : ∀ j, ∀ W : IrreducibleCloseds X.carrier, |
| 163 | (W : Set X.carrier) ⊆ Z j → 1 ≤ X.supportCodimension W) : |
| 164 | ∃ (s : Foundations.Scheme.ProjectiveSpace.projectiveGrading X.ambientDimension 1) |
| 165 | (L : Fin (m + 1) → Foundations.Scheme.ProjectiveSpace.projectiveGrading X.ambientDimension 1), |
| 166 | s ∈ Set.range L ∧ (∀ j, PointFiberLinearForms.value X (p j) (hp j) s ≠ 0) ∧ |
| 167 | (∀ x : X.carrier, ∃ a, (L a).val ∉ (X.embedding x).asHomogeneousIdeal) ∧ |
| 168 | (∀ j, (Z j ⊓ Projective.LinearCut.commonZero X.embedding |
| 169 | (fun a => (PointFiberLinearForms.cross X (p j) (hp j) s (L a)).val) : Set X.carrier) ⊆ |
| 170 | {p j (IsLocalRing.closedPoint ℂ)}) ∧ |
| 171 | ∀ j, LinearIndependent ℂ (fun a => D j (L a)) := by |
| 172 | obtain ⟨s, hs, hscut, hDs⟩ := initial X m p hp D hD |
| 173 | obtain ⟨L, hLs, hcodim, hfiber, hLI⟩ := |
| 174 | exists_partial X m p hp s hs hscut Z hZ D hD hDs m le_rfl |
| 175 | refine ⟨s, L, hLs, hs, ?_, ?_, hLI⟩ |
| 176 | · intro x |
| 177 | by_contra hn |
| 178 | push Not at hn |
| 179 | let W : IrreducibleCloseds X.carrier := irreducibleSetEquivPoints.symm x |
| 180 | have hpW : CycleClass.Thom.IntersectionGeometry.supportPoint W = x := irreducibleSetEquivPoints.apply_symm_apply x |
| 181 | have hW : (W : Set X.carrier) ⊆ Projective.LinearCut.commonZero X.embedding (fun a => (L a).val) := by |
| 182 | apply (Supports.supportPoint_mem_iff_subset _ W).mp |
| 183 | rw [hpW] |
| 184 | exact (Projective.LinearCut.mem_commonZero X.embedding (fun a => (L a).val) x).mpr hn |
| 185 | have hb := hcodim W hW |
| 186 | have hd := Grading.supportDimension_add_codimension X m W |
| 187 | omega |
| 188 | · intro j |
| 189 | exact CutAwayFromPoint.subset_singleton X m |
| 190 | (Z j ⊓ Projective.LinearCut.commonZero X.embedding (fun a => (PointFiberLinearForms.cross X (p j) (hp j) s (L a)).val)) |
| 191 | (p j (IsLocalRing.closedPoint ℂ)) (hfiber j) |
| 192 | |
| 193 | end SeparatingForms |
| 194 | |
| 195 | end |
| 196 | |
| 197 | end OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.FiberCutInduction |