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

Theorem hashgt12el2 14382
Description: In a set with more than one element are two different elements. (Contributed by Alexander van der Vekens, 15-Nov-2017.)
Assertion
Ref Expression
hashgt12el2 ((𝑉𝑊 ∧ 1 < (♯‘𝑉) ∧ 𝐴𝑉) → ∃𝑏𝑉 𝐴𝑏)
Distinct variable groups:   𝑉,𝑏   𝐴,𝑏
Allowed substitution hint:   𝑊(𝑏)

Proof of Theorem hashgt12el2
StepHypRef Expression
1 hash0 14326 . . . 4 (♯‘∅) = 0
2 fveq2 6891 . . . 4 (∅ = 𝑉 → (♯‘∅) = (♯‘𝑉))
31, 2eqtr3id 2786 . . 3 (∅ = 𝑉 → 0 = (♯‘𝑉))
4 breq2 5152 . . . . . . 7 ((♯‘𝑉) = 0 → (1 < (♯‘𝑉) ↔ 1 < 0))
54biimpd 228 . . . . . 6 ((♯‘𝑉) = 0 → (1 < (♯‘𝑉) → 1 < 0))
65eqcoms 2740 . . . . 5 (0 = (♯‘𝑉) → (1 < (♯‘𝑉) → 1 < 0))
7 0le1 11736 . . . . . 6 0 ≤ 1
8 0re 11215 . . . . . . . 8 0 ∈ ℝ
9 1re 11213 . . . . . . . 8 1 ∈ ℝ
108, 9lenlti 11333 . . . . . . 7 (0 ≤ 1 ↔ ¬ 1 < 0)
11 pm2.21 123 . . . . . . 7 (¬ 1 < 0 → (1 < 0 → ∃𝑏𝑉 𝐴𝑏))
1210, 11sylbi 216 . . . . . 6 (0 ≤ 1 → (1 < 0 → ∃𝑏𝑉 𝐴𝑏))
137, 12ax-mp 5 . . . . 5 (1 < 0 → ∃𝑏𝑉 𝐴𝑏)
146, 13syl6com 37 . . . 4 (1 < (♯‘𝑉) → (0 = (♯‘𝑉) → ∃𝑏𝑉 𝐴𝑏))
15143ad2ant2 1134 . . 3 ((𝑉𝑊 ∧ 1 < (♯‘𝑉) ∧ 𝐴𝑉) → (0 = (♯‘𝑉) → ∃𝑏𝑉 𝐴𝑏))
163, 15syl5com 31 . 2 (∅ = 𝑉 → ((𝑉𝑊 ∧ 1 < (♯‘𝑉) ∧ 𝐴𝑉) → ∃𝑏𝑉 𝐴𝑏))
17 df-ne 2941 . . . 4 (∅ ≠ 𝑉 ↔ ¬ ∅ = 𝑉)
18 necom 2994 . . . 4 (∅ ≠ 𝑉𝑉 ≠ ∅)
1917, 18bitr3i 276 . . 3 (¬ ∅ = 𝑉𝑉 ≠ ∅)
20 ralnex 3072 . . . . . . . . . 10 (∀𝑏𝑉 ¬ 𝐴𝑏 ↔ ¬ ∃𝑏𝑉 𝐴𝑏)
21 nne 2944 . . . . . . . . . . . 12 𝐴𝑏𝐴 = 𝑏)
22 eqcom 2739 . . . . . . . . . . . 12 (𝐴 = 𝑏𝑏 = 𝐴)
2321, 22bitri 274 . . . . . . . . . . 11 𝐴𝑏𝑏 = 𝐴)
2423ralbii 3093 . . . . . . . . . 10 (∀𝑏𝑉 ¬ 𝐴𝑏 ↔ ∀𝑏𝑉 𝑏 = 𝐴)
2520, 24bitr3i 276 . . . . . . . . 9 (¬ ∃𝑏𝑉 𝐴𝑏 ↔ ∀𝑏𝑉 𝑏 = 𝐴)
26 eqsn 4832 . . . . . . . . . . . . . 14 (𝑉 ≠ ∅ → (𝑉 = {𝐴} ↔ ∀𝑏𝑉 𝑏 = 𝐴))
2726bicomd 222 . . . . . . . . . . . . 13 (𝑉 ≠ ∅ → (∀𝑏𝑉 𝑏 = 𝐴𝑉 = {𝐴}))
2827adantl 482 . . . . . . . . . . . 12 ((𝑉𝑊𝑉 ≠ ∅) → (∀𝑏𝑉 𝑏 = 𝐴𝑉 = {𝐴}))
2928adantr 481 . . . . . . . . . . 11 (((𝑉𝑊𝑉 ≠ ∅) ∧ 𝐴𝑉) → (∀𝑏𝑉 𝑏 = 𝐴𝑉 = {𝐴}))
30 hashsnle1 14376 . . . . . . . . . . . . 13 (♯‘{𝐴}) ≤ 1
31 fveq2 6891 . . . . . . . . . . . . . . 15 (𝑉 = {𝐴} → (♯‘𝑉) = (♯‘{𝐴}))
3231breq1d 5158 . . . . . . . . . . . . . 14 (𝑉 = {𝐴} → ((♯‘𝑉) ≤ 1 ↔ (♯‘{𝐴}) ≤ 1))
3332adantl 482 . . . . . . . . . . . . 13 ((((𝑉𝑊𝑉 ≠ ∅) ∧ 𝐴𝑉) ∧ 𝑉 = {𝐴}) → ((♯‘𝑉) ≤ 1 ↔ (♯‘{𝐴}) ≤ 1))
3430, 33mpbiri 257 . . . . . . . . . . . 12 ((((𝑉𝑊𝑉 ≠ ∅) ∧ 𝐴𝑉) ∧ 𝑉 = {𝐴}) → (♯‘𝑉) ≤ 1)
3534ex 413 . . . . . . . . . . 11 (((𝑉𝑊𝑉 ≠ ∅) ∧ 𝐴𝑉) → (𝑉 = {𝐴} → (♯‘𝑉) ≤ 1))
3629, 35sylbid 239 . . . . . . . . . 10 (((𝑉𝑊𝑉 ≠ ∅) ∧ 𝐴𝑉) → (∀𝑏𝑉 𝑏 = 𝐴 → (♯‘𝑉) ≤ 1))
37 hashxrcl 14316 . . . . . . . . . . . . 13 (𝑉𝑊 → (♯‘𝑉) ∈ ℝ*)
3837adantr 481 . . . . . . . . . . . 12 ((𝑉𝑊𝑉 ≠ ∅) → (♯‘𝑉) ∈ ℝ*)
3938adantr 481 . . . . . . . . . . 11 (((𝑉𝑊𝑉 ≠ ∅) ∧ 𝐴𝑉) → (♯‘𝑉) ∈ ℝ*)
40 1xr 11272 . . . . . . . . . . 11 1 ∈ ℝ*
41 xrlenlt 11278 . . . . . . . . . . 11 (((♯‘𝑉) ∈ ℝ* ∧ 1 ∈ ℝ*) → ((♯‘𝑉) ≤ 1 ↔ ¬ 1 < (♯‘𝑉)))
4239, 40, 41sylancl 586 . . . . . . . . . 10 (((𝑉𝑊𝑉 ≠ ∅) ∧ 𝐴𝑉) → ((♯‘𝑉) ≤ 1 ↔ ¬ 1 < (♯‘𝑉)))
4336, 42sylibd 238 . . . . . . . . 9 (((𝑉𝑊𝑉 ≠ ∅) ∧ 𝐴𝑉) → (∀𝑏𝑉 𝑏 = 𝐴 → ¬ 1 < (♯‘𝑉)))
4425, 43biimtrid 241 . . . . . . . 8 (((𝑉𝑊𝑉 ≠ ∅) ∧ 𝐴𝑉) → (¬ ∃𝑏𝑉 𝐴𝑏 → ¬ 1 < (♯‘𝑉)))
4544con4d 115 . . . . . . 7 (((𝑉𝑊𝑉 ≠ ∅) ∧ 𝐴𝑉) → (1 < (♯‘𝑉) → ∃𝑏𝑉 𝐴𝑏))
4645exp31 420 . . . . . 6 (𝑉𝑊 → (𝑉 ≠ ∅ → (𝐴𝑉 → (1 < (♯‘𝑉) → ∃𝑏𝑉 𝐴𝑏))))
4746com24 95 . . . . 5 (𝑉𝑊 → (1 < (♯‘𝑉) → (𝐴𝑉 → (𝑉 ≠ ∅ → ∃𝑏𝑉 𝐴𝑏))))
48473imp 1111 . . . 4 ((𝑉𝑊 ∧ 1 < (♯‘𝑉) ∧ 𝐴𝑉) → (𝑉 ≠ ∅ → ∃𝑏𝑉 𝐴𝑏))
4948com12 32 . . 3 (𝑉 ≠ ∅ → ((𝑉𝑊 ∧ 1 < (♯‘𝑉) ∧ 𝐴𝑉) → ∃𝑏𝑉 𝐴𝑏))
5019, 49sylbi 216 . 2 (¬ ∅ = 𝑉 → ((𝑉𝑊 ∧ 1 < (♯‘𝑉) ∧ 𝐴𝑉) → ∃𝑏𝑉 𝐴𝑏))
5116, 50pm2.61i 182 1 ((𝑉𝑊 ∧ 1 < (♯‘𝑉) ∧ 𝐴𝑉) → ∃𝑏𝑉 𝐴𝑏)
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wi 4  wb 205  wa 396  w3a 1087   = wceq 1541  wcel 2106  wne 2940  wral 3061  wrex 3070  c0 4322  {csn 4628   class class class wbr 5148  cfv 6543  0cc0 11109  1c1 11110  *cxr 11246   < clt 11247  cle 11248  chash 14289
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1797  ax-4 1811  ax-5 1913  ax-6 1971  ax-7 2011  ax-8 2108  ax-9 2116  ax-10 2137  ax-11 2154  ax-12 2171  ax-ext 2703  ax-sep 5299  ax-nul 5306  ax-pow 5363  ax-pr 5427  ax-un 7724  ax-cnex 11165  ax-resscn 11166  ax-1cn 11167  ax-icn 11168  ax-addcl 11169  ax-addrcl 11170  ax-mulcl 11171  ax-mulrcl 11172  ax-mulcom 11173  ax-addass 11174  ax-mulass 11175  ax-distr 11176  ax-i2m1 11177  ax-1ne0 11178  ax-1rid 11179  ax-rnegex 11180  ax-rrecex 11181  ax-cnre 11182  ax-pre-lttri 11183  ax-pre-lttrn 11184  ax-pre-ltadd 11185  ax-pre-mulgt0 11186
This theorem depends on definitions:  df-bi 206  df-an 397  df-or 846  df-3or 1088  df-3an 1089  df-tru 1544  df-fal 1554  df-ex 1782  df-nf 1786  df-sb 2068  df-mo 2534  df-eu 2563  df-clab 2710  df-cleq 2724  df-clel 2810  df-nfc 2885  df-ne 2941  df-nel 3047  df-ral 3062  df-rex 3071  df-reu 3377  df-rab 3433  df-v 3476  df-sbc 3778  df-csb 3894  df-dif 3951  df-un 3953  df-in 3955  df-ss 3965  df-pss 3967  df-nul 4323  df-if 4529  df-pw 4604  df-sn 4629  df-pr 4631  df-op 4635  df-uni 4909  df-int 4951  df-iun 4999  df-br 5149  df-opab 5211  df-mpt 5232  df-tr 5266  df-id 5574  df-eprel 5580  df-po 5588  df-so 5589  df-fr 5631  df-we 5633  df-xp 5682  df-rel 5683  df-cnv 5684  df-co 5685  df-dm 5686  df-rn 5687  df-res 5688  df-ima 5689  df-pred 6300  df-ord 6367  df-on 6368  df-lim 6369  df-suc 6370  df-iota 6495  df-fun 6545  df-fn 6546  df-f 6547  df-f1 6548  df-fo 6549  df-f1o 6550  df-fv 6551  df-riota 7364  df-ov 7411  df-oprab 7412  df-mpo 7413  df-om 7855  df-1st 7974  df-2nd 7975  df-frecs 8265  df-wrecs 8296  df-recs 8370  df-rdg 8409  df-1o 8465  df-er 8702  df-en 8939  df-dom 8940  df-sdom 8941  df-fin 8942  df-card 9933  df-pnf 11249  df-mnf 11250  df-xr 11251  df-ltxr 11252  df-le 11253  df-sub 11445  df-neg 11446  df-nn 12212  df-n0 12472  df-xnn0 12544  df-z 12558  df-uz 12822  df-fz 13484  df-hash 14290
This theorem is referenced by:  conngrv2edg  29445  3cyclfrgrrn  29536  copisnmnd  46569
  Copyright terms: Public domain W3C validator