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.Unit.GlobalGraphPowerParameter |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Global.GraphPowerStructureRestriction |
| 3 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.GraphPower.TranslationKernelOpen |
| 4 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.GraphPower.ProjectiveRestriction |
| 5 | |
| 6 | /-! # Graph Power Locus Factory -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Unit.GraphPowerLocusFactory |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! The arithmetic graph-power locus for the original full-level family. |
| 13 | The auxiliary first-cohomology and unramified-kernel opens contain every |
| 14 | original enhancement, including enhancements over nonreduced tests. -/ |
| 15 | |
| 16 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 17 | |
| 18 | theorem unitGraphPowerLocus_nonempty |
| 19 | {R : Type} [CommRing R] |
| 20 | (M : Over (Spec (.of R))) [IsNoetherian M.left] {g N : ℕ} |
| 21 | (F : Level.Data.AbelianSchemeWithFullLevel g N M.left) |
| 22 | (P : Projective.ProjectivePresentations.ProjectivePresentation F.abelian.scheme) |
| 23 | (d : ℕ) (hd : 0 < d) (δ : Fin g → ℕ) (hδ : ∀ i, 0 < δ i) |
| 24 | (hN : 3 ≤ N) (hunitN : IsUnit (N : Γ(M.left, ⊤))) |
| 25 | (hunit : IsUnit ((2 * d : ℕ) : Γ(M.left, ⊤))) : |
| 26 | Nonempty (GraphPower.LocusPresentation.GraphPowerLocusPresentation M F P d δ) := by |
| 27 | classical |
| 28 | let U := F.abelian.globalStructureH1Open P g ⊓ |
| 29 | TranslationKernelUnramifiedOpen.translationKernelUnramifiedOpen F.abelian P.ampleLineBundle P |
| 30 | let i := U.ι |
| 31 | let V : Over (Spec (.of R)) := Over.mk (i ≫ M.hom) |
| 32 | let j : V ⟶ M := Over.homMk i rfl |
| 33 | let A := F.abelian.pullback i |
| 34 | let F' := F.pullback i |
| 35 | let P' := P.baseChange i |
| 36 | let : IsLocallyNoetherian U := isLocallyNoetherian_of_isOpenImmersion i |
| 37 | let : TopologicalSpace.NoetherianSpace M.left := IsNoetherian.noetherianSpace |
| 38 | let : TopologicalSpace.NoetherianSpace U := |
| 39 | TopologicalSpace.NoetherianSpace.set (U : Set M.left) |
| 40 | let : CompactSpace U := TopologicalSpace.NoetherianSpace.compactSpace U |
| 41 | let hU : IsNoetherian U := ⟨⟩ |
| 42 | let : IsNoetherian V.left := hU |
| 43 | have hHrange : Set.range i ⊆ (F.abelian.globalStructureH1Open P g : Set M.left) := by |
| 44 | rw [Scheme.Opens.range_ι] |
| 45 | exact fun _ hx => hx.1 |
| 46 | have hKrange : Set.range i ⊆ TranslationKernelUnramifiedOpen.translationKernelUnramifiedOpen F.abelian P.ampleLineBundle P := by |
| 47 | rw [Scheme.Opens.range_ι] |
| 48 | exact fun _ hx => hx.2 |
| 49 | have hH1 : A.HasFieldStructureH1Bound := by |
| 50 | intro K _ b |
| 51 | exact F.abelian.globalStructureH1Bound_of_range_subset P g i hHrange b |
| 52 | have hK : FormallyUnramified (Picard.ThetaConstruction.RelativeDifferenceZeroScheme.Geometric.relativeDifferenceZeroFamily A P'.ampleLineBundle P').hom := |
| 53 | TranslationKernelUnramifiedOpen.projectiveTranslationKernel_unramified_of_range_subset F.abelian P i hKrange |
| 54 | obtain ⟨D⟩ := GlobalGraphPowerParameter.unitGlobalGraphPowerLocus_nonempty V F' P' hH1 hK d hd δ hδ |
| 55 | (Abelian.Schemes.level_unit_under_base_change i (2 * d) hunit) |
| 56 | let : Mono j.left := inferInstanceAs (Mono i) |
| 57 | let : LocallyOfFiniteType j.left := inferInstanceAs (LocallyOfFiniteType i) |
| 58 | let : QuasiCompact j.left := inferInstanceAs (QuasiCompact i) |
| 59 | let : Mono D.inclusion.left := D.inclusion_left_mono |
| 60 | let : LocallyOfFiniteType D.inclusion.left := D.inclusion_locallyOfFiniteType |
| 61 | let : QuasiCompact D.inclusion.left := D.inclusion_quasiCompact |
| 62 | refine ⟨{ |
| 63 | parameter := D.parameter |
| 64 | inclusion := D.inclusion ≫ j |
| 65 | inclusion_left_mono := inferInstanceAs (Mono (D.inclusion.left ≫ j.left)) |
| 66 | inclusion_locallyOfFiniteType := |
| 67 | inferInstanceAs (LocallyOfFiniteType (D.inclusion.left ≫ j.left)) |
| 68 | inclusion_quasiCompact := inferInstanceAs (QuasiCompact (D.inclusion.left ≫ j.left)) |
| 69 | lifts_iff := ?_ |
| 70 | }⟩ |
| 71 | intro T x |
| 72 | constructor |
| 73 | · rintro ⟨z, hz⟩ |
| 74 | let y := z ≫ D.inclusion |
| 75 | have h := (D.lifts_iff T y).mp ⟨z, rfl⟩ |
| 76 | have hy : y ≫ j = x := (Category.assoc z D.inclusion j).trans hz |
| 77 | have he : y.left ≫ i = x.left := congrArg Over.Hom.left hy |
| 78 | have h' := (GraphPower.ProjectiveRestriction.projectiveGraphPowerEnhancement_baseChange_comp_iff δ F P d i y.left).mpr h |
| 79 | exact he ▸ h' |
| 80 | · rintro ⟨H⟩ |
| 81 | have hHr := GraphPower.PolarizationEnhancementData.GraphPowerPolarizationEnhancement.range_globalStructureH1Open |
| 82 | F P (F.abelian.zeroNormalizedBundle P.ampleLineBundle) d hN hunitN x.left H |
| 83 | have hKr := GraphPower.PolarizationEnhancementData.GraphPowerPolarizationEnhancement.range_translationKernelUnramifiedOpen |
| 84 | F P P.ampleLineBundle d hδ hunit x.left H |
| 85 | have hUr : Set.range x.left ⊆ Set.range i := by |
| 86 | rw [Scheme.Opens.range_ι] |
| 87 | exact fun _ hx => ⟨hHr hx, hKr hx⟩ |
| 88 | let a := IsOpenImmersion.lift i x.left hUr |
| 89 | have ha : a ≫ i = x.left := IsOpenImmersion.lift_fac i x.left hUr |
| 90 | let y : T ⟶ V := Over.homMk a (by |
| 91 | change a ≫ (i ≫ M.hom) = T.hom |
| 92 | rw [← Category.assoc, ha] |
| 93 | exact x.w) |
| 94 | have hy : y ≫ j = x := Over.OverMorphism.ext ha |
| 95 | have h' : Nonempty (GraphPower.PolarizationEnhancementData.GraphPowerPolarizationEnhancement δ (F.pullback (a ≫ i)) |
| 96 | ((F.abelian.zeroNormalizedBundle P.ampleLineBundle).pullback |
| 97 | (pullback.fst F.abelian.scheme.hom (a ≫ i))) d) := ha.symm ▸ ⟨H⟩ |
| 98 | have h'' := (GraphPower.ProjectiveRestriction.projectiveGraphPowerEnhancement_baseChange_comp_iff δ F P d i a).mp h' |
| 99 | obtain ⟨z, hz⟩ := (D.lifts_iff T y).mpr h'' |
| 100 | exact ⟨z, (Category.assoc z D.inclusion j).symm.trans |
| 101 | ((congrArg (fun t => t ≫ j) hz).trans hy)⟩ |
| 102 | |
| 103 | def unitGraphPowerLocusFactory |
| 104 | (R : Type) [CommRing R] (g N d : ℕ) (δ : Fin g → ℕ) |
| 105 | (hd : 0 < d) (hδ : ∀ i, 0 < δ i) (hN : 3 ≤ N) |
| 106 | (hunitN : IsUnit (N : R)) (hunit : IsUnit ((2 * d : ℕ) : R)) : |
| 107 | GraphPower.LocusPresentation.GraphPowerLocusFactory R g N d δ := by |
| 108 | have hNspec : IsUnit (N : Γ(Spec (.of R), ⊤)) := by |
| 109 | simpa only [map_natCast] using hunitN.map (Scheme.ΓSpecIso (.of R)).inv.hom |
| 110 | have hdspec : IsUnit ((2 * d : ℕ) : Γ(Spec (.of R), ⊤)) := by |
| 111 | simpa only [map_natCast] using hunit.map (Scheme.ΓSpecIso (.of R)).inv.hom |
| 112 | intro M _ F P |
| 113 | exact Classical.choice (unitGraphPowerLocus_nonempty M F P d hd δ hδ hN |
| 114 | (Abelian.Schemes.level_unit_under_base_change M.hom N hNspec) |
| 115 | (Abelian.Schemes.level_unit_under_base_change M.hom (2 * d) hdspec)) |
| 116 | |
| 117 | end |
| 118 | |
| 119 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Unit.GraphPowerLocusFactory |