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.NumberTheory.PadicHodge.IntegralComparison.DividedPower.Transfer |
| 2 | |
| 3 | /-! # Power Envelope -/ |
| 4 | |
| 5 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.DividedPower.PowerEnvelope |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! |
| 10 | # IntegralComparison: a universal divided-power envelope |
| 11 | |
| 12 | The construction uses finite expressions in ring operations and divided |
| 13 | powers of ideal expressions. Equality means equality under every compatible |
| 14 | evaluation into a divided-power ring. The expression set bounds the size |
| 15 | of the resulting ring; no universal envelope is assumed as an interface. |
| 16 | -/ |
| 17 | |
| 18 | universe u |
| 19 | |
| 20 | mutual |
| 21 | inductive Expression (B : Type u) [CommRing B] (I : Ideal B) : Type u |
| 22 | | constant : B → Expression B I |
| 23 | | add : Expression B I → Expression B I → Expression B I |
| 24 | | neg : Expression B I → Expression B I |
| 25 | | mul : Expression B I → Expression B I → Expression B I |
| 26 | | ideal : IdealExpression B I → Expression B I |
| 27 | |
| 28 | inductive IdealExpression (B : Type u) [CommRing B] (I : Ideal B) : Type u |
| 29 | | base : I → IdealExpression B I |
| 30 | | add : IdealExpression B I → IdealExpression B I → IdealExpression B I |
| 31 | | neg : IdealExpression B I → IdealExpression B I |
| 32 | | mul : Expression B I → IdealExpression B I → IdealExpression B I |
| 33 | | dpow : (n : ℕ) → n ≠ 0 → IdealExpression B I → IdealExpression B I |
| 34 | end |
| 35 | |
| 36 | variable (A B : Type u) [CommRing A] [CommRing B] |
| 37 | variable (J : Ideal A) (δ : DividedPowers J) (f : A →+* B) (I : Ideal B) |
| 38 | |
| 39 | /-- A compatible target for the relative divided-power envelope. -/ |
| 40 | structure Target where |
| 41 | ring : Type u |
| 42 | [commRing : CommRing ring] |
| 43 | ideal : Ideal ring |
| 44 | dividedPowers : DividedPowers ideal |
| 45 | fromBase : B →+* ring |
| 46 | mapsIdeal : I ≤ ideal.comap fromBase |
| 47 | baseCompatible : DividedPowers.IsDPMorphism δ dividedPowers (fromBase.comp f) |
| 48 | |
| 49 | attribute [instance] Target.commRing |
| 50 | |
| 51 | variable {A B J δ f I} |
| 52 | |
| 53 | mutual |
| 54 | def evaluate (M : Target A B J δ f I) : Expression B I → M.ring |
| 55 | | .constant b => M.fromBase b |
| 56 | | .add x y => evaluate M x + evaluate M y |
| 57 | | .neg x => -evaluate M x |
| 58 | | .mul x y => evaluate M x * evaluate M y |
| 59 | | .ideal x => evaluateIdeal M x |
| 60 | |
| 61 | def evaluateIdeal (M : Target A B J δ f I) : IdealExpression B I → M.ring |
| 62 | | .base b => M.fromBase b |
| 63 | | .add x y => evaluateIdeal M x + evaluateIdeal M y |
| 64 | | .neg x => -evaluateIdeal M x |
| 65 | | .mul x y => evaluate M x * evaluateIdeal M y |
| 66 | | .dpow n _ x => M.dividedPowers.dpow n (evaluateIdeal M x) |
| 67 | end |
| 68 | |
| 69 | lemma evaluateIdeal_mem (M : Target A B J δ f I) : |
| 70 | ∀ x : IdealExpression B I, evaluateIdeal M x ∈ M.ideal |
| 71 | | .base b => M.mapsIdeal b.property |
| 72 | | .add x y => M.ideal.add_mem (evaluateIdeal_mem M x) (evaluateIdeal_mem M y) |
| 73 | | .neg x => M.ideal.neg_mem (evaluateIdeal_mem M x) |
| 74 | | .mul x y => M.ideal.mul_mem_left (evaluate M x) (evaluateIdeal_mem M y) |
| 75 | | .dpow _n hn x => M.dividedPowers.dpow_mem hn (evaluateIdeal_mem M x) |
| 76 | |
| 77 | variable (A B J δ f I) |
| 78 | |
| 79 | abbrev Evaluations := ∀ M : Target A B J δ f I, M.ring |
| 80 | |
| 81 | def value (x : Expression B I) : Evaluations A B J δ f I := |
| 82 | fun M => evaluate M x |
| 83 | |
| 84 | /-- The subring consisting of evaluations of finite expressions. -/ |
| 85 | def expressionRing : Subring (Evaluations A B J δ f I) where |
| 86 | carrier := Set.range (value A B J δ f I) |
| 87 | zero_mem' := ⟨.constant 0, funext fun M => map_zero M.fromBase⟩ |
| 88 | one_mem' := ⟨.constant 1, funext fun M => map_one M.fromBase⟩ |
| 89 | add_mem' := by |
| 90 | rintro _ _ ⟨x, rfl⟩ ⟨y, rfl⟩ |
| 91 | exact ⟨.add x y, rfl⟩ |
| 92 | neg_mem' := by |
| 93 | rintro _ ⟨x, rfl⟩ |
| 94 | exact ⟨.neg x, rfl⟩ |
| 95 | mul_mem' := by |
| 96 | rintro _ _ ⟨x, rfl⟩ ⟨y, rfl⟩ |
| 97 | exact ⟨.mul x y, rfl⟩ |
| 98 | |
| 99 | def element (x : Expression B I) : expressionRing A B J δ f I := |
| 100 | ⟨value A B J δ f I x, x, rfl⟩ |
| 101 | |
| 102 | lemma element_surjective : Function.Surjective (element A B J δ f I) := by |
| 103 | intro x |
| 104 | obtain ⟨e, he⟩ := x.property |
| 105 | exact ⟨e, Subtype.ext he⟩ |
| 106 | |
| 107 | instance expressionRing_small : Small.{u} (expressionRing A B J δ f I) := |
| 108 | small_of_surjective (element_surjective A B J δ f I) |
| 109 | |
| 110 | /-- Evaluation at each target, as an actual ring homomorphism. -/ |
| 111 | def evaluation (M : Target A B J δ f I) : expressionRing A B J δ f I →+* M.ring := |
| 112 | (Pi.evalRingHom (fun M : Target A B J δ f I => M.ring) M).comp |
| 113 | (expressionRing A B J δ f I).subtype |
| 114 | |
| 115 | lemma evaluations_separate (x y : expressionRing A B J δ f I) |
| 116 | (h : ∀ M, evaluation A B J δ f I M x = evaluation A B J δ f I M y) : x = y := |
| 117 | Subtype.ext (funext h) |
| 118 | |
| 119 | /-- The original ring maps to the constant expressions. -/ |
| 120 | def fromBase : B →+* expressionRing A B J δ f I where |
| 121 | toFun b := element A B J δ f I (.constant b) |
| 122 | map_zero' := by apply evaluations_separate; intro M; exact map_zero M.fromBase |
| 123 | map_one' := by apply evaluations_separate; intro M; exact map_one M.fromBase |
| 124 | map_add' b c := by apply evaluations_separate; intro M; exact map_add M.fromBase b c |
| 125 | map_mul' b c := by apply evaluations_separate; intro M; exact map_mul M.fromBase b c |
| 126 | |
| 127 | /-- The ideal consists of the values of ideal expressions. -/ |
| 128 | def expressionIdeal : Ideal (expressionRing A B J δ f I) where |
| 129 | carrier := Set.range (fun x : IdealExpression B I => element A B J δ f I (.ideal x)) |
| 130 | zero_mem' := by |
| 131 | refine ⟨.base ⟨0, I.zero_mem⟩, ?_⟩ |
| 132 | apply evaluations_separate |
| 133 | intro M |
| 134 | exact map_zero M.fromBase |
| 135 | add_mem' := by |
| 136 | rintro _ _ ⟨x, rfl⟩ ⟨y, rfl⟩ |
| 137 | exact ⟨.add x y, rfl⟩ |
| 138 | smul_mem' := by |
| 139 | rintro x _ ⟨y, rfl⟩ |
| 140 | obtain ⟨e, rfl⟩ := element_surjective A B J δ f I x |
| 141 | exact ⟨.mul e y, rfl⟩ |
| 142 | |
| 143 | lemma evaluation_mapsIdeal (M : Target A B J δ f I) : |
| 144 | expressionIdeal A B J δ f I ≤ M.ideal.comap (evaluation A B J δ f I M) := by |
| 145 | rintro _ ⟨x, rfl⟩ |
| 146 | exact evaluateIdeal_mem M x |
| 147 | |
| 148 | lemma dividedPower_preimage (n : ℕ) {x : expressionRing A B J δ f I} |
| 149 | (hx : x ∈ expressionIdeal A B J δ f I) : |
| 150 | ∃ y : expressionRing A B J δ f I, |
| 151 | (n ≠ 0 → y ∈ expressionIdeal A B J δ f I) ∧ |
| 152 | ∀ M, evaluation A B J δ f I M y = |
| 153 | M.dividedPowers.dpow n (evaluation A B J δ f I M x) := by |
| 154 | obtain ⟨e, rfl⟩ := hx |
| 155 | by_cases hn : n = 0 |
| 156 | · subst n |
| 157 | refine ⟨1, by simp, ?_⟩ |
| 158 | intro M |
| 159 | exact (M.dividedPowers.dpow_zero (evaluateIdeal_mem M e)).symm |
| 160 | · refine ⟨element A B J δ f I (.ideal (.dpow n hn e)), ?_, fun _ => rfl⟩ |
| 161 | exact fun _ => ⟨.dpow n hn e, rfl⟩ |
| 162 | |
| 163 | /-- Divided powers on the expression ideal, proved by all target evaluations. -/ |
| 164 | def expressionDividedPowers : DividedPowers (expressionIdeal A B J δ f I) := |
| 165 | Transfer.dividedPowers |
| 166 | (expressionIdeal A B J δ f I) |
| 167 | (fun M : Target A B J δ f I => M.ideal) (fun M : Target A B J δ f I => M.dividedPowers) |
| 168 | (evaluation A B J δ f I) (evaluations_separate A B J δ f I) |
| 169 | (evaluation_mapsIdeal A B J δ f I) (dividedPower_preimage A B J δ f I) |
| 170 | |
| 171 | lemma evaluation_dpow (M : Target A B J δ f I) (n : ℕ) |
| 172 | {x : expressionRing A B J δ f I} (hx : x ∈ expressionIdeal A B J δ f I) : |
| 173 | evaluation A B J δ f I M ((expressionDividedPowers A B J δ f I).dpow n x) = |
| 174 | M.dividedPowers.dpow n (evaluation A B J δ f I M x) := |
| 175 | Transfer.dividedPowers_map |
| 176 | (expressionIdeal A B J δ f I) |
| 177 | (fun M : Target A B J δ f I => M.ideal) (fun M : Target A B J δ f I => M.dividedPowers) |
| 178 | (evaluation A B J δ f I) (evaluations_separate A B J δ f I) |
| 179 | (evaluation_mapsIdeal A B J δ f I) (dividedPower_preimage A B J δ f I) n hx M |
| 180 | |
| 181 | /-- Every compatible target receives an actual divided-power morphism. -/ |
| 182 | def evaluationDP (M : Target A B J δ f I) : |
| 183 | DividedPowers.DPMorphism (expressionDividedPowers A B J δ f I) M.dividedPowers where |
| 184 | toRingHom := evaluation A B J δ f I M |
| 185 | ideal_comp := Ideal.map_le_iff_le_comap.mpr (evaluation_mapsIdeal A B J δ f I M) |
| 186 | dpow_comp _ hx := (evaluation_dpow A B J δ f I M _ hx).symm |
| 187 | |
| 188 | lemma fromBase_mapsIdeal : I ≤ (expressionIdeal A B J δ f I).comap (fromBase A B J δ f I) := |
| 189 | fun x hx => ⟨.base ⟨x, hx⟩, rfl⟩ |
| 190 | |
| 191 | lemma expression_baseCompatible (hf : J ≤ I.comap f) : |
| 192 | DividedPowers.IsDPMorphism δ (expressionDividedPowers A B J δ f I) |
| 193 | ((fromBase A B J δ f I).comp f) := by |
| 194 | refine ⟨Ideal.map_le_iff_le_comap.mpr (fun x hx => ?_), ?_⟩ |
| 195 | · exact fromBase_mapsIdeal A B J δ f I (hf hx) |
| 196 | · intro n x hx |
| 197 | apply evaluations_separate |
| 198 | intro M |
| 199 | simp only [RingHom.comp_apply] |
| 200 | rw [evaluation_dpow A B J δ f I M n (fromBase_mapsIdeal A B J δ f I (hf hx))] |
| 201 | exact M.baseCompatible.2 x hx |
| 202 | |
| 203 | lemma dpow_idealElement (n : ℕ) (hn : n ≠ 0) (e : IdealExpression B I) : |
| 204 | (expressionDividedPowers A B J δ f I).dpow n (element A B J δ f I (.ideal e)) = |
| 205 | element A B J δ f I (.ideal (.dpow n hn e)) := by |
| 206 | apply evaluations_separate |
| 207 | intro M |
| 208 | exact evaluation_dpow A B J δ f I M n ⟨e, rfl⟩ |
| 209 | |
| 210 | section UniversalProperty |
| 211 | |
| 212 | variable (M : Target A B J δ f I) (g : expressionRing A B J δ f I →+* M.ring) |
| 213 | variable (hg : DividedPowers.IsDPMorphism (expressionDividedPowers A B J δ f I) |
| 214 | M.dividedPowers g) |
| 215 | variable (hbase : g.comp (fromBase A B J δ f I) = M.fromBase) |
| 216 | |
| 217 | mutual |
| 218 | private theorem hom_element (hg : DividedPowers.IsDPMorphism (expressionDividedPowers A B J δ f I) |
| 219 | M.dividedPowers g) (hbase : g.comp (fromBase A B J δ f I) = M.fromBase) : ∀ e : Expression B I, |
| 220 | g (element A B J δ f I e) = evaluate M e |
| 221 | | .constant b => DFunLike.congr_fun hbase b |
| 222 | | .add x y => by |
| 223 | change g (element A B J δ f I x + element A B J δ f I y) = _ |
| 224 | rw [map_add, hom_element hg hbase x, |
| 225 | hom_element hg hbase y] |
| 226 | rfl |
| 227 | | .neg x => by |
| 228 | change g (-element A B J δ f I x) = _ |
| 229 | rw [map_neg, hom_element hg hbase x] |
| 230 | rfl |
| 231 | | .mul x y => by |
| 232 | change g (element A B J δ f I x * element A B J δ f I y) = _ |
| 233 | rw [map_mul, hom_element hg hbase x, |
| 234 | hom_element hg hbase y] |
| 235 | rfl |
| 236 | | .ideal e => hom_idealElement hg hbase e |
| 237 | |
| 238 | private theorem hom_idealElement (hg : DividedPowers.IsDPMorphism (expressionDividedPowers A B J δ f I) |
| 239 | M.dividedPowers g) (hbase : g.comp (fromBase A B J δ f I) = M.fromBase) : ∀ e : IdealExpression B I, |
| 240 | g (element A B J δ f I (.ideal e)) = evaluateIdeal M e |
| 241 | | .base b => DFunLike.congr_fun hbase b.val |
| 242 | | .add x y => by |
| 243 | change g (element A B J δ f I (.ideal x) + element A B J δ f I (.ideal y)) = _ |
| 244 | rw [map_add, hom_idealElement hg hbase x, |
| 245 | hom_idealElement hg hbase y] |
| 246 | rfl |
| 247 | | .neg x => by |
| 248 | change g (-element A B J δ f I (.ideal x)) = _ |
| 249 | rw [map_neg, hom_idealElement hg hbase x] |
| 250 | rfl |
| 251 | | .mul x y => by |
| 252 | change g (element A B J δ f I x * element A B J δ f I (.ideal y)) = _ |
| 253 | rw [map_mul, hom_element hg hbase x, |
| 254 | hom_idealElement hg hbase y] |
| 255 | rfl |
| 256 | | .dpow n hn x => by |
| 257 | rw [← dpow_idealElement A B J δ f I n hn x, ← hg.2 _ ⟨x, rfl⟩, |
| 258 | hom_idealElement hg hbase x] |
| 259 | rfl |
| 260 | end |
| 261 | |
| 262 | include hg hbase |
| 263 | |
| 264 | /-- Uniqueness of the morphism to each compatible divided-power ring. -/ |
| 265 | lemma evaluation_unique : g = evaluation A B J δ f I M := by |
| 266 | ext x |
| 267 | obtain ⟨e, rfl⟩ := element_surjective A B J δ f I x |
| 268 | exact hom_element A B J δ f I M g hg hbase e |
| 269 | |
| 270 | end UniversalProperty |
| 271 | |
| 272 | /-- A small coordinate ring for the divided-power envelope. -/ |
| 273 | def Envelope := Shrink.{u} (expressionRing A B J δ f I) |
| 274 | |
| 275 | /-- Use one ring instance on the envelope, so its ideals, quotient rings, |
| 276 | and divided powers all use the same inherited operations. -/ |
| 277 | instance envelopeCommRing : CommRing (Envelope A B J δ f I) := |
| 278 | inferInstanceAs (CommRing (Shrink.{u} (expressionRing A B J δ f I))) |
| 279 | |
| 280 | def envelopeEquiv : Envelope A B J δ f I ≃+* expressionRing A B J δ f I := |
| 281 | Shrink.ringEquiv _ |
| 282 | |
| 283 | def envelopeIdeal : Ideal (Envelope A B J δ f I) := |
| 284 | (expressionIdeal A B J δ f I).map (envelopeEquiv A B J δ f I).symm.toRingHom |
| 285 | |
| 286 | def envelopeDividedPowers : DividedPowers (envelopeIdeal A B J δ f I) := |
| 287 | DividedPowers.ofRingEquiv |
| 288 | (e := (envelopeEquiv A B J δ f I).symm) rfl (expressionDividedPowers A B J δ f I) |
| 289 | |
| 290 | def toEnvelope : B →+* Envelope A B J δ f I := |
| 291 | (envelopeEquiv A B J δ f I).symm.toRingHom.comp (fromBase A B J δ f I) |
| 292 | |
| 293 | lemma toEnvelope_mapsIdeal : I ≤ (envelopeIdeal A B J δ f I).comap (toEnvelope A B J δ f I) := |
| 294 | fun _x hx => Ideal.mem_map_of_mem _ (fromBase_mapsIdeal A B J δ f I hx) |
| 295 | |
| 296 | private def shrinkDP : DividedPowers.DPMorphism |
| 297 | (expressionDividedPowers A B J δ f I) (envelopeDividedPowers A B J δ f I) where |
| 298 | toRingHom := (envelopeEquiv A B J δ f I).symm.toRingHom |
| 299 | ideal_comp := le_rfl |
| 300 | dpow_comp _ _ := DividedPowers.ofRingEquiv_dpow_apply _ _ |
| 301 | |
| 302 | /-- The constructed envelope is a compatible target, with its ring in the |
| 303 | same universe as the input rings. -/ |
| 304 | def envelopeTarget (hf : J ≤ I.comap f) : Target A B J δ f I where |
| 305 | ring := Envelope A B J δ f I |
| 306 | ideal := envelopeIdeal A B J δ f I |
| 307 | dividedPowers := envelopeDividedPowers A B J δ f I |
| 308 | fromBase := toEnvelope A B J δ f I |
| 309 | mapsIdeal := toEnvelope_mapsIdeal A B J δ f I |
| 310 | baseCompatible := (shrinkDP A B J δ f I).isDPMorphism.comp _ |
| 311 | (expression_baseCompatible A B J δ f I hf) |
| 312 | |
| 313 | private def unshrinkDP : DividedPowers.DPMorphism |
| 314 | (envelopeDividedPowers A B J δ f I) (expressionDividedPowers A B J δ f I) where |
| 315 | toRingHom := (envelopeEquiv A B J δ f I).toRingHom |
| 316 | ideal_comp := by |
| 317 | apply Ideal.map_le_iff_le_comap.mpr |
| 318 | intro x hx |
| 319 | obtain ⟨y, hy, rfl⟩ := |
| 320 | (Ideal.mem_map_iff_of_surjective _ (envelopeEquiv A B J δ f I).symm.surjective).mp hx |
| 321 | change (envelopeEquiv A B J δ f I) ((envelopeEquiv A B J δ f I).symm y) ∈ |
| 322 | expressionIdeal A B J δ f I |
| 323 | simpa only [RingEquiv.apply_symm_apply] using hy |
| 324 | dpow_comp x _ := by |
| 325 | change (expressionDividedPowers A B J δ f I).dpow _ ((envelopeEquiv A B J δ f I) x) = |
| 326 | (envelopeEquiv A B J δ f I) ((envelopeEquiv A B J δ f I).symm |
| 327 | ((expressionDividedPowers A B J δ f I).dpow _ ((envelopeEquiv A B J δ f I) x))) |
| 328 | exact ((envelopeEquiv A B J δ f I).apply_symm_apply _).symm |
| 329 | |
| 330 | /-- The universal map from the small divided-power envelope to a target. -/ |
| 331 | def lift (M : Target A B J δ f I) : |
| 332 | DividedPowers.DPMorphism (envelopeDividedPowers A B J δ f I) M.dividedPowers := |
| 333 | (evaluationDP A B J δ f I M).comp (unshrinkDP A B J δ f I) |
| 334 | |
| 335 | lemma lift_fromBase (M : Target A B J δ f I) : |
| 336 | (lift A B J δ f I M).toRingHom.comp (toEnvelope A B J δ f I) = M.fromBase := by |
| 337 | ext b |
| 338 | change evaluation A B J δ f I M ((envelopeEquiv A B J δ f I) |
| 339 | ((envelopeEquiv A B J δ f I).symm (fromBase A B J δ f I b))) = M.fromBase b |
| 340 | rw [RingEquiv.apply_symm_apply] |
| 341 | rfl |
| 342 | |
| 343 | lemma lift_unique (M : Target A B J δ f I) |
| 344 | (g : DividedPowers.DPMorphism (envelopeDividedPowers A B J δ f I) M.dividedPowers) |
| 345 | (hbase : g.toRingHom.comp (toEnvelope A B J δ f I) = M.fromBase) : |
| 346 | g = lift A B J δ f I M := by |
| 347 | have h := evaluation_unique A B J δ f I M |
| 348 | (g.toRingHom.comp (envelopeEquiv A B J δ f I).symm.toRingHom) |
| 349 | (g.isDPMorphism.comp _ (shrinkDP A B J δ f I).isDPMorphism) hbase |
| 350 | apply DFunLike.ext |
| 351 | intro x |
| 352 | obtain ⟨y, rfl⟩ := (envelopeEquiv A B J δ f I).symm.surjective x |
| 353 | have hy := DFunLike.congr_fun h y |
| 354 | change g ((envelopeEquiv A B J δ f I).symm y) = evaluation A B J δ f I M |
| 355 | ((envelopeEquiv A B J δ f I) ((envelopeEquiv A B J δ f I).symm y)) |
| 356 | rw [RingEquiv.apply_symm_apply] |
| 357 | exact hy |
| 358 | |
| 359 | /-- The universal property is proved for all compatible targets. -/ |
| 360 | lemma existsUnique_lift (M : Target A B J δ f I) : |
| 361 | ∃! g : DividedPowers.DPMorphism (envelopeDividedPowers A B J δ f I) M.dividedPowers, |
| 362 | g.toRingHom.comp (toEnvelope A B J δ f I) = M.fromBase := |
| 363 | ⟨lift A B J δ f I M, lift_fromBase A B J δ f I M, |
| 364 | fun g hg => lift_unique A B J δ f I M g hg⟩ |
| 365 | |
| 366 | /-- Compose a compatible target with an actual divided-power morphism. -/ |
| 367 | def postcomposeTarget (M : Target A B J δ f I) {R : Type u} [CommRing R] |
| 368 | {K : Ideal R} (ε : DividedPowers K) (g : DividedPowers.DPMorphism M.dividedPowers ε) : |
| 369 | Target A B J δ f I where |
| 370 | ring := R |
| 371 | ideal := K |
| 372 | dividedPowers := ε |
| 373 | fromBase := g.toRingHom.comp M.fromBase |
| 374 | mapsIdeal := fun _x hx => g.ideal_comp (Ideal.mem_map_of_mem _ (M.mapsIdeal hx)) |
| 375 | baseCompatible := g.isDPMorphism.comp _ M.baseCompatible |
| 376 | |
| 377 | lemma lift_postcompose (M : Target A B J δ f I) {R : Type u} [CommRing R] |
| 378 | {K : Ideal R} (ε : DividedPowers K) (g : DividedPowers.DPMorphism M.dividedPowers ε) : |
| 379 | g.comp (lift A B J δ f I M) = lift A B J δ f I (postcomposeTarget A B J δ f I M ε g) := by |
| 380 | apply lift_unique A B J δ f I (postcomposeTarget A B J δ f I M ε g) |
| 381 | change g.toRingHom.comp ((lift A B J δ f I M).toRingHom.comp (toEnvelope A B J δ f I)) = |
| 382 | g.toRingHom.comp M.fromBase |
| 383 | rw [lift_fromBase] |
| 384 | |
| 385 | end |
| 386 | |
| 387 | end OAI.NumberTheory.PadicHodge.IntegralComparison.DividedPower.PowerEnvelope |