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.GraphPower.StructureRestriction |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Abelian.StructureRestriction |
| 3 | |
| 4 | /-! # Structure Open -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The first-cohomology bound opens on affine charts give one actual |
| 11 | open of an arbitrary locally Noetherian base, with the same field criterion. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 14 | universe u |
| 15 | |
| 16 | variable {S : Scheme.{u}} [IsLocallyNoetherian S] {g : ℕ} |
| 17 | (A : Abelian.Schemes.AbelianScheme g S) (P : Projective.ProjectivePresentations.ProjectivePresentation A.scheme) (d : ℕ) |
| 18 | |
| 19 | local instance Abelian.Schemes.AbelianScheme.affineChart_locallyNoetherian (i : S.affineCover.I₀) : |
| 20 | IsLocallyNoetherian (S.affineCover.X i) := |
| 21 | LocallyOfFiniteType.isLocallyNoetherian (S.affineCover.f i) |
| 22 | |
| 23 | def Abelian.Schemes.AbelianScheme.globalStructureH1Open : S.Opens := |
| 24 | ⨆ i, (S.affineCover.f i) ''ᵁ |
| 25 | ((A.pullback (S.affineCover.f i)).structureH1Open (P.baseChange (S.affineCover.f i)) d) |
| 26 | |
| 27 | theorem Abelian.Schemes.AbelianScheme.globalStructureH1Open_field_point |
| 28 | {K : Type u} [Field K] (b : Spec (.of K) ⟶ S) : |
| 29 | Set.range b ⊆ (A.globalStructureH1Open P d : Set S) ↔ |
| 30 | (A.pullback b).structureH1Dimension ≤ d := by |
| 31 | constructor |
| 32 | · intro hb |
| 33 | let k₀ : Spec (.of K) := (⊥ : PrimeSpectrum K) |
| 34 | have hx := hb (Set.mem_range_self k₀) |
| 35 | obtain ⟨i, x, hx, he⟩ := TopologicalSpace.Opens.mem_iSup.mp hx |
| 36 | let j := S.affineCover.f i |
| 37 | have hr : Set.range b ⊆ Set.range j := by |
| 38 | rintro _ ⟨k, rfl⟩ |
| 39 | exact ⟨x, he.trans (congrArg b (Subsingleton.elim k₀ k))⟩ |
| 40 | let c := IsOpenImmersion.lift j b hr |
| 41 | have hc : c ≫ j = b := IsOpenImmersion.lift_fac j b hr |
| 42 | have hcx (k : Spec (.of K)) : c k = x := by |
| 43 | apply j.isOpenEmbedding.injective |
| 44 | exact (congrArg (fun f : Spec (.of K) ⟶ S => f k) hc).trans |
| 45 | ((congrArg b (Subsingleton.elim k k₀)).trans he.symm) |
| 46 | have hcr : Set.range c ⊆ ((A.pullback j).structureH1Open (P.baseChange j) d : Set _) := by |
| 47 | rintro _ ⟨k, rfl⟩ |
| 48 | exact hcx k ▸ hx |
| 49 | have hdim := ((A.pullback j).structureH1Open_field_point (P.baseChange j) d c).mp hcr |
| 50 | have hcomp := (A.pullback (c ≫ j)).structureH1Dimension_eq_of_iso |
| 51 | ((A.pullback j).pullback c) (A.pullbackCompIso j c) |
| 52 | rw [hc] at hcomp |
| 53 | exact hcomp.le.trans hdim |
| 54 | · intro hdim |
| 55 | rintro _ ⟨k, rfl⟩ |
| 56 | obtain ⟨i, x, hx⟩ := S.affineCover.exists_eq (b k) |
| 57 | let j := S.affineCover.f i |
| 58 | have hr : Set.range b ⊆ Set.range j := by |
| 59 | rintro _ ⟨l, rfl⟩ |
| 60 | exact ⟨x, hx.trans (congrArg b (Subsingleton.elim k l))⟩ |
| 61 | let c := IsOpenImmersion.lift j b hr |
| 62 | have hc : c ≫ j = b := IsOpenImmersion.lift_fac j b hr |
| 63 | have hcomp := (A.pullback (c ≫ j)).structureH1Dimension_eq_of_iso |
| 64 | ((A.pullback j).pullback c) (A.pullbackCompIso j c) |
| 65 | rw [hc] at hcomp |
| 66 | have hcr := ((A.pullback j).structureH1Open_field_point (P.baseChange j) d c).mpr |
| 67 | (hcomp.symm.le.trans hdim) |
| 68 | apply TopologicalSpace.Opens.mem_iSup.mpr |
| 69 | exact ⟨i, c k, hcr (Set.mem_range_self k), congrArg (fun f : Spec (.of K) ⟶ S => f k) hc⟩ |
| 70 | |
| 71 | theorem Abelian.Schemes.AbelianScheme.globalStructureH1Bound_of_range_subset |
| 72 | {T : Scheme.{u}} (c : T ⟶ S) |
| 73 | (hc : Set.range c ⊆ (A.globalStructureH1Open P d : Set S)) |
| 74 | {K : Type u} [Field K] (b : Spec (.of K) ⟶ T) : |
| 75 | ((A.pullback c).pullback b).structureH1Dimension ≤ d := by |
| 76 | have hr : Set.range (b ≫ c) ⊆ (A.globalStructureH1Open P d : Set S) := by |
| 77 | rintro _ ⟨k, rfl⟩ |
| 78 | exact hc (Set.mem_range_self (b k)) |
| 79 | have hdim := (A.globalStructureH1Open_field_point P d (b ≫ c)).mp hr |
| 80 | exact (((A.pullback c).pullback b).structureH1Dimension_eq_of_iso |
| 81 | (A.pullback (b ≫ c)) (A.pullbackCompIso c b).symm).le.trans hdim |
| 82 | |
| 83 | theorem Abelian.Schemes.AbelianScheme.globalStructureH1Open_all_tests |
| 84 | {T : Scheme.{u}} (c : T ⟶ S) : |
| 85 | Set.range c ⊆ (A.globalStructureH1Open P d : Set S) ↔ |
| 86 | ∀ (K : Type u) [Field K] (b : Spec (.of K) ⟶ T), |
| 87 | ((A.pullback c).pullback b).structureH1Dimension ≤ d := by |
| 88 | constructor |
| 89 | · intro hc K _ b |
| 90 | exact A.globalStructureH1Bound_of_range_subset P d c hc b |
| 91 | · intro h |
| 92 | rintro _ ⟨t, rfl⟩ |
| 93 | let b := T.fromSpecResidueField t |
| 94 | have hdim := (((A.pullback c).pullback b).structureH1Dimension_eq_of_iso |
| 95 | (A.pullback (b ≫ c)) (A.pullbackCompIso c b).symm).symm.le.trans (h _ b) |
| 96 | have hr := (A.globalStructureH1Open_field_point P d (b ≫ c)).mpr hdim |
| 97 | have hx := hr (Set.mem_range_self (⊥ : PrimeSpectrum (T.residueField t))) |
| 98 | change c (T.fromSpecResidueField t (⊥ : PrimeSpectrum (T.residueField t))) ∈ |
| 99 | (A.globalStructureH1Open P d : Set S) at hx |
| 100 | have he := T.fromSpecResidueField_apply t (⊥ : PrimeSpectrum (T.residueField t)) |
| 101 | exact (congrArg (fun x : T => c x ∈ (A.globalStructureH1Open P d : Set S)) he).mp hx |
| 102 | |
| 103 | theorem Abelian.Schemes.AbelianScheme.globalStructureH1Open_bound |
| 104 | {K : Type u} [Field K] (b : Spec (.of K) ⟶ A.globalStructureH1Open P d) : |
| 105 | ((A.pullback (A.globalStructureH1Open P d).ι).pullback b).structureH1Dimension ≤ d := |
| 106 | A.globalStructureH1Bound_of_range_subset P d (A.globalStructureH1Open P d).ι |
| 107 | (by simp only [Scheme.Opens.range_ι, Set.Subset.refl]) b |
| 108 | |
| 109 | theorem Abelian.Schemes.AbelianScheme.globalStructureH1Open_contains_polarized_fiber |
| 110 | {K : Type u} [Field K] (b : Spec (.of K) ⟶ S) |
| 111 | {N : ℕ} {δ : Fin g → ℕ} |
| 112 | (B : PolarizationData.PolarizedAbelianWithFullLevel g δ N (Spec (.of K))) |
| 113 | (e : (A.pullback b).scheme ≅ B.abelian.scheme) |
| 114 | (hN : 3 ≤ N) (hNK : (N : K) ≠ 0) : |
| 115 | Set.range b ⊆ (A.globalStructureH1Open P g : Set S) := by |
| 116 | apply (A.globalStructureH1Open_field_point P g b).mpr |
| 117 | exact ((A.pullback b).structureH1Dimension_eq_of_iso B.abelian e).le.trans |
| 118 | (B.structureH1Dimension_eq hN hNK).le |
| 119 | |
| 120 | end |
| 121 | |
| 122 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction |