| Metamath Proof Explorer |
< Previous
Next >
Nearby theorems |
||
| Mirrors > Home > MPE Home > Th. List > hashgt0elex | Structured version Visualization version GIF version | ||
| Description: If the size of a set is greater than zero, then the set must contain at least one element. (Contributed by Alexander van der Vekens, 6-Jan-2018.) |
| Ref | Expression |
|---|---|
| hashgt0elex | ⊢ ((𝑉 ∈ 𝑊 ∧ 0 < (♯‘𝑉)) → ∃𝑥 𝑥 ∈ 𝑉) |
| Step | Hyp | Ref | Expression |
|---|---|---|---|
| 1 | alnex 1808 | . . . . . . . 8 ⊢ (∀𝑥 ¬ 𝑥 ∈ 𝑉 ↔ ¬ ∃𝑥 𝑥 ∈ 𝑉) | |
| 2 | eq0 4312 | . . . . . . . . . 10 ⊢ (𝑉 = ∅ ↔ ∀𝑥 ¬ 𝑥 ∈ 𝑉) | |
| 3 | 2 | biimpri 231 | . . . . . . . . 9 ⊢ (∀𝑥 ¬ 𝑥 ∈ 𝑉 → 𝑉 = ∅) |
| 4 | 3 | a1d 26 | . . . . . . . 8 ⊢ (∀𝑥 ¬ 𝑥 ∈ 𝑉 → (𝑉 ∈ 𝑊 → 𝑉 = ∅)) |
| 5 | 1, 4 | sylbir 238 | . . . . . . 7 ⊢ (¬ ∃𝑥 𝑥 ∈ 𝑉 → (𝑉 ∈ 𝑊 → 𝑉 = ∅)) |
| 6 | 5 | impcom 412 | . . . . . 6 ⊢ ((𝑉 ∈ 𝑊 ∧ ¬ ∃𝑥 𝑥 ∈ 𝑉) → 𝑉 = ∅) |
| 7 | hashle00 14438 | . . . . . . 7 ⊢ (𝑉 ∈ 𝑊 → ((♯‘𝑉) ≤ 0 ↔ 𝑉 = ∅)) | |
| 8 | 7 | adantr 485 | . . . . . 6 ⊢ ((𝑉 ∈ 𝑊 ∧ ¬ ∃𝑥 𝑥 ∈ 𝑉) → ((♯‘𝑉) ≤ 0 ↔ 𝑉 = ∅)) |
| 9 | 6, 8 | mpbird 260 | . . . . 5 ⊢ ((𝑉 ∈ 𝑊 ∧ ¬ ∃𝑥 𝑥 ∈ 𝑉) → (♯‘𝑉) ≤ 0) |
| 10 | hashxrcl 14395 | . . . . . . . 8 ⊢ (𝑉 ∈ 𝑊 → (♯‘𝑉) ∈ ℝ*) | |
| 11 | 0xr 11258 | . . . . . . . 8 ⊢ 0 ∈ ℝ* | |
| 12 | xrlenlt 11276 | . . . . . . . 8 ⊢ (((♯‘𝑉) ∈ ℝ* ∧ 0 ∈ ℝ*) → ((♯‘𝑉) ≤ 0 ↔ ¬ 0 < (♯‘𝑉))) | |
| 13 | 10, 11, 12 | sylancl 597 | . . . . . . 7 ⊢ (𝑉 ∈ 𝑊 → ((♯‘𝑉) ≤ 0 ↔ ¬ 0 < (♯‘𝑉))) |
| 14 | 13 | bicomd 226 | . . . . . 6 ⊢ (𝑉 ∈ 𝑊 → (¬ 0 < (♯‘𝑉) ↔ (♯‘𝑉) ≤ 0)) |
| 15 | 14 | adantr 485 | . . . . 5 ⊢ ((𝑉 ∈ 𝑊 ∧ ¬ ∃𝑥 𝑥 ∈ 𝑉) → (¬ 0 < (♯‘𝑉) ↔ (♯‘𝑉) ≤ 0)) |
| 16 | 9, 15 | mpbird 260 | . . . 4 ⊢ ((𝑉 ∈ 𝑊 ∧ ¬ ∃𝑥 𝑥 ∈ 𝑉) → ¬ 0 < (♯‘𝑉)) |
| 17 | 16 | ex 417 | . . 3 ⊢ (𝑉 ∈ 𝑊 → (¬ ∃𝑥 𝑥 ∈ 𝑉 → ¬ 0 < (♯‘𝑉))) |
| 18 | 17 | con4d 116 | . 2 ⊢ (𝑉 ∈ 𝑊 → (0 < (♯‘𝑉) → ∃𝑥 𝑥 ∈ 𝑉)) |
| 19 | 18 | imp 411 | 1 ⊢ ((𝑉 ∈ 𝑊 ∧ 0 < (♯‘𝑉)) → ∃𝑥 𝑥 ∈ 𝑉) |
| Colors of variables: wff setvar class |
| Syntax hints: ¬ wn 3 → wi 4 ↔ wb 209 ∧ wa 400 ∀wal 1565 = wceq 1567 ∃wex 1806 ∈ wcel 2149 ∅c0 4294 class class class wbr 5113 ‘cfv 6539 0cc0 11102 ℝ*cxr 11244 < clt 11245 ≤ cle 11246 ♯chash 14368 |
| This theorem was proved from axioms: ax-mp 5 ax-1 6 ax-2 7 ax-3 8 ax-gen 1822 ax-4 1836 ax-5 1937 ax-6 1994 ax-7 2035 ax-8 2151 ax-9 2159 ax-10 2182 ax-11 2198 ax-12 2219 ax-ext 2741 ax-sep 5261 ax-nul 5273 ax-pow 5339 ax-pr 5407 ax-un 7735 ax-cnex 11158 ax-resscn 11159 ax-1cn 11160 ax-icn 11161 ax-addcl 11162 ax-addrcl 11163 ax-mulcl 11164 ax-mulrcl 11165 ax-mulcom 11166 ax-addass 11167 ax-mulass 11168 ax-distr 11169 ax-i2m1 11170 ax-1ne0 11171 ax-1rid 11172 ax-rnegex 11173 ax-rrecex 11174 ax-cnre 11175 ax-pre-lttri 11176 ax-pre-lttrn 11177 ax-pre-ltadd 11178 ax-pre-mulgt0 11179 |
| This theorem depends on definitions: df-bi 210 df-an 401 df-or 861 df-3or 1102 df-3an 1103 df-tru 1570 df-fal 1580 df-ex 1807 df-nf 1811 df-sb 2098 df-mo 2573 df-eu 2603 df-clab 2748 df-cleq 2761 df-clel 2844 df-nfc 2918 df-ne 2965 df-nel 3071 df-ral 3086 df-rex 3096 df-reu 3377 df-rab 3424 df-v 3465 df-sbc 3754 df-csb 3862 df-dif 3916 df-un 3918 df-in 3920 df-ss 3930 df-pss 3933 df-nul 4295 df-if 4493 df-pw 4569 df-sn 4595 df-pr 4597 df-op 4601 df-uni 4877 df-int 4917 df-iun 4962 df-br 5114 df-opab 5178 df-mpt 5197 df-tr 5223 df-id 5559 df-eprel 5564 df-po 5572 df-so 5573 df-fr 5617 df-we 5619 df-xp 5670 df-rel 5671 df-cnv 5672 df-co 5673 df-dm 5674 df-rn 5675 df-res 5676 df-ima 5677 df-pred 6305 df-ord 6366 df-on 6367 df-lim 6368 df-suc 6369 df-iota 6495 df-fun 6541 df-fn 6542 df-f 6543 df-f1 6544 df-fo 6545 df-f1o 6546 df-fv 6547 df-riota 7370 df-ov 7416 df-oprab 7417 df-mpo 7418 df-om 7865 df-1st 7988 df-2nd 7989 df-frecs 8280 df-wrecs 8311 df-recs 8360 df-rdg 8399 df-1o 8455 df-oadd 8459 df-er 8696 df-en 8946 df-dom 8947 df-sdom 8948 df-fin 8949 df-card 9927 df-pnf 11247 df-mnf 11248 df-xr 11249 df-ltxr 11250 df-le 11251 df-sub 11445 df-neg 11446 df-nn 12236 df-n0 12507 df-xnn0 12580 df-z 12594 df-uz 12865 df-fz 13538 df-hash 14369 |
| This theorem is referenced by: hashgt0elexb 14440 hashgt23el 14463 fi1uzind 14546 brfi1indALT 14549 |
| Copyright terms: Public domain | W3C validator |