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.Finite.CoproductCoordinates |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Affine.QuasicoherentEpimorphisms |
| 3 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Quasicoherent.Coproducts |
| 4 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.LineBundle.Quasicoherence |
| 5 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Scalar.Nonvanishing |
| 6 | |
| 7 | /-! # Scalar Section Cover -/ |
| 8 | |
| 9 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Affine.ScalarSectionCover |
| 10 | |
| 11 | noncomputable section |
| 12 | |
| 13 | /-! Epimorphic scalar sections on an affine scheme generate the unit ideal. -/ |
| 14 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry Opposite _root_.TopologicalSpace |
| 15 | universe u |
| 16 | |
| 17 | theorem affine_scalar_sections_span {X : Scheme.{u}} [IsAffine X] {ι : Type u} [Fintype ι] |
| 18 | (s : ι → End (Line.Bundles.structureModule X)) [Epi (Sigma.desc s)] : |
| 19 | Ideal.span (Set.range (fun i => Frame.Coordinates.structureModuleEndValue X (s i))) = ⊤ := by |
| 20 | have hunit : (Line.Bundles.structureModule X).IsQuasicoherent := (Line.Bundles.LineBundle.trivial X).isQuasicoherent |
| 21 | have : (∐ fun _ : ι => Line.Bundles.structureModule X).IsQuasicoherent := |
| 22 | Quasicoherent.Coproducts.module_quasicoherent_coproduct _ (fun _ => hunit) |
| 23 | let F : X.Modules ⥤ ModuleCat Γ(X, ⊤) := SheafOfModules.evaluation X.ringCatSheaf (op ⊤) |
| 24 | let : F.Additive := { map_add := by intros; ext; rfl } |
| 25 | let : HasBiproduct (fun _ : ι => Line.Bundles.structureModule X) := HasBiproduct.of_hasCoproduct _ |
| 26 | obtain ⟨x, hx⟩ := QuasicoherentEpimorphisms.quasicoherent_affine_surjective_of_epi (Sigma.desc s) (1 : Γ(X, ⊤)) |
| 27 | let c : ι → Γ(X, ⊤) := fun i => |
| 28 | F.map (Finite.CoproductCoordinates.finiteCoproductProjection (fun _ : ι => Line.Bundles.structureModule X) i) x |
| 29 | let t : ι → Γ(X, ⊤) → Γ(X, ⊤) := fun i z => (s i).app ⊤ z |
| 30 | have hsum : ∑ i, c i * Frame.Coordinates.structureModuleEndValue X (s i) = 1 := by |
| 31 | have h := Finite.CoproductCoordinates.finiteCoproduct_desc_value F (fun _ : ι => Line.Bundles.structureModule X) s x |
| 32 | change (show Γ(X, ⊤) from ((Sigma.desc s).app ⊤) x) = ∑ i, t i (c i) at h |
| 33 | change (show Γ(X, ⊤) from ((Sigma.desc s).app ⊤) x) = (1 : Γ(X, ⊤)) at hx |
| 34 | have hi (i : ι) : t i (c i) = c i * Frame.Coordinates.structureModuleEndValue X (s i) := |
| 35 | TensorPower.Units.structureModuleEnd_app (s i) ⊤ (c i) |
| 36 | have he : (∑ i, c i * Frame.Coordinates.structureModuleEndValue X (s i)) = ∑ i, t i (c i) := |
| 37 | Finset.sum_congr rfl (fun i _ => (hi i).symm) |
| 38 | exact he.trans (h.symm.trans hx) |
| 39 | apply Ideal.eq_top_of_isUnit_mem _ _ isUnit_one |
| 40 | rw [← hsum] |
| 41 | apply Submodule.sum_mem |
| 42 | intro i _ |
| 43 | exact Ideal.mul_mem_left _ _ (Ideal.subset_span (Set.mem_range_self i)) |
| 44 | |
| 45 | theorem affine_scalar_sections_cover {X : Scheme.{u}} [IsAffine X] {ι : Type u} [Fintype ι] |
| 46 | (s : ι → End (Line.Bundles.structureModule X)) [Epi (Sigma.desc s)] : |
| 47 | ∀ x : X, ∃ i, x ∈ Ample.LineBundles.sectionNonvanishing (s i) := by |
| 48 | have hU := iSup_basicOpen_of_span_eq_top (⊤ : X.Opens) |
| 49 | (Set.range (fun i => Frame.Coordinates.structureModuleEndValue X (s i))) (affine_scalar_sections_span s) |
| 50 | intro x |
| 51 | have hx : x ∈ ⨆ r ∈ Set.range (fun i => Frame.Coordinates.structureModuleEndValue X (s i)), X.basicOpen r := by |
| 52 | rw [hU] |
| 53 | trivial |
| 54 | obtain ⟨r, hr⟩ := Opens.mem_iSup.mp hx |
| 55 | obtain ⟨⟨i, rfl⟩, hi⟩ := Opens.mem_iSup.mp hr |
| 56 | exact ⟨i, (Scalar.Nonvanishing.sectionNonvanishing_scalar (s i)).symm ▸ hi⟩ |
| 57 | |
| 58 | end |
| 59 | |
| 60 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Affine.ScalarSectionCover |