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.AbelianModuli.HilbertConstruction.Abelian.Schemes |
| 3 | |
| 4 | /-! # Abelian Dimension -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.AbelianDimension.CM |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The smooth proper connected groups furnished by IntegralModel have a fixed |
| 11 | relative dimension over a connected arithmetic base. This proves the |
| 12 | dimension field required by the actual abelian-scheme interface. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 15 | open scoped _root_.CategoryTheory.MonObj |
| 16 | open OAI.ArithmeticGeometry.OrdinaryLocus.Openness.FiberDimension.Construction |
| 17 | |
| 18 | variable {S : Scheme} [PreconnectedSpace S] (A : Over S) |
| 19 | [GrpObj A] [IsCommMonObj A] [Smooth A.hom] [IsProper A.hom] |
| 20 | [GeometricallyConnected A.hom] |
| 21 | |
| 22 | theorem fixed_relative_dimension (s : S) : |
| 23 | SmoothOfRelativeDimension (ArithmeticGeometry.OrdinaryLocus.Openness.FiberDimension.Construction.fiberDimension A s) A.hom := by |
| 24 | constructor |
| 25 | intro x |
| 26 | obtain ⟨U, hU, V, hV, hx, e, hstd⟩ := Smooth.exists_isStandardSmooth A.hom x |
| 27 | let : Algebra Γ(S, U) Γ(A.left, V) := (A.hom.appLE U V e).hom.toAlgebra |
| 28 | change Algebra.IsStandardSmooth Γ(S, U) Γ(A.left, V) at hstd |
| 29 | obtain ⟨I, J, hJ, hI, ⟨P⟩⟩ := hstd |
| 30 | let := hJ |
| 31 | let := hI |
| 32 | have hP := P.isStandardSmoothOfRelativeDimension rfl |
| 33 | let B : Over S := Over.mk (V.ι ≫ A.hom) |
| 34 | let i : B ⟶ A := Over.homMk V.ι |
| 35 | let : IsOpenImmersion i.left := inferInstanceAs (IsOpenImmersion V.ι) |
| 36 | have : SmoothOfRelativeDimension P.dimension (A.hom.resLE U V e) := |
| 37 | ArithmeticGeometry.OrdinaryLocus.Openness.SmoothDimensionCharts.Construction.smoothOfRelativeDimension_resLE_of_appLE A.hom P.dimension U V hU hV e hP |
| 38 | have : SmoothOfRelativeDimension P.dimension B.hom := by |
| 39 | change SmoothOfRelativeDimension P.dimension (V.ι ≫ A.hom) |
| 40 | rw [← Scheme.Hom.resLE_comp_ι A.hom e] |
| 41 | exact inferInstanceAs |
| 42 | (SmoothOfRelativeDimension (P.dimension + 0) (A.hom.resLE U V e ≫ U.ι)) |
| 43 | have hdim := ArithmeticGeometry.OrdinaryLocus.Openness.FiberDimensionCharts.Construction.dimension_fiber_of_smooth_chart A B i P.dimension (A.hom x) |
| 44 | ⟨⟨x, hx⟩, rfl⟩ |
| 45 | rw [ArithmeticGeometry.OrdinaryLocus.Openness.FiberDimension.Construction.fiberDimension_spec] at hdim |
| 46 | have hc := (ArithmeticGeometry.OrdinaryLocus.Openness.FiberDimension.Construction.isLocallyConstant_fiberDimension A).apply_eq_of_preconnectedSpace |
| 47 | (A.hom x) s |
| 48 | have hn : ArithmeticGeometry.OrdinaryLocus.Openness.FiberDimension.Construction.fiberDimension A s = P.dimension := by |
| 49 | rw [hc] at hdim |
| 50 | exact_mod_cast hdim |
| 51 | refine ⟨U, hU, V, hV, hx, e, ?_⟩ |
| 52 | rw [hn] |
| 53 | exact hP |
| 54 | |
| 55 | /-- Package the same group scheme as an HilbertConstruction abelian scheme. Its group, |
| 56 | structure morphism, and underlying scheme are unchanged by this construction. -/ |
| 57 | def abelianScheme (s : S) : AbelianModuli.HilbertConstruction.Abelian.Schemes.AbelianScheme (ArithmeticGeometry.OrdinaryLocus.Openness.FiberDimension.Construction.fiberDimension A s) S where |
| 58 | scheme := A |
| 59 | group := inferInstance |
| 60 | commutative := inferInstance |
| 61 | proper := inferInstance |
| 62 | smoothDimension := fixed_relative_dimension A s |
| 63 | connected := inferInstance |
| 64 | |
| 65 | theorem abelianScheme_scheme (s : S) : (abelianScheme A s).scheme = A := rfl |
| 66 | |
| 67 | end |
| 68 | |
| 69 | end OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.AbelianDimension.CM |