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.ChowCriterion |
| 2 | import OAI.ArithmeticGeometry.Models.SpreadingOut.ProperProducts |
| 3 | import OAI.ArithmeticGeometry.Models.SpreadingOut.FiniteAffineCover |
| 4 | import OAI.ArithmeticGeometry.Models.SpreadingOut.AffineProjectiveChart |
| 5 | import OAI.ArithmeticGeometry.Models.SpreadingOut.Cover |
| 6 | |
| 7 | /-! # Integral Proper Cover -/ |
| 8 | |
| 9 | namespace OAI.ArithmeticGeometry.Models.SpreadingOut.IntegralProperCover.Construction |
| 10 | |
| 11 | noncomputable section |
| 12 | |
| 13 | /-! A proper covering model for an integral proper scheme, constructed from |
| 14 | finitely many affine charts and the closure of their combined graph. -/ |
| 15 | |
| 16 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry _root_.TopologicalSpace |
| 17 | open scoped _root_.NumberField |
| 18 | |
| 19 | universe u |
| 20 | |
| 21 | theorem integral_proper_scheme_has_integral_cover |
| 22 | (K : Type u) [Field K] [NumberField K] |
| 23 | (X : Over (Spec (.of K))) [IsIntegral X.left] [IsProper X.hom] : |
| 24 | ∃ (Z : Over (Spec (.of K))) (f : Z ⟶ X), Surjective f.left ∧ |
| 25 | ∃ P : Over (Spec (.of (𝓞 K))), IsProper P.hom ∧ |
| 26 | Nonempty ((Over.pullback |
| 27 | (Spec.map (CommRingCat.ofHom (algebraMap (𝓞 K) K)))).obj P ≅ Z) := by |
| 28 | classical |
| 29 | have : CompactSpace X.left := QuasiCompact.compactSpace_of_compactSpace X.hom |
| 30 | have : IsLocallyNoetherian X.left := LocallyOfFiniteType.isLocallyNoetherian X.hom |
| 31 | have : IsNoetherian X.left := ⟨⟩ |
| 32 | obtain ⟨ι, hι, V, hV, hcover⟩ := FiniteAffineCover.Construction.finite_nonempty_affine_open_cover X.left |
| 33 | have := hι |
| 34 | have (i : ι) : IsAffine (OpenOver.Construction.overOpen X (V i)).left := (hV i).1 |
| 35 | have (i : ι) : LocallyOfFiniteType (OpenOver.Construction.overOpen X (V i)).hom := by |
| 36 | change LocallyOfFiniteType ((V i).ι ≫ X.hom) |
| 37 | infer_instance |
| 38 | choose n A e he using fun i ↦ |
| 39 | AffineProjectiveChart.Construction.affine_has_closed_generic_projective_chart (𝓞 K) K (OpenOver.Construction.overOpen X (V i)) |
| 40 | let g := Spec.map (CommRingCat.ofHom (algebraMap (𝓞 K) K)) |
| 41 | let P : ι → Over (Spec (.of (𝓞 K))) := fun i ↦ ProjectiveEmbedding.Construction.projectiveModel (𝓞 K) (n i) |
| 42 | obtain ⟨M⟩ := ProperProducts.Construction.proper_family_has_product P (fun i ↦ inferInstance) |
| 43 | let N := M.baseChange g |
| 44 | have : IsProper M.obj.hom := M.proper |
| 45 | have : IsProper N.obj.hom := N.proper |
| 46 | let Q : ι → Over (Spec (.of K)) := fun i ↦ (Over.pullback g).obj (P i) |
| 47 | have hQ (i : ι) : IsSeparated (Q i).hom := by |
| 48 | change IsSeparated (pullback.snd (P i).hom g) |
| 49 | have : IsProper (P i).hom := inferInstanceAs (IsProper (ProjectiveEmbedding.Construction.projectiveModel (𝓞 K) (n i)).hom) |
| 50 | infer_instance |
| 51 | obtain ⟨T, hT, hTV⟩ := FiniteAffineCover.Construction.common_dense_open X.left V (fun i ↦ (hV i).2) |
| 52 | let W := OpenOver.Construction.overOpen X T |
| 53 | let j := OpenOver.Construction.overOpenInclusion X T |
| 54 | have : IsDominant j.left := Opens.isDominant_ι hT |
| 55 | have hTc : IsCompact (T : Set X.left) := NoetherianSpace.isCompact _ |
| 56 | have : CompactSpace W.left := isCompact_iff_compactSpace.mp hTc |
| 57 | let k : ∀ i, W ⟶ OpenOver.Construction.overOpen X (V i) := fun i ↦ |
| 58 | Over.homMk (X.left.homOfLE (hTV i)) (by |
| 59 | change X.left.homOfLE (hTV i) ≫ ((V i).ι ≫ X.hom) = T.ι ≫ X.hom |
| 60 | rw [← Category.assoc, Scheme.homOfLE_ι]) |
| 61 | have hk (i : ι) : j = k i ≫ OpenOver.Construction.overOpenInclusion X (V i) := by |
| 62 | apply Over.OverMorphism.ext |
| 63 | exact (Scheme.homOfLE_ι X.left (hTV i)).symm |
| 64 | let a : W ⟶ N.obj := N.lift W |
| 65 | (fun i ↦ k i ≫ e i ≫ OpenOver.Construction.overOpenInclusion (Q i) (A i)) |
| 66 | have ha (i : ι) : a ≫ N.projection i = |
| 67 | k i ≫ e i ≫ OpenOver.Construction.overOpenInclusion (Q i) (A i) := N.lift_projection W _ i |
| 68 | have : IsLocallyNoetherian N.obj.left := LocallyOfFiniteType.isLocallyNoetherian N.obj.hom |
| 69 | have : IsLocallyNoetherian (pullback X.hom N.obj.hom) := inferInstance |
| 70 | have : QuasiCompact (GraphClosure.Construction.rationalGraph j a) := inferInstance |
| 71 | let Z := GraphClosure.Construction.graphClosure j a |
| 72 | let f := GraphClosure.Construction.graphClosureToX j a |
| 73 | let i : Z ⟶ (Over.pullback g).obj M.obj := GraphClosure.Construction.graphClosureToP j a |
| 74 | have hf : Surjective f.left := GraphClosure.Construction.graphClosureToX_surjective j a |
| 75 | have : IsClosedImmersion i.left := |
| 76 | ChowCriterion.Construction.graphClosureToP_closed_of_chart_cover j a Q hQ N.projection V hcover A k e he hk ha |
| 77 | have : IsPreimmersion g := IsPreimmersion.of_isLocalization (nonZeroDivisors (𝓞 K)) |
| 78 | obtain ⟨P₀, hP₀, hgeneric⟩ := ProperAmbient.Construction.closed_generic_subscheme_has_proper_model g M.obj Z i |
| 79 | exact ⟨Z, f, hf, P₀, hP₀, hgeneric⟩ |
| 80 | |
| 81 | /-- The first SpreadingOut conclusion for an integral smooth proper scheme. -/ |
| 82 | theorem integral_smooth_proper_arithmetic_model |
| 83 | (K : Type u) [Field K] [NumberField K] |
| 84 | (X : Over (Spec (.of K))) [IsIntegral X.left] [Smooth X.hom] [IsProper X.hom] : |
| 85 | ∃ (B : Base.Construction.ArithmeticOpen K) (M : Over B.U.toScheme), |
| 86 | Smooth M.hom ∧ IsProper M.hom ∧ |
| 87 | Nonempty ((Over.pullback B.generic).obj M ≅ X) := by |
| 88 | obtain ⟨Z, f, hf, P, hP, ⟨e⟩⟩ := integral_proper_scheme_has_integral_cover K X |
| 89 | have := hf |
| 90 | have := hP |
| 91 | exact Cover.Construction.arithmetic_model_of_proper_integral_cover f P e |
| 92 | |
| 93 | end |
| 94 | |
| 95 | end OAI.ArithmeticGeometry.Models.SpreadingOut.IntegralProperCover.Construction |