Metamath Proof Explorer


Theorem bcpascm1

Description: Pascal's rule for the binomial coefficient, generalized to all integers K , shifted down by 1. (Contributed by AV, 8-Sep-2019)

Ref Expression
Assertion bcpascm1 ⊢ N ∈ ℕ ∧ K ∈ ℤ → ( N − 1 K) + ( N − 1 K − 1 ) = ( N K)

Proof

Step Hyp Ref Expression
1 nnm1nn0 ⊢ N ∈ ℕ → N − 1 ∈ ℕ 0
2 bcpasc ⊢ N − 1 ∈ ℕ 0 ∧ K ∈ ℤ → ( N − 1 K) + ( N − 1 K − 1 ) = ( N - 1 + 1 K)
3 1 2 sylan ⊢ N ∈ ℕ ∧ K ∈ ℤ → ( N − 1 K) + ( N − 1 K − 1 ) = ( N - 1 + 1 K)
4 nncn ⊢ N ∈ ℕ → N ∈ ℂ
5 npcan1 ⊢ N ∈ ℂ → N - 1 + 1 = N
6 4 5 syl ⊢ N ∈ ℕ → N - 1 + 1 = N
7 6 adantr ⊢ N ∈ ℕ ∧ K ∈ ℤ → N - 1 + 1 = N
8 7 oveq1d ⊢ N ∈ ℕ ∧ K ∈ ℤ → ( N - 1 + 1 K) = ( N K)
9 3 8 eqtrd ⊢ N ∈ ℕ ∧ K ∈ ℤ → ( N − 1 K) + ( N − 1 K − 1 ) = ( N K)