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.SpecialFiber |
| 2 | |
| 3 | /-! # Maps -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.Divisors.LineBundles.Deformation.Maps.BundleCycles |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! |
| 10 | # LineBundleCycles: functoriality of affine deformation and its special fiber |
| 11 | |
| 12 | A homomorphism carrying I into J induces the coefficientwise maps on the |
| 13 | Rees and extended Rees algebras. The resulting normal-cone and special-fiber |
| 14 | maps commute with the canonical special-fiber identification. |
| 15 | -/ |
| 16 | |
| 17 | universe u v w |
| 18 | variable {R : Type u} {S : Type v} {A : Type w} |
| 19 | variable [CommRing R] [CommRing S] [CommRing A] |
| 20 | |
| 21 | theorem map_idealPower_mem (I : Ideal R) (J : Ideal S) (f : R →+* S) |
| 22 | (hf : I ≤ J.comap f) (n : ℕ) {r : R} (hr : r ∈ I ^ n) : f r ∈ J ^ n := by |
| 23 | have h := Ideal.mem_map_of_mem f hr |
| 24 | rw [Ideal.map_pow] at h |
| 25 | exact pow_le_pow_left' (Ideal.map_le_iff_le_comap.mpr hf) n h |
| 26 | |
| 27 | /-- Coefficientwise map of extended Rees algebras. -/ |
| 28 | def deformationMap (I : Ideal R) (J : Ideal S) (f : R →+* S) |
| 29 | (hf : I ≤ J.comap f) : Iff.BundleCycles.deformationAlgebra I →+* Iff.BundleCycles.deformationAlgebra J where |
| 30 | toFun p := ⟨AddMonoidAlgebra.mapRingHom ℤ f p.val, fun n => by |
| 31 | rw [AddMonoidAlgebra.coeff_mapRingHom] |
| 32 | exact map_idealPower_mem I J f hf _ (p.property n)⟩ |
| 33 | map_zero' := Subtype.ext (map_zero _) |
| 34 | map_one' := Subtype.ext (map_one _) |
| 35 | map_add' p q := Subtype.ext (map_add _ p.val q.val) |
| 36 | map_mul' p q := Subtype.ext (map_mul _ p.val q.val) |
| 37 | |
| 38 | @[simp] |
| 39 | theorem deformationMap_coeff (I : Ideal R) (J : Ideal S) (f : R →+* S) |
| 40 | (hf : I ≤ J.comap f) (p : Iff.BundleCycles.deformationAlgebra I) (n : ℤ) : |
| 41 | (deformationMap I J f hf p).val.coeff n = f (p.val.coeff n) := |
| 42 | AddMonoidAlgebra.coeff_mapRingHom f p.val n |
| 43 | |
| 44 | @[simp] |
| 45 | theorem deformationMap_parameter (I : Ideal R) (J : Ideal S) (f : R →+* S) |
| 46 | (hf : I ≤ J.comap f) : |
| 47 | deformationMap I J f hf (Iff.BundleCycles.deformationParameter I) = Iff.BundleCycles.deformationParameter J := by |
| 48 | apply Subtype.ext |
| 49 | change AddMonoidAlgebra.mapRingHom ℤ f (AddMonoidAlgebra.single 1 1) = |
| 50 | AddMonoidAlgebra.single 1 1 |
| 51 | rw [AddMonoidAlgebra.mapRingHom_single, map_one] |
| 52 | |
| 53 | theorem deformationMap_id (I : Ideal R) : |
| 54 | deformationMap I I (RingHom.id R) (by intro r hr; exact hr) = |
| 55 | RingHom.id (Iff.BundleCycles.deformationAlgebra I) := by |
| 56 | ext p n |
| 57 | exact deformationMap_coeff I I _ _ p n |
| 58 | |
| 59 | theorem deformationMap_comp (I : Ideal R) (J : Ideal S) (K : Ideal A) |
| 60 | (f : R →+* S) (g : S →+* A) (hf : I ≤ J.comap f) (hg : J ≤ K.comap g) : |
| 61 | (deformationMap J K g hg).comp (deformationMap I J f hf) = |
| 62 | deformationMap I K (g.comp f) (fun _r hr => hg (hf hr)) := by |
| 63 | ext p n |
| 64 | exact ((deformationMap_coeff J K g hg _ n).trans |
| 65 | (congrArg g (deformationMap_coeff I J f hf p n))).trans |
| 66 | (deformationMap_coeff I K (g.comp f) (fun _r hr => hg (hf hr)) p n).symm |
| 67 | |
| 68 | /-- Coefficientwise map of ordinary Rees algebras. -/ |
| 69 | def reesMap (I : Ideal R) (J : Ideal S) (f : R →+* S) |
| 70 | (hf : I ≤ J.comap f) : reesAlgebra I →+* reesAlgebra J where |
| 71 | toFun p := ⟨p.val.map f, fun n => by |
| 72 | rw [Polynomial.coeff_map] |
| 73 | exact map_idealPower_mem I J f hf n (p.property n)⟩ |
| 74 | map_zero' := Subtype.ext (map_zero (Polynomial.mapRingHom f)) |
| 75 | map_one' := Subtype.ext (map_one (Polynomial.mapRingHom f)) |
| 76 | map_add' p q := Subtype.ext (map_add (Polynomial.mapRingHom f) p.val q.val) |
| 77 | map_mul' p q := Subtype.ext (map_mul (Polynomial.mapRingHom f) p.val q.val) |
| 78 | |
| 79 | @[simp] |
| 80 | theorem reesMap_coeff (I : Ideal R) (J : Ideal S) (f : R →+* S) |
| 81 | (hf : I ≤ J.comap f) (p : reesAlgebra I) (n : ℕ) : |
| 82 | (reesMap I J f hf p).val.coeff n = f (p.val.coeff n) := Polynomial.coeff_map .. |
| 83 | |
| 84 | theorem reesMap_id (I : Ideal R) : |
| 85 | reesMap I I (RingHom.id R) (by intro r hr; exact hr) = RingHom.id (reesAlgebra I) := by |
| 86 | ext p n |
| 87 | exact reesMap_coeff I I _ _ p n |
| 88 | |
| 89 | theorem reesMap_comp (I : Ideal R) (J : Ideal S) (K : Ideal A) |
| 90 | (f : R →+* S) (g : S →+* A) (hf : I ≤ J.comap f) (hg : J ≤ K.comap g) : |
| 91 | (reesMap J K g hg).comp (reesMap I J f hf) = |
| 92 | reesMap I K (g.comp f) (fun _r hr => hg (hf hr)) := by |
| 93 | ext p n |
| 94 | exact ((reesMap_coeff J K g hg _ n).trans |
| 95 | (congrArg g (reesMap_coeff I J f hf p n))).trans |
| 96 | (reesMap_coeff I K (g.comp f) (fun _r hr => hg (hf hr)) p n).symm |
| 97 | |
| 98 | /-- Exponent reversal commutes with every coefficient homomorphism. -/ |
| 99 | theorem deformationMap_reesToDeformation (I : Ideal R) (J : Ideal S) (f : R →+* S) |
| 100 | (hf : I ≤ J.comap f) (p : reesAlgebra I) : |
| 101 | deformationMap I J f hf (Iff.BundleCycles.reesToDeformation I p) = |
| 102 | Iff.BundleCycles.reesToDeformation J (reesMap I J f hf p) := by |
| 103 | apply Subtype.ext |
| 104 | ext n |
| 105 | rw [deformationMap_coeff] |
| 106 | by_cases hn : n ≤ 0 |
| 107 | · have he : n = -((-n).toNat : ℤ) := by omega |
| 108 | rw [he, Iff.BundleCycles.reesToDeformation_coeff, Iff.BundleCycles.reesToDeformation_coeff, reesMap_coeff] |
| 109 | · rw [Iff.BundleCycles.reesToDeformation_coeff_pos I p n (by omega), map_zero, |
| 110 | Iff.BundleCycles.reesToDeformation_coeff_pos J _ n (by omega)] |
| 111 | |
| 112 | theorem reesMap_normalConeIdeal (I : Ideal R) (J : Ideal S) (f : R →+* S) |
| 113 | (hf : I ≤ J.comap f) : Normal.Cone.BundleCycles.normalConeIdeal I ≤ (Normal.Cone.BundleCycles.normalConeIdeal J).comap (reesMap I J f hf) := by |
| 114 | intro p hp |
| 115 | rw [Ideal.mem_comap, ReesCoefficients.BundleCycles.mem_normalConeIdeal_iff] |
| 116 | intro n |
| 117 | rw [reesMap_coeff] |
| 118 | exact map_idealPower_mem I J f hf _ ((ReesCoefficients.BundleCycles.mem_normalConeIdeal_iff I p).mp hp n) |
| 119 | |
| 120 | /-- The induced homomorphism of actual normal-cone rings. -/ |
| 121 | def normalConeMap (I : Ideal R) (J : Ideal S) (f : R →+* S) (hf : I ≤ J.comap f) : |
| 122 | Normal.Cone.BundleCycles.NormalConeRing I →+* Normal.Cone.BundleCycles.NormalConeRing J := |
| 123 | Ideal.quotientMap (Normal.Cone.BundleCycles.normalConeIdeal J) (reesMap I J f hf) |
| 124 | (reesMap_normalConeIdeal I J f hf) |
| 125 | |
| 126 | theorem deformationMap_specialIdeal (I : Ideal R) (J : Ideal S) (f : R →+* S) |
| 127 | (hf : I ≤ J.comap f) : |
| 128 | Iff.BundleCycles.deformationSpecialIdeal I ≤ (Iff.BundleCycles.deformationSpecialIdeal J).comap (deformationMap I J f hf) := by |
| 129 | intro p hp |
| 130 | rw [Ideal.mem_comap, Iff.BundleCycles.mem_deformationSpecialIdeal_iff] |
| 131 | intro n |
| 132 | rw [deformationMap_coeff] |
| 133 | exact map_idealPower_mem I J f hf _ ((Iff.BundleCycles.mem_deformationSpecialIdeal_iff I p).mp hp n) |
| 134 | |
| 135 | /-- The induced homomorphism of closed deformation fibers. -/ |
| 136 | def deformationSpecialMap (I : Ideal R) (J : Ideal S) (f : R →+* S) |
| 137 | (hf : I ≤ J.comap f) : SpecialFiber.BundleCycles.DeformationSpecialRing I →+* SpecialFiber.BundleCycles.DeformationSpecialRing J := |
| 138 | Ideal.quotientMap (Iff.BundleCycles.deformationSpecialIdeal J) (deformationMap I J f hf) |
| 139 | (deformationMap_specialIdeal I J f hf) |
| 140 | |
| 141 | /-- Naturality of the canonical identification of the special fiber. -/ |
| 142 | theorem normalConeSpecialFiberEquiv_natural (I : Ideal R) (J : Ideal S) (f : R →+* S) |
| 143 | (hf : I ≤ J.comap f) (x : Normal.Cone.BundleCycles.NormalConeRing I) : |
| 144 | deformationSpecialMap I J f hf (SpecialFiber.BundleCycles.normalConeSpecialFiberEquiv I x) = |
| 145 | SpecialFiber.BundleCycles.normalConeSpecialFiberEquiv J (normalConeMap I J f hf x) := by |
| 146 | obtain ⟨p, rfl⟩ := Ideal.Quotient.mk_surjective x |
| 147 | rw [SpecialFiber.BundleCycles.normalConeSpecialFiberEquiv_mk] |
| 148 | change Ideal.Quotient.mk (Iff.BundleCycles.deformationSpecialIdeal J) |
| 149 | (deformationMap I J f hf (Iff.BundleCycles.reesToDeformation I p)) = |
| 150 | SpecialFiber.BundleCycles.normalConeSpecialFiberEquiv J |
| 151 | (Ideal.Quotient.mk (Normal.Cone.BundleCycles.normalConeIdeal J) (reesMap I J f hf p)) |
| 152 | rw [SpecialFiber.BundleCycles.normalConeSpecialFiberEquiv_mk, deformationMap_reesToDeformation] |
| 153 | |
| 154 | @[simp] |
| 155 | theorem deformationMap_algebraMap (I : Ideal R) (J : Ideal S) (f : R →+* S) |
| 156 | (hf : I ≤ J.comap f) (r : R) : |
| 157 | deformationMap I J f hf (algebraMap R (Iff.BundleCycles.deformationAlgebra I) r) = |
| 158 | algebraMap S (Iff.BundleCycles.deformationAlgebra J) (f r) := by |
| 159 | apply Subtype.ext |
| 160 | exact AddMonoidAlgebra.mapRingHom_single f 0 r |
| 161 | |
| 162 | @[simp] |
| 163 | theorem deformationMap_monomial (I : Ideal R) (J : Ideal S) (f : R →+* S) |
| 164 | (hf : I ≤ J.comap f) (n : ℤ) (r : R) (hr : r ∈ I ^ (-n).toNat) : |
| 165 | deformationMap I J f hf (Iff.BundleCycles.deformationMonomial I n r hr) = |
| 166 | Iff.BundleCycles.deformationMonomial J n (f r) (map_idealPower_mem I J f hf _ hr) := by |
| 167 | apply Subtype.ext |
| 168 | exact AddMonoidAlgebra.mapRingHom_single f n r |
| 169 | |
| 170 | end |
| 171 | |
| 172 | end OAI.AlgebraicGeometry.Divisors.LineBundles.Deformation.Maps.BundleCycles |