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.Foundations.Scheme.TranscendenceDimension |
| 2 | import OAI.AlgebraicGeometry.Foundations.Scheme.OpenFunctionField |
| 3 | import OAI.AlgebraicGeometry.Foundations.Scheme.AffineSectionFiniteType |
| 4 | |
| 5 | /-! # Dimension Bridge -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.CycleClass.Thom.Affine.DimensionBridge.Constructions |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! |
| 12 | # ThomClass: actual affine scalar maps and transcendence dimension |
| 13 | |
| 14 | The canonical spectrum/global-sections isomorphism respects the scalar |
| 15 | action induced by the actual structure morphism. It therefore identifies |
| 16 | the scheme's function-field dimension with the coordinate ring's |
| 17 | transcendence degree, without an assumed scalar compatibility. |
| 18 | -/ |
| 19 | |
| 20 | open _root_.AlgebraicGeometry _root_.CategoryTheory _root_.TopologicalSpace |
| 21 | |
| 22 | universe u |
| 23 | variable (k A : Type u) [Field k] [CommRing A] [Algebra k A] |
| 24 | |
| 25 | /-- The spectrum/global-sections isomorphism over the actual coefficient field. -/ |
| 26 | def specGlobalScalarAlgEquiv : |
| 27 | letI := Foundations.Scheme.SpecScalarTransport.specSectionScalarAlgebra (Spec.map (CommRingCat.ofHom (algebraMap k A))) ⊤ |
| 28 | Γ(Spec (CommRingCat.of A), ⊤) ≃ₐ[k] A := by |
| 29 | let a : CommRingCat.of k ⟶ CommRingCat.of A := CommRingCat.ofHom (algebraMap k A) |
| 30 | let := Foundations.Scheme.SpecScalarTransport.specSectionScalarAlgebra (Spec.map a) ⊤ |
| 31 | refine { (Scheme.ΓSpecIso (CommRingCat.of A)).commRingCatIsoToRingEquiv with commutes' := ?_ } |
| 32 | intro r |
| 33 | have h := ConcreteCategory.congr_hom (Scheme.ΓSpecIso_naturality a) |
| 34 | ((Scheme.ΓSpecIso (CommRingCat.of k)).inv r) |
| 35 | change (Scheme.ΓSpecIso (CommRingCat.of A)).hom |
| 36 | ((Spec.map a).appTop ((Scheme.ΓSpecIso (CommRingCat.of k)).inv r)) = |
| 37 | a ((Scheme.ΓSpecIso (CommRingCat.of k)).hom ((Scheme.ΓSpecIso (CommRingCat.of k)).inv r)) at h |
| 38 | have he : (Spec.map a).appLE ⊤ ⊤ le_top = (Spec.map a).appTop := |
| 39 | (Spec.map a).app_eq_appLE.symm |
| 40 | change (Scheme.ΓSpecIso (CommRingCat.of A)).hom |
| 41 | ((Spec.map a).appLE ⊤ ⊤ le_top ((Scheme.ΓSpecIso (CommRingCat.of k)).inv r)) = algebraMap k A r |
| 42 | exact (congrArg (fun g => (Scheme.ΓSpecIso (CommRingCat.of A)).hom |
| 43 | (g ((Scheme.ΓSpecIso (CommRingCat.of k)).inv r))) he).trans |
| 44 | (h.trans (congrArg a (Iso.inv_hom_id_apply (Scheme.ΓSpecIso (CommRingCat.of k)) r))) |
| 45 | |
| 46 | /-- The canonical dimension of an integral affine scheme equals its actual ring transcendence degree. -/ |
| 47 | theorem schemeTranscendenceDimension_spec_algebra [IsDomain A] : |
| 48 | Foundations.Scheme.TranscendenceDimension.schemeTranscendenceDimension (Spec.map (CommRingCat.ofHom (algebraMap k A))) = |
| 49 | (Algebra.trdeg k A).toNat := by |
| 50 | let f := Spec.map (CommRingCat.ofHom (algebraMap k A)) |
| 51 | have : Nonempty (⊤ : (Spec (CommRingCat.of A)).Opens) := |
| 52 | ⟨⟨Classical.choice (inferInstance : Nonempty (Spec (CommRingCat.of A))), trivial⟩⟩ |
| 53 | let := Foundations.Scheme.SpecScalarTransport.specSectionScalarAlgebra f ⊤ |
| 54 | exact (Foundations.Scheme.TranscendenceDimension.schemeTranscendenceDimension_eq_affineSections f ⊤ (isAffineOpen_top _)).trans |
| 55 | (congrArg Cardinal.toNat (specGlobalScalarAlgEquiv k A).trdeg_eq) |
| 56 | |
| 57 | end |
| 58 | |
| 59 | end OAI.AlgebraicGeometry.CycleClass.Thom.Affine.DimensionBridge.Constructions |