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

Theorem pr2ne 9423
 Description: If an unordered pair has two elements they are different. (Contributed by FL, 14-Feb-2010.)
Assertion
Ref Expression
pr2ne ((𝐴𝐶𝐵𝐷) → ({𝐴, 𝐵} ≈ 2o𝐴𝐵))

Proof of Theorem pr2ne
StepHypRef Expression
1 preq2 4662 . . . . 5 (𝐵 = 𝐴 → {𝐴, 𝐵} = {𝐴, 𝐴})
21eqcoms 2827 . . . 4 (𝐴 = 𝐵 → {𝐴, 𝐵} = {𝐴, 𝐴})
3 enpr1g 8567 . . . . . . . 8 (𝐴𝐶 → {𝐴, 𝐴} ≈ 1o)
4 entr 8553 . . . . . . . . . . . 12 (({𝐴, 𝐵} ≈ {𝐴, 𝐴} ∧ {𝐴, 𝐴} ≈ 1o) → {𝐴, 𝐵} ≈ 1o)
5 1sdom2 8709 . . . . . . . . . . . . . . 15 1o ≺ 2o
6 sdomnen 8530 . . . . . . . . . . . . . . 15 (1o ≺ 2o → ¬ 1o ≈ 2o)
75, 6ax-mp 5 . . . . . . . . . . . . . 14 ¬ 1o ≈ 2o
8 ensym 8550 . . . . . . . . . . . . . . 15 ({𝐴, 𝐵} ≈ 1o → 1o ≈ {𝐴, 𝐵})
9 entr 8553 . . . . . . . . . . . . . . . 16 ((1o ≈ {𝐴, 𝐵} ∧ {𝐴, 𝐵} ≈ 2o) → 1o ≈ 2o)
109ex 415 . . . . . . . . . . . . . . 15 (1o ≈ {𝐴, 𝐵} → ({𝐴, 𝐵} ≈ 2o → 1o ≈ 2o))
118, 10syl 17 . . . . . . . . . . . . . 14 ({𝐴, 𝐵} ≈ 1o → ({𝐴, 𝐵} ≈ 2o → 1o ≈ 2o))
127, 11mtoi 201 . . . . . . . . . . . . 13 ({𝐴, 𝐵} ≈ 1o → ¬ {𝐴, 𝐵} ≈ 2o)
1312a1d 25 . . . . . . . . . . . 12 ({𝐴, 𝐵} ≈ 1o → ((𝐴𝐶𝐵𝐷) → ¬ {𝐴, 𝐵} ≈ 2o))
144, 13syl 17 . . . . . . . . . . 11 (({𝐴, 𝐵} ≈ {𝐴, 𝐴} ∧ {𝐴, 𝐴} ≈ 1o) → ((𝐴𝐶𝐵𝐷) → ¬ {𝐴, 𝐵} ≈ 2o))
1514ex 415 . . . . . . . . . 10 ({𝐴, 𝐵} ≈ {𝐴, 𝐴} → ({𝐴, 𝐴} ≈ 1o → ((𝐴𝐶𝐵𝐷) → ¬ {𝐴, 𝐵} ≈ 2o)))
16 prex 5323 . . . . . . . . . . 11 {𝐴, 𝐵} ∈ V
17 eqeng 8535 . . . . . . . . . . 11 ({𝐴, 𝐵} ∈ V → ({𝐴, 𝐵} = {𝐴, 𝐴} → {𝐴, 𝐵} ≈ {𝐴, 𝐴}))
1816, 17ax-mp 5 . . . . . . . . . 10 ({𝐴, 𝐵} = {𝐴, 𝐴} → {𝐴, 𝐵} ≈ {𝐴, 𝐴})
1915, 18syl11 33 . . . . . . . . 9 ({𝐴, 𝐴} ≈ 1o → ({𝐴, 𝐵} = {𝐴, 𝐴} → ((𝐴𝐶𝐵𝐷) → ¬ {𝐴, 𝐵} ≈ 2o)))
2019a1dd 50 . . . . . . . 8 ({𝐴, 𝐴} ≈ 1o → ({𝐴, 𝐵} = {𝐴, 𝐴} → (𝐵𝐷 → ((𝐴𝐶𝐵𝐷) → ¬ {𝐴, 𝐵} ≈ 2o))))
213, 20syl 17 . . . . . . 7 (𝐴𝐶 → ({𝐴, 𝐵} = {𝐴, 𝐴} → (𝐵𝐷 → ((𝐴𝐶𝐵𝐷) → ¬ {𝐴, 𝐵} ≈ 2o))))
2221com23 86 . . . . . 6 (𝐴𝐶 → (𝐵𝐷 → ({𝐴, 𝐵} = {𝐴, 𝐴} → ((𝐴𝐶𝐵𝐷) → ¬ {𝐴, 𝐵} ≈ 2o))))
2322imp 409 . . . . 5 ((𝐴𝐶𝐵𝐷) → ({𝐴, 𝐵} = {𝐴, 𝐴} → ((𝐴𝐶𝐵𝐷) → ¬ {𝐴, 𝐵} ≈ 2o)))
2423pm2.43a 54 . . . 4 ((𝐴𝐶𝐵𝐷) → ({𝐴, 𝐵} = {𝐴, 𝐴} → ¬ {𝐴, 𝐵} ≈ 2o))
252, 24syl5 34 . . 3 ((𝐴𝐶𝐵𝐷) → (𝐴 = 𝐵 → ¬ {𝐴, 𝐵} ≈ 2o))
2625necon2ad 3029 . 2 ((𝐴𝐶𝐵𝐷) → ({𝐴, 𝐵} ≈ 2o𝐴𝐵))
27 pr2nelem 9422 . . 3 ((𝐴𝐶𝐵𝐷𝐴𝐵) → {𝐴, 𝐵} ≈ 2o)
28273expia 1116 . 2 ((𝐴𝐶𝐵𝐷) → (𝐴𝐵 → {𝐴, 𝐵} ≈ 2o))
2926, 28impbid 214 1 ((𝐴𝐶𝐵𝐷) → ({𝐴, 𝐵} ≈ 2o𝐴𝐵))
 Colors of variables: wff setvar class Syntax hints:  ¬ wn 3   → wi 4   ↔ wb 208   ∧ wa 398   = wceq 1531   ∈ wcel 2108   ≠ wne 3014  Vcvv 3493  {cpr 4561   class class class wbr 5057  1oc1o 8087  2oc2o 8088   ≈ cen 8498   ≺ csdm 8500 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 1905  ax-6 1964  ax-7 2009  ax-8 2110  ax-9 2118  ax-10 2139  ax-11 2154  ax-12 2170  ax-ext 2791  ax-sep 5194  ax-nul 5201  ax-pow 5257  ax-pr 5320  ax-un 7453 This theorem depends on definitions:  df-bi 209  df-an 399  df-or 844  df-3or 1083  df-3an 1084  df-tru 1534  df-ex 1775  df-nf 1779  df-sb 2064  df-mo 2616  df-eu 2648  df-clab 2798  df-cleq 2812  df-clel 2891  df-nfc 2961  df-ne 3015  df-ral 3141  df-rex 3142  df-reu 3143  df-rab 3145  df-v 3495  df-sbc 3771  df-dif 3937  df-un 3939  df-in 3941  df-ss 3950  df-pss 3952  df-nul 4290  df-if 4466  df-pw 4539  df-sn 4560  df-pr 4562  df-tp 4564  df-op 4566  df-uni 4831  df-br 5058  df-opab 5120  df-tr 5164  df-id 5453  df-eprel 5458  df-po 5467  df-so 5468  df-fr 5507  df-we 5509  df-xp 5554  df-rel 5555  df-cnv 5556  df-co 5557  df-dm 5558  df-rn 5559  df-res 5560  df-ima 5561  df-ord 6187  df-on 6188  df-lim 6189  df-suc 6190  df-iota 6307  df-fun 6350  df-fn 6351  df-f 6352  df-f1 6353  df-fo 6354  df-f1o 6355  df-fv 6356  df-om 7573  df-1o 8094  df-2o 8095  df-er 8281  df-en 8502  df-dom 8503  df-sdom 8504 This theorem is referenced by:  prdom2  9424  isprm2lem  16017  pmtrrn2  18580  mdetunilem7  21219  trsp2cyc  30758  en2pr  39897  pr2cv  39898  pren2  39903
 Copyright terms: Public domain W3C validator