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.SymmetricInfinity.Kernel |
| 2 | import OAI.AlgebraicGeometry.Divisors.LineBundles.Projective.SurjectiveRange |
| 3 | import OAI.AlgebraicGeometry.Divisors.LineBundles.Symmetric.AffineCompactification |
| 4 | |
| 5 | /-! # Inclusion -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.Divisors.LineBundles.SymmetricInfinity.Inclusion.BundleCycles |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! The actual projective spectrum of the unaugmented module is the |
| 12 | closed hyperplane complementary to the affine compactification chart. -/ |
| 13 | |
| 14 | open _root_.AlgebraicGeometry _root_.CategoryTheory |
| 15 | |
| 16 | variable (R M : Type) [CommRing R] [AddCommGroup M] [Module R M] |
| 17 | |
| 18 | def symmetricInfinityInclusion : SymmetricProjective.Scheme.BundleCycles.symmetricProjectiveScheme R M ⟶ SymmetricProjective.Scheme.BundleCycles.symmetricProjectiveScheme R (R × M) := |
| 19 | SymmetricProjective.Scheme.BundleCycles.symmetricProjectiveMap (LinearMap.snd R R M) (fun m => ⟨(0, m), rfl⟩) |
| 20 | |
| 21 | instance symmetricInfinityInclusion_isClosedImmersion : IsClosedImmersion (symmetricInfinityInclusion R M) := |
| 22 | SymmetricProjective.ClosedImmersion.BundleCycles.symmetricProjectiveMap_isClosedImmersion (LinearMap.snd R R M) (fun m => ⟨(0, m), rfl⟩) |
| 23 | |
| 24 | theorem symmetricInfinityInclusion_range : |
| 25 | Set.range (symmetricInfinityInclusion R M) = |
| 26 | (↑(Symmetric.AffineCompactification.BundleCycles.symmetricAffineCompactification R M).opensRange : Set (SymmetricProjective.Scheme.BundleCycles.symmetricProjectiveScheme R (R × M)))ᶜ := by |
| 27 | change Set.range (Proj.map (Symmetric.GradedMap.BundleCycles.symmetricGradedMap (LinearMap.snd R R M)) _) = _ |
| 28 | rw [Projective.SurjectiveRange.BundleCycles.projectiveSurjective_range _ _ (SymmetricProjective.ClosedImmersion.BundleCycles.symmetricGradedMap_surjective (LinearMap.snd R R M) |
| 29 | (fun m => ⟨(0, m), rfl⟩)), Kernel.BundleCycles.symmetricInfinity_kernel, ProjectiveSpectrum.zeroLocus_span, |
| 30 | Symmetric.AffineCompactification.BundleCycles.symmetricAffineCompactification_opensRange] |
| 31 | exact ((congrArg Set.compl (ProjectiveSpectrum.basicOpen_eq_zeroLocus_compl |
| 32 | (Symmetric.Grading.BundleCycles.symmetricGrading R (R × M)) (Augmented.SymmetricChart.BundleCycles.augmentedSymmetricVariable R M))).trans (compl_compl _)).symm |
| 33 | |
| 34 | end |
| 35 | |
| 36 | end OAI.AlgebraicGeometry.Divisors.LineBundles.SymmetricInfinity.Inclusion.BundleCycles |