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.HodgeConjecture.HeckeCycles.Ordinary.Models |
| 2 | import Mathlib.CategoryTheory.Limits.Preserves.Shapes.Products |
| 3 | |
| 4 | /-! # Locus -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Ordinary.Locus.CM |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! CMPoints's density on connected components yields an actual dense open |
| 11 | ordinary locus on every component of its geometric source fiber. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 14 | |
| 15 | theorem dense_of_dense_on_connected_components |
| 16 | {X : Type*} [TopologicalSpace X] (U : Set X) |
| 17 | (h : ∀ x : X, Dense {y : connectedComponent x | y.val ∈ U}) : Dense U := by |
| 18 | intro x |
| 19 | have hx := h x ⟨x, mem_connectedComponent⟩ |
| 20 | exact (closure_mono (Set.image_preimage_subset Subtype.val U)) |
| 21 | (mem_closure_image continuous_subtype_val.continuousAt hx) |
| 22 | |
| 23 | theorem coproduct_inclusion_open {B : Scheme} {I : Type} |
| 24 | (X : I → Over B) (i : I) : IsOpenImmersion (Sigma.ι X i).left := by |
| 25 | let F := Over.forget B |
| 26 | let c : (∐ fun j => (X j).left) ⟶ (∐ X).left := sigmaComparison F X |
| 27 | have : IsIso c := inferInstanceAs (IsIso (sigmaComparison F X)) |
| 28 | have : IsOpenImmersion c := IsOpenImmersion.of_isIso c |
| 29 | have he : (Sigma.ι X i).left = Sigma.ι (fun j => (X j).left) i ≫ c := by |
| 30 | exact (ι_comp_sigmaComparison F X i).symm |
| 31 | rw [he] |
| 32 | exact IsOpenImmersion.comp (Sigma.ι (fun j => (X j).left) i) c |
| 33 | |
| 34 | def componentInclusion {B : Scheme} {T : Over B} {r : ℕ} |
| 35 | (D : PELModuli.IntegralModel.Components.ComponentAlbaneseData T r) (e : (∐ D.S) ≅ T) (i : Fin r) : D.S i ⟶ T := |
| 36 | Sigma.ι D.S i ≫ e.hom |
| 37 | |
| 38 | theorem componentInclusion_open {B : Scheme} {T : Over B} {r : ℕ} |
| 39 | (D : PELModuli.IntegralModel.Components.ComponentAlbaneseData T r) (e : (∐ D.S) ≅ T) (i : Fin r) : |
| 40 | IsOpenImmersion (componentInclusion D e i).left := by |
| 41 | let : IsOpenImmersion (Sigma.ι D.S i).left := coproduct_inclusion_open D.S i |
| 42 | let : IsIso e.hom.left := inferInstanceAs (IsIso ((Over.forget B).map e.hom)) |
| 43 | change IsOpenImmersion ((Sigma.ι D.S i).left ≫ e.hom.left) |
| 44 | infer_instance |
| 45 | |
| 46 | variable {E K : Type} [Field E] [NumberField E] [Algebra ℚ E] |
| 47 | [NumberField.IsCMField E] [Field K] [NumberField K] |
| 48 | {M : PELModuli.CMPoints.Models.RankThreePELModel E K} {q : ℕ} [Fact q.Prime] |
| 49 | {j : M.QadicChoice q} (R : M.GoodIntegralReduction q j) |
| 50 | |
| 51 | def componentFiber (a : M.Family) (i : Fin (M.componentCount a)) := |
| 52 | (Over.pullback R.geometricBase).obj ((M.components a).S i) |
| 53 | |
| 54 | def componentFiberInclusion (a : M.Family) (i : Fin (M.componentCount a)) : |
| 55 | componentFiber R a i ⟶ R.geometricFiber a := |
| 56 | (Over.pullback R.geometricBase).map |
| 57 | (componentInclusion (M.components a) (M.decomposition a) i) |
| 58 | |
| 59 | theorem componentFiberInclusion_open (a : M.Family) (i : Fin (M.componentCount a)) : |
| 60 | IsOpenImmersion (componentFiberInclusion R a i).left := |
| 61 | MorphismProperty.overPullbackMap (P := @IsOpenImmersion) R.geometricBase |
| 62 | (componentInclusion (M.components a) (M.decomposition a) i) |
| 63 | (componentInclusion_open (M.components a) (M.decomposition a) i) |
| 64 | |
| 65 | def componentOrdinaryLocus (a : M.Family) (i : Fin (M.componentCount a)) : |
| 66 | Set (componentFiber R a i).left := |
| 67 | (componentFiberInclusion R a i).left ⁻¹' R.ordinaryLocus a |
| 68 | |
| 69 | theorem componentOrdinaryLocus_open_dense (a : M.Family) |
| 70 | (ho : IsOpen (R.ordinaryLocus a)) |
| 71 | (hd : ∀ x : R.geom a, Dense {y : connectedComponent x | R.IsOrdinary a y.val}) |
| 72 | (i : Fin (M.componentCount a)) : |
| 73 | IsOpen (componentOrdinaryLocus R a i) ∧ Dense (componentOrdinaryLocus R a i) := by |
| 74 | let : IsOpenImmersion (componentFiberInclusion R a i).left := |
| 75 | componentFiberInclusion_open R a i |
| 76 | refine ⟨ho.preimage (componentFiberInclusion R a i).left.continuous, ?_⟩ |
| 77 | exact (dense_of_dense_on_connected_components (R.ordinaryLocus a) hd).preimage |
| 78 | (componentFiberInclusion R a i).left.isOpenEmbedding.isOpenMap |
| 79 | |
| 80 | end |
| 81 | |
| 82 | end OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Ordinary.Locus.CM |