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.AbelianModuli.HilbertConstruction.Local.UniformGraphEmbedding |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.PowerEmbedding.Sections |
| 3 | |
| 4 | /-! # Local Uniform Graph Embedding -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Local.LocalUniformGraphEmbedding.PolarizedAbelianWithLevel |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The local uniform graph embedding is made from a complete section |
| 11 | basis; retain that basis in the existence conclusion. -/ |
| 12 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 13 | universe u |
| 14 | set_option backward.isDefEq.respectTransparency false |
| 15 | set_option backward.isDefEq.respectTransparency.types false |
| 16 | private theorem coefficientEmbedding_complete {R : Type u} [CommRing R] |
| 17 | [IsNoetherianRing Γ(Spec (.of R), ⊤)] {g N : ℕ} {δ : Fin g → ℕ} |
| 18 | (A : PolarizationData.PolarizedAbelianWithFullLevel g δ N (Spec (.of R))) |
| 19 | (hg : 0 < g) (hδ : ∀ i, 0 < δ i) (hN : 3 ≤ N) |
| 20 | (hunit : IsUnit (N : Γ(Spec (.of R), ⊤))) |
| 21 | (B : Module.Basis (Fin (Graph.EmbeddingNumerics.graphUniformEmbeddingSectionRank g δ - 1 + 1)) Γ(Spec (.of R), ⊤) |
| 22 | ((Coefficient.GlobalSectionsFunctor.coefficientGlobalSectionsFunctor A.abelian.scheme.hom.appTop.hom).obj |
| 23 | (A.graphBundle.tensorPower (Graph.EmbeddingNumerics.graphUniformEmbeddingDegree g δ)).sheaf)) : |
| 24 | (A.uniformGraphPowerEmbeddingOfCoefficientBasis hg hδ hN hunit B).HasCompleteSections := |
| 25 | ⟨⟨B, rfl⟩⟩ |
| 26 | |
| 27 | variable {S : Scheme.{u}} [IsAffine S] [IsNoetherianRing Γ(S, ⊤)] |
| 28 | variable {g N : ℕ} {δ : Fin g → ℕ} (A : PolarizationData.PolarizedAbelianWithFullLevel g δ N S) |
| 29 | |
| 30 | theorem _root_.OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.PolarizationData.PolarizedAbelianWithFullLevel.exists_local_completeUniformGraphPowerEmbedding |
| 31 | (hg : 0 < g) (hδ : ∀ i, 0 < δ i) (hN : 3 ≤ N) (hunit : IsUnit (N : Γ(S, ⊤))) |
| 32 | (p : PrimeSpectrum Γ(S, ⊤)) : |
| 33 | ∃ r : Γ(S, ⊤), r ∉ p.asIdeal ∧ |
| 34 | ∃ E : Power.ProjectiveEmbeddings.PowerProjectiveEmbedding |
| 35 | (A.pullback (Affine.QuotientCoefficientMap.affineCoordinateMap (algebraMap Γ(S, ⊤) (Localization.Away r)))).graphBundle |
| 36 | (A.pullback (Affine.QuotientCoefficientMap.affineCoordinateMap (algebraMap Γ(S, ⊤) (Localization.Away r)))).abelian.scheme.hom, |
| 37 | E.degree = Graph.EmbeddingNumerics.graphUniformEmbeddingDegree g δ ∧ |
| 38 | E.dimension = Graph.EmbeddingNumerics.graphUniformEmbeddingSectionRank g δ - 1 ∧ E.HasCompleteSections := by |
| 39 | obtain ⟨r, hr, ⟨B⟩⟩ := A.uniformGraphSectionModule_localBasis hg hδ hN hunit p |
| 40 | let R := Localization.Away r |
| 41 | let b := Affine.QuotientCoefficientMap.affineCoordinateMap (algebraMap Γ(S, ⊤) R) |
| 42 | let C := A.pullback b |
| 43 | let a := pullback.fst A.abelian.scheme.hom b |
| 44 | let d := Graph.EmbeddingNumerics.graphUniformEmbeddingDegree g δ |
| 45 | let e : ((A.graphBundle.tensorPower d).pullback a).sheaf ≅ (C.graphBundle.tensorPower d).sheaf := |
| 46 | A.graphBundle.powerBaseChangeIso a d ≪≫ |
| 47 | (TensorPower.Maps.tensorPowerFunctor C.abelian.scheme.left d).mapIso (A.graphBundle_baseChangeIso b).symm |
| 48 | let BL := Affine.LocalizationSectionBasis.affineLocalizationSectionBasis A.abelian.scheme.hom (A.graphBundle.tensorPower d) r B |
| 49 | let BC : Module.Basis (Fin (Graph.EmbeddingNumerics.graphUniformEmbeddingSectionRank g δ - 1 + 1)) Γ(Spec (.of R), ⊤) |
| 50 | ((Coefficient.GlobalSectionsFunctor.coefficientGlobalSectionsFunctor C.abelian.scheme.hom.appTop.hom).obj |
| 51 | (C.graphBundle.tensorPower d).sheaf) := |
| 52 | BL.map (((Coefficient.GlobalSectionsFunctor.coefficientGlobalSectionsFunctor C.abelian.scheme.hom.appTop.hom).mapIso e).toLinearEquiv) |
| 53 | let : IsNoetherianRing R := inferInstance |
| 54 | let : IsNoetherianRing Γ(Spec (.of R), ⊤) := |
| 55 | isNoetherianRing_of_ringEquiv R (Scheme.ΓSpecIso (.of R)).symm.commRingCatIsoToRingEquiv |
| 56 | have hN' : IsUnit (N : Γ(Spec (.of R), ⊤)) := Abelian.Schemes.level_unit_under_base_change b N hunit |
| 57 | let E := C.uniformGraphPowerEmbeddingOfCoefficientBasis hg hδ hN hN' BC |
| 58 | have hE := coefficientEmbedding_complete C hg hδ hN hN' BC |
| 59 | exact ⟨r, hr, E, rfl, rfl, hE⟩ |
| 60 | |
| 61 | end |
| 62 | |
| 63 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Local.LocalUniformGraphEmbedding.PolarizedAbelianWithLevel |