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

Theorem pr2ne 10108
Description: If an unordered pair has two elements, then they are different. (Contributed by FL, 14-Feb-2010.) Avoid ax-pow 5331, ax-un 7772. (Revised by BTernaryTau, 30-Dec-2024.)
Assertion
Ref Expression
pr2ne ((𝐴 ∈ 𝐶 ∧ 𝐵 ∈ 𝐷) → ({𝐴, 𝐵} ≈ 2o ↔ 𝐴 ≠ 𝐵))

Proof of Theorem pr2ne
StepHypRef Expression
1 snnen2o 9261 . . . 4 ¬ {𝐴} ≈ 2o
2 dfsn2 4597 . . . . . 6 {𝐴} = {𝐴, 𝐴}
3 preq2 4695 . . . . . 6 (𝐴 = 𝐵 → {𝐴, 𝐴} = {𝐴, 𝐵})
42, 3eqtr2id 2811 . . . . 5 (𝐴 = 𝐵 → {𝐴, 𝐵} = {𝐴})
54breq1d 5116 . . . 4 (𝐴 = 𝐵 → ({𝐴, 𝐵} ≈ 2o ↔ {𝐴} ≈ 2o))
61, 5mtbiri 330 . . 3 (𝐴 = 𝐵 → ¬ {𝐴, 𝐵} ≈ 2o)
76necon2ai 2988 . 2 ({𝐴, 𝐵} ≈ 2o → 𝐴 ≠ 𝐵)
8 enpr2 10107 . . 3 ((𝐴 ∈ 𝐶 ∧ 𝐵 ∈ 𝐷 ∧ 𝐴 ≠ 𝐵) → {𝐴, 𝐵} ≈ 2o)
983expia 1139 . 2 ((𝐴 ∈ 𝐶 ∧ 𝐵 ∈ 𝐷) → (𝐴 ≠ 𝐵 → {𝐴, 𝐵} ≈ 2o))
107, 9impbid2 229 1 ((𝐴 ∈ 𝐶 ∧ 𝐵 ∈ 𝐷) → ({𝐴, 𝐵} ≈ 2o ↔ 𝐴 ≠ 𝐵))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ↔ wb 209   ∧ wa 401   = wceq 1570   ∈ wcel 2147   ≠ wne 2959  {csn 4588  {cpr 4590   class class class wbr 5106  2oc2o 8495   ≈ cen 8995
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1828  ax-4 1842  ax-5 1945  ax-6 2002  ax-7 2043  ax-8 2149  ax-9 2157  ax-10 2180  ax-11 2197  ax-12 2216  ax-ext 2735  ax-sep 5252  ax-nul 5263  ax-pr 5395
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3an 1105  df-tru 1573  df-fal 1583  df-ex 1813  df-nf 1817  df-sb 2102  df-mo 2567  df-eu 2597  df-clab 2742  df-cleq 2755  df-clel 2839  df-ne 2960  df-ral 3081  df-rex 3091  df-rab 3417  df-v 3456  df-ss 3901  df-dif 4050  df-in 4094  df-un 4154  df-nul 4282  df-if 4486  df-sn 4589  df-pr 4591  df-op 4839  df-uni 4871  df-br 5107  df-opab 5171  df-id 5550  df-xp 5661  df-rel 5662  df-cnv 5663  df-co 5664  df-dm 5665  df-rn 5666  df-suc 6383  df-iota 6509  df-fun 6557  df-fn 6558  df-f 6559  df-f1 6560  df-fo 6561  df-f1o 6562  df-fv 6563  df-1o 8501  df-2o 8502  df-en 8999
This theorem is used by:  prdom2  10109  isprm2lem  16882  pmtrrn2  19701  mdetunilem7  22960  trsp2cyc  33751  en2pr  44738  pr2cv  44739  pren2  44744
  Copyright terms: Public domain W3C validator