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

Theorem funcnvpr 6607
Description: The converse pair of ordered pairs is a function if the second members are different. Note that the second members need not be sets. (Contributed by AV, 23-Jan-2021.)
Assertion
Ref Expression
funcnvpr ((𝐴 ∈ 𝑈 ∧ 𝐶 ∈ 𝑉 ∧ 𝐵 ≠ 𝐷) → Fun ◡{⟨𝐴, 𝐵⟩, ⟨𝐶, 𝐷⟩})

Proof of Theorem funcnvpr
StepHypRef Expression
1 funcnvsn 6595 . . . 4 Fun ◡{⟨𝐴, 𝐵⟩}
2 funcnvsn 6595 . . . 4 Fun ◡{⟨𝐶, 𝐷⟩}
31, 2pm3.2i 476 . . 3 (Fun ◡{⟨𝐴, 𝐵⟩} ∧ Fun ◡{⟨𝐶, 𝐷⟩})
4 df-rn 5662 . . . . . . 7 ran {⟨𝐴, 𝐵⟩} = dom ◡{⟨𝐴, 𝐵⟩}
5 rnsnopg 6225 . . . . . . 7 (𝐴 ∈ 𝑈 → ran {⟨𝐴, 𝐵⟩} = {𝐵})
64, 5eqtr3id 2809 . . . . . 6 (𝐴 ∈ 𝑈 → dom ◡{⟨𝐴, 𝐵⟩} = {𝐵})
7 df-rn 5662 . . . . . . 7 ran {⟨𝐶, 𝐷⟩} = dom ◡{⟨𝐶, 𝐷⟩}
8 rnsnopg 6225 . . . . . . 7 (𝐶 ∈ 𝑉 → ran {⟨𝐶, 𝐷⟩} = {𝐷})
97, 8eqtr3id 2809 . . . . . 6 (𝐶 ∈ 𝑉 → dom ◡{⟨𝐶, 𝐷⟩} = {𝐷})
106, 9ineqan12d 4118 . . . . 5 ((𝐴 ∈ 𝑈 ∧ 𝐶 ∈ 𝑉) → (dom ◡{⟨𝐴, 𝐵⟩} ∩ dom ◡{⟨𝐶, 𝐷⟩}) = ({𝐵} ∩ {𝐷}))
11103adant3 1150 . . . 4 ((𝐴 ∈ 𝑈 ∧ 𝐶 ∈ 𝑉 ∧ 𝐵 ≠ 𝐷) → (dom ◡{⟨𝐴, 𝐵⟩} ∩ dom ◡{⟨𝐶, 𝐷⟩}) = ({𝐵} ∩ {𝐷}))
12 disjsn2 4669 . . . . 5 (𝐵 ≠ 𝐷 → ({𝐵} ∩ {𝐷}) = ∅)
13123ad2ant3 1153 . . . 4 ((𝐴 ∈ 𝑈 ∧ 𝐶 ∈ 𝑉 ∧ 𝐵 ≠ 𝐷) → ({𝐵} ∩ {𝐷}) = ∅)
1411, 13eqtrd 2795 . . 3 ((𝐴 ∈ 𝑈 ∧ 𝐶 ∈ 𝑉 ∧ 𝐵 ≠ 𝐷) → (dom ◡{⟨𝐴, 𝐵⟩} ∩ dom ◡{⟨𝐶, 𝐷⟩}) = ∅)
15 funun 6591 . . 3 (((Fun ◡{⟨𝐴, 𝐵⟩} ∧ Fun ◡{⟨𝐶, 𝐷⟩}) ∧ (dom ◡{⟨𝐴, 𝐵⟩} ∩ dom ◡{⟨𝐶, 𝐷⟩}) = ∅) → Fun (◡{⟨𝐴, 𝐵⟩} ∪ ◡{⟨𝐶, 𝐷⟩}))
163, 14, 15sylancr 599 . 2 ((𝐴 ∈ 𝑈 ∧ 𝐶 ∈ 𝑉 ∧ 𝐵 ≠ 𝐷) → Fun (◡{⟨𝐴, 𝐵⟩} ∪ ◡{⟨𝐶, 𝐷⟩}))
17 df-pr 4587 . . . . 5 {⟨𝐴, 𝐵⟩, ⟨𝐶, 𝐷⟩} = ({⟨𝐴, 𝐵⟩} ∪ {⟨𝐶, 𝐷⟩})
1817cnveqi 5853 . . . 4 ◡{⟨𝐴, 𝐵⟩, ⟨𝐶, 𝐷⟩} = ◡({⟨𝐴, 𝐵⟩} ∪ {⟨𝐶, 𝐷⟩})
19 cnvun 6135 . . . 4 ◡({⟨𝐴, 𝐵⟩} ∪ {⟨𝐶, 𝐷⟩}) = (◡{⟨𝐴, 𝐵⟩} ∪ ◡{⟨𝐶, 𝐷⟩})
2018, 19eqtri 2783 . . 3 ◡{⟨𝐴, 𝐵⟩, ⟨𝐶, 𝐷⟩} = (◡{⟨𝐴, 𝐵⟩} ∪ ◡{⟨𝐶, 𝐷⟩})
2120funeqi 6565 . 2 (Fun ◡{⟨𝐴, 𝐵⟩, ⟨𝐶, 𝐷⟩} ↔ Fun (◡{⟨𝐴, 𝐵⟩} ∪ ◡{⟨𝐶, 𝐷⟩}))
2216, 21sylibr 237 1 ((𝐴 ∈ 𝑈 ∧ 𝐶 ∈ 𝑉 ∧ 𝐵 ≠ 𝐷) → Fun ◡{⟨𝐴, 𝐵⟩, ⟨𝐶, 𝐷⟩})
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ∧ wa 401   ∧ w3a 1103   = wceq 1569   ∈ wcel 2144   ≠ wne 2955   ∩ cin 4088   ∪ cun 4148  ∅c0 4277  {csn 4584  {cpr 4586  ⟨cop 4834  ◡ccnv 5650  dom cdm 5651  ran crn 5652  Fun wfun 6537
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1827  ax-4 1841  ax-5 1942  ax-6 1999  ax-7 2040  ax-8 2146  ax-9 2154  ax-12 2212  ax-ext 2732  ax-sep 5248  ax-pr 5391
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3an 1105  df-tru 1572  df-fal 1582  df-ex 1812  df-sb 2099  df-mo 2564  df-clab 2739  df-cleq 2752  df-clel 2835  df-ne 2956  df-ral 3077  df-rex 3087  df-rab 3413  df-v 3452  df-ss 3897  df-dif 4046  df-in 4090  df-un 4150  df-nul 4278  df-if 4482  df-sn 4585  df-pr 4587  df-op 4835  df-br 5103  df-opab 5167  df-id 5546  df-xp 5657  df-rel 5658  df-cnv 5659  df-co 5660  df-dm 5661  df-rn 5662  df-fun 6545
This theorem is used by:  funcnvtp  6608  funcnvqp  6609  funcnvs2  15073
  Copyright terms: Public domain W3C validator