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

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

Proof of Theorem f1oprg
StepHypRef Expression
1 f1osng 6650 . . . . 5 ((𝐴𝑉𝐵𝑊) → {⟨𝐴, 𝐵⟩}:{𝐴}–1-1-onto→{𝐵})
21ad2antrr 724 . . . 4 ((((𝐴𝑉𝐵𝑊) ∧ (𝐶𝑋𝐷𝑌)) ∧ (𝐴𝐶𝐵𝐷)) → {⟨𝐴, 𝐵⟩}:{𝐴}–1-1-onto→{𝐵})
3 f1osng 6650 . . . . 5 ((𝐶𝑋𝐷𝑌) → {⟨𝐶, 𝐷⟩}:{𝐶}–1-1-onto→{𝐷})
43ad2antlr 725 . . . 4 ((((𝐴𝑉𝐵𝑊) ∧ (𝐶𝑋𝐷𝑌)) ∧ (𝐴𝐶𝐵𝐷)) → {⟨𝐶, 𝐷⟩}:{𝐶}–1-1-onto→{𝐷})
5 disjsn2 4642 . . . . 5 (𝐴𝐶 → ({𝐴} ∩ {𝐶}) = ∅)
65ad2antrl 726 . . . 4 ((((𝐴𝑉𝐵𝑊) ∧ (𝐶𝑋𝐷𝑌)) ∧ (𝐴𝐶𝐵𝐷)) → ({𝐴} ∩ {𝐶}) = ∅)
7 disjsn2 4642 . . . . 5 (𝐵𝐷 → ({𝐵} ∩ {𝐷}) = ∅)
87ad2antll 727 . . . 4 ((((𝐴𝑉𝐵𝑊) ∧ (𝐶𝑋𝐷𝑌)) ∧ (𝐴𝐶𝐵𝐷)) → ({𝐵} ∩ {𝐷}) = ∅)
9 f1oun 6629 . . . 4 ((({⟨𝐴, 𝐵⟩}:{𝐴}–1-1-onto→{𝐵} ∧ {⟨𝐶, 𝐷⟩}:{𝐶}–1-1-onto→{𝐷}) ∧ (({𝐴} ∩ {𝐶}) = ∅ ∧ ({𝐵} ∩ {𝐷}) = ∅)) → ({⟨𝐴, 𝐵⟩} ∪ {⟨𝐶, 𝐷⟩}):({𝐴} ∪ {𝐶})–1-1-onto→({𝐵} ∪ {𝐷}))
102, 4, 6, 8, 9syl22anc 836 . . 3 ((((𝐴𝑉𝐵𝑊) ∧ (𝐶𝑋𝐷𝑌)) ∧ (𝐴𝐶𝐵𝐷)) → ({⟨𝐴, 𝐵⟩} ∪ {⟨𝐶, 𝐷⟩}):({𝐴} ∪ {𝐶})–1-1-onto→({𝐵} ∪ {𝐷}))
11 df-pr 4564 . . . . . 6 {⟨𝐴, 𝐵⟩, ⟨𝐶, 𝐷⟩} = ({⟨𝐴, 𝐵⟩} ∪ {⟨𝐶, 𝐷⟩})
1211eqcomi 2830 . . . . 5 ({⟨𝐴, 𝐵⟩} ∪ {⟨𝐶, 𝐷⟩}) = {⟨𝐴, 𝐵⟩, ⟨𝐶, 𝐷⟩}
1312a1i 11 . . . 4 ((((𝐴𝑉𝐵𝑊) ∧ (𝐶𝑋𝐷𝑌)) ∧ (𝐴𝐶𝐵𝐷)) → ({⟨𝐴, 𝐵⟩} ∪ {⟨𝐶, 𝐷⟩}) = {⟨𝐴, 𝐵⟩, ⟨𝐶, 𝐷⟩})
14 df-pr 4564 . . . . . 6 {𝐴, 𝐶} = ({𝐴} ∪ {𝐶})
1514eqcomi 2830 . . . . 5 ({𝐴} ∪ {𝐶}) = {𝐴, 𝐶}
1615a1i 11 . . . 4 ((((𝐴𝑉𝐵𝑊) ∧ (𝐶𝑋𝐷𝑌)) ∧ (𝐴𝐶𝐵𝐷)) → ({𝐴} ∪ {𝐶}) = {𝐴, 𝐶})
17 df-pr 4564 . . . . . 6 {𝐵, 𝐷} = ({𝐵} ∪ {𝐷})
1817eqcomi 2830 . . . . 5 ({𝐵} ∪ {𝐷}) = {𝐵, 𝐷}
1918a1i 11 . . . 4 ((((𝐴𝑉𝐵𝑊) ∧ (𝐶𝑋𝐷𝑌)) ∧ (𝐴𝐶𝐵𝐷)) → ({𝐵} ∪ {𝐷}) = {𝐵, 𝐷})
2013, 16, 19f1oeq123d 6605 . . 3 ((((𝐴𝑉𝐵𝑊) ∧ (𝐶𝑋𝐷𝑌)) ∧ (𝐴𝐶𝐵𝐷)) → (({⟨𝐴, 𝐵⟩} ∪ {⟨𝐶, 𝐷⟩}):({𝐴} ∪ {𝐶})–1-1-onto→({𝐵} ∪ {𝐷}) ↔ {⟨𝐴, 𝐵⟩, ⟨𝐶, 𝐷⟩}:{𝐴, 𝐶}–1-1-onto→{𝐵, 𝐷}))
2110, 20mpbid 234 . 2 ((((𝐴𝑉𝐵𝑊) ∧ (𝐶𝑋𝐷𝑌)) ∧ (𝐴𝐶𝐵𝐷)) → {⟨𝐴, 𝐵⟩, ⟨𝐶, 𝐷⟩}:{𝐴, 𝐶}–1-1-onto→{𝐵, 𝐷})
2221ex 415 1 (((𝐴𝑉𝐵𝑊) ∧ (𝐶𝑋𝐷𝑌)) → ((𝐴𝐶𝐵𝐷) → {⟨𝐴, 𝐵⟩, ⟨𝐶, 𝐷⟩}:{𝐴, 𝐶}–1-1-onto→{𝐵, 𝐷}))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wa 398   = wceq 1533  wcel 2110  wne 3016  cun 3934  cin 3935  c0 4291  {csn 4561  {cpr 4563  cop 4567  1-1-ontowf1o 6349
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1792  ax-4 1806  ax-5 1907  ax-6 1966  ax-7 2011  ax-8 2112  ax-9 2120  ax-10 2141  ax-11 2156  ax-12 2172  ax-ext 2793  ax-sep 5196  ax-nul 5203  ax-pr 5322
This theorem depends on definitions:  df-bi 209  df-an 399  df-or 844  df-3an 1085  df-tru 1536  df-ex 1777  df-nf 1781  df-sb 2066  df-mo 2618  df-eu 2650  df-clab 2800  df-cleq 2814  df-clel 2893  df-nfc 2963  df-ne 3017  df-ral 3143  df-rex 3144  df-rab 3147  df-v 3497  df-dif 3939  df-un 3941  df-in 3943  df-ss 3952  df-nul 4292  df-if 4468  df-sn 4562  df-pr 4564  df-op 4568  df-br 5060  df-opab 5122  df-id 5455  df-xp 5556  df-rel 5557  df-cnv 5558  df-co 5559  df-dm 5560  df-rn 5561  df-fun 6352  df-fn 6353  df-f 6354  df-f1 6355  df-fo 6356  df-f1o 6357
This theorem is referenced by:  f1prex  7034  s2f1o  14272  f1oun2prg  14273  symg2bas  18515  s2f1  30616  poimirlem9  34895  poimirlem15  34901
  Copyright terms: Public domain W3C validator