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.FunctionFieldDifferentials |
| 2 | import OAI.ArithmeticGeometry.OrdinaryLocus.Openness.GroupDimension |
| 3 | |
| 4 | /-! # Group Function Field -/ |
| 5 | |
| 6 | namespace OAI.ArithmeticGeometry.OrdinaryLocus.Openness.GroupFunctionField.Construction |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Function-field differential dimension of the abelian fibers in Openness. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 13 | |
| 14 | universe u |
| 15 | |
| 16 | /-- The base-field action on the coordinate ring of an affine chart. -/ |
| 17 | abbrev chartAlgebra |
| 18 | {K : Type u} [Field K] {X : Scheme.{u}} (f : X ⟶ Spec (.of K)) |
| 19 | (U : X.Opens) (hU : IsAffineOpen U) : Algebra K Γ(X, U) := |
| 20 | (Spec.preimage (hU.fromSpec ≫ f)).hom.toAlgebra |
| 21 | |
| 22 | /-- The function field of any nonempty affine chart of a smooth proper |
| 23 | connected algebraic group has differential dimension equal to the group dimension. -/ |
| 24 | theorem finrank_chart_fractionField_differentials |
| 25 | {K : Type u} [Field K] [IsAlgClosed K] |
| 26 | (A : Over (Spec (.of K))) [GrpObj A] [IsCommMonObj A] |
| 27 | [Smooth A.hom] [IsProper A.hom] [GeometricallyConnected A.hom] |
| 28 | (U : A.left.Opens) (hU : IsAffineOpen U) [Nonempty U] : |
| 29 | letI := chartAlgebra A.hom U hU |
| 30 | (Module.finrank (FractionRing Γ(A.left, U)) |
| 31 | (KaehlerDifferential K (FractionRing Γ(A.left, U))) : WithBot ℕ∞) = |
| 32 | topologicalKrullDim A.left := by |
| 33 | let := chartAlgebra A.hom U hU |
| 34 | have : IsIntegral A.left := ConnectedGroupIntegral.Construction.isIntegral_connected_smooth_proper_group A |
| 35 | let B := Γ(A.left, U) |
| 36 | let Q := FractionRing B |
| 37 | let φ := Spec.preimage (hU.fromSpec ≫ A.hom) |
| 38 | let : Algebra K B := φ.hom.toAlgebra |
| 39 | have : IsScalarTower K B Q := inferInstance |
| 40 | have : Smooth (Spec.map φ) := by |
| 41 | dsimp [φ] |
| 42 | rw [Spec.map_preimage] |
| 43 | infer_instance |
| 44 | have : Algebra.Smooth K B := |
| 45 | (HasRingHomProperty.Spec_iff (P := @Smooth) (φ := φ)).mp inferInstance |
| 46 | have : JacobsonSpace (Spec (.of B)) := LocallyOfFiniteType.jacobsonSpace (Spec.map φ) |
| 47 | have : JacobsonSpace A.left := LocallyOfFiniteType.jacobsonSpace A.hom |
| 48 | obtain ⟨p, _, hp⟩ := nonempty_inter_closedPoints |
| 49 | (X := Spec (.of B)) Set.univ_nonempty isOpen_univ.isLocallyClosed |
| 50 | have : p.asIdeal.IsMaximal := p.isClosed_singleton_iff_isMaximal.mp hp |
| 51 | have hx : IsClosed {hU.fromSpec p} := by |
| 52 | change p ∈ hU.fromSpec ⁻¹' closedPoints A.left |
| 53 | rw [hU.fromSpec.isOpenEmbedding.preimage_closedPoints] |
| 54 | exact hp |
| 55 | have hdim : topologicalKrullDim A.left = ringKrullDim (Localization.AtPrime p.asIdeal) := by |
| 56 | rw [GroupDimension.Construction.topologicalKrullDim_eq_stalk_of_transitive_closedPoints A.left (fun x y hx hy => by |
| 57 | obtain ⟨α, _, hxy, _⟩ := FlatTranslations.Construction.multiplication_transitive_automorphisms A 1 x y hx hy |
| 58 | exact ⟨α, hxy⟩) (hU.fromSpec p) hx, |
| 59 | ringKrullDim_stalk_eq_coheight, coheight_eq_of_isOpenImmersion hU.fromSpec, |
| 60 | ← ringKrullDim_stalk_eq_coheight] |
| 61 | exact ringKrullDim_eq_of_ringEquiv (Spec.stalkIso (.of B) p).commRingCatIsoToRingEquiv |
| 62 | exact (FunctionFieldDifferentials.Construction.finrank_fractionField_kaehler_eq_local_dimension K B Q p.asIdeal).trans hdim.symm |
| 63 | |
| 64 | end |
| 65 | |
| 66 | end OAI.ArithmeticGeometry.OrdinaryLocus.Openness.GroupFunctionField.Construction |