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.GoodOpenFiber |
| 2 | import OAI.ArithmeticGeometry.Models.SpreadingOut.FiniteTypeCoefficientBase |
| 3 | import Mathlib.RingTheory.DedekindDomain.Dvr |
| 4 | |
| 5 | /-! # Dedekind Geometric -/ |
| 6 | |
| 7 | namespace OAI.ArithmeticGeometry.Models.SpreadingOut.DedekindGeometric.Construction |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Smooth proper geometrically irreducible schemes over a number field |
| 12 | admit smooth proper models with geometrically irreducible fibers. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 15 | open scoped _root_.NumberField |
| 16 | |
| 17 | universe u |
| 18 | |
| 19 | theorem dedekind_good_open_has_geometric_coefficient_model |
| 20 | {K : Type u} [Field K] [NumberField K] |
| 21 | (R : Type u) [CommRing R] [IsDedekindDomain R] |
| 22 | [Algebra (𝓞 K) R] [Algebra.FiniteType (𝓞 K) R] |
| 23 | (φ : R →ₐ[𝓞 K] K) (hφ : Function.Injective φ) |
| 24 | {V M : Over (Spec (.of R))} (i : V ⟶ M) [IsOpenImmersion i.left] |
| 25 | [Smooth M.hom] [IsProper M.hom] [IsIntegral M.left] |
| 26 | [GeometricallyIrreducible V.hom] |
| 27 | (X : Over (Spec (.of K))) |
| 28 | (eM : (Over.pullback (Spec.map (CommRingCat.ofHom φ.toRingHom))).obj M ≅ X) : |
| 29 | ∃ N : Foundations.Constructions.CoefficientModel K X, |
| 30 | Smooth N.model.hom ∧ IsProper N.model.hom ∧ GeometricallyIrreducible N.model.hom := by |
| 31 | have : CompactSpace M.left := QuasiCompact.compactSpace_of_compactSpace M.hom |
| 32 | have : IsLocallyNoetherian M.left := LocallyOfFiniteType.isLocallyNoetherian M.hom |
| 33 | obtain ⟨r, hr, hgeo⟩ := GoodOpenFiber.Construction.geometricallyIrreducible_ambient_after_shrinking R i |
| 34 | let S := Localization.Away r |
| 35 | have hu : IsUnit (φ r) := IsUnit.mk0 _ (by |
| 36 | intro h |
| 37 | exact hr (hφ (h.trans φ.map_zero.symm))) |
| 38 | let ψ : S →ₐ[𝓞 K] K := IsLocalization.Away.liftAlgHom (f := φ) r hu |
| 39 | let a := Spec.map (CommRingCat.ofHom (algebraMap R S)) |
| 40 | let k := Spec.map (CommRingCat.ofHom ψ.toRingHom) |
| 41 | let N : Over (Spec (.of S)) := (Over.pullback a).obj M |
| 42 | have hka : k ≫ a = Spec.map (CommRingCat.ofHom φ.toRingHom) := by |
| 43 | rw [← Spec.map_comp] |
| 44 | congr 1 |
| 45 | exact CommRingCat.hom_ext (IsLocalization.Away.lift_comp r hu) |
| 46 | let eN : (Over.pullback k).obj N ≅ X := |
| 47 | BaseChange.Constructions.Foundations.iteratedBaseChangeIso a k M ≪≫ Scheme.Constructions.Foundations.baseChangeCongr hka M ≪≫ eM |
| 48 | have : Smooth N.hom := inferInstanceAs (Smooth (pullback.snd M.hom a)) |
| 49 | have : IsProper N.hom := inferInstanceAs (IsProper (pullback.snd M.hom a)) |
| 50 | have : GeometricallyIrreducible N.hom := hgeo |
| 51 | exact FiniteTypeCoefficientBase.Construction.finiteType_geometric_model_to_coefficient_model S ψ N X eN |
| 52 | |
| 53 | end |
| 54 | |
| 55 | end OAI.ArithmeticGeometry.Models.SpreadingOut.DedekindGeometric.Construction |