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.AlgebraicGeometry.PELModuli.IntegralModel.Integral.TwoLevelFineAway |
| 2 | import OAI.AlgebraicGeometry.PELModuli.IntegralModel.IntegralAdded.FineBaseChange |
| 3 | import OAI.AlgebraicGeometry.PELModuli.IntegralModel.Arithmetic.LocalizationMaps |
| 4 | |
| 5 | /-! # Added From Pure -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.PELModuli.IntegralModel.Arithmetic.AddedFromPure |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! An actual pure fine model supplies the arithmetic added-level PEL |
| 12 | parameter after an integer denominator is enlarged. The universal family |
| 13 | is the existing integral classifier followed by its actual base change. -/ |
| 14 | |
| 15 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 16 | |
| 17 | private theorem integerUnit_at_stalk {R : Type} [CommRing R] |
| 18 | {S : Scheme.{0}} (p : S ⟶ Spec (.of R)) (n : ℕ) |
| 19 | (hn : IsUnit (n : R)) (x : S) : IsUnit (n : S.presheaf.stalk x) := by |
| 20 | let constants : R →+* Γ(S, ⊤) := |
| 21 | p.appTop.hom.comp (Scheme.ΓSpecIso (.of R)).inv.hom |
| 22 | let toStalk : R →+* S.presheaf.stalk x := |
| 23 | (S.presheaf.germ ⊤ x (by trivial)).hom.comp constants |
| 24 | simpa only [map_natCast] using hn.map toStalk |
| 25 | |
| 26 | theorem exists_arithmetic_added_pel_fine_model_from_pureModel |
| 27 | {E K : Type} [Field E] [NumberField E] [Algebra ℚ E] |
| 28 | [NumberField.IsCMField E] [Field K] [NumberField K] {κ : K →+* ℂ} |
| 29 | (B : Base.ArithmeticBaseExtension K κ) {s L N : ℕ} [NeZero N] |
| 30 | (P : AbelianModuli.ReferenceFamily.Datum.RankThreePELDatum E s) (iota : E →+* K) |
| 31 | (M : AbelianModuli.ReferenceFamily.Pure.Fine.PurePolarizedModel (3 * s) P.polarizationType L B.base) |
| 32 | (hM : M.IsFine) (Q : AbelianModuli.HilbertConstruction.Projective.ProjectivePresentations.QuasiProjectivePresentation M.space) |
| 33 | (hL : 3 ≤ L) (hNunit : IsUnit (N : B.R)) |
| 34 | (G : CM.GeneratorReconstruction.CMIntegralGeneratorData E) (hc : IsUnit (G.conductor : B.R)) |
| 35 | (hPresentations : Presentations.Hilbert.EndomorphismEquationsInput.{0}) : |
| 36 | ∃ (D : ℕ) (hD : D ≠ 0), N ∣ D ∧ B.denominator ∣ D ∧ |
| 37 | let B' := B.withDenominator D hD |
| 38 | ∃ φ : B.R →+* B'.R, B'.toField.comp φ = B.toField ∧ |
| 39 | ∃ V : Over B'.base, IsReduced V.left ∧ IsNoetherian V.left ∧ |
| 40 | LocallyOfFiniteType V.hom ∧ QuasiCompact V.hom ∧ IsSeparated V.hom ∧ |
| 41 | ∃ U : IntegralAdded.PELId.IntegralAddedPELLevel P B'.R (B'.integralEmbedding iota) L N V, |
| 42 | ∀ (T : Over B'.base) [IsReduced T.left] |
| 43 | (A : IntegralAdded.PELId.IntegralAddedPELLevel P B'.R (B'.integralEmbedding iota) L N T), |
| 44 | ∃! f : T ⟶ V, Nonempty (IntegralAdded.PELId.IntegralAddedPELLevel.Iso (U.pullback f) A) := by |
| 45 | have : IsDomain B.R := Function.Injective.isDomain B.toField B.toField_injective |
| 46 | have : Countable B.extension.carrier := |
| 47 | AbelianScheme.TateComparison.CountableResidueFields.countable_finiteType ℚ B.extension.carrier |
| 48 | have : LocallyOfFiniteType M.space.hom := Q.locallyFiniteType |
| 49 | have : QuasiCompact M.space.hom := Q.quasiCompact |
| 50 | have : IsLocallyNoetherian M.space.left := |
| 51 | LocallyOfFiniteType.isLocallyNoetherian M.space.hom |
| 52 | have : CompactSpace M.space.left := QuasiCompact.compactSpace_of_compactSpace M.space.hom |
| 53 | have : IsNoetherian M.space.left := ⟨⟩ |
| 54 | obtain ⟨r, hr, X, hred, hn, hft, hqc, hsep, U, hclass⟩ := |
| 55 | Integral.TwoLevelFineAway.exists_integral_two_level_pel_fine_away B.toField B.toField_injective |
| 56 | P (B.integralEmbedding iota) M hM hL Q.locallyFiniteType Q.quasiCompact |
| 57 | Q.separated (integerUnit_at_stalk M.space.hom N hNunit) G hPresentations |
| 58 | (integerUnit_at_stalk M.space.hom G.conductor hc) |
| 59 | obtain ⟨D, hD, hND, hBD, φ, hφ, hunit⟩ := |
| 60 | B.coefficient_isUnit_after_localization r hr N (NeZero.ne N) |
| 61 | let B' := B.withDenominator D hD |
| 62 | let b := Spec.map (CommRingCat.ofHom φ) |
| 63 | let V := (Over.pullback b).obj X |
| 64 | have : IsOpenImmersion b := B.coefficient_map_isOpenImmersion D hD φ hφ |
| 65 | have : IsReduced X.left := hred |
| 66 | have : IsNoetherian X.left := hn |
| 67 | have : LocallyOfFiniteType X.hom := hft |
| 68 | have : QuasiCompact X.hom := hqc |
| 69 | have : IsSeparated X.hom := hsep |
| 70 | have : IsReduced V.left := isReduced_of_isOpenImmersion (pullback.fst X.hom b) |
| 71 | have : LocallyOfFiniteType V.hom := |
| 72 | inferInstanceAs (LocallyOfFiniteType (pullback.snd X.hom b)) |
| 73 | have : QuasiCompact V.hom := inferInstanceAs (QuasiCompact (pullback.snd X.hom b)) |
| 74 | have : IsSeparated V.hom := inferInstanceAs (IsSeparated (pullback.snd X.hom b)) |
| 75 | have : IsLocallyNoetherian V.left := LocallyOfFiniteType.isLocallyNoetherian V.hom |
| 76 | have : CompactSpace V.left := QuasiCompact.compactSpace_of_compactSpace V.hom |
| 77 | have : IsNoetherian V.left := ⟨⟩ |
| 78 | refine ⟨D, hD, hND, hBD, φ, hφ, V, inferInstance, inferInstance, |
| 79 | inferInstance, inferInstance, inferInstance, ?_⟩ |
| 80 | have hI := B.coefficient_map_integralEmbedding D hD φ hφ iota |
| 81 | have hf : ∃ W : IntegralAdded.PELId.IntegralAddedPELLevel P B'.R (φ.comp (B.integralEmbedding iota)) L N V, |
| 82 | ∀ (T : Over B'.base) [IsReduced T.left] |
| 83 | (A : IntegralAdded.PELId.IntegralAddedPELLevel P B'.R (φ.comp (B.integralEmbedding iota)) L N T), |
| 84 | ∃! f : T ⟶ V, Nonempty (IntegralAdded.PELId.IntegralAddedPELLevel.Iso (W.pullback f) A) := |
| 85 | ⟨U.baseChange φ, fun T _ A => |
| 86 | IntegralAdded.FineBaseChange.integralAddedPEL_fine_baseChange_of_unit U r hclass φ hunit T A⟩ |
| 87 | exact hI ▸ hf |
| 88 | |
| 89 | end |
| 90 | |
| 91 | end OAI.AlgebraicGeometry.PELModuli.IntegralModel.Arithmetic.AddedFromPure |