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.Symmetric.BasisAffineChart |
| 2 | import OAI.AlgebraicGeometry.Divisors.LineBundles.SymmetricInfinity.Inclusion |
| 3 | |
| 4 | /-! # Basis Hyperplane -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.Divisors.LineBundles.Symmetric.BasisHyperplane.BundleCycles |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Each basis affine chart has an actual closed complementary |
| 11 | projective hyperplane, obtained from the quotient by that basis coordinate. -/ |
| 12 | |
| 13 | open _root_.AlgebraicGeometry _root_.CategoryTheory |
| 14 | |
| 15 | variable {R M ι : Type} [CommRing R] [AddCommGroup M] [Module R M] [Fintype ι] |
| 16 | (b : Module.Basis ι R M) (i : ι) |
| 17 | |
| 18 | def symmetricBasisHyperplaneMap : |
| 19 | SymmetricProjective.Scheme.BundleCycles.symmetricProjectiveScheme R ({j : ι // j ≠ i} → R) ⟶ SymmetricProjective.Scheme.BundleCycles.symmetricProjectiveScheme R M := |
| 20 | SymmetricInfinity.Inclusion.BundleCycles.symmetricInfinityInclusion R ({j : ι // j ≠ i} → R) ≫ |
| 21 | (SymmetricProjective.Scheme.BundleCycles.symmetricProjectiveIso (BasisCoordinateSplit.BundleCycles.basisCoordinateSplit b i)).inv |
| 22 | |
| 23 | instance symmetricBasisHyperplaneMap_isClosedImmersion : |
| 24 | IsClosedImmersion (symmetricBasisHyperplaneMap b i) := by |
| 25 | unfold symmetricBasisHyperplaneMap |
| 26 | infer_instance |
| 27 | |
| 28 | theorem symmetricBasisHyperplaneMap_over : |
| 29 | symmetricBasisHyperplaneMap b i ≫ SymmetricProjective.Scheme.BundleCycles.symmetricProjectiveToBase R M = |
| 30 | SymmetricProjective.Scheme.BundleCycles.symmetricProjectiveToBase R ({j : ι // j ≠ i} → R) := by |
| 31 | change (SymmetricInfinity.Inclusion.BundleCycles.symmetricInfinityInclusion R ({j : ι // j ≠ i} → R) ≫ |
| 32 | SymmetricProjective.Scheme.BundleCycles.symmetricProjectiveMap (BasisCoordinateSplit.BundleCycles.basisCoordinateSplit b i).toLinearMap (BasisCoordinateSplit.BundleCycles.basisCoordinateSplit b i).surjective) ≫ _ = _ |
| 33 | rw [Category.assoc, SymmetricProjective.Base.BundleCycles.symmetricProjectiveMap_over] |
| 34 | exact SymmetricProjective.Base.BundleCycles.symmetricProjectiveMap_over (LinearMap.snd R R ({j : ι // j ≠ i} → R)) _ |
| 35 | |
| 36 | theorem symmetricBasisHyperplaneMap_range : |
| 37 | Set.range (symmetricBasisHyperplaneMap b i) = (Set.range (BasisAffineChart.BundleCycles.symmetricBasisAffineChartMap b i))ᶜ := by |
| 38 | classical |
| 39 | let e := SymmetricProjective.Scheme.BundleCycles.symmetricProjectiveIso (BasisCoordinateSplit.BundleCycles.basisCoordinateSplit b i) |
| 40 | have hj : Set.range (BasisAffineChart.BundleCycles.symmetricBasisAffineChartMap b i) = |
| 41 | e.inv '' Set.range (AffineCompactification.BundleCycles.symmetricAffineCompactification R ({j : ι // j ≠ i} → R)) := by |
| 42 | change (↑(BasisAffineChart.BundleCycles.symmetricBasisAffineChartMap b i).opensRange : Set (SymmetricProjective.Scheme.BundleCycles.symmetricProjectiveScheme R M)) = _ |
| 43 | unfold BasisAffineChart.BundleCycles.symmetricBasisAffineChartMap |
| 44 | rw [Scheme.Hom.opensRange_comp_of_isIso] |
| 45 | change Set.range (e.inv ∘ AffineCompactification.BundleCycles.symmetricAffineCompactification R ({j : ι // j ≠ i} → R)) = _ |
| 46 | exact Set.range_comp _ _ |
| 47 | change Set.range (e.inv ∘ SymmetricInfinity.Inclusion.BundleCycles.symmetricInfinityInclusion R ({j : ι // j ≠ i} → R)) = _ |
| 48 | rw [Set.range_comp, SymmetricInfinity.Inclusion.BundleCycles.symmetricInfinityInclusion_range, hj] |
| 49 | exact Set.image_compl_eq e.inv.homeomorph.bijective |
| 50 | |
| 51 | end |
| 52 | |
| 53 | end OAI.AlgebraicGeometry.Divisors.LineBundles.Symmetric.BasisHyperplane.BundleCycles |