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.RepresentationTheory.Theta.Geometric.Projective.BaseChange |
| 2 | import OAI.RepresentationTheory.Theta.Geometric.Components |
| 3 | |
| 4 | /-! # Component Varieties -/ |
| 5 | |
| 6 | namespace OAI.RepresentationTheory.Theta.Geometric |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The supplied arithmetic closed projective embeddings construct actual |
| 11 | integral smooth projective varieties for the native complex PEL components. |
| 12 | All comparisons retain their scheme maps over the complex base. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 15 | |
| 16 | namespace ComponentVarieties.RelativeProjective |
| 17 | |
| 18 | def coefficientOverIso {R S : Type} [CommRing R] [CommRing S] |
| 19 | (f : R →+* S) (n : ℕ) : |
| 20 | Over.mk (Projective.Map.RelativeProjective.projectiveSpaceToBase S n) ≅ |
| 21 | (Over.pullback (Spec.map (CommRingCat.ofHom f))).obj (AlgebraicGeometry.AbelianModuli.HilbertConstruction.Projective.ProjectivePresentations.affineProjectiveSpace R n) := |
| 22 | Over.isoMk (Projective.BaseChange.RelativeProjective.projectiveBaseChangeIso f n) (Projective.BaseChange.RelativeProjective.coefficient_isPullback f n).isoPullback_hom_snd |
| 23 | |
| 24 | def projectiveOverComplexIso {B : Scheme} (c : AlgebraicGeometry.Foundations.Scheme.ProjectiveSpace.complexBase ⟶ B) (n : ℕ) : |
| 25 | (Over.pullback c).obj (AlgebraicGeometry.AbelianModuli.HilbertConstruction.Projective.ProjectivePresentations.projectiveSpaceOver B n) ≅ |
| 26 | Over.mk (AlgebraicGeometry.Foundations.Scheme.ProjectiveSpace.projectiveSpaceToBase n) := by |
| 27 | refine ((Over.pullbackComp c B.toSpecΓ).app |
| 28 | (AlgebraicGeometry.AbelianModuli.HilbertConstruction.Projective.ProjectivePresentations.affineProjectiveSpace Γ(B, ⊤) n)).symm ≪≫ ?_ |
| 29 | let f := Classical.choose (Spec.map_surjective (c ≫ B.toSpecΓ)) |
| 30 | have hf : Spec.map f = c ≫ B.toSpecΓ := Classical.choose_spec (Spec.map_surjective (c ≫ B.toSpecΓ)) |
| 31 | let F : (AlgebraicGeometry.Foundations.Scheme.ProjectiveSpace.complexBase ⟶ Spec Γ(B, ⊤)) → |
| 32 | (Over (Spec Γ(B, ⊤)) ⥤ Over AlgebraicGeometry.Foundations.Scheme.ProjectiveSpace.complexBase) := fun a => Over.pullback a |
| 33 | change (F (c ≫ B.toSpecΓ)).obj (AlgebraicGeometry.AbelianModuli.HilbertConstruction.Projective.ProjectivePresentations.affineProjectiveSpace Γ(B, ⊤) n) ≅ _ |
| 34 | rw [← hf] |
| 35 | exact (coefficientOverIso f.hom n).symm |
| 36 | |
| 37 | def complexProjectivePresentation {B : Scheme} {X : Over B} |
| 38 | (P : AlgebraicGeometry.AbelianModuli.HilbertConstruction.Projective.ProjectivePresentations.ProjectivePresentation X) (c : AlgebraicGeometry.Foundations.Scheme.ProjectiveSpace.complexBase ⟶ B) : |
| 39 | AlgebraicGeometry.Foundations.Scheme.SmoothProjective.ProjectivePresentation ((Over.pullback c).obj X).left |
| 40 | ((Over.pullback c).obj X).hom where |
| 41 | ambientDimension := P.dimension |
| 42 | embedding := ((Over.pullback c).map P.embedding ≫ (projectiveOverComplexIso c P.dimension).hom).left |
| 43 | closedImmersion := by |
| 44 | have : IsClosedImmersion ((Over.pullback c).map P.embedding).left := |
| 45 | MorphismProperty.overPullbackMap c P.embedding P.closedImmersion |
| 46 | have : IsIso (projectiveOverComplexIso c P.dimension).hom.left := |
| 47 | ((Over.forget AlgebraicGeometry.Foundations.Scheme.ProjectiveSpace.complexBase).mapIso (projectiveOverComplexIso c P.dimension)).isIso_hom |
| 48 | change IsClosedImmersion (((Over.pullback c).map P.embedding).left ≫ |
| 49 | (projectiveOverComplexIso c P.dimension).hom.left) |
| 50 | infer_instance |
| 51 | over_base := ((Over.pullback c).map P.embedding ≫ (projectiveOverComplexIso c P.dimension).hom).w |
| 52 | |
| 53 | end ComponentVarieties.RelativeProjective |
| 54 | |
| 55 | variable {E K : Type} [Field E] [NumberField E] [NumberField.IsCMField E] |
| 56 | [Field K] [NumberField K] {s q : ℕ} [Fact q.Prime] |
| 57 | {Index Ga MpR MpF MpA : Type} [Fintype Index] [DecidableEq Index] |
| 58 | [Group Ga] [TopologicalSpace Ga] [Group MpR] [Group MpF] [Group MpA] |
| 59 | (D : Data.ActiveHeckeThetaData E K s q Index Ga MpR MpF MpA) |
| 60 | |
| 61 | theorem Data.ActiveHeckeThetaData.component_projective (hg : D.pel.HasIntegralModelGeometry) (j : Fin D.pel.componentCount) : |
| 62 | Nonempty (AlgebraicGeometry.Foundations.Scheme.SmoothProjective.ProjectivePresentation (D.componentComplex j).left |
| 63 | (D.componentComplex j).hom) := by |
| 64 | let P := Classical.choice (hg.componentGeometry j).2.2.1 |
| 65 | let C := (Over.pullback D.pel.complexPoint).obj (D.pel.components.S j) |
| 66 | let e : C ≅ D.componentComplex j := |
| 67 | (Over.pullbackComp D.pel.complexGenericPoint D.pel.generic).app (D.pel.components.S j) |
| 68 | have hp : Nonempty (AlgebraicGeometry.Foundations.Scheme.SmoothProjective.ProjectivePresentation C.left C.hom) := |
| 69 | ⟨ComponentVarieties.RelativeProjective.complexProjectivePresentation P D.pel.complexPoint⟩ |
| 70 | exact (AlgebraicGeometry.Foundations.Scheme.SmoothProjective.ProjectivePresentation.nonempty_iff_of_iso |
| 71 | ((Over.forget AlgebraicGeometry.Foundations.Scheme.ProjectiveSpace.complexBase).mapIso e.symm) e.inv.w).mpr hp |
| 72 | |
| 73 | def Data.ActiveHeckeThetaData.componentVariety (hg : D.pel.HasIntegralModelGeometry) (j : Fin D.pel.componentCount) : |
| 74 | AlgebraicGeometry.Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety := |
| 75 | ⟨{ carrier := (D.componentComplex j).left |
| 76 | structureMap := (D.componentComplex j).hom |
| 77 | projective := Classical.choice (D.component_projective hg j) |
| 78 | smooth := (D.component_smooth_proper_connected hg j).1 }, |
| 79 | D.component_integral hg j⟩ |
| 80 | |
| 81 | def Data.ActiveHeckeThetaData.componentVarietyIso (hg : D.pel.HasIntegralModelGeometry) (j : Fin D.pel.componentCount) : |
| 82 | (D.componentVariety hg j).toOver ≅ D.componentComplex j := Iso.refl _ |
| 83 | |
| 84 | end |
| 85 | |
| 86 | end OAI.RepresentationTheory.Theta.Geometric |