-
Notifications
You must be signed in to change notification settings - Fork 0
[Merged by Bors] - chore: adaptations for nightly-2025-10-29 #102
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Merged by Bors] - chore: adaptations for nightly-2025-10-29 #102
Conversation
…hlib4-nightly-testing into nightly-testing
| wlog h : p.natDegree ≤ n generalizing n | ||
| · refine Nat.decreasingInduction' (fun n hn _ ih ↦ ?_) (le_of_not_ge h) ?_ | ||
| · rw [coeff_divByMonic_X_sub_C_rec, ih, eq_comm, Icc_eq_cons_Ioc (Nat.succ_le.mpr hn), | ||
| · rw [coeff_divByMonic_X_sub_C_rec, ih, eq_comm, Icc_eq_cons_Ioc (Nat.succ_le_iff.mpr hn), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| · rw [coeff_divByMonic_X_sub_C_rec, ih, eq_comm, Icc_eq_cons_Ioc (Nat.succ_le_iff.mpr hn), | |
| · rw [coeff_divByMonic_X_sub_C_rec, ih, eq_comm, Icc_eq_cons_Ioc (Nat.succ_le_of_lt hn), |
| rw [add_comm]; exact (mem_Icc.mp hi).1 | ||
| · exact this _ le_rfl | ||
| rw [Icc_eq_empty (Nat.lt_succ.mpr h).not_ge, sum_empty] | ||
| rw [Icc_eq_empty (Nat.lt_succ_iff.mpr h).not_ge, sum_empty] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| rw [Icc_eq_empty (Nat.lt_succ_iff.mpr h).not_ge, sum_empty] | |
| rw [Icc_eq_empty (Nat.lt_succ_of_le h).not_ge, sum_empty] |
| lemma eval_homogenize {p : K[X]} {n : ℕ} (hn : p.natDegree ≤ n) (x : Fin 2 → K) (hx : x 1 ≠ 0) : | ||
| MvPolynomial.eval x (p.homogenize n) = p.eval (x 0 / x 1) * x 1 ^ n := by | ||
| simp only [homogenize, Polynomial.eval_eq_sum_range' (Nat.lt_succ.mpr hn), | ||
| simp only [homogenize, Polynomial.eval_eq_sum_range' (Nat.lt_succ_iff.mpr hn), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| simp only [homogenize, Polynomial.eval_eq_sum_range' (Nat.lt_succ_iff.mpr hn), | |
| simp only [homogenize, Polynomial.eval_eq_sum_range' (Nat.lt_succ_of_le hn), |
kbuzzard
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I've gone through all the diff. I think writing Nat.foo.mp or Nat.foo.2 is daft when foo is actually proved as \<one_way, the_other_way\>, not least because the individual implication lemmas typically have names which are at least as explanatory as the iff ones. I changed the first one myself and pushed, and then realised there were 10+ others so I've left them for someone else to decide.
There's a merge conflict but other than that this looks ready to go.
|
bors merge |
|
Build failed: |
|
bors merge |
|
Pull request successfully merged into bump/v4.26.0. Build succeeded: |
No description provided.