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.IntegralProperCover |
| 2 | import OAI.ArithmeticGeometry.Models.SpreadingOut.ProperCoproducts |
| 3 | import OAI.ArithmeticGeometry.Models.SpreadingOut.SmoothComponents |
| 4 | |
| 5 | /-! # Smooth Proper Model -/ |
| 6 | |
| 7 | namespace OAI.ArithmeticGeometry.Models.SpreadingOut.SmoothProperModel.Construction |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Smooth proper arithmetic models, including disconnected schemes. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry _root_.TopologicalSpace |
| 14 | open scoped _root_.NumberField |
| 15 | |
| 16 | universe u |
| 17 | |
| 18 | theorem smooth_proper_scheme_has_integral_cover |
| 19 | (K : Type u) [Field K] [NumberField K] |
| 20 | (X : Over (Spec (.of K))) [Smooth X.hom] [IsProper X.hom] : |
| 21 | ∃ (Z : Over (Spec (.of K))) (f : Z ⟶ X), Surjective f.left ∧ |
| 22 | ∃ P : Over (Spec (.of (𝓞 K))), IsProper P.hom ∧ |
| 23 | Nonempty ((Over.pullback |
| 24 | (Spec.map (CommRingCat.ofHom (algebraMap (𝓞 K) K)))).obj P ≅ Z) := by |
| 25 | classical |
| 26 | have : CompactSpace X.left := QuasiCompact.compactSpace_of_compactSpace X.hom |
| 27 | have : IsLocallyNoetherian X.left := LocallyOfFiniteType.isLocallyNoetherian X.hom |
| 28 | have : IsNoetherian X.left := ⟨⟩ |
| 29 | let ι := irreducibleComponents X.left |
| 30 | have : Finite ι := finite_irreducibleComponents_of_isNoetherian.to_subtype |
| 31 | let V : ι → X.left.Opens := SmoothComponents.Construction.smoothComponentOpen X.hom |
| 32 | let C : ι → Over (Spec (.of K)) := fun i ↦ OpenOver.Construction.overOpen X (V i) |
| 33 | have hC (i : ι) : IsIntegral (C i).left := SmoothComponents.Construction.smoothComponentOpen_integral X.hom i |
| 34 | have hCP (i : ι) : IsProper (C i).hom := |
| 35 | (SmoothComponents.Construction.smoothComponentOpen_smooth_proper X.hom i).2 |
| 36 | choose Z f hf P hP e using fun i ↦ IntegralProperCover.Construction.integral_proper_scheme_has_integral_cover K (C i) |
| 37 | let a : ∀ i, Z i ⟶ X := fun i ↦ f i ≫ OpenOver.Construction.overOpenInclusion X (V i) |
| 38 | let F : ProperCoproducts.Construction.overSigma Z ⟶ X := ProperCoproducts.Construction.overSigmaDesc a |
| 39 | have hF : Surjective F.left := by |
| 40 | apply Surjective.sigmaDesc_of_union_range_eq_univ |
| 41 | apply Set.eq_univ_of_forall |
| 42 | intro x |
| 43 | have hx : x ∈ ⨆ i, V i := by rw [SmoothComponents.Construction.smoothComponentOpen_cover]; trivial |
| 44 | obtain ⟨i, hi⟩ := Opens.mem_iSup.mp hx |
| 45 | obtain ⟨z, hz⟩ := (hf i).surj ⟨x, hi⟩ |
| 46 | apply Set.mem_iUnion.mpr |
| 47 | refine ⟨i, z, ?_⟩ |
| 48 | change (V i).ι ((f i).left z) = x |
| 49 | rw [hz] |
| 50 | rfl |
| 51 | have hPS : IsProper (ProperCoproducts.Construction.overSigma P).hom := |
| 52 | ProperCoproducts.Construction.proper_finite_sigma_desc (𝓞 K) (fun i ↦ (P i).hom) hP |
| 53 | let g := Spec.map (CommRingCat.ofHom (algebraMap (𝓞 K) K)) |
| 54 | exact ⟨ProperCoproducts.Construction.overSigma Z, F, hF, ProperCoproducts.Construction.overSigma P, hPS, |
| 55 | ⟨ProperCoproducts.Construction.overSigmaBaseChangeIso g P ≪≫ ProperCoproducts.Construction.overSigmaIso (fun i ↦ (e i).some)⟩⟩ |
| 56 | |
| 57 | /-- Every smooth proper scheme over a number field extends over a cofinite |
| 58 | open of the spectrum of its ring of integers. -/ |
| 59 | theorem smooth_proper_model_outside_finitely_many_primes |
| 60 | (K : Type u) [Field K] [NumberField K] |
| 61 | (X : Over (Base.Construction.fieldBase K)) [Smooth X.hom] [IsProper X.hom] : |
| 62 | ∃ (B : Base.Construction.ArithmeticOpen K) (M : Over B.U.toScheme), |
| 63 | Smooth M.hom ∧ IsProper M.hom ∧ |
| 64 | Nonempty ((Over.pullback B.generic).obj M ≅ X) := by |
| 65 | obtain ⟨Z, f, hf, P, hP, ⟨e⟩⟩ := smooth_proper_scheme_has_integral_cover K X |
| 66 | have := hf |
| 67 | have := hP |
| 68 | exact Cover.Construction.arithmetic_model_of_proper_integral_cover f P e |
| 69 | |
| 70 | end |
| 71 | |
| 72 | end OAI.ArithmeticGeometry.Models.SpreadingOut.SmoothProperModel.Construction |