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

Theorem hashgt12el2 14442
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 14386 . . . 4 (♯‘∅) = 0
2 fveq2 6903 . . . 4 (∅ = 𝑉 → (♯‘∅) = (♯‘𝑉))
31, 2eqtr3id 2780 . . 3 (∅ = 𝑉 → 0 = (♯‘𝑉))
4 breq2 5159 . . . . . . 7 ((♯‘𝑉) = 0 → (1 < (♯‘𝑉) ↔ 1 < 0))
54biimpd 228 . . . . . 6 ((♯‘𝑉) = 0 → (1 < (♯‘𝑉) → 1 < 0))
65eqcoms 2734 . . . . 5 (0 = (♯‘𝑉) → (1 < (♯‘𝑉) → 1 < 0))
7 0le1 11789 . . . . . 6 0 ≤ 1
8 0re 11268 . . . . . . . 8 0 ∈ ℝ
9 1re 11266 . . . . . . . 8 1 ∈ ℝ
108, 9lenlti 11386 . . . . . . 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 1131 . . 3 ((𝑉𝑊 ∧ 1 < (♯‘𝑉) ∧ 𝐴𝑉) → (0 = (♯‘𝑉) → ∃𝑏𝑉 𝐴𝑏))
163, 15syl5com 31 . 2 (∅ = 𝑉 → ((𝑉𝑊 ∧ 1 < (♯‘𝑉) ∧ 𝐴𝑉) → ∃𝑏𝑉 𝐴𝑏))
17 df-ne 2931 . . . 4 (∅ ≠ 𝑉 ↔ ¬ ∅ = 𝑉)
18 necom 2984 . . . 4 (∅ ≠ 𝑉𝑉 ≠ ∅)
1917, 18bitr3i 276 . . 3 (¬ ∅ = 𝑉𝑉 ≠ ∅)
20 ralnex 3062 . . . . . . . . . 10 (∀𝑏𝑉 ¬ 𝐴𝑏 ↔ ¬ ∃𝑏𝑉 𝐴𝑏)
21 nne 2934 . . . . . . . . . . . 12 𝐴𝑏𝐴 = 𝑏)
22 eqcom 2733 . . . . . . . . . . . 12 (𝐴 = 𝑏𝑏 = 𝐴)
2321, 22bitri 274 . . . . . . . . . . 11 𝐴𝑏𝑏 = 𝐴)
2423ralbii 3083 . . . . . . . . . 10 (∀𝑏𝑉 ¬ 𝐴𝑏 ↔ ∀𝑏𝑉 𝑏 = 𝐴)
2520, 24bitr3i 276 . . . . . . . . 9 (¬ ∃𝑏𝑉 𝐴𝑏 ↔ ∀𝑏𝑉 𝑏 = 𝐴)
26 eqsn 4838 . . . . . . . . . . . . . 14 (𝑉 ≠ ∅ → (𝑉 = {𝐴} ↔ ∀𝑏𝑉 𝑏 = 𝐴))
2726bicomd 222 . . . . . . . . . . . . 13 (𝑉 ≠ ∅ → (∀𝑏𝑉 𝑏 = 𝐴𝑉 = {𝐴}))
2827adantl 480 . . . . . . . . . . . 12 ((𝑉𝑊𝑉 ≠ ∅) → (∀𝑏𝑉 𝑏 = 𝐴𝑉 = {𝐴}))
2928adantr 479 . . . . . . . . . . 11 (((𝑉𝑊𝑉 ≠ ∅) ∧ 𝐴𝑉) → (∀𝑏𝑉 𝑏 = 𝐴𝑉 = {𝐴}))
30 hashsnle1 14436 . . . . . . . . . . . . 13 (♯‘{𝐴}) ≤ 1
31 fveq2 6903 . . . . . . . . . . . . . . 15 (𝑉 = {𝐴} → (♯‘𝑉) = (♯‘{𝐴}))
3231breq1d 5165 . . . . . . . . . . . . . 14 (𝑉 = {𝐴} → ((♯‘𝑉) ≤ 1 ↔ (♯‘{𝐴}) ≤ 1))
3332adantl 480 . . . . . . . . . . . . 13 ((((𝑉𝑊𝑉 ≠ ∅) ∧ 𝐴𝑉) ∧ 𝑉 = {𝐴}) → ((♯‘𝑉) ≤ 1 ↔ (♯‘{𝐴}) ≤ 1))
3430, 33mpbiri 257 . . . . . . . . . . . 12 ((((𝑉𝑊𝑉 ≠ ∅) ∧ 𝐴𝑉) ∧ 𝑉 = {𝐴}) → (♯‘𝑉) ≤ 1)
3534ex 411 . . . . . . . . . . 11 (((𝑉𝑊𝑉 ≠ ∅) ∧ 𝐴𝑉) → (𝑉 = {𝐴} → (♯‘𝑉) ≤ 1))
3629, 35sylbid 239 . . . . . . . . . 10 (((𝑉𝑊𝑉 ≠ ∅) ∧ 𝐴𝑉) → (∀𝑏𝑉 𝑏 = 𝐴 → (♯‘𝑉) ≤ 1))
37 hashxrcl 14376 . . . . . . . . . . . . 13 (𝑉𝑊 → (♯‘𝑉) ∈ ℝ*)
3837adantr 479 . . . . . . . . . . . 12 ((𝑉𝑊𝑉 ≠ ∅) → (♯‘𝑉) ∈ ℝ*)
3938adantr 479 . . . . . . . . . . 11 (((𝑉𝑊𝑉 ≠ ∅) ∧ 𝐴𝑉) → (♯‘𝑉) ∈ ℝ*)
40 1xr 11325 . . . . . . . . . . 11 1 ∈ ℝ*
41 xrlenlt 11331 . . . . . . . . . . 11 (((♯‘𝑉) ∈ ℝ* ∧ 1 ∈ ℝ*) → ((♯‘𝑉) ≤ 1 ↔ ¬ 1 < (♯‘𝑉)))
4239, 40, 41sylancl 584 . . . . . . . . . 10 (((𝑉𝑊𝑉 ≠ ∅) ∧ 𝐴𝑉) → ((♯‘𝑉) ≤ 1 ↔ ¬ 1 < (♯‘𝑉)))
4336, 42sylibd 238 . . . . . . . . 9 (((𝑉𝑊𝑉 ≠ ∅) ∧ 𝐴𝑉) → (∀𝑏𝑉 𝑏 = 𝐴 → ¬ 1 < (♯‘𝑉)))
4425, 43biimtrid 241 . . . . . . . 8 (((𝑉𝑊𝑉 ≠ ∅) ∧ 𝐴𝑉) → (¬ ∃𝑏𝑉 𝐴𝑏 → ¬ 1 < (♯‘𝑉)))
4544con4d 115 . . . . . . 7 (((𝑉𝑊𝑉 ≠ ∅) ∧ 𝐴𝑉) → (1 < (♯‘𝑉) → ∃𝑏𝑉 𝐴𝑏))
4645exp31 418 . . . . . 6 (𝑉𝑊 → (𝑉 ≠ ∅ → (𝐴𝑉 → (1 < (♯‘𝑉) → ∃𝑏𝑉 𝐴𝑏))))
4746com24 95 . . . . 5 (𝑉𝑊 → (1 < (♯‘𝑉) → (𝐴𝑉 → (𝑉 ≠ ∅ → ∃𝑏𝑉 𝐴𝑏))))
48473imp 1108 . . . 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 394  w3a 1084   = wceq 1534  wcel 2099  wne 2930  wral 3051  wrex 3060  c0 4325  {csn 4633   class class class wbr 5155  cfv 6556  0cc0 11160  1c1 11161  *cxr 11299   < clt 11300  cle 11301  chash 14349
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1790  ax-4 1804  ax-5 1906  ax-6 1964  ax-7 2004  ax-8 2101  ax-9 2109  ax-10 2130  ax-11 2147  ax-12 2167  ax-ext 2697  ax-sep 5306  ax-nul 5313  ax-pow 5371  ax-pr 5435  ax-un 7748  ax-cnex 11216  ax-resscn 11217  ax-1cn 11218  ax-icn 11219  ax-addcl 11220  ax-addrcl 11221  ax-mulcl 11222  ax-mulrcl 11223  ax-mulcom 11224  ax-addass 11225  ax-mulass 11226  ax-distr 11227  ax-i2m1 11228  ax-1ne0 11229  ax-1rid 11230  ax-rnegex 11231  ax-rrecex 11232  ax-cnre 11233  ax-pre-lttri 11234  ax-pre-lttrn 11235  ax-pre-ltadd 11236  ax-pre-mulgt0 11237
This theorem depends on definitions:  df-bi 206  df-an 395  df-or 846  df-3or 1085  df-3an 1086  df-tru 1537  df-fal 1547  df-ex 1775  df-nf 1779  df-sb 2061  df-mo 2529  df-eu 2558  df-clab 2704  df-cleq 2718  df-clel 2803  df-nfc 2878  df-ne 2931  df-nel 3037  df-ral 3052  df-rex 3061  df-reu 3365  df-rab 3420  df-v 3464  df-sbc 3777  df-csb 3893  df-dif 3950  df-un 3952  df-in 3954  df-ss 3964  df-pss 3967  df-nul 4326  df-if 4534  df-pw 4609  df-sn 4634  df-pr 4636  df-op 4640  df-uni 4916  df-int 4957  df-iun 5005  df-br 5156  df-opab 5218  df-mpt 5239  df-tr 5273  df-id 5582  df-eprel 5588  df-po 5596  df-so 5597  df-fr 5639  df-we 5641  df-xp 5690  df-rel 5691  df-cnv 5692  df-co 5693  df-dm 5694  df-rn 5695  df-res 5696  df-ima 5697  df-pred 6314  df-ord 6381  df-on 6382  df-lim 6383  df-suc 6384  df-iota 6508  df-fun 6558  df-fn 6559  df-f 6560  df-f1 6561  df-fo 6562  df-f1o 6563  df-fv 6564  df-riota 7382  df-ov 7429  df-oprab 7430  df-mpo 7431  df-om 7879  df-1st 8005  df-2nd 8006  df-frecs 8298  df-wrecs 8329  df-recs 8403  df-rdg 8442  df-1o 8498  df-er 8736  df-en 8977  df-dom 8978  df-sdom 8979  df-fin 8980  df-card 9984  df-pnf 11302  df-mnf 11303  df-xr 11304  df-ltxr 11305  df-le 11306  df-sub 11498  df-neg 11499  df-nn 12267  df-n0 12527  df-xnn0 12599  df-z 12613  df-uz 12877  df-fz 13541  df-hash 14350
This theorem is referenced by:  conngrv2edg  30131  3cyclfrgrrn  30222  copisnmnd  47564
  Copyright terms: Public domain W3C validator