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.SheafCohomology.Projective.FiniteSectionCombination |
| 2 | import OAI.AlgebraicGeometry.SheafCohomology.Projective.Quasicoherent |
| 3 | import OAI.ArithmeticGeometry.OrdinaryLocus.Openness.LineBundleQuasicoherent |
| 4 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Scalar.Nonvanishing |
| 5 | |
| 6 | /-! # Affine Scalar Section Cover -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.SheafCohomology.Projective.AffineScalarSectionCover |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! A finite epimorphic family of scalar sections covers an affine scheme by its frame opens. -/ |
| 13 | |
| 14 | set_option backward.isDefEq.respectTransparency false |
| 15 | set_option backward.isDefEq.respectTransparency.types false |
| 16 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry Opposite _root_.TopologicalSpace |
| 17 | open OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Scalar.Nonvanishing |
| 18 | |
| 19 | universe u |
| 20 | |
| 21 | local instance scalarSectionCoverBiproducts (X : Scheme.{u}) : HasFiniteBiproducts X.Modules := |
| 22 | HasFiniteBiproducts.of_hasFiniteProducts |
| 23 | |
| 24 | theorem affine_scalar_sections_span {X : Scheme.{u}} [IsAffine X] {ι : Type} [Fintype ι] |
| 25 | (s : ι → End (AbelianModuli.HilbertConstruction.Line.Bundles.structureModule X)) [Epi (Sigma.desc s)] : |
| 26 | Ideal.span (Set.range (fun i => AbelianModuli.HilbertConstruction.Frame.Coordinates.structureModuleEndValue X (s i))) = ⊤ := by |
| 27 | have hunit : (AbelianModuli.HilbertConstruction.Line.Bundles.structureModule X).IsQuasicoherent := |
| 28 | ArithmeticGeometry.OrdinaryLocus.Openness.LineBundleQuasicoherent.Construction.isQuasicoherent_of_isLineBundle _ (ArithmeticGeometry.OrdinaryLocus.Openness.LineBundle.Construction.isLineBundle_structureSheaf X) |
| 29 | have : (∐ fun _ : ι => AbelianModuli.HilbertConstruction.Line.Bundles.structureModule X).IsQuasicoherent := |
| 30 | Quasicoherent.Scheme.Modules.isQuasicoherent_coproduct _ (fun _ => hunit) |
| 31 | let F : X.Modules ⥤ ModuleCat Γ(X, ⊤) := SheafOfModules.evaluation X.ringCatSheaf (op ⊤) |
| 32 | have : F.Additive := { map_add := by intros; ext; rfl } |
| 33 | obtain ⟨x, hx⟩ := Quasicoherent.Scheme.Modules.isQuasicoherent_surjective_of_epi (Sigma.desc s) |
| 34 | (1 : Γ(X, ⊤)) |
| 35 | let c : ι → Γ(X, ⊤) := fun i => |
| 36 | F.map (CoproductMatrixComponents.finiteCoproductProjection (fun _ : ι => AbelianModuli.HilbertConstruction.Line.Bundles.structureModule X) i) x |
| 37 | have hsum : ∑ i, c i * AbelianModuli.HilbertConstruction.Frame.Coordinates.structureModuleEndValue X (s i) = 1 := by |
| 38 | have h := FiniteSectionCombination.finiteCoproduct_desc_value F (fun _ : ι => AbelianModuli.HilbertConstruction.Line.Bundles.structureModule X) s x |
| 39 | have hi (i : ι) : F.map (s i) (c i) = c i * AbelianModuli.HilbertConstruction.Frame.Coordinates.structureModuleEndValue X (s i) := by |
| 40 | change ((s i).val.app (op ⊤)) (c i) = |
| 41 | c i • ((s i).val.app (op ⊤)) (1 : Γ(X, ⊤)) |
| 42 | rw [← ((s i).val.app (op ⊤)).hom.map_smul] |
| 43 | simp only [smul_eq_mul, mul_one] |
| 44 | simpa only [← hi] using h.symm.trans hx |
| 45 | apply Ideal.eq_top_of_isUnit_mem _ _ isUnit_one |
| 46 | rw [← hsum] |
| 47 | apply Ideal.sum_mem |
| 48 | intro i _ |
| 49 | exact Ideal.mul_mem_left _ _ (Ideal.subset_span (Set.mem_range_self i)) |
| 50 | |
| 51 | theorem affine_scalar_sections_cover {X : Scheme.{u}} [IsAffine X] {ι : Type} [Fintype ι] |
| 52 | (s : ι → End (AbelianModuli.HilbertConstruction.Line.Bundles.structureModule X)) [Epi (Sigma.desc s)] : |
| 53 | ∀ x : X, ∃ i, x ∈ AbelianModuli.HilbertConstruction.Ample.LineBundles.sectionNonvanishing (s i) := by |
| 54 | have hU := iSup_basicOpen_of_span_eq_top (⊤ : X.Opens) |
| 55 | (Set.range (fun i => AbelianModuli.HilbertConstruction.Frame.Coordinates.structureModuleEndValue X (s i))) (affine_scalar_sections_span s) |
| 56 | intro x |
| 57 | have hx : x ∈ ⨆ r ∈ Set.range (fun i => AbelianModuli.HilbertConstruction.Frame.Coordinates.structureModuleEndValue X (s i)), X.basicOpen r := by |
| 58 | rw [hU] |
| 59 | trivial |
| 60 | obtain ⟨r, hr⟩ := Opens.mem_iSup.mp hx |
| 61 | obtain ⟨⟨i, rfl⟩, hi⟩ := Opens.mem_iSup.mp hr |
| 62 | exact ⟨i, (AbelianModuli.HilbertConstruction.Scalar.Nonvanishing.sectionNonvanishing_scalar (s i)).symm ▸ hi⟩ |
| 63 | |
| 64 | end |
| 65 | |
| 66 | end OAI.AlgebraicGeometry.SheafCohomology.Projective.AffineScalarSectionCover |