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.Deformation.Maps |
| 2 | import OAI.AlgebraicGeometry.Divisors.LineBundles.Deformation.FiniteType |
| 3 | import Mathlib.AlgebraicGeometry.Noetherian |
| 4 | import Mathlib.Algebra.MonoidAlgebra.NoZeroDivisors |
| 5 | |
| 6 | /-! # Closed Support -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.Divisors.LineBundles.Deformation.ClosedSupport.BundleCycles |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! |
| 13 | # LineBundleCycles: deformation of closed cycle supports |
| 14 | |
| 15 | A surjective base-ring homomorphism induces a surjection on extended Rees |
| 16 | algebras for the image ideal. Its spectrum is therefore an actual closed |
| 17 | immersion. In particular the deformation of a closed integral cycle support |
| 18 | embeds into the ambient deformation, rather than being supplied as abstract |
| 19 | data. |
| 20 | -/ |
| 21 | |
| 22 | open _root_.AlgebraicGeometry _root_.CategoryTheory |
| 23 | open scoped BigOperators |
| 24 | |
| 25 | universe u v |
| 26 | variable {R : Type u} {S : Type v} [CommRing R] [CommRing S] |
| 27 | |
| 28 | /-- Surjectivity on base rings gives surjectivity on the actual extended |
| 29 | Rees algebras, with the ideal replaced by its image. -/ |
| 30 | theorem deformationMap_surjective (I : Ideal R) (J : Ideal S) (f : R →+* S) |
| 31 | (hf : Function.Surjective f) (hJ : I.map f = J) (hIJ : I ≤ J.comap f) : |
| 32 | Function.Surjective (Maps.BundleCycles.deformationMap I J f hIJ) := by |
| 33 | classical |
| 34 | intro p |
| 35 | have hm (n : ℤ) : Iff.BundleCycles.deformationMonomial J n (p.val.coeff n) (p.property n) ∈ |
| 36 | (Maps.BundleCycles.deformationMap I J f hIJ).rangeS := by |
| 37 | have hc : p.val.coeff n ∈ (I ^ (-n).toNat).map f := by |
| 38 | rw [Ideal.map_pow, hJ] |
| 39 | exact p.property n |
| 40 | obtain ⟨r, hr, he⟩ := (Ideal.mem_map_iff_of_surjective f hf).mp hc |
| 41 | refine ⟨Iff.BundleCycles.deformationMonomial I n r hr, Subtype.ext ?_⟩ |
| 42 | change AddMonoidAlgebra.mapRingHom ℤ f (AddMonoidAlgebra.single n r) = |
| 43 | AddMonoidAlgebra.single n (p.val.coeff n) |
| 44 | rw [AddMonoidAlgebra.mapRingHom_single, he] |
| 45 | have he : p = ∑ n ∈ p.val.coeff.support, Iff.BundleCycles.deformationMonomial J n (p.val.coeff n) (p.property n) := by |
| 46 | apply Subtype.ext |
| 47 | change p.val = (Iff.BundleCycles.deformationAlgebra J).val |
| 48 | (∑ n ∈ p.val.coeff.support, Iff.BundleCycles.deformationMonomial J n (p.val.coeff n) (p.property n)) |
| 49 | rw [map_sum] |
| 50 | exact (AddMonoidAlgebra.sum_coeff_single p.val).symm |
| 51 | have hp : p ∈ (Maps.BundleCycles.deformationMap I J f hIJ).rangeS := by |
| 52 | rw [he] |
| 53 | exact Subsemiring.sum_mem _ fun n _ => hm n |
| 54 | exact hp |
| 55 | |
| 56 | /-- The actual spectrum of an affine deformation algebra. -/ |
| 57 | def affineDeformation (I : Ideal R) : Scheme := Spec (CommRingCat.of (Iff.BundleCycles.deformationAlgebra I)) |
| 58 | |
| 59 | /-- Deformation of the closed subscheme cut out by P, along the restricted center. -/ |
| 60 | def closedSupportDeformation (I P : Ideal R) : Scheme := |
| 61 | affineDeformation (I.map (Ideal.Quotient.mk P)) |
| 62 | |
| 63 | /-- The quotient on coefficients restricts to the deformation algebra. -/ |
| 64 | def closedSupportDeformationRingMap (I P : Ideal R) : |
| 65 | Iff.BundleCycles.deformationAlgebra I →+* Iff.BundleCycles.deformationAlgebra (I.map (Ideal.Quotient.mk P)) := |
| 66 | Maps.BundleCycles.deformationMap I _ (Ideal.Quotient.mk P) (fun _ hr => Ideal.mem_map_of_mem _ hr) |
| 67 | |
| 68 | theorem closedSupportDeformationRingMap_surjective (I P : Ideal R) : |
| 69 | Function.Surjective (closedSupportDeformationRingMap I P) := |
| 70 | deformationMap_surjective I _ (Ideal.Quotient.mk P) Ideal.Quotient.mk_surjective rfl _ |
| 71 | |
| 72 | /-- The deformation of a closed support is a closed subscheme of the ambient deformation. -/ |
| 73 | def closedSupportDeformationInclusion (I P : Ideal R) : |
| 74 | closedSupportDeformation I P ⟶ affineDeformation I := |
| 75 | Spec.map (CommRingCat.ofHom (closedSupportDeformationRingMap I P)) |
| 76 | |
| 77 | instance closedSupportDeformationInclusion_isClosedImmersion (I P : Ideal R) : |
| 78 | IsClosedImmersion (closedSupportDeformationInclusion I P) := |
| 79 | IsClosedImmersion.spec_of_surjective _ (closedSupportDeformationRingMap_surjective I P) |
| 80 | |
| 81 | /-- Its defining ideal consists exactly of Laurent polynomials with all |
| 82 | coefficients in the original support ideal P. -/ |
| 83 | theorem closedSupportDeformationRingMap_eq_zero_iff (I P : Ideal R) (p : Iff.BundleCycles.deformationAlgebra I) : |
| 84 | closedSupportDeformationRingMap I P p = 0 ↔ ∀ n, p.val.coeff n ∈ P := by |
| 85 | constructor |
| 86 | · intro h n |
| 87 | apply Ideal.Quotient.eq_zero_iff_mem.mp |
| 88 | exact congrArg (fun q : Iff.BundleCycles.deformationAlgebra (I.map (Ideal.Quotient.mk P)) => q.val.coeff n) h |
| 89 | · intro h |
| 90 | apply Subtype.ext |
| 91 | ext n |
| 92 | exact Ideal.Quotient.eq_zero_iff_mem.mpr (h n) |
| 93 | |
| 94 | instance affineDeformation_isIntegral (I : Ideal R) [IsDomain R] : IsIntegral (affineDeformation I) := by |
| 95 | exact inferInstanceAs (IsIntegral (Spec (CommRingCat.of (Iff.BundleCycles.deformationAlgebra I)))) |
| 96 | |
| 97 | instance affineDeformation_isNoetherian (I : Ideal R) [IsNoetherianRing R] : |
| 98 | AlgebraicGeometry.IsNoetherian (affineDeformation I) := by |
| 99 | exact inferInstanceAs (AlgebraicGeometry.IsNoetherian (Spec (CommRingCat.of (Iff.BundleCycles.deformationAlgebra I)))) |
| 100 | |
| 101 | instance closedSupportDeformation_isIntegral (I P : Ideal R) [P.IsPrime] : |
| 102 | IsIntegral (closedSupportDeformation I P) := by |
| 103 | exact affineDeformation_isIntegral (I.map (Ideal.Quotient.mk P)) |
| 104 | |
| 105 | instance closedSupportDeformation_isNoetherian (I P : Ideal R) [IsNoetherianRing R] : |
| 106 | AlgebraicGeometry.IsNoetherian (closedSupportDeformation I P) := |
| 107 | affineDeformation_isNoetherian (I.map (Ideal.Quotient.mk P)) |
| 108 | |
| 109 | end |
| 110 | |
| 111 | end OAI.AlgebraicGeometry.Divisors.LineBundles.Deformation.ClosedSupport.BundleCycles |