Skip to content

Commit 759e324

Browse files
committed
feat(Algebra/Polynomial/Lifts): every polynomial lifts along a surjective ring homomorphism (leanprover-community#38708)
This PR adds a lemma stating that every polynomial lifts along a surjective ring homomorphism (this could also be phrased as `lifts_eq_top`, but in practice it's membership in lifts that unlocks all of the API for `lifts`).
1 parent ffb9c91 commit 759e324

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

Mathlib/Algebra/Polynomial/Lifts.lean

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,9 @@ theorem lifts_iff_coeffs_subset_range (p : S[X]) :
8585
· exact ⟨0, by simp [hn]⟩
8686
· exact h <| coeff_mem_coeffs hn
8787

88+
theorem mem_lifts_of_surjective (hf : Function.Surjective f) (p : S[X]) : p ∈ lifts f :=
89+
(lifts_iff_coeff_lifts p).mpr fun n ↦ hf (p.coeff n)
90+
8891
/-- If `(r : R)`, then `C (f r)` lifts. -/
8992
theorem C_mem_lifts (f : R →+* S) (r : R) : C (f r) ∈ lifts f :=
9093
⟨C r, by

0 commit comments

Comments
 (0)