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.Abelian.StructureOpen |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Polarized.CohomologyDimensions |
| 3 | |
| 4 | /-! # Structure Open -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Every actual tame polarized full-level fiber belongs to the |
| 11 | structure-sheaf H1 bound open. The criterion is invariant under the |
| 12 | original isomorphisms of abelian schemes. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 15 | universe u |
| 16 | |
| 17 | section |
| 18 | |
| 19 | theorem Abelian.Schemes.AbelianScheme.structureH1Dimension_eq_ground |
| 20 | {K : Type u} [Field K] {g : ℕ} (A : Abelian.Schemes.AbelianScheme g (Spec (.of K))) : |
| 21 | A.structureH1Dimension = |
| 22 | Module.finrank K ((Zariski.CohomologyFunctor.ZariskiCohomology.coefficientCohomologyFunctor |
| 23 | (Coefficient.ModulePresheaf.schemeCoefficientMap A.scheme.hom) 1).obj (Line.Bundles.structureModule A.scheme.left)) := by |
| 24 | let e : Γ(Spec (.of K), ⊤) ≃+* K := |
| 25 | (Scheme.ΓSpecIso (.of K)).commRingCatIsoToRingEquiv |
| 26 | have hmap : (Coefficient.ModulePresheaf.schemeCoefficientMap A.scheme.hom).comp e.toRingHom = A.scheme.hom.appTop.hom := by |
| 27 | ext r |
| 28 | change A.scheme.hom.appTop ((Scheme.ΓSpecIso (.of K)).inv |
| 29 | ((Scheme.ΓSpecIso (.of K)).hom r)) = A.scheme.hom.appTop r |
| 30 | exact congrArg A.scheme.hom.appTop |
| 31 | (ConcreteCategory.congr_hom (Scheme.ΓSpecIso (.of K)).hom_inv_id r) |
| 32 | let H := (Zariski.CohomologyFunctor.ZariskiCohomology.coefficientCohomologyFunctor |
| 33 | (Coefficient.ModulePresheaf.schemeCoefficientMap A.scheme.hom) 1).obj (Line.Bundles.structureModule A.scheme.left) |
| 34 | let a := CoefficientCohomology.CohomologyRestriction.coefficientCohomologyRestrictionIso e.toRingHom (Coefficient.ModulePresheaf.schemeCoefficientMap A.scheme.hom) |
| 35 | (Line.Bundles.structureModule A.scheme.left) 1 ≪≫ |
| 36 | CoefficientCohomology.BaseCongruence.ZariskiCohomology.coefficientCohomologyCongr hmap (Line.Bundles.structureModule A.scheme.left) 1 |
| 37 | exact a.toLinearEquiv.finrank_eq.symm.trans (Scalar.EquivalentDimensions.restrictScalars_finrank_of_ringEquiv e H) |
| 38 | |
| 39 | theorem Abelian.Schemes.AbelianScheme.structureH1Dimension_eq_of_iso |
| 40 | {K : Type u} [Field K] {g : ℕ} |
| 41 | (A B : Abelian.Schemes.AbelianScheme g (Spec (.of K))) (e : A.scheme ≅ B.scheme) : |
| 42 | A.structureH1Dimension = B.structureH1Dimension := by |
| 43 | let f := e.hom.left |
| 44 | let : IsIso f := inferInstanceAs (IsIso ((Over.forget (Spec (.of K))).map e.hom)) |
| 45 | let : B.scheme.left.IsSeparated := ⟨by |
| 46 | rw [← terminal.comp_from B.scheme.hom] |
| 47 | infer_instance⟩ |
| 48 | let eP := CohomologyPullbackIso.lineBundleCohomologyPullbackIso f B.scheme.hom (Line.Bundles.LineBundle.trivial B.scheme.left) 1 |
| 49 | let eS := (Zariski.CohomologyFunctor.ZariskiCohomology.coefficientCohomologyFunctor |
| 50 | (Coefficient.ModulePresheaf.schemeCoefficientMap (f ≫ B.scheme.hom)) 1).mapIso (Line.Bundles.structureModulePullbackIso f) |
| 51 | have h := eS.toLinearEquiv.finrank_eq.symm.trans eP.toLinearEquiv.finrank_eq |
| 52 | have hbase : f ≫ B.scheme.hom = A.scheme.hom := e.hom.w |
| 53 | rw [hbase] at h |
| 54 | exact A.structureH1Dimension_eq_ground.trans |
| 55 | (h.trans B.structureH1Dimension_eq_ground.symm) |
| 56 | |
| 57 | end |
| 58 | |
| 59 | theorem PolarizationData.PolarizedAbelianWithFullLevel.structureH1Dimension_eq |
| 60 | {K : Type u} [Field K] {g N : ℕ} {δ : Fin g → ℕ} |
| 61 | (A : PolarizationData.PolarizedAbelianWithFullLevel g δ N (Spec (.of K))) |
| 62 | (hN : 3 ≤ N) (hNK : (N : K) ≠ 0) : A.abelian.structureH1Dimension = g := by |
| 63 | rw [A.abelian.structureH1Dimension_eq_ground] |
| 64 | simpa only [Nat.choose_one_right] using A.structure_cohomology_finrank A.dual hN hNK 1 |
| 65 | |
| 66 | theorem Abelian.Schemes.AbelianScheme.structureH1Open_contains_polarized_fiber |
| 67 | {S : Scheme.{u}} [IsAffine S] [IsLocallyNoetherian S] {g : ℕ} |
| 68 | (A : Abelian.Schemes.AbelianScheme g S) (P : Projective.ProjectivePresentations.ProjectivePresentation A.scheme) |
| 69 | {K : Type u} [Field K] (b : Spec (.of K) ⟶ S) |
| 70 | {N : ℕ} {δ : Fin g → ℕ} |
| 71 | (B : PolarizationData.PolarizedAbelianWithFullLevel g δ N (Spec (.of K))) |
| 72 | (e : (A.pullback b).scheme ≅ B.abelian.scheme) |
| 73 | (hN : 3 ≤ N) (hNK : (N : K) ≠ 0) : |
| 74 | Set.range b ⊆ (A.structureH1Open P g : Set S) := by |
| 75 | apply (A.structureH1Open_field_point P g b).mpr |
| 76 | exact ((A.pullback b).structureH1Dimension_eq_of_iso B.abelian e).le.trans |
| 77 | (B.structureH1Dimension_eq hN hNK).le |
| 78 | |
| 79 | end |
| 80 | |
| 81 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction |