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.Models.SpreadingOut.FiniteTypeCoefficientBase |
| 2 | import Mathlib.RingTheory.DedekindDomain.Dvr |
| 3 | |
| 4 | /-! # Dedekind Coefficient -/ |
| 5 | |
| 6 | namespace OAI.ArithmeticGeometry.Models.SpreadingOut.DedekindCoefficient.Construction |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! A finite coefficient base is dominated by a finite type Dedekind base |
| 11 | with the same generic number field. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 14 | open scoped _root_.NumberField |
| 15 | |
| 16 | universe u |
| 17 | |
| 18 | structure DedekindCoefficientBase (K : Type u) [Field K] [NumberField K] (s : Finset K) where |
| 19 | carrier : Type u |
| 20 | [commRing : CommRing carrier] |
| 21 | [algebra : Algebra (𝓞 K) carrier] |
| 22 | [dedekind : IsDedekindDomain carrier] |
| 23 | [finiteType : Algebra.FiniteType (𝓞 K) carrier] |
| 24 | genericMap : carrier →ₐ[𝓞 K] K |
| 25 | injective : Function.Injective genericMap |
| 26 | baseMap : Spec (.of carrier) ⟶ CoefficientSystem.Constructions.Foundations.coefficientBase (𝓞 K) K s |
| 27 | generic_comp : Spec.map (CommRingCat.ofHom genericMap.toRingHom) ≫ baseMap = |
| 28 | CoefficientSystem.Constructions.Foundations.genericBaseMap (𝓞 K) K s |
| 29 | |
| 30 | attribute [instance] DedekindCoefficientBase.commRing DedekindCoefficientBase.algebra |
| 31 | DedekindCoefficientBase.dedekind DedekindCoefficientBase.finiteType |
| 32 | |
| 33 | theorem coefficient_has_dedekind_base |
| 34 | {K : Type u} [Field K] [NumberField K] (s : Finset K) : |
| 35 | Nonempty (DedekindCoefficientBase K s) := by |
| 36 | let A := CoefficientSystem.Constructions.Foundations.coefficientRing (𝓞 K) K s |
| 37 | obtain ⟨d, _, hpow, hle⟩ := Fg.Construction.fg_subalgebra_le_localization A ⟨s, rfl⟩ |
| 38 | let R := Localization.subalgebra.ofField K (Submonoid.powers d) hpow |
| 39 | have : IsDedekindDomain R := IsLocalization.isDedekindDomain (𝓞 K) hpow R |
| 40 | have : Algebra.FinitePresentation (𝓞 K) R := IsLocalization.Away.finitePresentation d |
| 41 | let ψ : A →ₐ[𝓞 K] R := Subalgebra.inclusion hle |
| 42 | refine ⟨{ |
| 43 | carrier := R |
| 44 | genericMap := R.val |
| 45 | injective := Subtype.val_injective |
| 46 | baseMap := Spec.map (CommRingCat.ofHom ψ.toRingHom) |
| 47 | generic_comp := ?_ }⟩ |
| 48 | rw [← Spec.map_comp] |
| 49 | rfl |
| 50 | |
| 51 | end |
| 52 | |
| 53 | end OAI.ArithmeticGeometry.Models.SpreadingOut.DedekindCoefficient.Construction |