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.Picard.ThetaConstruction.IntrinsicCohomologyScalarBridge |
| 2 | import OAI.AlgebraicGeometry.Quotients.FiniteDescent.FieldPoint |
| 3 | |
| 4 | /-! # Fiber Section Specialization -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.Picard.ThetaConstruction.FiberSectionSpecialization.Geometric |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The vanishing of actual fiber sections is open for an original |
| 11 | proper flat line family. The finite cohomology model is constructed, |
| 12 | so nonzero fiber sections persist under specialization. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 15 | open scoped TensorProduct |
| 16 | |
| 17 | universe u |
| 18 | |
| 19 | private theorem cochainScalar_zero_iff {R K : Type u} [CommRing R] [Field K] [Algebra R K] |
| 20 | (C : CochainComplex (ModuleCat.{u} R) ℕ) [Module.Finite R (C.X 0)] |
| 21 | {N : ModuleCat.{u} K} |
| 22 | (e : (AbelianModuli.HilbertConstruction.Cochain.ScalarExtensionKernel.cochainScalarExtension C K).homology 0 ≃ₗ[K] N) : |
| 23 | Module.finrank K ((AbelianModuli.HilbertConstruction.Cochain.ScalarExtensionKernel.cochainScalarExtension C K).homology 0) = 0 ↔ Subsingleton N := by |
| 24 | let : Module.Finite K ((C.d 0 1).hom.baseChange K).ker := inferInstance |
| 25 | let : Module.Finite K ((AbelianModuli.HilbertConstruction.Cochain.ScalarExtensionKernel.cochainScalarExtension C K).homology 0) := |
| 26 | Module.Finite.equiv (AbelianModuli.HilbertConstruction.Cochain.ScalarExtensionKernel.cochainScalarExtensionZeroKernelEquiv C K).symm |
| 27 | exact Module.finrank_zero_iff.trans e.toEquiv.subsingleton_congr |
| 28 | |
| 29 | private theorem nativeFiberSection_subsingleton {X S : Scheme.{u}} |
| 30 | (f : X ⟶ S) (L : AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle X) |
| 31 | (C : CochainComplex (ModuleCat.{u} Γ(S, ⊤)) ℕ) (x : S) |
| 32 | (e : Nonempty |
| 33 | ((((ModuleCat.extendScalars (S.fromSpecResidueField x).appTop.hom).mapHomologicalComplex |
| 34 | (.up ℕ)).obj C).homology 0 ≅ |
| 35 | (AbelianModuli.HilbertConstruction.Zariski.CohomologyFunctor.ZariskiCohomology.coefficientCohomologyFunctor (f.fiberToSpecResidueField x).appTop.hom 0).obj |
| 36 | (L.pullback (f.fiberι x)).sheaf)) : |
| 37 | Subsingleton ((((ModuleCat.extendScalars (S.fromSpecResidueField x).appTop.hom).mapHomologicalComplex |
| 38 | (.up ℕ)).obj C).homology 0) ↔ Subsingleton Γ((L.pullback (f.fiberι x)).sheaf, ⊤) := |
| 39 | (Classical.choice e).toLinearEquiv.toEquiv.subsingleton_congr.trans |
| 40 | (AbelianModuli.HilbertConstruction.CoefficientCohomology.DegreeZero.ZariskiCohomology.coefficientCohomologyZeroSectionsEquiv |
| 41 | (f.fiberToSpecResidueField x).appTop.hom (L.pullback (f.fiberι x)).sheaf).toEquiv.subsingleton_congr |
| 42 | |
| 43 | private theorem nativeCochainZeroOpen_mem {S : Scheme.{u}} |
| 44 | (C : CochainComplex (ModuleCat.{u} Γ(S, ⊤)) ℕ) |
| 45 | [Module.Finite Γ(S, ⊤) (C.X 0)] [Module.Projective Γ(S, ⊤) (C.X 0)] |
| 46 | [Module.Finite Γ(S, ⊤) (C.X 1)] [Module.Projective Γ(S, ⊤) (C.X 1)] (x : S) : |
| 47 | x ∈ AbelianModuli.HilbertConstruction.Cochain.ZeroDimensionOpen.cochainZeroDimensionOpen C 0 ↔ |
| 48 | Subsingleton ((((ModuleCat.extendScalars (S.fromSpecResidueField x).appTop.hom).mapHomologicalComplex |
| 49 | (.up ℕ)).obj C).homology 0) := by |
| 50 | let V := AbelianModuli.HilbertConstruction.Cochain.ZeroDimensionOpen.cochainZeroDimensionOpen C 0 |
| 51 | let b : Spec (S.residueField x) ⟶ S := S.fromSpecResidueField x |
| 52 | let : Field Γ(Spec (S.residueField x), ⊤) := Quotients.FiniteDescent.FieldPoint.Construction.FieldPointPrime.sectionsField _ |
| 53 | let : Algebra Γ(S, ⊤) Γ(Spec (S.residueField x), ⊤) := b.appTop.hom.toAlgebra |
| 54 | have hr : Set.range b ⊆ (V : Set S) ↔ x ∈ V := by |
| 55 | constructor |
| 56 | · intro h |
| 57 | have ht : b (default : Spec (S.residueField x)) ∈ V := |
| 58 | h ⟨(default : Spec (S.residueField x)), rfl⟩ |
| 59 | exact (congrArg (fun y : S => y ∈ V) |
| 60 | (Scheme.fromSpecResidueField_apply x default)).mp ht |
| 61 | · intro h y hy |
| 62 | obtain ⟨z, rfl⟩ := hy |
| 63 | change b z ∈ V |
| 64 | exact (congrArg (fun y : S => y ∈ V) |
| 65 | (Scheme.fromSpecResidueField_apply x z)).mpr h |
| 66 | have ho := AbelianModuli.HilbertConstruction.Cochain.ZeroDimensionOpen.cochainZeroDimensionOpen_field_point (S := S) C (K := S.residueField x) b 0 |
| 67 | simp only [Nat.le_zero] at ho |
| 68 | exact hr.symm.trans (ho.trans (cochainScalar_zero_iff |
| 69 | (K := Γ(Spec (S.residueField x), ⊤)) C (IntrinsicCohomologyScalarBridge.Geometric.nativeCochainScalarHomologyEquiv b.appTop.hom C 0).symm)) |
| 70 | |
| 71 | private theorem fiberSectionZeroOpen_from_model {X S : Scheme.{u}} |
| 72 | (f : X ⟶ S) (L : AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle X) |
| 73 | (C : CochainComplex (ModuleCat.{u} Γ(S, ⊤)) ℕ) |
| 74 | [Module.Finite Γ(S, ⊤) (C.X 0)] [Module.Projective Γ(S, ⊤) (C.X 0)] |
| 75 | [Module.Finite Γ(S, ⊤) (C.X 1)] [Module.Projective Γ(S, ⊤) (C.X 1)] |
| 76 | (hfiber : ∀ x : S, Nonempty |
| 77 | ((((ModuleCat.extendScalars (S.fromSpecResidueField x).appTop.hom).mapHomologicalComplex |
| 78 | (.up ℕ)).obj C).homology 0 ≅ |
| 79 | (AbelianModuli.HilbertConstruction.Zariski.CohomologyFunctor.ZariskiCohomology.coefficientCohomologyFunctor (f.fiberToSpecResidueField x).appTop.hom 0).obj |
| 80 | (L.pullback (f.fiberι x)).sheaf)) : |
| 81 | ∃ V : S.Opens, ∀ x : S, x ∈ V ↔ Subsingleton Γ((L.pullback (f.fiberι x)).sheaf, ⊤) := |
| 82 | ⟨AbelianModuli.HilbertConstruction.Cochain.ZeroDimensionOpen.cochainZeroDimensionOpen C 0, fun x => |
| 83 | (nativeCochainZeroOpen_mem C x).trans (nativeFiberSection_subsingleton f L C x (hfiber x))⟩ |
| 84 | |
| 85 | variable {X S : Scheme.{u}} [IsAffine S] [IsNoetherianRing Γ(S, ⊤)] |
| 86 | (f : X ⟶ S) [IsProper f] [Flat f] (L : AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle X) |
| 87 | |
| 88 | theorem exists_fiberSectionZeroOpen : ∃ V : S.Opens, ∀ x : S, |
| 89 | x ∈ V ↔ Subsingleton Γ((L.pullback (f.fiberι x)).sheaf, ⊤) := by |
| 90 | obtain ⟨C, _hb, hf, hp, _hc, hfiber⟩ := AbelianModuli.HilbertConstruction.ProperFlat.FiberwiseCohomologyModel.properFlat_exists_fiberwise_cohomology_model f L |
| 91 | let : Module.Finite Γ(S, ⊤) (C.X 0) := hf 0 |
| 92 | let : Module.Projective Γ(S, ⊤) (C.X 0) := hp 0 |
| 93 | let : Module.Finite Γ(S, ⊤) (C.X 1) := hf 1 |
| 94 | let : Module.Projective Γ(S, ⊤) (C.X 1) := hp 1 |
| 95 | exact fiberSectionZeroOpen_from_model f L C (fun x => hfiber x 0) |
| 96 | |
| 97 | theorem fiberSections_nontrivial_specializes {x y : S} (hxy : x ⤳ y) |
| 98 | (hx : Nontrivial Γ((L.pullback (f.fiberι x)).sheaf, ⊤)) : |
| 99 | Nontrivial Γ((L.pullback (f.fiberι y)).sheaf, ⊤) := by |
| 100 | obtain ⟨V, hV⟩ := exists_fiberSectionZeroOpen f L |
| 101 | by_contra hy |
| 102 | have hym := (hV y).mpr (not_nontrivial_iff_subsingleton.mp hy) |
| 103 | have hxm := hxy.mem_open V.isOpen hym |
| 104 | exact (not_subsingleton_iff_nontrivial.mpr hx) ((hV x).mp hxm) |
| 105 | |
| 106 | end |
| 107 | |
| 108 | end OAI.AlgebraicGeometry.Picard.ThetaConstruction.FiberSectionSpecialization.Geometric |