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

Theorem f1oprg 6891
Description: An unordered pair of ordered pairs with different elements is a one-to-one onto function, analogous to f1oprswap 6890. (Contributed by Alexander van der Vekens, 14-Aug-2017.)
Assertion
Ref Expression
f1oprg (((𝐴 ∈ 𝑉 ∧ 𝐵 ∈ 𝑊) ∧ (𝐶 ∈ 𝑋 ∧ 𝐷 ∈ 𝑌)) → ((𝐴 ≠ 𝐶 ∧ 𝐵 ≠ 𝐷) → {⟨𝐴, 𝐵⟩, ⟨𝐶, 𝐷⟩}:{𝐴, 𝐶}⟶1-1onto{𝐵, 𝐷}))

Proof of Theorem f1oprg
StepHypRef Expression
1 f1osng 6887 . . . . 5 ((𝐴 ∈ 𝑉 ∧ 𝐵 ∈ 𝑊) → {⟨𝐴, 𝐵⟩}:{𝐴}⟶1-1onto{𝐵})
21ad2antrr 739 . . . 4 ((((𝐴 ∈ 𝑉 ∧ 𝐵 ∈ 𝑊) ∧ (𝐶 ∈ 𝑋 ∧ 𝐷 ∈ 𝑌)) ∧ (𝐴 ≠ 𝐶 ∧ 𝐵 ≠ 𝐷)) → {⟨𝐴, 𝐵⟩}:{𝐴}⟶1-1onto{𝐵})
3 f1osng 6887 . . . . 5 ((𝐶 ∈ 𝑋 ∧ 𝐷 ∈ 𝑌) → {⟨𝐶, 𝐷⟩}:{𝐶}⟶1-1onto{𝐷})
43ad2antlr 740 . . . 4 ((((𝐴 ∈ 𝑉 ∧ 𝐵 ∈ 𝑊) ∧ (𝐶 ∈ 𝑋 ∧ 𝐷 ∈ 𝑌)) ∧ (𝐴 ≠ 𝐶 ∧ 𝐵 ≠ 𝐷)) → {⟨𝐶, 𝐷⟩}:{𝐶}⟶1-1onto{𝐷})
5 disjsn2 4673 . . . . 5 (𝐴 ≠ 𝐶 → ({𝐴} ∩ {𝐶}) = ∅)
65ad2antrl 741 . . . 4 ((((𝐴 ∈ 𝑉 ∧ 𝐵 ∈ 𝑊) ∧ (𝐶 ∈ 𝑋 ∧ 𝐷 ∈ 𝑌)) ∧ (𝐴 ≠ 𝐶 ∧ 𝐵 ≠ 𝐷)) → ({𝐴} ∩ {𝐶}) = ∅)
7 disjsn2 4673 . . . . 5 (𝐵 ≠ 𝐷 → ({𝐵} ∩ {𝐷}) = ∅)
87ad2antll 742 . . . 4 ((((𝐴 ∈ 𝑉 ∧ 𝐵 ∈ 𝑊) ∧ (𝐶 ∈ 𝑋 ∧ 𝐷 ∈ 𝑌)) ∧ (𝐴 ≠ 𝐶 ∧ 𝐵 ≠ 𝐷)) → ({𝐵} ∩ {𝐷}) = ∅)
9 f1oun 6863 . . . 4 ((({⟨𝐴, 𝐵⟩}:{𝐴}⟶1-1onto{𝐵} ∧ {⟨𝐶, 𝐷⟩}:{𝐶}⟶1-1onto{𝐷}) ∧ (({𝐴} ∩ {𝐶}) = ∅ ∧ ({𝐵} ∩ {𝐷}) = ∅)) → ({⟨𝐴, 𝐵⟩} ∪ {⟨𝐶, 𝐷⟩}):({𝐴} ∪ {𝐶})⟶1-1onto({𝐵} ∪ {𝐷}))
102, 4, 6, 8, 9syl22anc 852 . . 3 ((((𝐴 ∈ 𝑉 ∧ 𝐵 ∈ 𝑊) ∧ (𝐶 ∈ 𝑋 ∧ 𝐷 ∈ 𝑌)) ∧ (𝐴 ≠ 𝐶 ∧ 𝐵 ≠ 𝐷)) → ({⟨𝐴, 𝐵⟩} ∪ {⟨𝐶, 𝐷⟩}):({𝐴} ∪ {𝐶})⟶1-1onto({𝐵} ∪ {𝐷}))
11 df-pr 4591 . . . . . 6 {⟨𝐴, 𝐵⟩, ⟨𝐶, 𝐷⟩} = ({⟨𝐴, 𝐵⟩} ∪ {⟨𝐶, 𝐷⟩})
1211eqcomi 2772 . . . . 5 ({⟨𝐴, 𝐵⟩} ∪ {⟨𝐶, 𝐷⟩}) = {⟨𝐴, 𝐵⟩, ⟨𝐶, 𝐷⟩}
1312a1i 11 . . . 4 ((((𝐴 ∈ 𝑉 ∧ 𝐵 ∈ 𝑊) ∧ (𝐶 ∈ 𝑋 ∧ 𝐷 ∈ 𝑌)) ∧ (𝐴 ≠ 𝐶 ∧ 𝐵 ≠ 𝐷)) → ({⟨𝐴, 𝐵⟩} ∪ {⟨𝐶, 𝐷⟩}) = {⟨𝐴, 𝐵⟩, ⟨𝐶, 𝐷⟩})
14 df-pr 4591 . . . . . 6 {𝐴, 𝐶} = ({𝐴} ∪ {𝐶})
1514eqcomi 2772 . . . . 5 ({𝐴} ∪ {𝐶}) = {𝐴, 𝐶}
1615a1i 11 . . . 4 ((((𝐴 ∈ 𝑉 ∧ 𝐵 ∈ 𝑊) ∧ (𝐶 ∈ 𝑋 ∧ 𝐷 ∈ 𝑌)) ∧ (𝐴 ≠ 𝐶 ∧ 𝐵 ≠ 𝐷)) → ({𝐴} ∪ {𝐶}) = {𝐴, 𝐶})
17 df-pr 4591 . . . . . 6 {𝐵, 𝐷} = ({𝐵} ∪ {𝐷})
1817eqcomi 2772 . . . . 5 ({𝐵} ∪ {𝐷}) = {𝐵, 𝐷}
1918a1i 11 . . . 4 ((((𝐴 ∈ 𝑉 ∧ 𝐵 ∈ 𝑊) ∧ (𝐶 ∈ 𝑋 ∧ 𝐷 ∈ 𝑌)) ∧ (𝐴 ≠ 𝐶 ∧ 𝐵 ≠ 𝐷)) → ({𝐵} ∪ {𝐷}) = {𝐵, 𝐷})
2013, 16, 19f1oeq123d 6837 . . 3 ((((𝐴 ∈ 𝑉 ∧ 𝐵 ∈ 𝑊) ∧ (𝐶 ∈ 𝑋 ∧ 𝐷 ∈ 𝑌)) ∧ (𝐴 ≠ 𝐶 ∧ 𝐵 ≠ 𝐷)) → (({⟨𝐴, 𝐵⟩} ∪ {⟨𝐶, 𝐷⟩}):({𝐴} ∪ {𝐶})⟶1-1onto({𝐵} ∪ {𝐷}) ↔ {⟨𝐴, 𝐵⟩, ⟨𝐶, 𝐷⟩}:{𝐴, 𝐶}⟶1-1onto{𝐵, 𝐷}))
2110, 20mpbid 235 . 2 ((((𝐴 ∈ 𝑉 ∧ 𝐵 ∈ 𝑊) ∧ (𝐶 ∈ 𝑋 ∧ 𝐷 ∈ 𝑌)) ∧ (𝐴 ≠ 𝐶 ∧ 𝐵 ≠ 𝐷)) → {⟨𝐴, 𝐵⟩, ⟨𝐶, 𝐷⟩}:{𝐴, 𝐶}⟶1-1onto{𝐵, 𝐷})
2221ex 418 1 (((𝐴 ∈ 𝑉 ∧ 𝐵 ∈ 𝑊) ∧ (𝐶 ∈ 𝑋 ∧ 𝐷 ∈ 𝑌)) → ((𝐴 ≠ 𝐶 ∧ 𝐵 ≠ 𝐷) → {⟨𝐴, 𝐵⟩, ⟨𝐶, 𝐷⟩}:{𝐴, 𝐶}⟶1-1onto{𝐵, 𝐷}))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ∧ wa 401   = wceq 1570   ∈ wcel 2147   ≠ wne 2959   ∩ cin 4092   ∪ cun 4152  ∅c0 4281  {csn 4588  {cpr 4590  ⟨cop 4838  ⟶1-1ontowf1o 6554
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-12 2216  ax-ext 2735  ax-sep 5252  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-sb 2102  df-mo 2567  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-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-fun 6557  df-fn 6558  df-f 6559  df-f1 6560  df-fo 6561  df-f1o 6562
This theorem is used by:  f1prex  7312  en2prd  9100  s2f1o  15093  f1oun2prg  15094  symg2bas  19634  s2f1  33577  poimirlem9  38738  poimirlem15  38744
  Copyright terms: Public domain W3C validator