MPE Home Metamath Proof Explorer < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >  bcval3 Structured version   Visualization version   GIF version

Theorem bcval3 14263
Description: Value of the binomial coefficient, 𝑁 choose 𝐾, outside of its standard domain. Remark in [Gleason] p. 295. (Contributed by NM, 14-Jul-2005.) (Revised by Mario Carneiro, 8-Nov-2013.)
Assertion
Ref Expression
bcval3 ((𝑁 ∈ ℕ0𝐾 ∈ ℤ ∧ ¬ 𝐾 ∈ (0...𝑁)) → (𝑁C𝐾) = 0)

Proof of Theorem bcval3
StepHypRef Expression
1 bcval 14261 . . 3 ((𝑁 ∈ ℕ0𝐾 ∈ ℤ) → (𝑁C𝐾) = if(𝐾 ∈ (0...𝑁), ((!‘𝑁) / ((!‘(𝑁𝐾)) · (!‘𝐾))), 0))
213adant3 1133 . 2 ((𝑁 ∈ ℕ0𝐾 ∈ ℤ ∧ ¬ 𝐾 ∈ (0...𝑁)) → (𝑁C𝐾) = if(𝐾 ∈ (0...𝑁), ((!‘𝑁) / ((!‘(𝑁𝐾)) · (!‘𝐾))), 0))
3 iffalse 4537 . . 3 𝐾 ∈ (0...𝑁) → if(𝐾 ∈ (0...𝑁), ((!‘𝑁) / ((!‘(𝑁𝐾)) · (!‘𝐾))), 0) = 0)
433ad2ant3 1136 . 2 ((𝑁 ∈ ℕ0𝐾 ∈ ℤ ∧ ¬ 𝐾 ∈ (0...𝑁)) → if(𝐾 ∈ (0...𝑁), ((!‘𝑁) / ((!‘(𝑁𝐾)) · (!‘𝐾))), 0) = 0)
52, 4eqtrd 2773 1 ((𝑁 ∈ ℕ0𝐾 ∈ ℤ ∧ ¬ 𝐾 ∈ (0...𝑁)) → (𝑁C𝐾) = 0)
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wi 4  w3a 1088   = wceq 1542  wcel 2107  ifcif 4528  cfv 6541  (class class class)co 7406  0cc0 11107   · cmul 11112  cmin 11441   / cdiv 11868  0cn0 12469  cz 12555  ...cfz 13481  !cfa 14230  Ccbc 14259
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1798  ax-4 1812  ax-5 1914  ax-6 1972  ax-7 2012  ax-8 2109  ax-9 2117  ax-10 2138  ax-11 2155  ax-12 2172  ax-ext 2704  ax-sep 5299  ax-nul 5306  ax-pr 5427  ax-1cn 11165  ax-icn 11166  ax-addcl 11167  ax-mulcl 11169  ax-i2m1 11175
This theorem depends on definitions:  df-bi 206  df-an 398  df-or 847  df-3an 1090  df-tru 1545  df-fal 1555  df-ex 1783  df-nf 1787  df-sb 2069  df-mo 2535  df-eu 2564  df-clab 2711  df-cleq 2725  df-clel 2811  df-nfc 2886  df-ne 2942  df-ral 3063  df-rex 3072  df-rab 3434  df-v 3477  df-sbc 3778  df-dif 3951  df-un 3953  df-in 3955  df-ss 3965  df-nul 4323  df-if 4529  df-sn 4629  df-pr 4631  df-op 4635  df-uni 4909  df-br 5149  df-opab 5211  df-id 5574  df-xp 5682  df-rel 5683  df-cnv 5684  df-co 5685  df-dm 5686  df-iota 6493  df-fun 6543  df-fv 6549  df-ov 7409  df-oprab 7410  df-mpo 7411  df-bc 14260
This theorem is referenced by:  bcval4  14264  bccmpl  14266  bcval5  14275  bcpasc  14278  bccl  14279  hashbc  14409  binomlem  15772  bccbc  43090
  Copyright terms: Public domain W3C validator