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.Conormal.AffineSpaceChart |
| 2 | import OAI.AlgebraicGeometry.Divisors.LineBundles.Symmetric.AffineSpaceRankChart |
| 3 | |
| 4 | /-! # Affine Space Rank Chart -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.Divisors.LineBundles.Conormal.AffineSpaceRankChart.BundleCycles |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The actual conormal affine chart can retain its specified stalk rank. -/ |
| 11 | |
| 12 | open _root_.AlgebraicGeometry _root_.CategoryTheory |
| 13 | |
| 14 | variable {X : Scheme.{0}} (I : X.IdealSheafData) (U : X.AffineZariskiSite) |
| 15 | [Module.Projective (Γ(X, U.1) ⧸ I.ideal U) (I.ideal U).Cotangent] |
| 16 | [Module.Finite (Γ(X, U.1) ⧸ I.ideal U) (I.ideal U).Cotangent] |
| 17 | |
| 18 | theorem conormal_exists_affineSpaceChart_of_rank (q : PrimeSpectrum (Γ(X, U.1) ⧸ I.ideal U)) |
| 19 | (n : ℕ) (hq : Module.rankAtStalk (I.ideal U).Cotangent q = n) : |
| 20 | ∃ (B : CommRingCat.{0}) (i : Spec B ⟶ I.subscheme) (ι : Type) (_ : Finite ι) |
| 21 | (j : AffineSpace ι (Spec B) ⟶ DiagramGluing.BundleCycles.globalConormalSpectrum I), |
| 22 | IsOpenImmersion i ∧ IsOpenImmersion j ∧ Support.Projection.BundleCycles.supportCoefficientChart I U q ∈ Set.range i ∧ |
| 23 | IsPullback (AffineSpace ι (Spec B) ↘ Spec B) j i (SupportCover.BundleCycles.globalConormalToSupport I) ∧ Nat.card ι = n := by |
| 24 | obtain ⟨r, hr, ι, hι, e, he, hn⟩ := Symmetric.AffineSpaceRankChart.BundleCycles.projectiveSymmetric_exists_affineSpaceChart_of_rank (I.ideal U).Cotangent q n hq |
| 25 | let B : CommRingCat := .of (Localization.Away r) |
| 26 | let i := SupportPullback.BundleCycles.conormalPrincipalChartToSupport I U r |
| 27 | let j := e.inv ≫ SupportPullback.BundleCycles.conormalPrincipalChartInclusion I U r |
| 28 | have hi : IsOpenImmersion i := SupportPullback.BundleCycles.conormalPrincipalChartToSupport_isOpenImmersion I U r |
| 29 | have hj : IsOpenImmersion j := by |
| 30 | have := SupportPullback.BundleCycles.conormalPrincipalChartInclusion_isOpenImmersion I U r |
| 31 | exact IsOpenImmersion.comp e.inv (SupportPullback.BundleCycles.conormalPrincipalChartInclusion I U r) |
| 32 | refine ⟨B, i, ι, hι, j, hi, hj, ?_, ?_, hn⟩ |
| 33 | · have hq' : q ∈ Set.range (Spec.map (CommRingCat.ofHom |
| 34 | (algebraMap (Γ(X, U.1) ⧸ I.ideal U) (Localization.Away r)))) := by |
| 35 | have hRange : Set.range (Spec.map (CommRingCat.ofHom |
| 36 | (algebraMap (Γ(X, U.1) ⧸ I.ideal U) (Localization.Away r)))) = |
| 37 | (PrimeSpectrum.basicOpen r : Set (PrimeSpectrum (Γ(X, U.1) ⧸ I.ideal U))) := |
| 38 | PrimeSpectrum.localization_away_comap_range (Localization.Away r) r |
| 39 | exact (congrArg (fun A : Set (PrimeSpectrum (Γ(X, U.1) ⧸ I.ideal U)) => q ∈ A) hRange).mpr hr |
| 40 | obtain ⟨q', hq'⟩ := hq' |
| 41 | exact ⟨q', congrArg (Support.Projection.BundleCycles.supportCoefficientChart I U) hq'⟩ |
| 42 | · apply (SupportPullback.BundleCycles.conormalPrincipalChart_isPullback I U r).of_iso e (.refl _) (.refl _) (.refl _) |
| 43 | · exact (Category.comp_id _).trans he.symm |
| 44 | · change _ ≫ 𝟙 _ = e.hom ≫ (e.inv ≫ _) |
| 45 | rw [Category.comp_id, ← Category.assoc, e.hom_inv_id, Category.id_comp] |
| 46 | · simp only [Iso.refl_hom, Category.comp_id, Category.id_comp] |
| 47 | rfl |
| 48 | · simp only [Iso.refl_hom, Category.comp_id, Category.id_comp] |
| 49 | |
| 50 | end |
| 51 | |
| 52 | end OAI.AlgebraicGeometry.Divisors.LineBundles.Conormal.AffineSpaceRankChart.BundleCycles |