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.Group.FamilyDimension |
| 2 | |
| 3 | /-! # Group Family Dimension -/ |
| 4 | |
| 5 | namespace OAI.ArithmeticGeometry.Descent.CMVariety.GroupFamilyDimension.Abelian |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! A dominant algebraically closed fiber fixes the relative dimension |
| 10 | of a smooth proper geometrically connected group family. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 13 | |
| 14 | open OAI.AlgebraicGeometry.PELModuli.IntegralModel.Group.FamilyDimension |
| 15 | |
| 16 | theorem smooth_group_dimension_of_dominant_fiber |
| 17 | {S : Scheme} (M : Over S) [GrpObj M] [IsCommMonObj M] |
| 18 | [Smooth M.hom] [IsProper M.hom] [GeometricallyConnected M.hom] |
| 19 | {K : Type} [Field K] [IsAlgClosed K] (t : Spec (.of K) ⟶ S) [IsDominant t] |
| 20 | (g : ℕ) (hg : topologicalKrullDim ((Over.pullback t).obj M).left = (g : WithBot ℕ∞)) : |
| 21 | SmoothOfRelativeDimension g M.hom := by |
| 22 | constructor |
| 23 | intro x |
| 24 | obtain ⟨U, hU, V, hV, hx, e, hstd⟩ := Smooth.exists_isStandardSmooth M.hom x |
| 25 | let : Algebra Γ(S, U) Γ(M.left, V) := (M.hom.appLE U V e).hom.toAlgebra |
| 26 | change Algebra.IsStandardSmooth Γ(S, U) Γ(M.left, V) at hstd |
| 27 | obtain ⟨indices, relations, hrelations, hindices, ⟨Q⟩⟩ := hstd |
| 28 | let := hrelations |
| 29 | let := hindices |
| 30 | have hQ := Q.isStandardSmoothOfRelativeDimension rfl |
| 31 | have : SmoothOfRelativeDimension Q.dimension (M.hom.resLE U V e) := |
| 32 | AlgebraicGeometry.PELModuli.IntegralModel.SmoothDimensionCharts.DimensionSupport.smoothOfRelativeDimension_resLE_of_appLE M.hom Q.dimension U V hU hV e hQ |
| 33 | let C : Over S := Over.mk (V.ι ≫ M.hom) |
| 34 | let i : C ⟶ M := Over.homMk V.ι |
| 35 | have : IsOpenImmersion i.left := inferInstanceAs (IsOpenImmersion V.ι) |
| 36 | have : Nonempty C.left := ⟨⟨x, hx⟩⟩ |
| 37 | have : SmoothOfRelativeDimension Q.dimension C.hom := by |
| 38 | change SmoothOfRelativeDimension Q.dimension (V.ι ≫ M.hom) |
| 39 | rw [← Scheme.Hom.resLE_comp_ι M.hom e] |
| 40 | exact inferInstanceAs (SmoothOfRelativeDimension (Q.dimension + 0) (M.hom.resLE U V e ≫ U.ι)) |
| 41 | have : Smooth C.hom := SmoothOfRelativeDimension.smooth Q.dimension C.hom |
| 42 | have ht : t (IsLocalRing.closedPoint K) ∈ Set.range C.hom := by |
| 43 | obtain ⟨b, hb, p, hp⟩ := t.denseRange.inter_open_nonempty (Set.range C.hom) |
| 44 | C.hom.isOpenMap.isOpen_range (Set.range_nonempty C.hom) |
| 45 | rw [← hp, Subsingleton.elim p (IsLocalRing.closedPoint K)] at hb |
| 46 | exact hb |
| 47 | have hn : Q.dimension = g := by |
| 48 | exact_mod_cast (AlgebraicGeometry.PELModuli.IntegralModel.Group.FamilyDimension.dimension_algClosed_baseChange_of_smooth_chart M C i Q.dimension t ht).symm.trans hg |
| 49 | exact ⟨U, hU, V, hV, hx, e, hn ▸ hQ⟩ |
| 50 | |
| 51 | end |
| 52 | |
| 53 | end OAI.ArithmeticGeometry.Descent.CMVariety.GroupFamilyDimension.Abelian |