Skip to content

Commit 74e5a04

Browse files
tb65536b-mehta
authored andcommitted
feat(Algebra/Polynomial/Lifts): add natDegree verison of exists_natDegree_eq_of_mem_lifts (leanprover-community#38707)
This PR adds a `natDegree` version of `exists_degree_eq_of_mem_lifts`. Co-authored-by: tb65536 <thomas.l.browning@gmail.com>
1 parent 5c26b17 commit 74e5a04

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

Mathlib/Algebra/Polynomial/Lifts.lean

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -164,6 +164,10 @@ theorem exists_degree_eq_of_mem_lifts {p : S[X]} (hlifts : p ∈ lifts f) :
164164
obtain ⟨q, hq, hq'⟩ := exists_support_eq_of_mem_lifts hlifts
165165
exact ⟨q, hq, congrArg Finset.max hq'⟩
166166

167+
theorem exists_natDegree_eq_of_mem_lifts {p : S[X]} (hlifts : p ∈ lifts f) :
168+
∃ q, map f q = p ∧ q.natDegree = p.natDegree :=
169+
(exists_degree_eq_of_mem_lifts hlifts).imp fun _ ↦ And.imp_right natDegree_eq_of_degree_eq
170+
167171
@[deprecated (since := "2026-02-11")]
168172
alias mem_lifts_and_degree_eq := exists_degree_eq_of_mem_lifts
169173

0 commit comments

Comments
 (0)