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

Theorem en2prd 9117
Description: Two proper unordered pairs are equinumerous. (Contributed by BTernaryTau, 23-Dec-2024.)
Hypotheses
Ref Expression
en2prd.1 (𝜑 → 𝐴 ∈ 𝑉)
en2prd.2 (𝜑 → 𝐵 ∈ 𝑊)
en2prd.3 (𝜑 → 𝐶 ∈ 𝑋)
en2prd.4 (𝜑 → 𝐷 ∈ 𝑌)
en2prd.5 (𝜑 → 𝐴 ≠ 𝐵)
en2prd.6 (𝜑 → 𝐶 ≠ 𝐷)
Assertion
Ref Expression
en2prd (𝜑 → {𝐴, 𝐵} ≈ {𝐶, 𝐷})

Proof of Theorem en2prd
Dummy variable 𝑓 is distinct from all other variables.
StepHypRef Expression
1 prex 5406 . . 3 {⟨𝐴, 𝐶⟩, ⟨𝐵, 𝐷⟩} ∈ V
2 en2prd.5 . . . 4 (𝜑 → 𝐴 ≠ 𝐵)
3 en2prd.6 . . . 4 (𝜑 → 𝐶 ≠ 𝐷)
4 en2prd.1 . . . . 5 (𝜑 → 𝐴 ∈ 𝑉)
5 en2prd.3 . . . . 5 (𝜑 → 𝐶 ∈ 𝑋)
6 en2prd.2 . . . . 5 (𝜑 → 𝐵 ∈ 𝑊)
7 en2prd.4 . . . . 5 (𝜑 → 𝐷 ∈ 𝑌)
8 f1oprg 6906 . . . . 5 (((𝐴 ∈ 𝑉 ∧ 𝐶 ∈ 𝑋) ∧ (𝐵 ∈ 𝑊 ∧ 𝐷 ∈ 𝑌)) → ((𝐴 ≠ 𝐵 ∧ 𝐶 ≠ 𝐷) → {⟨𝐴, 𝐶⟩, ⟨𝐵, 𝐷⟩}:{𝐴, 𝐵}⟶1-1onto{𝐶, 𝐷}))
94, 5, 6, 7, 8syl22anc 852 . . . 4 (𝜑 → ((𝐴 ≠ 𝐵 ∧ 𝐶 ≠ 𝐷) → {⟨𝐴, 𝐶⟩, ⟨𝐵, 𝐷⟩}:{𝐴, 𝐵}⟶1-1onto{𝐶, 𝐷}))
102, 3, 9mp2and 712 . . 3 (𝜑 → {⟨𝐴, 𝐶⟩, ⟨𝐵, 𝐷⟩}:{𝐴, 𝐵}⟶1-1onto{𝐶, 𝐷})
11 f1oeq1 6846 . . . 4 (𝑓 = {⟨𝐴, 𝐶⟩, ⟨𝐵, 𝐷⟩} → (𝑓:{𝐴, 𝐵}⟶1-1onto{𝐶, 𝐷} ↔ {⟨𝐴, 𝐶⟩, ⟨𝐵, 𝐷⟩}:{𝐴, 𝐵}⟶1-1onto{𝐶, 𝐷}))
1211spcegv 3557 . . 3 ({⟨𝐴, 𝐶⟩, ⟨𝐵, 𝐷⟩} ∈ V → ({⟨𝐴, 𝐶⟩, ⟨𝐵, 𝐷⟩}:{𝐴, 𝐵}⟶1-1onto{𝐶, 𝐷} → ∃𝑓 𝑓:{𝐴, 𝐵}⟶1-1onto{𝐶, 𝐷}))
131, 10, 12mpsyl 69 . 2 (𝜑 → ∃𝑓 𝑓:{𝐴, 𝐵}⟶1-1onto{𝐶, 𝐷})
14 prex 5406 . . 3 {𝐴, 𝐵} ∈ V
15 prex 5406 . . 3 {𝐶, 𝐷} ∈ V
16 breng 9024 . . 3 (({𝐴, 𝐵} ∈ V ∧ {𝐶, 𝐷} ∈ V) → ({𝐴, 𝐵} ≈ {𝐶, 𝐷} ↔ ∃𝑓 𝑓:{𝐴, 𝐵}⟶1-1onto{𝐶, 𝐷}))
1714, 15, 16mp2an 705 . 2 ({𝐴, 𝐵} ≈ {𝐶, 𝐷} ↔ ∃𝑓 𝑓:{𝐴, 𝐵}⟶1-1onto{𝐶, 𝐷})
1813, 17sylibr 237 1 (𝜑 → {𝐴, 𝐵} ≈ {𝐶, 𝐷})
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ↔ wb 209   ∧ wa 401  ∃wex 1814   ∈ wcel 2151   ≠ wne 2965  Vcvv 3456  {cpr 4592  ⟨cop 4843   class class class wbr 5111  ⟶1-1ontowf1o 6569   ≈ cen 9012
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1830  ax-4 1844  ax-5 1947  ax-6 2004  ax-7 2045  ax-8 2153  ax-9 2161  ax-12 2220  ax-ext 2741  ax-sep 5258  ax-pr 5401
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3an 1106  df-tru 1575  df-fal 1585  df-ex 1815  df-sb 2105  df-mo 2571  df-clab 2748  df-cleq 2761  df-clel 2845  df-ne 2966  df-ral 3087  df-rex 3097  df-rab 3419  df-v 3458  df-ss 3903  df-dif 4052  df-in 4096  df-un 4156  df-nul 4284  df-if 4488  df-sn 4591  df-pr 4593  df-op 4844  df-br 5112  df-opab 5177  df-id 5556  df-xp 5667  df-rel 5668  df-cnv 5669  df-co 5670  df-dm 5671  df-rn 5672  df-fun 6572  df-fn 6573  df-f 6574  df-f1 6575  df-fo 6576  df-f1o 6577  df-en 9016
This theorem is used by:  enpr2d  9118  rex2dom  9286
  Copyright terms: Public domain W3C validator