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.Relative.AddedParameterClassification |
| 2 | import OAI.AlgebraicGeometry.PELModuli.IntegralModel.Integral.PureAddedLevelRigidity |
| 3 | |
| 4 | /-! # Two Level Fine Away -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.PELModuli.IntegralModel.Integral.TwoLevelFineAway |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Construct a bounded integral two-level PEL parameter which is fine |
| 11 | on all reduced tests after inverting one coefficient. The pure classifier, |
| 12 | automorphism rigidity, and relative action representation are all used |
| 13 | with their actual universal families. -/ |
| 14 | |
| 15 | set_option backward.isDefEq.respectTransparency false |
| 16 | set_option backward.isDefEq.respectTransparency.types false |
| 17 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 18 | |
| 19 | open OAI.AlgebraicGeometry.PELModuli.IntegralModel.Integral.PureAddedLevelRigidity.IntegralPureModel |
| 20 | |
| 21 | theorem exists_integral_two_level_pel_fine_away |
| 22 | {E R K : Type} [Field E] [NumberField E] [Algebra ℚ E] [NumberField.IsCMField E] |
| 23 | [CommRing R] [IsDomain R] [Field K] [CharZero K] [Countable K] |
| 24 | (ι : R →+* K) (hι : Function.Injective ι) |
| 25 | {s L N : ℕ} [NeZero N] (P : AbelianModuli.ReferenceFamily.Datum.RankThreePELDatum E s) |
| 26 | (iotaO : NumberField.RingOfIntegers E →+* R) |
| 27 | (M : AbelianModuli.ReferenceFamily.Pure.Fine.PurePolarizedModel (3 * s) P.polarizationType L (Spec (.of R))) |
| 28 | [IsNoetherian M.space.left] |
| 29 | (hM : M.IsFine) (hL : 3 ≤ L) |
| 30 | (hft : LocallyOfFiniteType M.space.hom) (hqc : QuasiCompact M.space.hom) |
| 31 | (hsep : IsSeparated M.space.hom) |
| 32 | (hN : ∀ x : M.space.left, IsUnit (N : M.space.left.presheaf.stalk x)) |
| 33 | (D : CM.GeneratorReconstruction.CMIntegralGeneratorData E) (hPresentations : Presentations.Hilbert.EndomorphismEquationsInput.{0}) |
| 34 | (hc : ∀ x : M.space.left, IsUnit (D.conductor : M.space.left.presheaf.stalk x)) : |
| 35 | ∃ r : R, r ≠ 0 ∧ ∃ V : Over (Spec (.of R)), |
| 36 | IsReduced V.left ∧ IsNoetherian V.left ∧ LocallyOfFiniteType V.hom ∧ |
| 37 | QuasiCompact V.hom ∧ IsSeparated V.hom ∧ |
| 38 | ∃ U : IntegralAdded.PELId.IntegralAddedPELLevel P R iotaO L N V, |
| 39 | ∀ (T : Over (Spec (.of R))) [IsReduced T.left], |
| 40 | (∀ x : T.left, r ∉ (T.hom x).asIdeal) → |
| 41 | ∀ B : IntegralAdded.PELId.IntegralAddedPELLevel P R iotaO L N T, |
| 42 | ∃! f : T ⟶ V, Nonempty (IntegralAdded.PELId.IntegralAddedPELLevel.Iso (U.pullback f) B) := by |
| 43 | have : LocallyOfFiniteType M.space.hom := hft |
| 44 | have : QuasiCompact M.space.hom := hqc |
| 45 | have : IsSeparated M.space.hom := hsep |
| 46 | let F := PureAddedLevel.IntegralPureModel.addedLevelSpace M hN (N := N) |
| 47 | let A := PureAddedLevel.IntegralPureModel.addedLevelUniversal M hN (N := N) |
| 48 | let q := (PureAddedLevel.IntegralPureModel.prescribedFrame M hN (N := N)).hom |
| 49 | have : IsFinite q := inferInstanceAs (IsFinite (PureAddedLevel.IntegralPureModel.addedLevelForget M hN (N := N)).left) |
| 50 | have : IsLocallyNoetherian F.left := LocallyOfFiniteType.isLocallyNoetherian q |
| 51 | have : CompactSpace F.left := QuasiCompact.compactSpace_of_compactSpace q |
| 52 | have : IsNoetherian F.left := ⟨⟩ |
| 53 | have : LocallyOfFiniteType F.hom := by change LocallyOfFiniteType (q ≫ M.space.hom); infer_instance |
| 54 | have : QuasiCompact F.hom := by change QuasiCompact (q ≫ M.space.hom); infer_instance |
| 55 | have : IsSeparated F.hom := by change IsSeparated (q ≫ M.space.hom); infer_instance |
| 56 | obtain ⟨r₁, hr₁, hFine⟩ := PureAddedLevelRigidity.IntegralPureModel.addedLevel_reduced_isFine_away ι hι M hM hL hN hPresentations |
| 57 | obtain ⟨r₂, hr₂, hRigid⟩ := GlobalReducedPolarizedRigidity.polarized_reduced_rigidity_away ι hι F.hom A.auxiliary hL hPresentations |
| 58 | obtain ⟨Z, hr, hn, hZft, hZqc, hZsep, u, hclass⟩ := |
| 59 | GlobalRelativeAction.exists_global_relative_pel_action_representation P iotaO F A.auxiliary D hPresentations (fun x => by |
| 60 | simpa only [map_natCast] using (hc (q x)).map (q.stalkMap x).hom) |
| 61 | let V := (Over.map F.hom).obj Z |
| 62 | have : IsReduced V.left := hr |
| 63 | have : IsNoetherian V.left := hn |
| 64 | have : LocallyOfFiniteType Z.hom := hZft |
| 65 | have : QuasiCompact Z.hom := hZqc |
| 66 | have : IsSeparated Z.hom := hZsep |
| 67 | have : LocallyOfFiniteType V.hom := by change LocallyOfFiniteType (Z.hom ≫ F.hom); infer_instance |
| 68 | have : QuasiCompact V.hom := by change QuasiCompact (Z.hom ≫ F.hom); infer_instance |
| 69 | have : IsSeparated V.hom := by change IsSeparated (Z.hom ≫ F.hom); infer_instance |
| 70 | refine ⟨r₁ * r₂, mul_ne_zero hr₁ hr₂, V, inferInstance, inferInstance, |
| 71 | inferInstance, inferInstance, inferInstance, Relative.AddedFamily.relativeAddedPELUniversal P iotaO F A Z u, ?_⟩ |
| 72 | intro T _ hunit B |
| 73 | have h₁ (x : T.left) : r₁ ∉ (T.hom x).asIdeal := |
| 74 | fun h => hunit x ((T.hom x).asIdeal.mem_of_dvd (dvd_mul_right r₁ r₂) h) |
| 75 | have h₂ (x : T.left) : r₂ ∉ (T.hom x).asIdeal := |
| 76 | fun h => hunit x ((T.hom x).asIdeal.mem_of_dvd (dvd_mul_left r₂ r₁) h) |
| 77 | apply Relative.AddedParameterClassification.relativeAddedPELParameter_classifies P iotaO F A u hclass T (hFine T h₁) ?_ B |
| 78 | intro f e |
| 79 | have : IsReduced (Over.mk f.left).left := inferInstanceAs (IsReduced T.left) |
| 80 | apply hRigid (Over.mk f.left) e |
| 81 | intro x |
| 82 | have hx : F.hom (f.left x) = T.hom x := congrArg (fun a : T.left ⟶ Spec (.of R) => a x) f.w |
| 83 | exact hx.symm ▸ h₂ x |
| 84 | |
| 85 | end |
| 86 | |
| 87 | end OAI.AlgebraicGeometry.PELModuli.IntegralModel.Integral.TwoLevelFineAway |