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.GroupFunctionField |
| 2 | |
| 3 | /-! # Open Chart Dimension -/ |
| 4 | |
| 5 | namespace OAI.ArithmeticGeometry.OrdinaryLocus.Openness.OpenChartDimension.Construction |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Differential dimension in any affine open chart of an abelian fiber. -/ |
| 10 | |
| 11 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 12 | open scoped _root_.CategoryTheory.MonObj |
| 13 | |
| 14 | universe u |
| 15 | |
| 16 | theorem finrank_fractionField_differentials_of_open_chart |
| 17 | {k : Type u} [Field k] [IsAlgClosed k] |
| 18 | (A : Over (Spec (.of k))) [GrpObj A] [IsCommMonObj A] |
| 19 | [Smooth A.hom] [IsProper A.hom] [GeometricallyConnected A.hom] |
| 20 | (B : Type u) [CommRing B] [IsDomain B] [Algebra k B] |
| 21 | (L : Type u) [Field L] [Algebra B L] [IsFractionRing B L] |
| 22 | [Algebra k L] [IsScalarTower k B L] |
| 23 | (j : Spec (.of B) ⟶ A.left) [IsOpenImmersion j] |
| 24 | (hj : j ≫ A.hom = Spec.map (CommRingCat.ofHom (algebraMap k B))) : |
| 25 | (Module.finrank L (KaehlerDifferential k L) : WithBot ℕ∞) = |
| 26 | topologicalKrullDim A.left := by |
| 27 | have : Smooth (Spec.map (CommRingCat.ofHom (algebraMap k B))) := by |
| 28 | rw [← hj] |
| 29 | infer_instance |
| 30 | have : Algebra.Smooth k B := by |
| 31 | exact (RingHom.smooth_algebraMap).mp |
| 32 | ((HasRingHomProperty.Spec_iff (P := @Smooth) |
| 33 | (φ := CommRingCat.ofHom (algebraMap k B))).mp inferInstance) |
| 34 | have : JacobsonSpace (Spec (.of B)) := |
| 35 | LocallyOfFiniteType.jacobsonSpace (Spec.map (CommRingCat.ofHom (algebraMap k B))) |
| 36 | have : JacobsonSpace A.left := LocallyOfFiniteType.jacobsonSpace A.hom |
| 37 | obtain ⟨q, _, hq⟩ := nonempty_inter_closedPoints |
| 38 | (X := Spec (.of B)) Set.univ_nonempty isOpen_univ.isLocallyClosed |
| 39 | have : q.asIdeal.IsMaximal := q.isClosed_singleton_iff_isMaximal.mp hq |
| 40 | have hjq : IsClosed {j q} := by |
| 41 | change q ∈ j ⁻¹' closedPoints A.left |
| 42 | rw [j.isOpenEmbedding.preimage_closedPoints] |
| 43 | exact hq |
| 44 | have hdim : topologicalKrullDim A.left = ringKrullDim (Localization.AtPrime q.asIdeal) := by |
| 45 | rw [GroupDimension.Construction.topologicalKrullDim_eq_stalk_of_transitive_closedPoints A.left (fun x y hx hy => by |
| 46 | obtain ⟨α, _, hxy, _⟩ := FlatTranslations.Construction.multiplication_transitive_automorphisms A 1 x y hx hy |
| 47 | exact ⟨α, hxy⟩) (j q) hjq, |
| 48 | ringKrullDim_stalk_eq_coheight, coheight_eq_of_isOpenImmersion j, |
| 49 | ← ringKrullDim_stalk_eq_coheight] |
| 50 | exact ringKrullDim_eq_of_ringEquiv (Spec.stalkIso (.of B) q).commRingCatIsoToRingEquiv |
| 51 | exact (FunctionFieldDifferentials.Construction.finrank_fractionField_kaehler_eq_local_dimension k B L q.asIdeal).trans hdim.symm |
| 52 | |
| 53 | end |
| 54 | |
| 55 | end OAI.ArithmeticGeometry.OrdinaryLocus.Openness.OpenChartDimension.Construction |