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.OpenAffineBaseChange |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.ProperFlat.SectionCompletenessOpen |
| 3 | |
| 4 | /-! # Section Completeness Open -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Universal.SectionCompletenessOpen |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Universal completeness of the actual pulled-back section family is |
| 11 | represented by an actual open over a Noetherian affine base. Every test |
| 12 | scheme and every affine map to it occur in the point criterion. -/ |
| 13 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 14 | universe u |
| 15 | set_option backward.isDefEq.respectTransparency false |
| 16 | set_option backward.isDefEq.respectTransparency.types false |
| 17 | |
| 18 | def UniversallyCompleteSectionFamily {S X T : Scheme.{u}} (f : X ⟶ S) |
| 19 | (M : X.Modules) {r : ℕ} (s : Fin r → (Line.Bundles.structureModule X ⟶ M)) (b : T ⟶ S) : Prop := |
| 20 | ∀ (Y : Scheme.{u}) [IsAffine Y] (a : Y ⟶ T), |
| 21 | Function.Bijective (Coefficient.SectionFrameCriterion.coefficientSectionLinearCombination (pullback.snd f (a ≫ b)).appTop.hom |
| 22 | ((Scheme.Modules.pullback (pullback.fst f (a ≫ b))).obj M) |
| 23 | (fun i => Ample.LineBundles.pullbackSection (pullback.fst f (a ≫ b)) (s i))) |
| 24 | |
| 25 | theorem properFlat_exists_universalSectionCompletenessOpen_with_fields |
| 26 | {S X : Scheme.{u}} [IsAffine S] [IsNoetherianRing Γ(S, ⊤)] |
| 27 | (f : X ⟶ S) [IsProper f] [Flat f] (L : Line.Bundles.LineBundle X) |
| 28 | {r : ℕ} (s : Fin r → (Line.Bundles.structureModule X ⟶ L.sheaf)) : |
| 29 | ∃ V : S.Opens, |
| 30 | (∀ (K : Type u) [Field K] (b : Spec (.of K) ⟶ S), |
| 31 | Set.range b ⊆ (V : Set S) ↔ |
| 32 | Function.Bijective (Coefficient.SectionFrameCriterion.coefficientSectionLinearCombination (pullback.snd f b).appTop.hom |
| 33 | (L.pullback (pullback.fst f b)).sheaf |
| 34 | (fun i => Ample.LineBundles.pullbackSection (pullback.fst f b) (s i)))) ∧ |
| 35 | (∀ (T : Scheme.{u}) (b : T ⟶ S), |
| 36 | Set.range b ⊆ (V : Set S) ↔ UniversallyCompleteSectionFamily f L.sheaf s b) := by |
| 37 | have : X.IsSeparated := ⟨by rw [← terminal.comp_from f]; infer_instance⟩ |
| 38 | have : CompactSpace X := QuasiCompact.compactSpace_of_compactSpace f |
| 39 | obtain ⟨k, W, ha, he, hw⟩ := L.exists_finite_affine_frames |
| 40 | let U : ULift.{u} (Fin k) → X.Opens := fun i => W i.down |
| 41 | have hU : iSup U = ⊤ := by |
| 42 | apply top_unique |
| 43 | intro x _ |
| 44 | obtain ⟨i, hi⟩ := hw x |
| 45 | exact TopologicalSpace.Opens.mem_iSup.mpr ⟨⟨i⟩, hi⟩ |
| 46 | have hUa : ∀ i, IsAffineOpen (U i) := fun i => ha i.down |
| 47 | have hUe : ∀ i, Nonempty ((Scheme.Modules.pullback (U i).ι).obj L.sheaf ≅ |
| 48 | Line.Bundles.structureModule (U i).toScheme) := fun i => he i.down |
| 49 | obtain ⟨D, φ, hφ, _, hf, hp, ht⟩ := ProperFlat.FiniteCechModel.properFlat_exists_finite_projective_cech_model f L U hU hUa |
| 50 | have := hφ |
| 51 | have : Module.Finite Γ(S, ⊤) (D.X 0) := hf 0 |
| 52 | have : Module.Projective Γ(S, ⊤) (D.X 0) := hp 0 |
| 53 | have : Module.Finite Γ(S, ⊤) (D.X 1) := hf 1 |
| 54 | have : Module.Projective Γ(S, ⊤) (D.X 1) := hp 1 |
| 55 | let V := ModelSectionCompletenessOpen.modelSectionCompletenessOpen f L.sheaf U hU φ s |
| 56 | have hcomp (Y : Scheme.{u}) [IsAffine Y] (b : Y ⟶ S) : |
| 57 | QuasiIso (HilbertConstruction.Module.TensorFunctor.ModuleTensorFunctor.map (Affine.TensorSectionComparison.morphismGlobalAlgebra b) φ ≫ |
| 58 | Geometric.CechTensorComparison.geometricCechTensorPushforwardMap (IsPullback.of_hasPullback f b) L.sheaf U) := by |
| 59 | have : QuasiIso (HilbertConstruction.Module.TensorFunctor.ModuleTensorFunctor.map (Affine.TensorSectionComparison.morphismGlobalAlgebra b) φ) := ht (Affine.TensorSectionComparison.morphismGlobalAlgebra b) |
| 60 | have : IsIso (Geometric.CechTensorComparison.geometricCechTensorPushforwardMap (IsPullback.of_hasPullback f b) L.sheaf U) := |
| 61 | Framed.AffineCechTensorIsomorphism.geometricCechTensorPushforwardMap_isIso (IsPullback.of_hasPullback f b) L U hUa hUe |
| 62 | exact quasiIso_comp _ _ |
| 63 | refine ⟨V, ?_, ?_⟩ |
| 64 | · intro K _ b |
| 65 | have := hcomp (Spec (.of K)) b |
| 66 | exact ModelSectionCompletenessOpen.modelSectionCompletenessOpen_field_point f L.sheaf U hU φ s b |
| 67 | intro T b |
| 68 | constructor |
| 69 | · intro hb Y _ a |
| 70 | have := hcomp Y (a ≫ b) |
| 71 | apply OpenAffineBaseChange.modelSectionCompletenessOpen_affine_baseChange f L.sheaf U hU φ s (a ≫ b) |
| 72 | rintro _ ⟨y, rfl⟩ |
| 73 | exact hb ⟨a y, rfl⟩ |
| 74 | · intro hb |
| 75 | rintro _ ⟨t, rfl⟩ |
| 76 | let q := T.fromSpecResidueField t |
| 77 | let z : Spec (T.residueField t) := (⊥ : PrimeSpectrum (T.residueField t)) |
| 78 | have := hcomp (Spec (T.residueField t)) (q ≫ b) |
| 79 | have hq := (ModelSectionCompletenessOpen.modelSectionCompletenessOpen_field_point f L.sheaf U hU φ s (q ≫ b)).mpr |
| 80 | (hb (Spec (T.residueField t)) q) |
| 81 | have hz := hq ⟨z, rfl⟩ |
| 82 | change b (T.fromSpecResidueField t z) ∈ V at hz |
| 83 | change b t ∈ V |
| 84 | simpa only [Scheme.fromSpecResidueField_apply] using hz |
| 85 | |
| 86 | theorem properFlat_exists_universalSectionCompletenessOpen |
| 87 | {S X : Scheme.{u}} [IsAffine S] [IsNoetherianRing Γ(S, ⊤)] |
| 88 | (f : X ⟶ S) [IsProper f] [Flat f] (L : Line.Bundles.LineBundle X) |
| 89 | {r : ℕ} (s : Fin r → (Line.Bundles.structureModule X ⟶ L.sheaf)) : |
| 90 | ∃ V : S.Opens, ∀ (T : Scheme.{u}) (b : T ⟶ S), |
| 91 | Set.range b ⊆ (V : Set S) ↔ UniversallyCompleteSectionFamily f L.sheaf s b := by |
| 92 | obtain ⟨V, _, hV⟩ := properFlat_exists_universalSectionCompletenessOpen_with_fields f L s |
| 93 | exact ⟨V, hV⟩ |
| 94 | |
| 95 | end |
| 96 | |
| 97 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Universal.SectionCompletenessOpen |