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.Divisors.LineBundles.LineBundle.MorphismCoordinate |
| 2 | import OAI.AlgebraicGeometry.Divisors.LineBundles.Scheme.ModuleBasisIso |
| 3 | |
| 4 | /-! # Surjective Iso -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.Divisors.LineBundles.LineBundle.SurjectiveIso.Cycles |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! A surjective morphism of actual line bundles is locally |
| 11 | multiplication by a unit, and hence is a sheaf isomorphism. -/ |
| 12 | |
| 13 | open _root_.AlgebraicGeometry _root_.CategoryTheory _root_.TopologicalSpace |
| 14 | |
| 15 | theorem rankOneLinearMap_bijective_of_surjective {R : Type*} [CommRing R] |
| 16 | (φ : R →ₗ[R] R) (hφ : Function.Surjective φ) : Function.Bijective φ := by |
| 17 | have hm (r : R) : φ r = r * φ 1 := by |
| 18 | simpa only [smul_eq_mul, mul_one] using φ.map_smul r 1 |
| 19 | obtain ⟨r, hr⟩ := hφ 1 |
| 20 | have hru : r * φ 1 = 1 := (hm r).symm.trans hr |
| 21 | let u : Rˣ := ⟨φ 1, r, (mul_comm _ _).trans hru, hru⟩ |
| 22 | have he : (φ : R → R) = fun a => a * u.val := funext hm |
| 23 | rw [he] |
| 24 | exact IsUnit.isUnit_iff_mulRight_bijective.mp u.isUnit |
| 25 | |
| 26 | theorem lineBundleMorphism_isIso_of_basis_surjective {X : Scheme.{0}} |
| 27 | (L M : LineBundles.Scheme.SchemeIdealModule.BundleCycles.SchemeLineBundle X) (φ : L.sheaf ⟶ M.sheaf) |
| 28 | (B₀ : Set X.Opens) (hB₀ : Opens.IsBasis B₀) |
| 29 | (hφ : ∀ U ∈ B₀, Function.Surjective (φ.app U)) : IsIso φ := by |
| 30 | let B : Set X.Opens := {W | W ∈ B₀ ∧ ∃ x : X, |
| 31 | W ≤ L.trivializingOpen x ∧ W ≤ M.trivializingOpen x} |
| 32 | have hB : Opens.IsBasis B := by |
| 33 | apply Opens.isBasis_iff_nbhd.mpr |
| 34 | intro U x hx |
| 35 | obtain ⟨W, hW, hxW, hWU⟩ := Opens.isBasis_iff_nbhd.mp hB₀ |
| 36 | (show x ∈ (U ⊓ L.trivializingOpen x) ⊓ M.trivializingOpen x from |
| 37 | ⟨⟨hx, L.mem_trivializingOpen x⟩, M.mem_trivializingOpen x⟩) |
| 38 | exact ⟨W, ⟨hW, x, hWU.trans (inf_le_left.trans inf_le_right), hWU.trans inf_le_right⟩, |
| 39 | hxW, hWU.trans (inf_le_left.trans inf_le_left)⟩ |
| 40 | apply LineBundles.Scheme.ModuleBasisIso.BundleCycles.schemeModule_isIso_of_basis φ hB |
| 41 | rintro W ⟨hW, x, hL, hM⟩ |
| 42 | let eL := L.sectionFrame x W hL |
| 43 | let eM := M.sectionFrame x W hM |
| 44 | let θ := eM.toLinearMap.comp ((MorphismCoordinate.Cycles.moduleSectionLinearMap φ W).comp eL.symm.toLinearMap) |
| 45 | have hθ : Function.Surjective θ := eM.surjective.comp ((hφ W hW).comp eL.symm.surjective) |
| 46 | refine ⟨?_, hφ W hW⟩ |
| 47 | intro s t hst |
| 48 | apply eL.injective |
| 49 | apply (rankOneLinearMap_bijective_of_surjective θ hθ).injective |
| 50 | change eM (φ.app W (eL.symm (eL s))) = eM (φ.app W (eL.symm (eL t))) |
| 51 | rw [eL.symm_apply_apply, eL.symm_apply_apply, hst] |
| 52 | |
| 53 | theorem lineBundleMorphism_isIso_of_affine_surjective {X : Scheme.{0}} |
| 54 | (L M : LineBundles.Scheme.SchemeIdealModule.BundleCycles.SchemeLineBundle X) (φ : L.sheaf ⟶ M.sheaf) |
| 55 | (hφ : ∀ U : X.affineOpens, Function.Surjective (φ.app U.1)) : IsIso φ := by |
| 56 | exact lineBundleMorphism_isIso_of_basis_surjective L M φ _ X.isBasis_affineOpens |
| 57 | (fun U hU => hφ ⟨U, hU⟩) |
| 58 | |
| 59 | end |
| 60 | |
| 61 | end OAI.AlgebraicGeometry.Divisors.LineBundles.LineBundle.SurjectiveIso.Cycles |