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.IdealComapAffineChart |
| 2 | import OAI.AlgebraicGeometry.Divisors.LineBundles.Projective.CoordinateSectionMap |
| 3 | import OAI.AlgebraicGeometry.Divisors.LineBundles.Projective.PrincipalSectionKernel |
| 4 | import OAI.AlgebraicGeometry.Divisors.LineBundles.Projective.MapCongr |
| 5 | |
| 6 | /-! # Principal Pullback -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.Divisors.LineBundles.Projective.PrincipalPullback.BundleCycles |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! A commuting square of actual homogeneous principal quotients |
| 13 | is Cartesian when the lower equation is the image of the upper equation. -/ |
| 14 | |
| 15 | open _root_.AlgebraicGeometry _root_.CategoryTheory _root_.TopologicalSpace |
| 16 | |
| 17 | theorem projectivePrincipal_isPullback |
| 18 | {A B C D σ τ υ ω : Type} [CommRing A] [CommRing B] [CommRing C] [CommRing D] |
| 19 | [SetLike σ A] [AddSubgroupClass σ A] [SetLike τ B] [AddSubgroupClass τ B] |
| 20 | [SetLike υ C] [AddSubgroupClass υ C] [SetLike ω D] [AddSubgroupClass ω D] |
| 21 | {𝒜 : ℕ → σ} {ℬ : ℕ → τ} {𝒞 : ℕ → υ} {𝒟 : ℕ → ω} |
| 22 | [GradedRing 𝒜] [GradedRing ℬ] [GradedRing 𝒞] [GradedRing 𝒟] |
| 23 | (f : 𝒜 →+*ᵍ ℬ) (i : 𝒜 →+*ᵍ 𝒞) (j : ℬ →+*ᵍ 𝒟) (g : 𝒞 →+*ᵍ 𝒟) |
| 24 | (hf : HomogeneousIdeal.irrelevant ℬ ≤ (HomogeneousIdeal.irrelevant 𝒜).map f) |
| 25 | (hi : HomogeneousIdeal.irrelevant 𝒞 ≤ (HomogeneousIdeal.irrelevant 𝒜).map i) |
| 26 | (hj : HomogeneousIdeal.irrelevant 𝒟 ≤ (HomogeneousIdeal.irrelevant ℬ).map j) |
| 27 | (hg : HomogeneousIdeal.irrelevant 𝒟 ≤ (HomogeneousIdeal.irrelevant 𝒞).map g) |
| 28 | (hSurjI : Function.Surjective i) (hSurjJ : Function.Surjective j) |
| 29 | (h : j.comp f = g.comp i) (t : A) (ht : t ∈ 𝒜 1) |
| 30 | (hki : RingHom.ker i.toRingHom = Ideal.span {t}) |
| 31 | (hkj : RingHom.ker j.toRingHom = Ideal.span {f t}) |
| 32 | (hcover : ∀ x : Proj 𝒜, ∃ v : A, v ∈ 𝒜 1 ∧ x ∈ Proj.basicOpen 𝒜 v) : |
| 33 | IsPullback (Proj.map j hj) (Proj.map g hg) (Proj.map f hf) (Proj.map i hi) := by |
| 34 | let : IsClosedImmersion (Proj.map i hi) := ClosedImmersion.BundleCycles.projectiveMap_isClosedImmersion i hi hSurjI |
| 35 | let : IsClosedImmersion (Proj.map j hj) := ClosedImmersion.BundleCycles.projectiveMap_isClosedImmersion j hj hSurjJ |
| 36 | apply isPullback_of_isClosedImmersion |
| 37 | · exact (Proj.map_comp f j hf hj).symm.trans |
| 38 | ((MapCongr.BundleCycles.projectiveMap_congr h _ _).trans (Proj.map_comp i g hi hg)) |
| 39 | · let V (v : {v : A // v ∈ 𝒜 1}) : (Proj ℬ).affineOpens := |
| 40 | ⟨Proj.basicOpen ℬ (f v.val), Proj.isAffineOpen_basicOpen ℬ _ (f.map_mem v.property) (by decide)⟩ |
| 41 | have hV : ⨆ v, (V v).1 = ⊤ := by |
| 42 | apply le_antisymm le_top |
| 43 | intro x _ |
| 44 | obtain ⟨v, hv, hxv⟩ := hcover (Proj.map f hf x) |
| 45 | exact Opens.mem_iSup.mpr ⟨⟨v, hv⟩, hxv⟩ |
| 46 | apply Scheme.IdealSheafData.ext_of_iSup_eq_top V hV |
| 47 | intro v |
| 48 | let U : (Proj 𝒜).affineOpens := |
| 49 | ⟨Proj.basicOpen 𝒜 v.val, Proj.isAffineOpen_basicOpen 𝒜 v.val v.property (by decide)⟩ |
| 50 | have hLeft := IdealComapAffineChart.BundleCycles.idealComap_affineChart (Proj.map i hi) (Proj.map f hf) U (V v) le_rfl |
| 51 | have hBase := PrincipalSectionKernel.BundleCycles.projectivePrincipalSection_kernel i hi v.val t v.property ht hki |
| 52 | have hTarget := PrincipalSectionKernel.BundleCycles.projectivePrincipalSection_kernel j hj (f v.val) (f t) (f.map_mem v.property) (f.map_mem ht) hkj |
| 53 | have hMap : (Proj.map f hf).appLE U.1 (V v).1 le_rfl |
| 54 | (CoordinateSectionMap.BundleCycles.projectiveCoordinateSection 𝒜 v.val t v.property ht) = |
| 55 | CoordinateSectionMap.BundleCycles.projectiveCoordinateSection ℬ (f v.val) (f t) (f.map_mem v.property) (f.map_mem ht) := |
| 56 | CoordinateSectionMap.BundleCycles.projectiveCoordinateSection_map f hf v.val t v.property ht |
| 57 | refine hLeft.trans (Eq.trans ?_ (hTarget.symm.trans (Scheme.Hom.ker_apply (Proj.map j hj) (V v)).symm)) |
| 58 | rw [hBase, Ideal.map_span, Set.image_singleton, hMap] |
| 59 | |
| 60 | end |
| 61 | |
| 62 | end OAI.AlgebraicGeometry.Divisors.LineBundles.Projective.PrincipalPullback.BundleCycles |