Skip to content

Commit 8d3c1b4

Browse files
committed
Adapt final result
1 parent 0da722a commit 8d3c1b4

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Mathlib/LinearAlgebra/Lagrange.lean

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -506,7 +506,7 @@ theorem eval_iterate_derivative_eq_sum
506506
{k : ℕ} (hk : k ≤ P.degree) (x : F) :
507507
(derivative^[k] P).eval x = k.factorial *
508508
∑ i ∈ s, (P.eval (v i) / ∏ j ∈ s.erase i, ((v i) - (v j))) *
509-
∑ t ∈ (s.erase i).powerset with #t = #s - (k + 1),
509+
∑ t ∈ (s.erase i).powersetCard (#s - (k + 1)),
510510
∏ a ∈ t, (x - v a) := by
511511
lift P.degree to ℕ using (by contrapose! hP; rw [hP]; simp) with deg hdeg
512512
rw [← WithBot.coe_one, ← WithBot.coe_add] at hP

0 commit comments

Comments
 (0)