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.Projective.AffineNeighborhood |
| 2 | import OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Supports |
| 3 | |
| 4 | /-! # Linear Cut -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Projective.LinearCut |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Successive homogeneous linear forms cut every remaining component |
| 11 | properly. On a smooth m-dimensional projective presentation, m+1 such |
| 12 | forms therefore have no common zero. -/ |
| 13 | |
| 14 | set_option backward.isDefEq.respectTransparency false |
| 15 | |
| 16 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.TopologicalSpace |
| 17 | open scoped Classical |
| 18 | |
| 19 | open OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Supports |
| 20 | |
| 21 | def zeroSet {X : Scheme} {n : ℕ} (i : X ⟶ Foundations.Scheme.ProjectiveSpace.projectiveSpace n) (p : Foundations.Scheme.ProjectiveSpace.homogeneousCoordinateRing n) : Closeds X := |
| 22 | ⟨(i ⁻¹ᵁ Proj.basicOpen (Foundations.Scheme.ProjectiveSpace.projectiveGrading n) p : Set X)ᶜ, |
| 23 | (i ⁻¹ᵁ Proj.basicOpen (Foundations.Scheme.ProjectiveSpace.projectiveGrading n) p).isOpen.isClosed_compl⟩ |
| 24 | |
| 25 | def commonZero {X : Scheme} {n k : ℕ} (i : X ⟶ Foundations.Scheme.ProjectiveSpace.projectiveSpace n) |
| 26 | (L : Fin k → Foundations.Scheme.ProjectiveSpace.homogeneousCoordinateRing n) : Closeds X := ⨅ j, zeroSet i (L j) |
| 27 | |
| 28 | theorem mem_commonZero {X : Scheme} {n k : ℕ} (i : X ⟶ Foundations.Scheme.ProjectiveSpace.projectiveSpace n) |
| 29 | (L : Fin k → Foundations.Scheme.ProjectiveSpace.homogeneousCoordinateRing n) (x : X) : |
| 30 | x ∈ commonZero i L ↔ ∀ j, L j ∈ (i x).asHomogeneousIdeal := by |
| 31 | simp [commonZero, zeroSet, Proj.mem_basicOpen] |
| 32 | |
| 33 | theorem exists_forms (X : Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation) (m k : ℕ) |
| 34 | [SmoothOfRelativeDimension m X.structureMap] : |
| 35 | ∃ L : Fin k → Foundations.Scheme.ProjectiveSpace.homogeneousCoordinateRing X.ambientDimension, |
| 36 | (∀ j, L j ∈ Foundations.Scheme.ProjectiveSpace.projectiveGrading X.ambientDimension 1) ∧ |
| 37 | ∀ W : IrreducibleCloseds X.carrier, |
| 38 | (W : Set X.carrier) ⊆ commonZero X.embedding L → k ≤ X.supportCodimension W := by |
| 39 | induction k with |
| 40 | | zero => |
| 41 | exact ⟨Fin.elim0, fun j => Fin.elim0 j, fun _ _ => Nat.zero_le _⟩ |
| 42 | | succ k ih => |
| 43 | obtain ⟨L, hL, hcodim⟩ := ih |
| 44 | let S := commonZero X.embedding L |
| 45 | let : NoetherianSpace S := NoetherianSpace.set (S : Set X.carrier) |
| 46 | let : Finite (irreducibleComponents S) := |
| 47 | (NoetherianSpace.finite_irreducibleComponents (α := S)).to_subtype |
| 48 | obtain ⟨p, hp, hav⟩ := AffineNeighborhood.exists_linear_form X.ambientDimension |
| 49 | (fun D : irreducibleComponents S => X.embedding (CycleClass.Thom.IntersectionGeometry.supportPoint (CycleClass.Thom.IntersectionGeometry.closedComponentSupport X.carrier S D))) |
| 50 | refine ⟨Fin.cons p L, ?_, ?_⟩ |
| 51 | · intro j |
| 52 | refine Fin.cases hp (fun j => hL j) j |
| 53 | · intro W hW |
| 54 | have hWS : (W : Set X.carrier) ⊆ S := by |
| 55 | intro x hx |
| 56 | apply (mem_commonZero X.embedding L x).mpr |
| 57 | intro j |
| 58 | exact (mem_commonZero X.embedding (Fin.cons p L) x).mp (hW hx) j.succ |
| 59 | obtain ⟨D, hD⟩ := Supports.closedComponentSupport_covers X.carrier S W hWS |
| 60 | have hne : W ≠ CycleClass.Thom.IntersectionGeometry.closedComponentSupport X.carrier S D := by |
| 61 | intro he |
| 62 | have hx : CycleClass.Thom.IntersectionGeometry.supportPoint (CycleClass.Thom.IntersectionGeometry.closedComponentSupport X.carrier S D) ∈ (W : Set X.carrier) := |
| 63 | he ▸ (W.isIrreducible.isGenericPoint_genericPoint W.isClosed).mem |
| 64 | exact hav D ((mem_commonZero X.embedding (Fin.cons p L) _).mp (hW hx) 0) |
| 65 | have hlt := Supports.codimension_strictAnti X m (lt_of_le_of_ne hD hne) |
| 66 | have hb := hcodim (CycleClass.Thom.IntersectionGeometry.closedComponentSupport X.carrier S D) (Supports.closedComponentSupport_subset X.carrier S D) |
| 67 | omega |
| 68 | |
| 69 | theorem exists_no_common_zero (X : Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation) (m : ℕ) |
| 70 | [SmoothOfRelativeDimension m X.structureMap] : |
| 71 | ∃ L : Fin (m + 1) → Foundations.Scheme.ProjectiveSpace.homogeneousCoordinateRing X.ambientDimension, |
| 72 | (∀ j, L j ∈ Foundations.Scheme.ProjectiveSpace.projectiveGrading X.ambientDimension 1) ∧ |
| 73 | ∀ x : X.carrier, ∃ j, L j ∉ (X.embedding x).asHomogeneousIdeal := by |
| 74 | obtain ⟨L, hL, hcodim⟩ := exists_forms X m (m + 1) |
| 75 | refine ⟨L, hL, fun x => ?_⟩ |
| 76 | by_contra hn |
| 77 | push Not at hn |
| 78 | let W : IrreducibleCloseds X.carrier := irreducibleSetEquivPoints.symm x |
| 79 | have hp : CycleClass.Thom.IntersectionGeometry.supportPoint W = x := irreducibleSetEquivPoints.apply_symm_apply x |
| 80 | have hW : (W : Set X.carrier) ⊆ commonZero X.embedding L := by |
| 81 | apply (Supports.supportPoint_mem_iff_subset (commonZero X.embedding L) W).mp |
| 82 | rw [hp] |
| 83 | exact (mem_commonZero X.embedding L x).mpr hn |
| 84 | have hl := hcodim W hW |
| 85 | have hd := Grading.supportDimension_add_codimension X m W |
| 86 | omega |
| 87 | |
| 88 | end |
| 89 | |
| 90 | end OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Projective.LinearCut |