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.AbelianScheme.FrobeniusKernel.GeometricQuotient |
| 2 | import OAI.ArithmeticGeometry.OrdinaryLocus.Openness.SmoothDimensionCharts |
| 3 | import OAI.ArithmeticGeometry.OrdinaryLocus.Openness.IntegralDimension |
| 4 | |
| 5 | /-! # Quotient Dimension -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.AbelianScheme.FrobeniusKernel |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! |
| 12 | A finite surjective quotient preserves the actual dimension of a smooth |
| 13 | proper connected group. This upgrades the constructed FiniteDescent quotient to an |
| 14 | HilbertConstruction abelian scheme of the original fixed dimension. |
| 15 | -/ |
| 16 | |
| 17 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 18 | open scoped _root_.CategoryTheory.MonObj |
| 19 | |
| 20 | universe u |
| 21 | |
| 22 | variable {k : Type u} [Field k] [IsAlgClosed k] |
| 23 | |
| 24 | theorem QuotientDimension.Construction.groupDimension_of_smooth_open |
| 25 | (A C : Over (Spec (.of k))) [GrpObj A] [IsCommMonObj A] |
| 26 | [Smooth A.hom] [IsProper A.hom] [GeometricallyConnected A.hom] |
| 27 | (i : C ⟶ A) [IsOpenImmersion i.left] [Nonempty C.left] |
| 28 | (n : ℕ) [SmoothOfRelativeDimension n C.hom] : |
| 29 | topologicalKrullDim A.left = (n : WithBot ℕ∞) := by |
| 30 | have : Smooth C.hom := SmoothOfRelativeDimension.smooth n C.hom |
| 31 | have : JacobsonSpace C.left := LocallyOfFiniteType.jacobsonSpace C.hom |
| 32 | have : JacobsonSpace A.left := LocallyOfFiniteType.jacobsonSpace A.hom |
| 33 | obtain ⟨c, _, hc⟩ := nonempty_inter_closedPoints |
| 34 | (X := C.left) Set.univ_nonempty isOpen_univ.isLocallyClosed |
| 35 | have hic : IsClosed {i.left c} := by |
| 36 | change c ∈ i.left ⁻¹' closedPoints A.left |
| 37 | rw [i.left.isOpenEmbedding.preimage_closedPoints] |
| 38 | exact hc |
| 39 | have hdim : topologicalKrullDim A.left = ringKrullDim (C.left.presheaf.stalk c) := by |
| 40 | rw [ArithmeticGeometry.OrdinaryLocus.Openness.GroupDimension.Construction.topologicalKrullDim_eq_stalk_of_transitive_closedPoints A.left (fun x y hx hy => by |
| 41 | obtain ⟨α, _, hxy, _⟩ := ArithmeticGeometry.OrdinaryLocus.Openness.FlatTranslations.Construction.multiplication_transitive_automorphisms A 1 x y hx hy |
| 42 | exact ⟨α, hxy⟩) (i.left c) hic, |
| 43 | ringKrullDim_stalk_eq_coheight, ringKrullDim_stalk_eq_coheight, |
| 44 | coheight_eq_of_isOpenImmersion i.left] |
| 45 | exact hdim.trans (ArithmeticGeometry.OrdinaryLocus.Openness.SmoothRelativeDimension.Construction.ringKrullDim_stalk_of_smoothOfRelativeDimension n C.hom c hc) |
| 46 | |
| 47 | /-- The fixed relative dimension is recovered from the topological |
| 48 | dimension of the actual smooth group, using its standard smooth charts. -/ |
| 49 | theorem QuotientDimension.Construction.smoothOfRelativeDimension_of_groupDimension |
| 50 | (A : Over (Spec (.of k))) [GrpObj A] [IsCommMonObj A] |
| 51 | [Smooth A.hom] [IsProper A.hom] [GeometricallyConnected A.hom] |
| 52 | (g : ℕ) (hg : topologicalKrullDim A.left = (g : WithBot ℕ∞)) : |
| 53 | SmoothOfRelativeDimension g A.hom := by |
| 54 | constructor |
| 55 | intro x |
| 56 | obtain ⟨U, hU, V, hV, hx, e, hstd⟩ := Smooth.exists_isStandardSmooth A.hom x |
| 57 | let : Algebra Γ(Spec (.of k), U) Γ(A.left, V) := (A.hom.appLE U V e).hom.toAlgebra |
| 58 | change Algebra.IsStandardSmooth Γ(Spec (.of k), U) Γ(A.left, V) at hstd |
| 59 | obtain ⟨indices, relations, hrelations, hindices, ⟨Q⟩⟩ := hstd |
| 60 | let := hrelations |
| 61 | let := hindices |
| 62 | have hQ := Q.isStandardSmoothOfRelativeDimension rfl |
| 63 | have : SmoothOfRelativeDimension Q.dimension (A.hom.resLE U V e) := |
| 64 | ArithmeticGeometry.OrdinaryLocus.Openness.SmoothDimensionCharts.Construction.smoothOfRelativeDimension_resLE_of_appLE A.hom Q.dimension U V hU hV e hQ |
| 65 | let C : Over (Spec (.of k)) := Over.mk (V.ι ≫ A.hom) |
| 66 | let i : C ⟶ A := Over.homMk V.ι |
| 67 | have : IsOpenImmersion i.left := inferInstanceAs (IsOpenImmersion V.ι) |
| 68 | have : Nonempty C.left := ⟨⟨x, hx⟩⟩ |
| 69 | have : SmoothOfRelativeDimension Q.dimension C.hom := by |
| 70 | change SmoothOfRelativeDimension Q.dimension (V.ι ≫ A.hom) |
| 71 | rw [← Scheme.Hom.resLE_comp_ι A.hom e] |
| 72 | exact inferInstanceAs (SmoothOfRelativeDimension (Q.dimension + 0) (A.hom.resLE U V e ≫ U.ι)) |
| 73 | have hn : Q.dimension = g := by |
| 74 | exact_mod_cast (QuotientDimension.Construction.groupDimension_of_smooth_open A C i Q.dimension).symm.trans hg |
| 75 | refine ⟨U, hU, V, hV, hx, e, ?_⟩ |
| 76 | exact hn ▸ hQ |
| 77 | |
| 78 | variable {g : ℕ} {A : AbelianModuli.HilbertConstruction.Abelian.Schemes.AbelianScheme g (Spec (.of k))} |
| 79 | variable {H : Grp (Over (Spec (.of k)))} {i : H.X ⟶ A.scheme} [IsMonHom i] |
| 80 | |
| 81 | variable (Q : GeometricQuotient.Construction.GeometricKernelQuotient A H i) |
| 82 | |
| 83 | omit [IsMonHom i] in |
| 84 | theorem GeometricQuotient.Construction.GeometricKernelQuotient.target_dimension : topologicalKrullDim Q.target.toOver.left = (g : WithBot ℕ∞) := by |
| 85 | have : ConnectedSpace A.scheme.left := |
| 86 | GeometricallyConnected.connectedSpace_of_subsingleton A.scheme.hom |
| 87 | let j : A.scheme ⟶ A.scheme := 𝟙 A.scheme |
| 88 | have : IsOpenImmersion j.left := |
| 89 | inferInstanceAs (IsOpenImmersion (𝟙 A.scheme.left)) |
| 90 | have hA := QuotientDimension.Construction.groupDimension_of_smooth_open A.scheme A.scheme j g |
| 91 | exact (ArithmeticGeometry.OrdinaryLocus.Openness.IntegralDimension.Construction.topologicalKrullDim_eq_of_integral_surjective Q.projection.left).symm.trans hA |
| 92 | |
| 93 | /-- The quotient now has HilbertConstruction's original fixed relative dimension, proved |
| 94 | from finiteness and surjectivity of its constructed projection. -/ |
| 95 | def GeometricQuotient.Construction.GeometricKernelQuotient.abelian : AbelianModuli.HilbertConstruction.Abelian.Schemes.AbelianScheme g (Spec (.of k)) where |
| 96 | scheme := Q.target.toOver |
| 97 | group := Q.target.group |
| 98 | commutative := Q.target.commutative |
| 99 | proper := Q.target.proper |
| 100 | smoothDimension := QuotientDimension.Construction.smoothOfRelativeDimension_of_groupDimension Q.target.toOver g Q.target_dimension |
| 101 | connected := Q.target.connected |
| 102 | |
| 103 | end |
| 104 | |
| 105 | end OAI.AlgebraicGeometry.AbelianScheme.FrobeniusKernel |