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.SmoothDimensionCharts |
| 2 | import OAI.AlgebraicGeometry.PELModuli.IntegralModel.Group.LocalDimension |
| 3 | import Mathlib.AlgebraicGeometry.Geometrically.Connected |
| 4 | import Mathlib.AlgebraicGeometry.Morphisms.Proper |
| 5 | import OAI.AlgebraicGeometry.Betti.SmoothDimension |
| 6 | import OAI.AlgebraicGeometry.Foundations.Scheme.TranscendenceDimension |
| 7 | |
| 8 | /-! # Family Dimension -/ |
| 9 | |
| 10 | namespace OAI.AlgebraicGeometry.PELModuli.IntegralModel.Group.FamilyDimension |
| 11 | |
| 12 | noncomputable section |
| 13 | |
| 14 | /-! Dimension of arbitrary algebraically closed fibers meeting a specified |
| 15 | smooth chart. These comparisons apply to transcendental complex points as |
| 16 | well as arithmetic specializations. -/ |
| 17 | |
| 18 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 19 | open scoped _root_.CategoryTheory.MonObj _root_.CategoryTheory.Obj |
| 20 | |
| 21 | open OAI.AlgebraicGeometry.Foundations.Scheme.TranscendenceDimension |
| 22 | |
| 23 | /-- The intrinsic transcendence dimension agrees with the topological |
| 24 | dimension of a smooth proper connected group in characteristic zero. -/ |
| 25 | theorem group_krullDim_eq_transcendenceDimension |
| 26 | {K : Type} [Field K] [IsAlgClosed K] [CharZero K] |
| 27 | (A : Over (Spec (.of K))) [GrpObj A] [IsCommMonObj A] |
| 28 | [Smooth A.hom] [IsProper A.hom] [GeometricallyConnected A.hom] |
| 29 | [IsIntegral A.left] : |
| 30 | topologicalKrullDim A.left = (Foundations.Scheme.TranscendenceDimension.schemeTranscendenceDimension A.hom : WithBot ℕ∞) := by |
| 31 | let d := Foundations.Scheme.TranscendenceDimension.schemeTranscendenceDimension A.hom |
| 32 | have : SmoothOfRelativeDimension d A.hom := by |
| 33 | dsimp [d] |
| 34 | rw [Foundations.Scheme.TranscendenceDimension.schemeTranscendenceDimension_eq_functionFieldDifferentialDimension] |
| 35 | exact Betti.SmoothDimension.Realization.smoothOfFunctionFieldDimension A.hom |
| 36 | have : JacobsonSpace A.left := LocallyOfFiniteType.jacobsonSpace A.hom |
| 37 | obtain ⟨x, _, hx⟩ := nonempty_inter_closedPoints |
| 38 | (X := A.left) Set.univ_nonempty isOpen_univ.isLocallyClosed |
| 39 | rw [LocalDimension.DimensionSupport.topologicalKrullDim_eq_stalk_of_transitive_closedPoints A.left |
| 40 | (LocalDimension.DimensionSupport.closed_point_translations A) x hx] |
| 41 | exact SmoothRelativeDimension.DimensionSupport.ringKrullDim_stalk_of_smoothOfRelativeDimension d A.hom x hx |
| 42 | |
| 43 | /-- A nonempty open chart of dimension n computes the dimension of any |
| 44 | algebraically closed fiber it meets, without restricting the field extension |
| 45 | to an algebraic one. -/ |
| 46 | theorem dimension_algClosed_baseChange_of_smooth_chart |
| 47 | {S : Scheme} (A B : Over S) [GrpObj A] [IsCommMonObj A] |
| 48 | [Smooth A.hom] [IsProper A.hom] [GeometricallyConnected A.hom] |
| 49 | (i : B ⟶ A) [IsOpenImmersion i.left] (n : ℕ) |
| 50 | [SmoothOfRelativeDimension n B.hom] |
| 51 | {K : Type} [Field K] [IsAlgClosed K] (t : Spec (.of K) ⟶ S) |
| 52 | (ht : t (IsLocalRing.closedPoint K) ∈ Set.range B.hom) : |
| 53 | topologicalKrullDim ((Over.pullback t).obj A).left = (n : WithBot ℕ∞) := by |
| 54 | let F := Over.pullback t |
| 55 | let G := F.obj A |
| 56 | let C := F.obj B |
| 57 | let j : C ⟶ G := F.map i |
| 58 | have : Smooth G.hom := inferInstanceAs (Smooth (pullback.snd A.hom t)) |
| 59 | have : IsProper G.hom := inferInstanceAs (IsProper (pullback.snd A.hom t)) |
| 60 | have : GeometricallyConnected G.hom := |
| 61 | inferInstanceAs (GeometricallyConnected (pullback.snd A.hom t)) |
| 62 | have : IsOpenImmersion j.left := |
| 63 | MorphismProperty.overPullbackMap (P := @IsOpenImmersion) t i inferInstance |
| 64 | have hbase : MorphismProperty.IsStableUnderBaseChange (@SmoothOfRelativeDimension n) := |
| 65 | smoothOfRelativeDimension_isStableUnderBaseChange n |
| 66 | have : SmoothOfRelativeDimension n C.hom := by |
| 67 | change SmoothOfRelativeDimension n (pullback.snd B.hom t) |
| 68 | exact @MorphismProperty.of_isPullback _ _ (@SmoothOfRelativeDimension n) hbase |
| 69 | _ _ _ _ _ _ _ _ (IsPullback.of_hasPullback B.hom t) inferInstance |
| 70 | have : Smooth C.hom := SmoothOfRelativeDimension.smooth n C.hom |
| 71 | have : JacobsonSpace C.left := LocallyOfFiniteType.jacobsonSpace C.hom |
| 72 | have : JacobsonSpace G.left := LocallyOfFiniteType.jacobsonSpace G.hom |
| 73 | have : Nonempty C.left := by |
| 74 | obtain ⟨b, hb⟩ := ht |
| 75 | obtain ⟨z, _, _⟩ := Scheme.Pullback.exists_preimage_pullback |
| 76 | (f := B.hom) (g := t) b (IsLocalRing.closedPoint K) hb |
| 77 | exact ⟨z⟩ |
| 78 | obtain ⟨c, _, hc⟩ := nonempty_inter_closedPoints |
| 79 | (X := C.left) Set.univ_nonempty isOpen_univ.isLocallyClosed |
| 80 | have hjc : IsClosed {j.left c} := by |
| 81 | change c ∈ j.left ⁻¹' closedPoints G.left |
| 82 | rw [j.left.isOpenEmbedding.preimage_closedPoints] |
| 83 | exact hc |
| 84 | have hd : topologicalKrullDim G.left = ringKrullDim (C.left.presheaf.stalk c) := by |
| 85 | rw [LocalDimension.DimensionSupport.topologicalKrullDim_eq_stalk_of_transitive_closedPoints G.left |
| 86 | (LocalDimension.DimensionSupport.closed_point_translations G) (j.left c) hjc, |
| 87 | ringKrullDim_stalk_eq_coheight, ringKrullDim_stalk_eq_coheight, |
| 88 | coheight_eq_of_isOpenImmersion j.left] |
| 89 | exact hd.trans (SmoothRelativeDimension.DimensionSupport.ringKrullDim_stalk_of_smoothOfRelativeDimension n C.hom c hc) |
| 90 | |
| 91 | end |
| 92 | |
| 93 | end OAI.AlgebraicGeometry.PELModuli.IntegralModel.Group.FamilyDimension |