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

Theorem funcnvpr 6600
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 6588 . . . 4 Fun ◡{⟨𝐴, 𝐵⟩}
2 funcnvsn 6588 . . . 4 Fun ◡{⟨𝐶, 𝐷⟩}
31, 2pm3.2i 476 . . 3 (Fun ◡{⟨𝐴, 𝐵⟩} ∧ Fun ◡{⟨𝐶, 𝐷⟩})
4 df-rn 5662 . . . . . . 7 ran {⟨𝐴, 𝐵⟩} = dom ◡{⟨𝐴, 𝐵⟩}
5 rnsnopg 6221 . . . . . . 7 (𝐴 ∈ 𝑈 → ran {⟨𝐴, 𝐵⟩} = {𝐵})
64, 5eqtr3id 2810 . . . . . 6 (𝐴 ∈ 𝑈 → dom ◡{⟨𝐴, 𝐵⟩} = {𝐵})
7 df-rn 5662 . . . . . . 7 ran {⟨𝐶, 𝐷⟩} = dom ◡{⟨𝐶, 𝐷⟩}
8 rnsnopg 6221 . . . . . . 7 (𝐶 ∈ 𝑉 → ran {⟨𝐶, 𝐷⟩} = {𝐷})
97, 8eqtr3id 2810 . . . . . 6 (𝐶 ∈ 𝑉 → dom ◡{⟨𝐶, 𝐷⟩} = {𝐷})
106, 9ineqan12d 4168 . . . . 5 ((𝐴 ∈ 𝑈 ∧ 𝐶 ∈ 𝑉) → (dom ◡{⟨𝐴, 𝐵⟩} ∩ dom ◡{⟨𝐶, 𝐷⟩}) = ({𝐵} ∩ {𝐷}))
11103adant3 1150 . . . 4 ((𝐴 ∈ 𝑈 ∧ 𝐶 ∈ 𝑉 ∧ 𝐵 ≠ 𝐷) → (dom ◡{⟨𝐴, 𝐵⟩} ∩ dom ◡{⟨𝐶, 𝐷⟩}) = ({𝐵} ∩ {𝐷}))
12 disjsn2 4673 . . . . 5 (𝐵 ≠ 𝐷 → ({𝐵} ∩ {𝐷}) = ∅)
13123ad2ant3 1153 . . . 4 ((𝐴 ∈ 𝑈 ∧ 𝐶 ∈ 𝑉 ∧ 𝐵 ≠ 𝐷) → ({𝐵} ∩ {𝐷}) = ∅)
1411, 13eqtrd 2796 . . 3 ((𝐴 ∈ 𝑈 ∧ 𝐶 ∈ 𝑉 ∧ 𝐵 ≠ 𝐷) → (dom ◡{⟨𝐴, 𝐵⟩} ∩ dom ◡{⟨𝐶, 𝐷⟩}) = ∅)
15 funun 6584 . . 3 (((Fun ◡{⟨𝐴, 𝐵⟩} ∧ Fun ◡{⟨𝐶, 𝐷⟩}) ∧ (dom ◡{⟨𝐴, 𝐵⟩} ∩ dom ◡{⟨𝐶, 𝐷⟩}) = ∅) → Fun (◡{⟨𝐴, 𝐵⟩} ∪ ◡{⟨𝐶, 𝐷⟩}))
163, 14, 15sylancr 599 . 2 ((𝐴 ∈ 𝑈 ∧ 𝐶 ∈ 𝑉 ∧ 𝐵 ≠ 𝐷) → Fun (◡{⟨𝐴, 𝐵⟩} ∪ ◡{⟨𝐶, 𝐷⟩}))
17 df-pr 4587 . . . . 5 {⟨𝐴, 𝐵⟩, ⟨𝐶, 𝐷⟩} = ({⟨𝐴, 𝐵⟩} ∪ {⟨𝐶, 𝐷⟩})
1817cnveqi 5852 . . . 4 ◡{⟨𝐴, 𝐵⟩, ⟨𝐶, 𝐷⟩} = ◡({⟨𝐴, 𝐵⟩} ∪ {⟨𝐶, 𝐷⟩})
19 cnvun 6133 . . . 4 ◡({⟨𝐴, 𝐵⟩} ∪ {⟨𝐶, 𝐷⟩}) = (◡{⟨𝐴, 𝐵⟩} ∪ ◡{⟨𝐶, 𝐷⟩})
2018, 19eqtri 2784 . . 3 ◡{⟨𝐴, 𝐵⟩, ⟨𝐶, 𝐷⟩} = (◡{⟨𝐴, 𝐵⟩} ∪ ◡{⟨𝐶, 𝐷⟩})
2120funeqi 6558 . 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 1570   ∈ wcel 2145   ≠ wne 2956   ∪ cun 3897   ∩ cin 3898  ∅c0 4279  {csn 4584  {cpr 4586  ⟨cop 4590  ◡ccnv 5650  dom cdm 5651  ran crn 5652  Fun wfun 6531
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 1943  ax-6 2000  ax-7 2041  ax-8 2147  ax-9 2155  ax-12 2213  ax-ext 2733  ax-sep 5249  ax-pr 5391
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 2100  df-mo 2565  df-clab 2740  df-cleq 2753  df-clel 2836  df-ne 2957  df-ral 3078  df-rex 3088  df-rab 3414  df-v 3453  df-dif 3902  df-un 3904  df-in 3906  df-ss 3916  df-nul 4280  df-if 4483  df-sn 4585  df-pr 4587  df-op 4591  df-br 5104  df-opab 5168  df-id 5546  df-xp 5657  df-rel 5658  df-cnv 5659  df-co 5660  df-dm 5661  df-rn 5662  df-fun 6539
This theorem is used by:  funcnvtp  6601  funcnvqp  6602  funcnvs2  15057
  Copyright terms: Public domain W3C validator