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.PELModuli.IntegralModel.Arithmetic.Specialization |
| 2 | import OAI.AlgebraicGeometry.PELModuli.IntegralModel.Arithmetic.CoefficientFiniteType |
| 3 | |
| 4 | /-! # Coefficient Field Point -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.PELModuli.IntegralModel |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! A nonempty principal coefficient parameter admits an actual |
| 11 | point over a finite extension of the arithmetic generic field. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 14 | |
| 15 | variable {K : Type} [Field K] [NumberField K] {κ : K →+* ℂ} |
| 16 | |
| 17 | theorem Base.ArithmeticBaseExtension.coefficient_parameter_field_point (B : Base.ArithmeticBaseExtension K κ) [Algebra B.R ℂ] |
| 18 | (hAlg : algebraMap B.R ℂ = B.embedding.comp B.toField) |
| 19 | (s : Finset ℂ) (r : ArithmeticGeometry.Models.CoefficientSystem.Constructions.Foundations.coefficientRing B.R ℂ s) (hr : r ≠ 0) (N₀ : ℕ) (hN₀ : N₀ ≠ 0) : |
| 20 | ∃ D : Base.ArithmeticBaseExtension B.extension.carrier B.embedding, |
| 21 | D.denominator = N₀ ∧ ∃ j : ArithmeticGeometry.Models.CoefficientSystem.Constructions.Foundations.coefficientRing B.R ℂ s →+* D.extension.carrier, |
| 22 | j r ≠ 0 ∧ j.comp (algebraMap B.R (ArithmeticGeometry.Models.CoefficientSystem.Constructions.Foundations.coefficientRing B.R ℂ s)) = |
| 23 | (algebraMap B.extension.carrier D.extension.carrier).comp B.toField := by |
| 24 | let S := ArithmeticGeometry.Models.CoefficientSystem.Constructions.Foundations.coefficientRing B.R ℂ s |
| 25 | let A := Localization.Away r |
| 26 | have hrC : (r : ℂ) ≠ 0 := fun h => hr (Subtype.ext h) |
| 27 | let c : A →+* ℂ := IsLocalization.Away.lift (g := algebraMap S ℂ) r (isUnit_iff_ne_zero.mpr hrC) |
| 28 | have hc : c.comp (algebraMap B.R A) = B.embedding.comp B.toField := by |
| 29 | ext x |
| 30 | change c (algebraMap S A (algebraMap B.R S x)) = _ |
| 31 | rw [IsLocalization.Away.lift_eq] |
| 32 | exact RingHom.congr_fun hAlg x |
| 33 | have hft : Algebra.FiniteType B.R A := Algebra.FiniteType.trans (R := B.R) (S := S) (A := A) |
| 34 | (ArithmeticGeometry.Models.CoefficientSystem.Constructions.Foundations.coefficientRing_finiteType B.R ℂ s) inferInstance |
| 35 | let Q : Over B.base := Over.mk (Spec.map (CommRingCat.ofHom (R := B.R) (S := A) (algebraMap B.R A))) |
| 36 | have : LocallyOfFiniteType Q.hom := (HasRingHomProperty.Spec_iff (P := @LocallyOfFiniteType)).mpr |
| 37 | (RingHom.finiteType_algebraMap.mpr hft) |
| 38 | let T := (Over.pullback B.generic).obj Q |
| 39 | have : LocallyOfFiniteType T.hom := inferInstanceAs (LocallyOfFiniteType (pullback.snd Q.hom B.generic)) |
| 40 | have hw : Spec.map (CommRingCat.ofHom c) ≫ Q.hom = |
| 41 | Spec.map (CommRingCat.ofHom B.embedding) ≫ B.generic := by |
| 42 | change Spec.map (CommRingCat.ofHom c) ≫ Spec.map (CommRingCat.ofHom (R := B.R) (S := A) (algebraMap B.R A)) = |
| 43 | Spec.map (CommRingCat.ofHom B.embedding) ≫ Spec.map (CommRingCat.ofHom B.toField) |
| 44 | rw [← Spec.map_comp, ← Spec.map_comp] |
| 45 | exact congrArg (fun f : B.R →+* ℂ => Spec.map (CommRingCat.ofHom f)) hc |
| 46 | let w : Spec (.of ℂ) ⟶ T.left := pullback.lift (Spec.map (CommRingCat.ofHom c)) |
| 47 | (Spec.map (CommRingCat.ofHom B.embedding)) hw |
| 48 | have : Nonempty T.left := ⟨w (IsLocalRing.closedPoint ℂ)⟩ |
| 49 | obtain ⟨D, p, hD⟩ := Arithmetic.Specialization.arithmetic_parameter_exists B.embedding T N₀ hN₀ |
| 50 | let a := p.left ≫ pullback.fst Q.hom B.generic |
| 51 | let γ : A →+* D.extension.carrier := (Spec.preimage a).hom |
| 52 | have hγ : Spec.map (CommRingCat.ofHom γ) = a := Spec.map_preimage a |
| 53 | let j := γ.comp (algebraMap S A) |
| 54 | have hjr : IsUnit (j r) := (IsLocalization.Away.algebraMap_isUnit (S := A) r).map γ |
| 55 | refine ⟨D, hD, j, isUnit_iff_ne_zero.mp hjr, ?_⟩ |
| 56 | have ha : a ≫ Q.hom = D.fieldExtension ≫ B.generic := by |
| 57 | rw [Category.assoc, pullback.condition, ← Category.assoc] |
| 58 | exact congrArg (fun f => f ≫ B.generic) p.w |
| 59 | have he : γ.comp (algebraMap B.R A) = |
| 60 | (algebraMap B.extension.carrier D.extension.carrier).comp B.toField := by |
| 61 | have heSpec : Spec.map (CommRingCat.ofHom (γ.comp (algebraMap B.R A))) = |
| 62 | Spec.map (CommRingCat.ofHom ((algebraMap B.extension.carrier D.extension.carrier).comp B.toField)) := by |
| 63 | change Spec.map (CommRingCat.ofHom (R := B.R) (S := A) (algebraMap B.R A) ≫ CommRingCat.ofHom γ) = |
| 64 | Spec.map (CommRingCat.ofHom B.toField ≫ |
| 65 | CommRingCat.ofHom (algebraMap B.extension.carrier D.extension.carrier)) |
| 66 | rw [Spec.map_comp, Spec.map_comp, hγ] |
| 67 | exact ha |
| 68 | exact congrArg CommRingCat.Hom.hom (Spec.map_injective heSpec) |
| 69 | ext x |
| 70 | exact RingHom.congr_fun he x |
| 71 | |
| 72 | end |
| 73 | |
| 74 | end OAI.AlgebraicGeometry.PELModuli.IntegralModel |