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.ArithmeticGeometry.OrdinaryLocus.Openness.SmoothDimensionCharts |
| 2 | import Mathlib.AlgebraicGeometry.Morphisms.UniversallyOpen |
| 3 | |
| 4 | /-! # Fiber Dimension Charts -/ |
| 5 | |
| 6 | namespace OAI.ArithmeticGeometry.OrdinaryLocus.Openness.FiberDimensionCharts.Construction |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Reading the dimension of a group fiber from any smooth chart it meets. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 13 | open scoped _root_.CategoryTheory.MonObj _root_.CategoryTheory.Obj |
| 14 | |
| 15 | universe u |
| 16 | |
| 17 | /-- A geometric group fiber meeting an open chart of relative dimension n |
| 18 | has dimension n. Translations identify the dimension at its closed points. -/ |
| 19 | theorem dimension_fiber_of_smooth_chart |
| 20 | {S : Scheme.{u}} (A B : Over S) [GrpObj A] [IsCommMonObj A] |
| 21 | [Smooth A.hom] [IsProper A.hom] [GeometricallyConnected A.hom] |
| 22 | (i : B ⟶ A) [IsOpenImmersion i.left] (n : ℕ) |
| 23 | [SmoothOfRelativeDimension n B.hom] (s : S) (hs : s ∈ Set.range B.hom) : |
| 24 | topologicalKrullDim (A.hom.fiber s) = (n : WithBot ℕ∞) := by |
| 25 | let K := AlgebraicClosure (S.residueField s) |
| 26 | let t : Spec (CommRingCat.of K) ⟶ S := (DefinitionsTorsion.geometricPoint S s).hom |
| 27 | let F := Over.pullback t |
| 28 | let G := F.obj A |
| 29 | let C := F.obj B |
| 30 | let j : C ⟶ G := F.map i |
| 31 | have : Smooth G.hom := by change Smooth (pullback.snd A.hom t); infer_instance |
| 32 | have : IsProper G.hom := by change IsProper (pullback.snd A.hom t); infer_instance |
| 33 | have : GeometricallyConnected G.hom := by |
| 34 | change GeometricallyConnected (pullback.snd A.hom t) |
| 35 | infer_instance |
| 36 | have : IsOpenImmersion j.left := |
| 37 | MorphismProperty.overPullbackMap (P := @IsOpenImmersion) t i inferInstance |
| 38 | have hbase : MorphismProperty.IsStableUnderBaseChange (@SmoothOfRelativeDimension.{u} n) := |
| 39 | smoothOfRelativeDimension_isStableUnderBaseChange n |
| 40 | have : SmoothOfRelativeDimension n C.hom := by |
| 41 | change SmoothOfRelativeDimension n (pullback.snd B.hom t) |
| 42 | exact @MorphismProperty.of_isPullback _ _ (@SmoothOfRelativeDimension.{u} n) hbase |
| 43 | _ _ _ _ _ _ _ _ (IsPullback.of_hasPullback B.hom t) inferInstance |
| 44 | have : Smooth C.hom := SmoothOfRelativeDimension.smooth n C.hom |
| 45 | have : JacobsonSpace C.left := LocallyOfFiniteType.jacobsonSpace C.hom |
| 46 | have : JacobsonSpace G.left := LocallyOfFiniteType.jacobsonSpace G.hom |
| 47 | have : Nonempty C.left := by |
| 48 | obtain ⟨b, hb⟩ := hs |
| 49 | let k : Spec (CommRingCat.of K) := IsLocalRing.closedPoint K |
| 50 | have hbk : B.hom b = t k := hb.trans (S.fromSpecResidueField_apply s _).symm |
| 51 | obtain ⟨z, _, _⟩ := Scheme.Pullback.exists_preimage_pullback b k hbk |
| 52 | exact ⟨z⟩ |
| 53 | obtain ⟨c, _, hc⟩ := nonempty_inter_closedPoints |
| 54 | (X := C.left) Set.univ_nonempty isOpen_univ.isLocallyClosed |
| 55 | have hjc : IsClosed {j.left c} := by |
| 56 | change c ∈ j.left ⁻¹' closedPoints G.left |
| 57 | rw [j.left.isOpenEmbedding.preimage_closedPoints] |
| 58 | exact hc |
| 59 | have hdim : topologicalKrullDim G.left = ringKrullDim (C.left.presheaf.stalk c) := by |
| 60 | rw [GroupDimension.Construction.topologicalKrullDim_eq_stalk_of_transitive_closedPoints G.left (fun x y hx hy => by |
| 61 | obtain ⟨α, _, hxy, _⟩ := FlatTranslations.Construction.multiplication_transitive_automorphisms G 1 x y hx hy |
| 62 | exact ⟨α, hxy⟩) (j.left c) hjc, |
| 63 | ringKrullDim_stalk_eq_coheight, ringKrullDim_stalk_eq_coheight, |
| 64 | coheight_eq_of_isOpenImmersion j.left] |
| 65 | exact (GeometricDimension.Construction.topologicalKrullDim_geometricFiber A s).symm.trans |
| 66 | (hdim.trans (SmoothRelativeDimension.Construction.ringKrullDim_stalk_of_smoothOfRelativeDimension n C.hom c hc)) |
| 67 | |
| 68 | end |
| 69 | |
| 70 | end OAI.ArithmeticGeometry.OrdinaryLocus.Openness.FiberDimensionCharts.Construction |