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.PELModuli.IntegralModel.Integral.ClosedSupport |
| 2 | import OAI.AlgebraicGeometry.Picard.ThetaConstruction.ProperLocalBaseSmoothness |
| 3 | import Mathlib.AlgebraicGeometry.Stalk |
| 4 | |
| 5 | /-! # Point Closure Local Test -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.Picard.ThetaConstruction.PointClosureLocalTest.Geometric |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! The original closure of a point in a proper family gives an |
| 12 | integral test scheme meeting the closed local fiber. Its actual stalk |
| 13 | spectrum retains the same generic point. -/ |
| 14 | |
| 15 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.TopologicalSpace |
| 16 | |
| 17 | universe u |
| 18 | variable {X : Scheme.{u}} (x : X) |
| 19 | |
| 20 | def pointClosureIdeal : X.IdealSheafData := |
| 21 | Scheme.IdealSheafData.vanishingIdeal ⟨closure ({x} : Set X), isClosed_closure⟩ |
| 22 | |
| 23 | def pointClosure : Scheme.{u} := (pointClosureIdeal x).subscheme |
| 24 | def pointClosureInclusion : pointClosure x ⟶ X := (pointClosureIdeal x).subschemeι |
| 25 | |
| 26 | instance pointClosure_integral : IsIntegral (pointClosure x) := |
| 27 | PELModuli.IntegralModel.Integral.ClosedSupport.vanishingIdeal_subscheme_integral _ isIrreducible_singleton.closure |
| 28 | |
| 29 | instance pointClosureInclusion_closed : IsClosedImmersion (pointClosureInclusion x) := |
| 30 | inferInstanceAs (IsClosedImmersion (pointClosureIdeal x).subschemeι) |
| 31 | |
| 32 | theorem pointClosureInclusion_range : Set.range (pointClosureInclusion x) = closure ({x} : Set X) := by |
| 33 | exact (Scheme.IdealSheafData.range_subschemeι (pointClosureIdeal x)).trans |
| 34 | (Scheme.IdealSheafData.coe_support_vanishingIdeal _) |
| 35 | |
| 36 | theorem pointClosure_generic : pointClosureInclusion x (genericPoint (pointClosure x)) = x := by |
| 37 | have hx : x ∈ Set.range (pointClosureInclusion x) := by |
| 38 | rw [pointClosureInclusion_range] |
| 39 | exact subset_closure (Set.mem_singleton x) |
| 40 | obtain ⟨y, hy⟩ := hx |
| 41 | have ha : pointClosureInclusion x (genericPoint (pointClosure x)) ⤳ x := |
| 42 | ((genericPoint_specializes y).map (pointClosureInclusion x).continuous).trans (specializes_of_eq hy) |
| 43 | have hb : x ⤳ pointClosureInclusion x (genericPoint (pointClosure x)) := by |
| 44 | apply specializes_iff_mem_closure.mpr |
| 45 | rw [← pointClosureInclusion_range] |
| 46 | exact ⟨_, rfl⟩ |
| 47 | exact (ha.antisymm hb).eq |
| 48 | |
| 49 | theorem pointClosure_meets_closed_fiber {R : Type u} [CommRing R] [IsLocalRing R] |
| 50 | (f : X ⟶ Spec (.of R)) [IsProper f] : |
| 51 | ∃ y : pointClosure x, (pointClosureInclusion x ≫ f) y = IsLocalRing.closedPoint R := by |
| 52 | let p := pointClosureInclusion x ≫ f |
| 53 | let : IsProper p := inferInstanceAs (IsProper (pointClosureInclusion x ≫ f)) |
| 54 | have hc : IsClosed (Set.range p) := p.isClosedMap.isClosed_range |
| 55 | have hm : IsLocalRing.closedPoint R ∈ Set.range p := |
| 56 | (IsLocalRing.specializes_closedPoint (p (genericPoint (pointClosure x)))).mem_closed hc ⟨_, rfl⟩ |
| 57 | exact hm |
| 58 | |
| 59 | theorem integral_fromSpecStalk_generic {Y : Scheme.{u}} [IsIntegral Y] (y : Y) : |
| 60 | Y.fromSpecStalk y (genericPoint (Spec (Y.presheaf.stalk y))) = genericPoint Y := by |
| 61 | have hr : genericPoint Y ∈ Set.range (Y.fromSpecStalk y) := by |
| 62 | rw [Scheme.range_fromSpecStalk] |
| 63 | exact genericPoint_specializes y |
| 64 | obtain ⟨z, hz⟩ := hr |
| 65 | have h₁ : Y.fromSpecStalk y (genericPoint (Spec (Y.presheaf.stalk y))) ⤳ genericPoint Y := |
| 66 | ((genericPoint_specializes z).map (Y.fromSpecStalk y).continuous).trans (specializes_of_eq hz) |
| 67 | exact (h₁.antisymm (genericPoint_specializes _)).eq |
| 68 | |
| 69 | end |
| 70 | |
| 71 | end OAI.AlgebraicGeometry.Picard.ThetaConstruction.PointClosureLocalTest.Geometric |