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.EnhancementParameterPullback |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Universal.GraphPowerEnhancementUniqueness |
| 3 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.QuasiFiniteQuasiProjectivity |
| 4 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Abelian.ZeroNormalizedBundle |
| 5 | |
| 6 | /-! # Locus Presentation -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.GraphPower.LocusPresentation |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! Actual presentations of the graph-power enhancement locus. The |
| 13 | lifting criterion concerns every test scheme and the original marked |
| 14 | family with its zero-normalized projective line. -/ |
| 15 | |
| 16 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 17 | |
| 18 | structure GraphPowerLocusPresentation |
| 19 | {R : Type} [CommRing R] (M : Over (Spec (.of R))) {g N : ℕ} |
| 20 | (F : Level.Data.AbelianSchemeWithFullLevel g N M.left) |
| 21 | (P : Projective.ProjectivePresentations.ProjectivePresentation F.abelian.scheme) (d : ℕ) (δ : Fin g → ℕ) where |
| 22 | parameter : Over (Spec (.of R)) |
| 23 | inclusion : parameter ⟶ M |
| 24 | inclusion_left_mono : Mono inclusion.left |
| 25 | inclusion_locallyOfFiniteType : LocallyOfFiniteType inclusion.left |
| 26 | inclusion_quasiCompact : QuasiCompact inclusion.left |
| 27 | lifts_iff : ∀ (T : Over (Spec (.of R))) (x : T ⟶ M), |
| 28 | (∃ z : T ⟶ parameter, z ≫ inclusion = x) ↔ |
| 29 | Nonempty (PolarizationEnhancementData.GraphPowerPolarizationEnhancement δ (F.pullback x.left) |
| 30 | ((F.abelian.zeroNormalizedBundle P.ampleLineBundle).pullback |
| 31 | (pullback.fst F.abelian.scheme.hom x.left)) d) |
| 32 | |
| 33 | attribute [instance] GraphPowerLocusPresentation.inclusion_left_mono |
| 34 | GraphPowerLocusPresentation.inclusion_locallyOfFiniteType |
| 35 | GraphPowerLocusPresentation.inclusion_quasiCompact |
| 36 | |
| 37 | /-- A construction of the actual graph-power locus for every fixed |
| 38 | Noetherian projective full-level parameter family over the given base. -/ |
| 39 | def GraphPowerLocusFactory (R : Type) [CommRing R] |
| 40 | (g N d : ℕ) (δ : Fin g → ℕ) := |
| 41 | ∀ (M : Over (Spec (.of R))) [IsNoetherian M.left] |
| 42 | (F : Level.Data.AbelianSchemeWithFullLevel g N M.left) |
| 43 | (P : Projective.ProjectivePresentations.ProjectivePresentation F.abelian.scheme), |
| 44 | GraphPowerLocusPresentation M F P d δ |
| 45 | |
| 46 | namespace GraphPowerLocusPresentation |
| 47 | variable {R : Type} [CommRing R] {M : Over (Spec (.of R))} {g N d : ℕ} |
| 48 | {δ : Fin g → ℕ} {F : Level.Data.AbelianSchemeWithFullLevel g N M.left} |
| 49 | {P : Projective.ProjectivePresentations.ProjectivePresentation F.abelian.scheme} |
| 50 | (D : GraphPowerLocusPresentation M F P d δ) |
| 51 | |
| 52 | instance inclusion_mono : Mono D.inclusion := Over.mono_of_mono_left _ |
| 53 | |
| 54 | theorem existsUnique_lift_iff (T : Over (Spec (.of R))) (x : T ⟶ M) : |
| 55 | (∃! z : T ⟶ D.parameter, z ≫ D.inclusion = x) ↔ |
| 56 | Nonempty (PolarizationEnhancementData.GraphPowerPolarizationEnhancement δ (F.pullback x.left) |
| 57 | ((F.abelian.zeroNormalizedBundle P.ampleLineBundle).pullback |
| 58 | (pullback.fst F.abelian.scheme.hom x.left)) d) := by |
| 59 | constructor |
| 60 | · intro h |
| 61 | exact (D.lifts_iff T x).mp h.exists |
| 62 | · intro h |
| 63 | obtain ⟨z, hz⟩ := (D.lifts_iff T x).mpr h |
| 64 | exact ⟨z, hz, fun y hy => (cancel_mono D.inclusion).mp (hy.trans hz.symm)⟩ |
| 65 | |
| 66 | def quasiProjective [IsNoetherianRing R] (Q : Projective.ProjectivePresentations.QuasiProjectivePresentation M) : |
| 67 | Projective.ProjectivePresentations.QuasiProjectivePresentation D.parameter := |
| 68 | Q.monomorphismSource D.inclusion |
| 69 | |
| 70 | def universalEnhancement : |
| 71 | PolarizationEnhancementData.GraphPowerPolarizationEnhancement δ (F.pullback D.inclusion.left) |
| 72 | ((F.abelian.zeroNormalizedBundle P.ampleLineBundle).pullback |
| 73 | (pullback.fst F.abelian.scheme.hom D.inclusion.left)) d := |
| 74 | ((D.lifts_iff D.parameter D.inclusion).mp ⟨𝟙 _, Category.id_comp _⟩).some |
| 75 | |
| 76 | def universalFamily : PolarizationData.PolarizedAbelianWithFullLevel g δ N D.parameter.left := |
| 77 | D.universalEnhancement.object |
| 78 | |
| 79 | theorem universalFamily_abelian : |
| 80 | D.universalFamily.abelian = F.abelian.pullback D.inclusion.left := rfl |
| 81 | |
| 82 | theorem universalFamily_level : |
| 83 | D.universalFamily.level = F.level.pullback D.inclusion.left := rfl |
| 84 | |
| 85 | def universalPowerIso : |
| 86 | ((F.abelian.zeroNormalizedBundle P.ampleLineBundle).pullback |
| 87 | (pullback.fst F.abelian.scheme.hom D.inclusion.left)).sheaf ≅ |
| 88 | (D.universalFamily.graphBundle.tensorPower d).sheaf := |
| 89 | D.universalEnhancement.powerIso.some |
| 90 | |
| 91 | def enhancementAt {T : Over (Spec (.of R))} (z : T ⟶ D.parameter) : |
| 92 | PolarizationEnhancementData.GraphPowerPolarizationEnhancement δ (F.pullback (z ≫ D.inclusion).left) |
| 93 | ((F.abelian.zeroNormalizedBundle P.ampleLineBundle).pullback |
| 94 | (pullback.fst F.abelian.scheme.hom (z ≫ D.inclusion).left)) d := by |
| 95 | let c : Over.mk (z ≫ D.inclusion).left ⟶ Over.mk D.inclusion.left := Over.homMk z.left rfl |
| 96 | exact PolarizationEnhancementData.GraphPowerPolarizationEnhancement.parameterPullback |
| 97 | (F := F) (L := F.abelian.zeroNormalizedBundle P.ampleLineBundle) |
| 98 | (T := Over.mk D.inclusion.left) (U := Over.mk (z ≫ D.inclusion).left) |
| 99 | D.universalEnhancement c |
| 100 | |
| 101 | def enhancementAtIso {T : Over (Spec (.of R))} (z : T ⟶ D.parameter) : |
| 102 | Moduli.Isomorphisms.LevelPreservingIso (D.universalFamily.pullback z.left) (D.enhancementAt z).object := by |
| 103 | let c : Over.mk (z ≫ D.inclusion).left ⟶ Over.mk D.inclusion.left := Over.homMk z.left rfl |
| 104 | exact PolarizationEnhancementData.GraphPowerPolarizationEnhancement.parameterPullbackModuliIso |
| 105 | (F := F) (L := F.abelian.zeroNormalizedBundle P.ampleLineBundle) |
| 106 | (T := Over.mk D.inclusion.left) (U := Over.mk (z ≫ D.inclusion).left) |
| 107 | D.universalEnhancement c |
| 108 | |
| 109 | theorem enhancementAt_class {T : Over (Spec (.of R))} (z : T ⟶ D.parameter) : |
| 110 | (D.enhancementAt z).object.classOf = (D.universalFamily.pullback z.left).classOf := |
| 111 | (((D.universalFamily.pullback z.left).classOf_eq_iff (D.enhancementAt z).object).mpr |
| 112 | ⟨D.enhancementAtIso z⟩).symm |
| 113 | |
| 114 | theorem universalFamily_classifies [IsNoetherian M.left] |
| 115 | (hd : 0 < d) (hδ : ∀ i, 0 < δ i) |
| 116 | {T : Over (Spec (.of R))} (z : T ⟶ D.parameter) |
| 117 | (E : PolarizationEnhancementData.GraphPowerPolarizationEnhancement δ (F.pullback (z ≫ D.inclusion).left) |
| 118 | ((F.abelian.zeroNormalizedBundle P.ampleLineBundle).pullback |
| 119 | (pullback.fst F.abelian.scheme.hom (z ≫ D.inclusion).left)) d) : |
| 120 | (D.universalFamily.pullback z.left).classOf = E.object.classOf := by |
| 121 | apply (D.enhancementAt_class z).symm.trans |
| 122 | exact Universal.GraphPowerEnhancementUniqueness.universalGraphPowerEnhancement_class_unique F.abelian P |
| 123 | (Over.mk (z ≫ D.inclusion).left) (F.level.pullback (z ≫ D.inclusion).left) |
| 124 | ((F.abelian.zeroNormalizedBundle P.ampleLineBundle).pullback |
| 125 | (pullback.fst F.abelian.scheme.hom (z ≫ D.inclusion).left)) |
| 126 | d (D.enhancementAt z) E hδ hd |
| 127 | |
| 128 | end GraphPowerLocusPresentation |
| 129 | |
| 130 | end |
| 131 | |
| 132 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.GraphPower.LocusPresentation |