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.FiberDimension |
| 2 | import OAI.AlgebraicGeometry.PELModuli.IntegralModel.Group.FamilyDimension |
| 3 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Abelian.Schemes |
| 4 | |
| 5 | /-! # Relative Abelian Dimension -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.PELModuli.CMPoints.RelativeAbelianDimension |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! A smooth proper connected group over a connected base has the |
| 12 | relative dimension read from any one algebraically closed fiber. |
| 13 | This constructs the abelian-scheme adapter for the spread CM models. -/ |
| 14 | |
| 15 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 16 | open scoped _root_.CategoryTheory.MonObj _root_.CategoryTheory.Obj |
| 17 | |
| 18 | variable {S : Scheme.{0}} (A : Over S) [GrpObj A] [IsCommMonObj A] |
| 19 | [Smooth A.hom] [IsProper A.hom] [GeometricallyConnected A.hom] |
| 20 | |
| 21 | theorem group_algClosed_pullback_dimension |
| 22 | {k : Type} [Field k] [IsAlgClosed k] (c : Spec (.of k) ⟶ S) : |
| 23 | topologicalKrullDim ((Over.pullback c).obj A).left = |
| 24 | topologicalKrullDim (A.hom.fiber (c (IsLocalRing.closedPoint k))) := by |
| 25 | let s := c (IsLocalRing.closedPoint k) |
| 26 | let x : A.left := η[A].left s |
| 27 | have hx : A.hom x = s := by |
| 28 | change (η[A].left ≫ A.hom) s = s |
| 29 | simp |
| 30 | obtain ⟨n, U, V, _, _, hxV, e, hn⟩ := |
| 31 | IntegralModel.SmoothDimensionCharts.DimensionSupport.exists_smoothOfRelativeDimension_chart A.hom x |
| 32 | let B : Over S := Over.mk (V.ι ≫ A.hom) |
| 33 | let i : B ⟶ A := Over.homMk V.ι |
| 34 | let : IsOpenImmersion i.left := inferInstanceAs (IsOpenImmersion V.ι) |
| 35 | let : SmoothOfRelativeDimension n B.hom := by |
| 36 | change SmoothOfRelativeDimension n (V.ι ≫ A.hom) |
| 37 | rw [← Scheme.Hom.resLE_comp_ι A.hom e] |
| 38 | let : SmoothOfRelativeDimension n (A.hom.resLE U V e) := hn |
| 39 | exact inferInstanceAs (SmoothOfRelativeDimension (n + 0) (A.hom.resLE U V e ≫ U.ι)) |
| 40 | have hs : s ∈ Set.range B.hom := ⟨⟨x, hxV⟩, hx⟩ |
| 41 | exact (IntegralModel.Group.FamilyDimension.dimension_algClosed_baseChange_of_smooth_chart A B i n c hs).trans |
| 42 | (ArithmeticGeometry.OrdinaryLocus.Openness.FiberDimensionCharts.Construction.dimension_fiber_of_smooth_chart A B i n s hs).symm |
| 43 | |
| 44 | theorem smoothOfRelativeDimension_of_fiber_dimensions (g : ℕ) |
| 45 | (hg : ∀ s : S, topologicalKrullDim (A.hom.fiber s) = (g : WithBot ℕ∞)) : |
| 46 | SmoothOfRelativeDimension g A.hom := by |
| 47 | constructor |
| 48 | intro x |
| 49 | obtain ⟨U, hU, V, hV, hx, e, hstd⟩ := Smooth.exists_isStandardSmooth A.hom x |
| 50 | let : Algebra Γ(S, U) Γ(A.left, V) := (A.hom.appLE U V e).hom.toAlgebra |
| 51 | change Algebra.IsStandardSmooth Γ(S, U) Γ(A.left, V) at hstd |
| 52 | obtain ⟨varIndex, relIndex, hσ, hι, ⟨P⟩⟩ := hstd |
| 53 | let := hσ |
| 54 | let := hι |
| 55 | let n := P.dimension |
| 56 | have hstdn := P.isStandardSmoothOfRelativeDimension rfl |
| 57 | have hn := IntegralModel.SmoothDimensionCharts.DimensionSupport.smoothOfRelativeDimension_resLE_of_appLE |
| 58 | A.hom n U V hU hV e hstdn |
| 59 | let B : Over S := Over.mk (V.ι ≫ A.hom) |
| 60 | let i : B ⟶ A := Over.homMk V.ι |
| 61 | let : IsOpenImmersion i.left := inferInstanceAs (IsOpenImmersion V.ι) |
| 62 | let : SmoothOfRelativeDimension n B.hom := by |
| 63 | change SmoothOfRelativeDimension n (V.ι ≫ A.hom) |
| 64 | rw [← Scheme.Hom.resLE_comp_ι A.hom e] |
| 65 | let : SmoothOfRelativeDimension n (A.hom.resLE U V e) := hn |
| 66 | exact inferInstanceAs (SmoothOfRelativeDimension (n + 0) (A.hom.resLE U V e ≫ U.ι)) |
| 67 | have hdim := ArithmeticGeometry.OrdinaryLocus.Openness.FiberDimensionCharts.Construction.dimension_fiber_of_smooth_chart A B i n (A.hom x) |
| 68 | ⟨⟨x, hx⟩, rfl⟩ |
| 69 | have hng : n = g := by exact_mod_cast hdim.symm.trans (hg (A.hom x)) |
| 70 | exact ⟨U, hU, V, hV, hx, e, hng ▸ hstdn⟩ |
| 71 | |
| 72 | theorem smoothOfRelativeDimension_of_one_fiber [ConnectedSpace S] |
| 73 | {k : Type} [Field k] [IsAlgClosed k] (c : Spec (.of k) ⟶ S) (g : ℕ) |
| 74 | (hg : topologicalKrullDim ((Over.pullback c).obj A).left = (g : WithBot ℕ∞)) : |
| 75 | SmoothOfRelativeDimension g A.hom := by |
| 76 | apply smoothOfRelativeDimension_of_fiber_dimensions A g |
| 77 | intro s |
| 78 | exact (ArithmeticGeometry.OrdinaryLocus.Openness.FiberDimension.Construction.isLocallyConstant_fiberKrullDim A).apply_eq_of_preconnectedSpace |
| 79 | s (c (IsLocalRing.closedPoint k)) |>.trans ((group_algClosed_pullback_dimension A c).symm.trans hg) |
| 80 | |
| 81 | def abelianSchemeOfOneFiber [ConnectedSpace S] |
| 82 | {k : Type} [Field k] [IsAlgClosed k] (c : Spec (.of k) ⟶ S) (g : ℕ) |
| 83 | (hg : topologicalKrullDim ((Over.pullback c).obj A).left = (g : WithBot ℕ∞)) : |
| 84 | AbelianModuli.HilbertConstruction.Abelian.Schemes.AbelianScheme g S where |
| 85 | scheme := A |
| 86 | group := inferInstance |
| 87 | commutative := inferInstance |
| 88 | proper := inferInstance |
| 89 | connected := inferInstance |
| 90 | smoothDimension := smoothOfRelativeDimension_of_one_fiber A c g hg |
| 91 | |
| 92 | end |
| 93 | |
| 94 | end OAI.AlgebraicGeometry.PELModuli.CMPoints.RelativeAbelianDimension |