![]() |
Metamath Proof Explorer |
< Previous
Next >
Nearby theorems |
|
Mirrors > Home > MPE Home > Th. List > bcval4 | Structured version Visualization version GIF version |
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.) |
Ref | Expression |
---|---|
bcval4 | ⊢ ((𝑁 ∈ ℕ0 ∧ 𝐾 ∈ ℤ ∧ (𝐾 < 0 ∨ 𝑁 < 𝐾)) → (𝑁C𝐾) = 0) |
Step | Hyp | Ref | Expression |
---|---|---|---|
1 | elfzle1 12760 | . . . . . . . . 9 ⊢ (𝐾 ∈ (0...𝑁) → 0 ≤ 𝐾) | |
2 | 0re 10489 | . . . . . . . . . 10 ⊢ 0 ∈ ℝ | |
3 | elfzelz 12758 | . . . . . . . . . . 11 ⊢ (𝐾 ∈ (0...𝑁) → 𝐾 ∈ ℤ) | |
4 | 3 | zred 11936 | . . . . . . . . . 10 ⊢ (𝐾 ∈ (0...𝑁) → 𝐾 ∈ ℝ) |
5 | lenlt 10566 | . . . . . . . . . 10 ⊢ ((0 ∈ ℝ ∧ 𝐾 ∈ ℝ) → (0 ≤ 𝐾 ↔ ¬ 𝐾 < 0)) | |
6 | 2, 4, 5 | sylancr 587 | . . . . . . . . 9 ⊢ (𝐾 ∈ (0...𝑁) → (0 ≤ 𝐾 ↔ ¬ 𝐾 < 0)) |
7 | 1, 6 | mpbid 233 | . . . . . . . 8 ⊢ (𝐾 ∈ (0...𝑁) → ¬ 𝐾 < 0) |
8 | 7 | adantl 482 | . . . . . . 7 ⊢ ((𝑁 ∈ ℕ0 ∧ 𝐾 ∈ (0...𝑁)) → ¬ 𝐾 < 0) |
9 | elfzle2 12761 | . . . . . . . . 9 ⊢ (𝐾 ∈ (0...𝑁) → 𝐾 ≤ 𝑁) | |
10 | 9 | adantl 482 | . . . . . . . 8 ⊢ ((𝑁 ∈ ℕ0 ∧ 𝐾 ∈ (0...𝑁)) → 𝐾 ≤ 𝑁) |
11 | nn0re 11754 | . . . . . . . . 9 ⊢ (𝑁 ∈ ℕ0 → 𝑁 ∈ ℝ) | |
12 | lenlt 10566 | . . . . . . . . 9 ⊢ ((𝐾 ∈ ℝ ∧ 𝑁 ∈ ℝ) → (𝐾 ≤ 𝑁 ↔ ¬ 𝑁 < 𝐾)) | |
13 | 4, 11, 12 | syl2anr 596 | . . . . . . . 8 ⊢ ((𝑁 ∈ ℕ0 ∧ 𝐾 ∈ (0...𝑁)) → (𝐾 ≤ 𝑁 ↔ ¬ 𝑁 < 𝐾)) |
14 | 10, 13 | mpbid 233 | . . . . . . 7 ⊢ ((𝑁 ∈ ℕ0 ∧ 𝐾 ∈ (0...𝑁)) → ¬ 𝑁 < 𝐾) |
15 | ioran 978 | . . . . . . 7 ⊢ (¬ (𝐾 < 0 ∨ 𝑁 < 𝐾) ↔ (¬ 𝐾 < 0 ∧ ¬ 𝑁 < 𝐾)) | |
16 | 8, 14, 15 | sylanbrc 583 | . . . . . 6 ⊢ ((𝑁 ∈ ℕ0 ∧ 𝐾 ∈ (0...𝑁)) → ¬ (𝐾 < 0 ∨ 𝑁 < 𝐾)) |
17 | 16 | ex 413 | . . . . 5 ⊢ (𝑁 ∈ ℕ0 → (𝐾 ∈ (0...𝑁) → ¬ (𝐾 < 0 ∨ 𝑁 < 𝐾))) |
18 | 17 | adantr 481 | . . . 4 ⊢ ((𝑁 ∈ ℕ0 ∧ 𝐾 ∈ ℤ) → (𝐾 ∈ (0...𝑁) → ¬ (𝐾 < 0 ∨ 𝑁 < 𝐾))) |
19 | 18 | con2d 136 | . . 3 ⊢ ((𝑁 ∈ ℕ0 ∧ 𝐾 ∈ ℤ) → ((𝐾 < 0 ∨ 𝑁 < 𝐾) → ¬ 𝐾 ∈ (0...𝑁))) |
20 | 19 | 3impia 1110 | . 2 ⊢ ((𝑁 ∈ ℕ0 ∧ 𝐾 ∈ ℤ ∧ (𝐾 < 0 ∨ 𝑁 < 𝐾)) → ¬ 𝐾 ∈ (0...𝑁)) |
21 | bcval3 13516 | . 2 ⊢ ((𝑁 ∈ ℕ0 ∧ 𝐾 ∈ ℤ ∧ ¬ 𝐾 ∈ (0...𝑁)) → (𝑁C𝐾) = 0) | |
22 | 20, 21 | syld3an3 1402 | 1 ⊢ ((𝑁 ∈ ℕ0 ∧ 𝐾 ∈ ℤ ∧ (𝐾 < 0 ∨ 𝑁 < 𝐾)) → (𝑁C𝐾) = 0) |
Colors of variables: wff setvar class |
Syntax hints: ¬ wn 3 → wi 4 ↔ wb 207 ∧ wa 396 ∨ wo 842 ∧ w3a 1080 = wceq 1522 ∈ wcel 2081 class class class wbr 4962 (class class class)co 7016 ℝcr 10382 0cc0 10383 < clt 10521 ≤ cle 10522 ℕ0cn0 11745 ℤcz 11829 ...cfz 12742 Ccbc 13512 |
This theorem was proved from axioms: ax-mp 5 ax-1 6 ax-2 7 ax-3 8 ax-gen 1777 ax-4 1791 ax-5 1888 ax-6 1947 ax-7 1992 ax-8 2083 ax-9 2091 ax-10 2112 ax-11 2126 ax-12 2141 ax-13 2344 ax-ext 2769 ax-sep 5094 ax-nul 5101 ax-pow 5157 ax-pr 5221 ax-un 7319 ax-cnex 10439 ax-resscn 10440 ax-1cn 10441 ax-icn 10442 ax-addcl 10443 ax-addrcl 10444 ax-mulcl 10445 ax-mulrcl 10446 ax-i2m1 10451 ax-1ne0 10452 ax-rnegex 10454 ax-rrecex 10455 ax-cnre 10456 |
This theorem depends on definitions: df-bi 208 df-an 397 df-or 843 df-3or 1081 df-3an 1082 df-tru 1525 df-ex 1762 df-nf 1766 df-sb 2043 df-mo 2576 df-eu 2612 df-clab 2776 df-cleq 2788 df-clel 2863 df-nfc 2935 df-ne 2985 df-ral 3110 df-rex 3111 df-reu 3112 df-rab 3114 df-v 3439 df-sbc 3707 df-csb 3812 df-dif 3862 df-un 3864 df-in 3866 df-ss 3874 df-pss 3876 df-nul 4212 df-if 4382 df-pw 4455 df-sn 4473 df-pr 4475 df-tp 4477 df-op 4479 df-uni 4746 df-iun 4827 df-br 4963 df-opab 5025 df-mpt 5042 df-tr 5064 df-id 5348 df-eprel 5353 df-po 5362 df-so 5363 df-fr 5402 df-we 5404 df-xp 5449 df-rel 5450 df-cnv 5451 df-co 5452 df-dm 5453 df-rn 5454 df-res 5455 df-ima 5456 df-pred 6023 df-ord 6069 df-on 6070 df-lim 6071 df-suc 6072 df-iota 6189 df-fun 6227 df-fn 6228 df-f 6229 df-f1 6230 df-fo 6231 df-f1o 6232 df-fv 6233 df-ov 7019 df-oprab 7020 df-mpo 7021 df-om 7437 df-1st 7545 df-2nd 7546 df-wrecs 7798 df-recs 7860 df-rdg 7898 df-xr 10525 df-le 10527 df-neg 10720 df-nn 11487 df-n0 11746 df-z 11830 df-uz 12094 df-fz 12743 df-bc 13513 |
This theorem is referenced by: bc0k 13521 bcn1 13523 bcpasc 13531 hashf1 13663 binomfallfaclem2 15227 ram0 16187 srgbinomlem3 18982 srgbinomlem4 18983 basellem2 25341 bcmono 25535 cusgrsizeindb1 26915 altgsumbcALT 43879 |
Copyright terms: Public domain | W3C validator |