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

Theorem funcnvtp 6609
Description: The converse triple of ordered pairs is a function if the second members are pairwise different. Note that the second members need not be sets. (Contributed by AV, 23-Jan-2021.)
Assertion
Ref Expression
funcnvtp (((𝐴𝑈𝐶𝑉𝐸𝑊) ∧ (𝐵𝐷𝐵𝐹𝐷𝐹)) → Fun {⟨𝐴, 𝐵⟩, ⟨𝐶, 𝐷⟩, ⟨𝐸, 𝐹⟩})

Proof of Theorem funcnvtp
StepHypRef Expression
1 simp1 1137 . . . 4 ((𝐴𝑈𝐶𝑉𝐸𝑊) → 𝐴𝑈)
2 simp2 1138 . . . 4 ((𝐴𝑈𝐶𝑉𝐸𝑊) → 𝐶𝑉)
3 simp1 1137 . . . 4 ((𝐵𝐷𝐵𝐹𝐷𝐹) → 𝐵𝐷)
4 funcnvpr 6608 . . . 4 ((𝐴𝑈𝐶𝑉𝐵𝐷) → Fun {⟨𝐴, 𝐵⟩, ⟨𝐶, 𝐷⟩})
51, 2, 3, 4syl2an3an 1423 . . 3 (((𝐴𝑈𝐶𝑉𝐸𝑊) ∧ (𝐵𝐷𝐵𝐹𝐷𝐹)) → Fun {⟨𝐴, 𝐵⟩, ⟨𝐶, 𝐷⟩})
6 funcnvsn 6596 . . . 4 Fun {⟨𝐸, 𝐹⟩}
76a1i 11 . . 3 (((𝐴𝑈𝐶𝑉𝐸𝑊) ∧ (𝐵𝐷𝐵𝐹𝐷𝐹)) → Fun {⟨𝐸, 𝐹⟩})
8 df-rn 5687 . . . . . . 7 ran {⟨𝐴, 𝐵⟩, ⟨𝐶, 𝐷⟩} = dom {⟨𝐴, 𝐵⟩, ⟨𝐶, 𝐷⟩}
9 rnpropg 6219 . . . . . . 7 ((𝐴𝑈𝐶𝑉) → ran {⟨𝐴, 𝐵⟩, ⟨𝐶, 𝐷⟩} = {𝐵, 𝐷})
108, 9eqtr3id 2787 . . . . . 6 ((𝐴𝑈𝐶𝑉) → dom {⟨𝐴, 𝐵⟩, ⟨𝐶, 𝐷⟩} = {𝐵, 𝐷})
11103adant3 1133 . . . . 5 ((𝐴𝑈𝐶𝑉𝐸𝑊) → dom {⟨𝐴, 𝐵⟩, ⟨𝐶, 𝐷⟩} = {𝐵, 𝐷})
12 df-rn 5687 . . . . . . 7 ran {⟨𝐸, 𝐹⟩} = dom {⟨𝐸, 𝐹⟩}
13 rnsnopg 6218 . . . . . . 7 (𝐸𝑊 → ran {⟨𝐸, 𝐹⟩} = {𝐹})
1412, 13eqtr3id 2787 . . . . . 6 (𝐸𝑊 → dom {⟨𝐸, 𝐹⟩} = {𝐹})
15143ad2ant3 1136 . . . . 5 ((𝐴𝑈𝐶𝑉𝐸𝑊) → dom {⟨𝐸, 𝐹⟩} = {𝐹})
1611, 15ineq12d 4213 . . . 4 ((𝐴𝑈𝐶𝑉𝐸𝑊) → (dom {⟨𝐴, 𝐵⟩, ⟨𝐶, 𝐷⟩} ∩ dom {⟨𝐸, 𝐹⟩}) = ({𝐵, 𝐷} ∩ {𝐹}))
17 disjprsn 4718 . . . . 5 ((𝐵𝐹𝐷𝐹) → ({𝐵, 𝐷} ∩ {𝐹}) = ∅)
18173adant1 1131 . . . 4 ((𝐵𝐷𝐵𝐹𝐷𝐹) → ({𝐵, 𝐷} ∩ {𝐹}) = ∅)
1916, 18sylan9eq 2793 . . 3 (((𝐴𝑈𝐶𝑉𝐸𝑊) ∧ (𝐵𝐷𝐵𝐹𝐷𝐹)) → (dom {⟨𝐴, 𝐵⟩, ⟨𝐶, 𝐷⟩} ∩ dom {⟨𝐸, 𝐹⟩}) = ∅)
20 funun 6592 . . 3 (((Fun {⟨𝐴, 𝐵⟩, ⟨𝐶, 𝐷⟩} ∧ Fun {⟨𝐸, 𝐹⟩}) ∧ (dom {⟨𝐴, 𝐵⟩, ⟨𝐶, 𝐷⟩} ∩ dom {⟨𝐸, 𝐹⟩}) = ∅) → Fun ({⟨𝐴, 𝐵⟩, ⟨𝐶, 𝐷⟩} ∪ {⟨𝐸, 𝐹⟩}))
215, 7, 19, 20syl21anc 837 . 2 (((𝐴𝑈𝐶𝑉𝐸𝑊) ∧ (𝐵𝐷𝐵𝐹𝐷𝐹)) → Fun ({⟨𝐴, 𝐵⟩, ⟨𝐶, 𝐷⟩} ∪ {⟨𝐸, 𝐹⟩}))
22 df-tp 4633 . . . . 5 {⟨𝐴, 𝐵⟩, ⟨𝐶, 𝐷⟩, ⟨𝐸, 𝐹⟩} = ({⟨𝐴, 𝐵⟩, ⟨𝐶, 𝐷⟩} ∪ {⟨𝐸, 𝐹⟩})
2322cnveqi 5873 . . . 4 {⟨𝐴, 𝐵⟩, ⟨𝐶, 𝐷⟩, ⟨𝐸, 𝐹⟩} = ({⟨𝐴, 𝐵⟩, ⟨𝐶, 𝐷⟩} ∪ {⟨𝐸, 𝐹⟩})
24 cnvun 6140 . . . 4 ({⟨𝐴, 𝐵⟩, ⟨𝐶, 𝐷⟩} ∪ {⟨𝐸, 𝐹⟩}) = ({⟨𝐴, 𝐵⟩, ⟨𝐶, 𝐷⟩} ∪ {⟨𝐸, 𝐹⟩})
2523, 24eqtri 2761 . . 3 {⟨𝐴, 𝐵⟩, ⟨𝐶, 𝐷⟩, ⟨𝐸, 𝐹⟩} = ({⟨𝐴, 𝐵⟩, ⟨𝐶, 𝐷⟩} ∪ {⟨𝐸, 𝐹⟩})
2625funeqi 6567 . 2 (Fun {⟨𝐴, 𝐵⟩, ⟨𝐶, 𝐷⟩, ⟨𝐸, 𝐹⟩} ↔ Fun ({⟨𝐴, 𝐵⟩, ⟨𝐶, 𝐷⟩} ∪ {⟨𝐸, 𝐹⟩}))
2721, 26sylibr 233 1 (((𝐴𝑈𝐶𝑉𝐸𝑊) ∧ (𝐵𝐷𝐵𝐹𝐷𝐹)) → Fun {⟨𝐴, 𝐵⟩, ⟨𝐶, 𝐷⟩, ⟨𝐸, 𝐹⟩})
Colors of variables: wff setvar class
Syntax hints:  wi 4  wa 397  w3a 1088   = wceq 1542  wcel 2107  wne 2941  cun 3946  cin 3947  c0 4322  {csn 4628  {cpr 4630  {ctp 4632  cop 4634  ccnv 5675  dom cdm 5676  ran crn 5677  Fun wfun 6535
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1798  ax-4 1812  ax-5 1914  ax-6 1972  ax-7 2012  ax-8 2109  ax-9 2117  ax-10 2138  ax-12 2172  ax-ext 2704  ax-sep 5299  ax-nul 5306  ax-pr 5427
This theorem depends on definitions:  df-bi 206  df-an 398  df-or 847  df-3an 1090  df-tru 1545  df-fal 1555  df-ex 1783  df-nf 1787  df-sb 2069  df-mo 2535  df-clab 2711  df-cleq 2725  df-clel 2811  df-ne 2942  df-ral 3063  df-rex 3072  df-rab 3434  df-v 3477  df-dif 3951  df-un 3953  df-in 3955  df-ss 3965  df-nul 4323  df-if 4529  df-sn 4629  df-pr 4631  df-tp 4633  df-op 4635  df-br 5149  df-opab 5211  df-id 5574  df-xp 5682  df-rel 5683  df-cnv 5684  df-co 5685  df-dm 5686  df-rn 5687  df-fun 6543
This theorem is referenced by:  funcnvs3  14862
  Copyright terms: Public domain W3C validator