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.Stalk.Localization |
| 2 | import OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Divisor.Stalk |
| 3 | |
| 4 | /-! # Divisor Support -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Stalk.DivisorSupport |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Height-one primes at a codimension-two intersection give actual |
| 11 | dimension-graded divisor supports in the ambient smooth projective scheme. -/ |
| 12 | |
| 13 | set_option backward.isDefEq.respectTransparency false |
| 14 | |
| 15 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.TopologicalSpace _root_.Order |
| 16 | |
| 17 | def primeClosure (X : Scheme) (x : X) (p : Spec (X.presheaf.stalk x)) : |
| 18 | IrreducibleCloseds X := irreducibleSetEquivPoints.symm (X.fromSpecStalk x p) |
| 19 | |
| 20 | theorem primeClosure_point (X : Scheme) (x : X) (p : Spec (X.presheaf.stalk x)) : |
| 21 | CycleClass.Thom.IntersectionGeometry.supportPoint (primeClosure X x p) = X.fromSpecStalk x p := |
| 22 | irreducibleSetEquivPoints.apply_symm_apply _ |
| 23 | |
| 24 | theorem point_mem_primeClosure (X : Scheme) (x : X) (p : Spec (X.presheaf.stalk x)) : |
| 25 | x ∈ (primeClosure X x p : Set X) := by |
| 26 | have h : X.fromSpecStalk x p ⤳ x := by |
| 27 | simpa only [Scheme.fromSpecStalk_closedPoint] using |
| 28 | (IsLocalRing.specializes_closedPoint p).map (X.fromSpecStalk x).continuous |
| 29 | exact h.mem_closed (primeClosure X x p).isClosed |
| 30 | (subset_closure (Set.mem_singleton _)) |
| 31 | |
| 32 | theorem primeClosure_codimension (X : Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation) (m : ℕ) |
| 33 | [SmoothOfRelativeDimension m X.structureMap] |
| 34 | (A : X.DimensionCycleSupport 1) (C : X.DimensionCycleSupport 2) (hCA : C.val ≤ A.val) |
| 35 | (p : Spec (X.carrier.presheaf.stalk (CycleClass.Thom.IntersectionGeometry.supportPoint C.val))) (hp : p.asIdeal.height = 1) : |
| 36 | X.supportCodimension (primeClosure X.carrier (CycleClass.Thom.IntersectionGeometry.supportPoint C.val) p) = 1 := by |
| 37 | let W := primeClosure X.carrier (CycleClass.Thom.IntersectionGeometry.supportPoint C.val) p |
| 38 | have hW : coheight (CycleClass.Thom.IntersectionGeometry.supportPoint W) = 1 := by |
| 39 | rw [primeClosure_point, ← Localization.height_eq_coheight_image] |
| 40 | exact hp |
| 41 | have hCW : C.val ≤ W := |
| 42 | (Supports.supportPoint_mem_iff_subset |
| 43 | (⟨(W : Set X.carrier), W.isClosed⟩ : Closeds X.carrier) C.val).mp |
| 44 | (point_mem_primeClosure X.carrier (CycleClass.Thom.IntersectionGeometry.supportPoint C.val) p) |
| 45 | have hn : C.val ≠ W := by |
| 46 | intro he |
| 47 | have hC := Divisor.Stalk.coheight_two X m A C hCA |
| 48 | rw [he, hW] at hC |
| 49 | exact (by decide : (1 : ℕ∞) ≠ 2) hC |
| 50 | have hlt := Supports.codimension_strictAnti X m (lt_of_le_of_ne hCW hn) |
| 51 | rw [C.property] at hlt |
| 52 | have hlo := CurveSupports.coheight_le_codimension X m W |
| 53 | rw [hW] at hlo |
| 54 | have hpos : 1 ≤ X.supportCodimension W := by exact_mod_cast hlo |
| 55 | change X.supportCodimension W = 1 |
| 56 | omega |
| 57 | |
| 58 | def divisorSupport (X : Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation) (m : ℕ) |
| 59 | [SmoothOfRelativeDimension m X.structureMap] |
| 60 | (A : X.DimensionCycleSupport 1) (C : X.DimensionCycleSupport 2) (hCA : C.val ≤ A.val) |
| 61 | (p : Spec (X.carrier.presheaf.stalk (CycleClass.Thom.IntersectionGeometry.supportPoint C.val))) (hp : p.asIdeal.height = 1) : |
| 62 | X.DimensionCycleSupport 1 := |
| 63 | ⟨primeClosure X.carrier (CycleClass.Thom.IntersectionGeometry.supportPoint C.val) p, primeClosure_codimension X m A C hCA p hp⟩ |
| 64 | |
| 65 | end |
| 66 | |
| 67 | end OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Stalk.DivisorSupport |