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

Theorem bcval4 14456
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, 7-Nov-2013.)
Assertion
Ref Expression
bcval4 ((𝑁 ∈ ℕ0 ∧ 𝐾 ∈ ℤ ∧ (𝐾 < 0 ∨ 𝑁 < 𝐾)) → (𝑁C𝐾) = 0)

Proof of Theorem bcval4
StepHypRef Expression
1 elfzle1 13665 . . . . . . . . 9 (𝐾 ∈ (0...𝑁) → 0 ≤ 𝐾)
2 0re 11315 . . . . . . . . . 10 0 ∈ ℝ
3 elfzelz 13661 . . . . . . . . . . 11 (𝐾 ∈ (0...𝑁) → 𝐾 ∈ ℤ)
43zred 12808 . . . . . . . . . 10 (𝐾 ∈ (0...𝑁) → 𝐾 ∈ ℝ)
5 lenlt 11393 . . . . . . . . . 10 ((0 ∈ ℝ ∧ 𝐾 ∈ ℝ) → (0 ≤ 𝐾 ↔ ¬ 𝐾 < 0))
62, 4, 5sylancr 599 . . . . . . . . 9 (𝐾 ∈ (0...𝑁) → (0 ≤ 𝐾 ↔ ¬ 𝐾 < 0))
71, 6mpbid 235 . . . . . . . 8 (𝐾 ∈ (0...𝑁) → ¬ 𝐾 < 0)
87adantl 487 . . . . . . 7 ((𝑁 ∈ ℕ0 ∧ 𝐾 ∈ (0...𝑁)) → ¬ 𝐾 < 0)
9 elfzle2 13666 . . . . . . . . 9 (𝐾 ∈ (0...𝑁) → 𝐾 ≤ 𝑁)
109adantl 487 . . . . . . . 8 ((𝑁 ∈ ℕ0 ∧ 𝐾 ∈ (0...𝑁)) → 𝐾 ≤ 𝑁)
11 nn0re 12620 . . . . . . . . 9 (𝑁 ∈ ℕ0 → 𝑁 ∈ ℝ)
12 lenlt 11393 . . . . . . . . 9 ((𝐾 ∈ ℝ ∧ 𝑁 ∈ ℝ) → (𝐾 ≤ 𝑁 ↔ ¬ 𝑁 < 𝐾))
134, 11, 12syl2anr 609 . . . . . . . 8 ((𝑁 ∈ ℕ0 ∧ 𝐾 ∈ (0...𝑁)) → (𝐾 ≤ 𝑁 ↔ ¬ 𝑁 < 𝐾))
1410, 13mpbid 235 . . . . . . 7 ((𝑁 ∈ ℕ0 ∧ 𝐾 ∈ (0...𝑁)) → ¬ 𝑁 < 𝐾)
15 ioran 999 . . . . . . 7 (¬ (𝐾 < 0 ∨ 𝑁 < 𝐾) ↔ (¬ 𝐾 < 0 ∧ ¬ 𝑁 < 𝐾))
168, 14, 15sylanbrc 595 . . . . . 6 ((𝑁 ∈ ℕ0 ∧ 𝐾 ∈ (0...𝑁)) → ¬ (𝐾 < 0 ∨ 𝑁 < 𝐾))
1716ex 418 . . . . 5 (𝑁 ∈ ℕ0 → (𝐾 ∈ (0...𝑁) → ¬ (𝐾 < 0 ∨ 𝑁 < 𝐾)))
1817adantr 486 . . . 4 ((𝑁 ∈ ℕ0 ∧ 𝐾 ∈ ℤ) → (𝐾 ∈ (0...𝑁) → ¬ (𝐾 < 0 ∨ 𝑁 < 𝐾)))
1918con2d 135 . . 3 ((𝑁 ∈ ℕ0 ∧ 𝐾 ∈ ℤ) → ((𝐾 < 0 ∨ 𝑁 < 𝐾) → ¬ 𝐾 ∈ (0...𝑁)))
20193impia 1135 . 2 ((𝑁 ∈ ℕ0 ∧ 𝐾 ∈ ℤ ∧ (𝐾 < 0 ∨ 𝑁 < 𝐾)) → ¬ 𝐾 ∈ (0...𝑁))
21 bcval3 14455 . 2 ((𝑁 ∈ ℕ0 ∧ 𝐾 ∈ ℤ ∧ ¬ 𝐾 ∈ (0...𝑁)) → (𝑁C𝐾) = 0)
2220, 21syld3an3 1436 1 ((𝑁 ∈ ℕ0 ∧ 𝐾 ∈ ℤ ∧ (𝐾 < 0 ∨ 𝑁 < 𝐾)) → (𝑁C𝐾) = 0)
Colors of variables:    wff setvar class
This proof depends on syntax axioms:  ¬ wn 3   → wi 4   ↔ wb 209   ∧ wa 401   ∨ wo 861   ∧ w3a 1103   = wceq 1569   ∈ wcel 2144   class class class wbr 5102  (class class class)co 7422  ℝcr 11204  0cc0 11205   < clt 11348   ≤ cle 11349  ℕ0cn0 12611  ℤcz 12698  ...cfz 13644  Ccbc 14451
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1827  ax-4 1841  ax-5 1942  ax-6 1999  ax-7 2040  ax-8 2146  ax-9 2154  ax-10 2177  ax-11 2193  ax-12 2212  ax-ext 2732  ax-sep 5248  ax-nul 5259  ax-pr 5390  ax-un 7753  ax-cnex 11261  ax-resscn 11262  ax-1cn 11263  ax-icn 11264  ax-addcl 11265  ax-addrcl 11266  ax-mulcl 11267  ax-mulrcl 11268  ax-i2m1 11273  ax-1ne0 11274  ax-rnegex 11276  ax-rrecex 11277  ax-cnre 11278
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3or 1104  df-3an 1105  df-tru 1572  df-fal 1582  df-ex 1812  df-nf 1816  df-sb 2099  df-mo 2564  df-eu 2594  df-clab 2739  df-cleq 2752  df-clel 2835  df-nfc 2909  df-ne 2956  df-ral 3077  df-rex 3087  df-reu 3366  df-rab 3413  df-v 3452  df-sbc 3739  df-csb 3848  df-ss 3897  df-pss 4013  df-dif 4046  df-in 4090  df-un 4150  df-nul 4278  df-if 4482  df-pw 4558  df-sn 4585  df-pr 4587  df-op 4835  df-uni 4867  df-iun 4952  df-br 5103  df-opab 5167  df-mpt 5186  df-tr 5212  df-id 5545  df-eprel 5550  df-po 5558  df-so 5559  df-fr 5603  df-we 5605  df-xp 5656  df-rel 5657  df-cnv 5658  df-co 5659  df-dm 5660  df-rn 5661  df-res 5662  df-ima 5663  df-pred 6306  df-ord 6367  df-on 6368  df-lim 6369  df-suc 6370  df-iota 6496  df-fun 6543  df-fn 6544  df-f 6545  df-f1 6546  df-fo 6547  df-f1o 6548  df-fv 6549  df-ov 7425  df-oprab 7426  df-mpo 7427  df-om 7880  df-1st 8003  df-2nd 8004  df-frecs 8304  df-wrecs 8335  df-recs 8384  df-rdg 8423  df-xr 11352  df-le 11354  df-neg 11549  df-nn 12341  df-n0 12612  df-z 12699  df-uz 12971  df-fz 13645  df-bc 14452
This theorem is used by:  bc0k  14460  bcn1  14462  bcpasc  14470  hashf1  14607  binomfallfaclem2  16213  ram0  17207  srgbinomlem3  20461  srgbinomlem4  20462  basellem2  27416  bcmono  27611  cusgrsizeindb1  30038  altgsumbcALT  49572
  Copyright terms: Public domain W3C validator