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.CoefficientSmoothness |
| 2 | import OAI.ArithmeticGeometry.Models.BaseChange |
| 3 | |
| 4 | /-! # Coefficient -/ |
| 5 | |
| 6 | namespace OAI.ArithmeticGeometry.Models.SpreadingOut.Coefficient.Construction |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! A proper coefficient model of a smooth scheme gives the exact |
| 11 | smooth-proper arithmetic model required in SpreadingOut. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 14 | open scoped _root_.NumberField |
| 15 | |
| 16 | universe u |
| 17 | |
| 18 | open OAI.ArithmeticGeometry.Models.BaseChange.Constructions.Foundations |
| 19 | |
| 20 | theorem smooth_proper_coefficient_model_to_arithmetic |
| 21 | {K : Type u} [Field K] [NumberField K] |
| 22 | {X : Over (Spec (.of K))} (M : Foundations.Constructions.CoefficientModel K X) |
| 23 | [Smooth M.model.hom] [IsProper M.model.hom] : |
| 24 | ∃ (B : Base.Construction.ArithmeticOpen K) (N : Over B.U.toScheme), |
| 25 | Smooth N.hom ∧ IsProper N.hom ∧ |
| 26 | Nonempty ((Over.pullback B.generic).obj N ≅ X) := by |
| 27 | let A := CoefficientSystem.Constructions.Foundations.coefficientRing (𝓞 K) K M.coefficients |
| 28 | obtain ⟨d, hd, hpow, hle⟩ := Fg.Construction.fg_subalgebra_le_localization A |
| 29 | ⟨M.coefficients, rfl⟩ |
| 30 | let R₀ := Localization.subalgebra.ofField K (Submonoid.powers d) hpow |
| 31 | let φ : A →ₐ[𝓞 K] R₀ := Subalgebra.inclusion hle |
| 32 | let f := Spec.map (CommRingCat.ofHom φ.toRingHom) |
| 33 | let M₀ := (Over.pullback f).obj M.model |
| 34 | let g := Spec.map (CommRingCat.ofHom (algebraMap R₀ K)) |
| 35 | have hgf : g ≫ f = CoefficientSystem.Constructions.Foundations.genericBaseMap (𝓞 K) K M.coefficients := by |
| 36 | rw [← Spec.map_comp] |
| 37 | rfl |
| 38 | let B := Base.Construction.arithmeticOpenOfNonzero K d hd |
| 39 | let j : Spec (.of R₀) ≅ B.U.toScheme := Affine.Construction.localizationOpenIso (𝓞 K) R₀ d |
| 40 | let N := (Over.map j.hom).obj M₀ |
| 41 | have hj : j.hom ≫ B.U.ι = Spec.map (CommRingCat.ofHom (algebraMap (𝓞 K) R₀)) := |
| 42 | Affine.Construction.localizationOpenIso_hom_ι (𝓞 K) R₀ d |
| 43 | have hg : g ≫ j.hom = B.generic := by |
| 44 | apply (cancel_mono B.U.ι).mp |
| 45 | rw [Category.assoc, hj, B.generic_eq] |
| 46 | change Spec.map (CommRingCat.ofHom (algebraMap R₀ K)) ≫ |
| 47 | Spec.map (CommRingCat.ofHom (algebraMap (𝓞 K) R₀)) = _ |
| 48 | rw [← Spec.map_comp] |
| 49 | congr 1 |
| 50 | have : Smooth M₀.hom := inferInstanceAs (Smooth (pullback.snd M.model.hom f)) |
| 51 | have : IsProper M₀.hom := inferInstanceAs (IsProper (pullback.snd M.model.hom f)) |
| 52 | refine ⟨B, N, ?_, ?_, ?_⟩ |
| 53 | · change Smooth (M₀.hom ≫ j.hom) |
| 54 | infer_instance |
| 55 | · change IsProper (M₀.hom ≫ j.hom) |
| 56 | infer_instance |
| 57 | · rw [← hg] |
| 58 | exact ⟨Affine.Construction.baseChangeAlongIso M₀ j g ≪≫ BaseChange.Constructions.Foundations.iteratedBaseChangeIso f g M.model ≪≫ |
| 59 | Scheme.Constructions.Foundations.baseChangeCongr hgf M.model ≪≫ M.genericIso⟩ |
| 60 | |
| 61 | /-- Properness is the only remaining model-existence obligation for the |
| 62 | first SpreadingOut conclusion: generic smoothness supplies smoothness after shrinking. -/ |
| 63 | theorem proper_coefficient_model_to_arithmetic |
| 64 | {K : Type u} [Field K] [NumberField K] |
| 65 | {X : Over (Spec (.of K))} [Smooth X.hom] |
| 66 | (M : Foundations.Constructions.CoefficientModel K X) [IsProper M.model.hom] : |
| 67 | ∃ (B : Base.Construction.ArithmeticOpen K) (N : Over B.U.toScheme), |
| 68 | Smooth N.hom ∧ IsProper N.hom ∧ |
| 69 | Nonempty ((Over.pullback B.generic).obj N ≅ X) := by |
| 70 | have : IsIso M.genericIso.hom.left := |
| 71 | inferInstanceAs (IsIso ((Over.forget _).map M.genericIso.hom)) |
| 72 | have hs : Smooth (M.genericIso.hom.left ≫ X.hom) := inferInstance |
| 73 | rw [M.genericIso.hom.w] at hs |
| 74 | have := hs |
| 75 | obtain ⟨t, h, hsm⟩ := CoefficientSmoothness.Construction.proper_coefficient_model_eventually_smooth M.model |
| 76 | let N := M.enlarge t h |
| 77 | have : Smooth N.model.hom := hsm |
| 78 | have : IsProper N.model.hom := |
| 79 | inferInstanceAs (IsProper (pullback.snd M.model.hom (CoefficientSystem.Constructions.Foundations.coefficientBaseMap (𝓞 K) K h))) |
| 80 | exact smooth_proper_coefficient_model_to_arithmetic N |
| 81 | |
| 82 | end |
| 83 | |
| 84 | end OAI.ArithmeticGeometry.Models.SpreadingOut.Coefficient.Construction |