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.Affine.SectionChartDeformation |
| 2 | import OAI.AlgebraicGeometry.Divisors.LineBundles.Global.PuncturedLaurentChart |
| 3 | |
| 4 | /-! # Deformation Chart Smooth -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.Divisors.LineBundles.Section.DeformationChartSmooth.BundleCycles |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The actual global deformation chart over a compatible smooth-section |
| 11 | neighborhood is smooth over the section's base scheme. -/ |
| 12 | |
| 13 | open _root_.AlgebraicGeometry _root_.CategoryTheory |
| 14 | |
| 15 | theorem sectionDeformationChart_smooth {X Y : Scheme.{0}} |
| 16 | [IsLocallyNoetherian X] [IsLocallyNoetherian Y] |
| 17 | (p : Y ⟶ X) [Smooth p] (s : X ⟶ Y) [IsClosedImmersion s] (hs : s ≫ p = 𝟙 X) |
| 18 | (U : Y.Opens) (V : X.Opens) (hUaff : IsAffineOpen U) (hVaff : IsAffineOpen V) |
| 19 | (hV : V ≤ s ⁻¹ᵁ U) (hU : U ≤ p ⁻¹ᵁ V) : |
| 20 | Smooth ((Global.Deformation.BundleCycles.globalDeformationCover s.ker).f ⟨U, hUaff⟩ ≫ |
| 21 | (Global.Deformation.BundleCycles.globalDeformationProjection s.ker ≫ p)) := by |
| 22 | let := (p.appLE V U hU).hom.toAlgebra |
| 23 | let I := s.ker.ideal ⟨U, hUaff⟩ |
| 24 | let : Algebra.Smooth Γ(X, V) (Deformation.Iff.BundleCycles.deformationAlgebra I) := |
| 25 | Affine.SectionChartDeformation.BundleCycles.affineSectionChart_deformation_smooth p s hs U V hUaff hVaff hV hU |
| 26 | let a : Γ(X, V) ⟶ CommRingCat.of (Deformation.Iff.BundleCycles.deformationAlgebra I) := |
| 27 | CommRingCat.ofHom (algebraMap Γ(X, V) (Deformation.Iff.BundleCycles.deformationAlgebra I)) |
| 28 | let ha : Smooth (Spec.map a) := |
| 29 | (HasRingHomProperty.Spec_iff (P := @Smooth)).mpr (RingHom.smooth_algebraMap.mpr inferInstance) |
| 30 | have hmap : p.appLE V U hU ≫ |
| 31 | CommRingCat.ofHom (algebraMap Γ(Y, U) (Deformation.Iff.BundleCycles.deformationAlgebra I)) = a := by |
| 32 | apply CommRingCat.hom_ext |
| 33 | exact (IsScalarTower.algebraMap_eq Γ(X, V) Γ(Y, U) (Deformation.Iff.BundleCycles.deformationAlgebra I)).symm |
| 34 | have he : (Global.Deformation.BundleCycles.globalDeformationCover s.ker).f ⟨U, hUaff⟩ ≫ |
| 35 | (Global.Deformation.BundleCycles.globalDeformationProjection s.ker ≫ p) = Spec.map a ≫ hVaff.fromSpec := by |
| 36 | have hc := Global.PuncturedLaurentChart.BundleCycles.globalDeformationChart_toBase s.ker (⟨U, hUaff⟩ : Y.AffineZariskiSite) |
| 37 | rw [← Category.assoc] |
| 38 | calc |
| 39 | _ = (Spec.map (CommRingCat.ofHom (algebraMap Γ(Y, U) (Deformation.Iff.BundleCycles.deformationAlgebra I))) ≫ |
| 40 | hUaff.fromSpec) ≫ p := congrArg (fun k => k ≫ p) hc |
| 41 | _ = Spec.map a ≫ hVaff.fromSpec := by |
| 42 | rw [Category.assoc, |
| 43 | ← IsAffineOpen.SpecMap_appLE_fromSpec p hVaff hUaff hU, |
| 44 | ← Category.assoc, ← Spec.map_comp, hmap] |
| 45 | rw [he] |
| 46 | have hv : Smooth hVaff.fromSpec := inferInstance |
| 47 | exact @AlgebraicGeometry.smooth_comp _ _ (Spec.map a) _ hVaff.fromSpec ha hv |
| 48 | |
| 49 | end |
| 50 | |
| 51 | end OAI.AlgebraicGeometry.Divisors.LineBundles.Section.DeformationChartSmooth.BundleCycles |