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 OAI.ArithmeticGeometry.Models.SpreadingOut.DedekindGeometric |
| 4 | import OAI.ArithmeticGeometry.Models.SpreadingOut.DedekindCoefficient |
| 5 | |
| 6 | /-! # Geometric Proper -/ |
| 7 | |
| 8 | namespace OAI.ArithmeticGeometry.Models.SpreadingOut.GeometricProper.Construction |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! Smooth proper geometrically irreducible schemes over a number field |
| 13 | admit smooth proper models with geometrically irreducible fibers. -/ |
| 14 | |
| 15 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 16 | open scoped _root_.NumberField |
| 17 | |
| 18 | universe u |
| 19 | |
| 20 | theorem open_stage_has_geometric_proper_coefficient_model |
| 21 | {K : Type u} [Field K] [NumberField K] {W X : Over (Spec (.of K))} |
| 22 | {f : W ⟶ X} {s : Finset K} (L : OpenImmersionStages.Constructions.Foundations.OpenImmersionAtBase s f) |
| 23 | [IsIntegral X.left] [Smooth L.target.hom] [IsProper L.target.hom] |
| 24 | [GeometricallyIrreducible L.source.hom] : |
| 25 | ∃ N : Foundations.Constructions.CoefficientModel K X, |
| 26 | Smooth N.model.hom ∧ IsProper N.model.hom ∧ GeometricallyIrreducible N.model.hom := by |
| 27 | obtain ⟨D⟩ := DedekindCoefficient.Construction.coefficient_has_dedekind_base (K := K) s |
| 28 | let R := D.carrier |
| 29 | let b := D.baseMap |
| 30 | let g := Spec.map (CommRingCat.ofHom D.genericMap.toRingHom) |
| 31 | have hgb : g ≫ b = CoefficientSystem.Constructions.Foundations.genericBaseMap (𝓞 K) K s := D.generic_comp |
| 32 | let F := Over.pullback b |
| 33 | let M : Over (Spec (.of R)) := F.obj L.target |
| 34 | let V : Over (Spec (.of R)) := F.obj L.source |
| 35 | let i : V ⟶ M := F.map L.inclusion |
| 36 | have : IsOpenImmersion L.inclusion.left := L.openInclusion |
| 37 | have : IsOpenImmersion i.left := MorphismProperty.of_isPullback |
| 38 | (FoundationsPullback.Constructions.pullback_over_map_isPullback b L.inclusion).flip inferInstance |
| 39 | have : Smooth M.hom := inferInstanceAs (Smooth (pullback.snd L.target.hom b)) |
| 40 | have : IsProper M.hom := inferInstanceAs (IsProper (pullback.snd L.target.hom b)) |
| 41 | have : GeometricallyIrreducible V.hom := |
| 42 | inferInstanceAs (GeometricallyIrreducible (pullback.snd L.source.hom b)) |
| 43 | let eL : (Over.pullback (CoefficientSystem.Constructions.Foundations.genericBaseMap (𝓞 K) K s)).obj L.target ≅ X := |
| 44 | Over.isoMk L.targetCartesian.isoPullback.symm L.targetCartesian.isoPullback_inv_snd |
| 45 | let eM : (Over.pullback g).obj M ≅ X := |
| 46 | BaseChange.Constructions.Foundations.iteratedBaseChangeIso b g L.target ≪≫ Scheme.Constructions.Foundations.baseChangeCongr hgb L.target ≪≫ eL |
| 47 | have : IsIso eM.inv.left := inferInstanceAs (IsIso ((Over.forget (Spec (.of K))).map eM.inv)) |
| 48 | have : IsIntegral ((Over.pullback g).obj M).left := IsIntegral.of_isIso eM.inv.left |
| 49 | have : IsIntegral M.left := SmoothGeometricIntegrality.Construction.smooth_model_integral_of_integral_generic |
| 50 | D.genericMap.toRingHom D.injective M |
| 51 | exact DedekindGeometric.Construction.dedekind_good_open_has_geometric_coefficient_model R D.genericMap |
| 52 | D.injective i X eM |
| 53 | |
| 54 | theorem smooth_proper_geometricallyIrreducible_has_coefficient_model |
| 55 | {K : Type u} [Field K] [NumberField K] |
| 56 | (X : Over (Spec (.of K))) [Smooth X.hom] [IsProper X.hom] |
| 57 | [GeometricallyIrreducible X.hom] : |
| 58 | ∃ N : Foundations.Constructions.CoefficientModel K X, |
| 59 | Smooth N.model.hom ∧ IsProper N.model.hom ∧ GeometricallyIrreducible N.model.hom := by |
| 60 | obtain ⟨W, f, MW, hWaff, hf, _, _, hMW⟩ := |
| 61 | GoodOpen.Construction.smooth_geometricallyIrreducible_has_good_open_model K X |
| 62 | have : IsAffine W.left := hWaff |
| 63 | have : IsOpenImmersion f.left := hf |
| 64 | have : GeometricallyIrreducible MW.model.hom := hMW |
| 65 | have : GeometricallyConnected MW.model.hom := by |
| 66 | refine ⟨fun k _ y Z p q hp ↦ ?_⟩ |
| 67 | have : IrreducibleSpace Z := GeometricallyIrreducible.geometrically_irreducibleSpace y p q hp |
| 68 | infer_instance |
| 69 | obtain ⟨MX, hs, hp⟩ := Finite.Construction.smooth_proper_has_coefficient_model X |
| 70 | have : Smooth MX.model.hom := hs |
| 71 | have : IsProper MX.model.hom := hp |
| 72 | obtain ⟨s, L, _, hirr, hsL, hpL⟩ := OpenModel.Construction.open_immersion_models_with_geometry f MW MX |
| 73 | have : GeometricallyIrreducible L.source.hom := hirr |
| 74 | have : Smooth L.target.hom := hsL |
| 75 | have : IsProper L.target.hom := hpL |
| 76 | have : IrreducibleSpace X.left := self_of_isIntegral_of_geometrically |
| 77 | (f := X.hom) GeometricallyIrreducible.geometrically_irreducibleSpace |
| 78 | have : IsReduced X.left := SmoothComponents.Construction.smooth_scheme_reduced X.hom |
| 79 | have : IsIntegral X.left := isIntegral_of_irreducibleSpace_of_isReduced X.left |
| 80 | exact open_stage_has_geometric_proper_coefficient_model L |
| 81 | |
| 82 | end |
| 83 | |
| 84 | end OAI.ArithmeticGeometry.Models.SpreadingOut.GeometricProper.Construction |