Users' Mathboxes Mathbox for Thierry Arnoux < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >   Mathboxes  >  coprprop Structured version   Visualization version   GIF version

Theorem coprprop 31959
Description: Composition of two pairs of ordered pairs with matching domain and range. (Contributed by Thierry Arnoux, 24-Sep-2023.)
Hypotheses
Ref Expression
brprop.a (𝜑𝐴𝑉)
brprop.b (𝜑𝐵𝑊)
brprop.c (𝜑𝐶𝑉)
brprop.d (𝜑𝐷𝑊)
mptprop.1 (𝜑𝐴𝐶)
coprprop.e (𝜑𝐸𝑋)
coprprop.f (𝜑𝐹𝑋)
coprprop.1 (𝜑𝐸𝐹)
Assertion
Ref Expression
coprprop (𝜑 → ({⟨𝐴, 𝐵⟩, ⟨𝐶, 𝐷⟩} ∘ {⟨𝐸, 𝐴⟩, ⟨𝐹, 𝐶⟩}) = {⟨𝐸, 𝐵⟩, ⟨𝐹, 𝐷⟩})

Proof of Theorem coprprop
StepHypRef Expression
1 coundir 6247 . . . 4 (({⟨𝐴, 𝐵⟩} ∪ {⟨𝐶, 𝐷⟩}) ∘ {⟨𝐸, 𝐴⟩}) = (({⟨𝐴, 𝐵⟩} ∘ {⟨𝐸, 𝐴⟩}) ∪ ({⟨𝐶, 𝐷⟩} ∘ {⟨𝐸, 𝐴⟩}))
2 brprop.a . . . . . . 7 (𝜑𝐴𝑉)
3 brprop.b . . . . . . 7 (𝜑𝐵𝑊)
4 coprprop.e . . . . . . 7 (𝜑𝐸𝑋)
52, 3, 4cosnop 31955 . . . . . 6 (𝜑 → ({⟨𝐴, 𝐵⟩} ∘ {⟨𝐸, 𝐴⟩}) = {⟨𝐸, 𝐵⟩})
6 brprop.d . . . . . . 7 (𝜑𝐷𝑊)
7 mptprop.1 . . . . . . . 8 (𝜑𝐴𝐶)
87necomd 2996 . . . . . . 7 (𝜑𝐶𝐴)
96, 4, 8cosnopne 31954 . . . . . 6 (𝜑 → ({⟨𝐶, 𝐷⟩} ∘ {⟨𝐸, 𝐴⟩}) = ∅)
105, 9uneq12d 4164 . . . . 5 (𝜑 → (({⟨𝐴, 𝐵⟩} ∘ {⟨𝐸, 𝐴⟩}) ∪ ({⟨𝐶, 𝐷⟩} ∘ {⟨𝐸, 𝐴⟩})) = ({⟨𝐸, 𝐵⟩} ∪ ∅))
11 un0 4390 . . . . 5 ({⟨𝐸, 𝐵⟩} ∪ ∅) = {⟨𝐸, 𝐵⟩}
1210, 11eqtrdi 2788 . . . 4 (𝜑 → (({⟨𝐴, 𝐵⟩} ∘ {⟨𝐸, 𝐴⟩}) ∪ ({⟨𝐶, 𝐷⟩} ∘ {⟨𝐸, 𝐴⟩})) = {⟨𝐸, 𝐵⟩})
131, 12eqtrid 2784 . . 3 (𝜑 → (({⟨𝐴, 𝐵⟩} ∪ {⟨𝐶, 𝐷⟩}) ∘ {⟨𝐸, 𝐴⟩}) = {⟨𝐸, 𝐵⟩})
14 coundir 6247 . . . 4 (({⟨𝐴, 𝐵⟩} ∪ {⟨𝐶, 𝐷⟩}) ∘ {⟨𝐹, 𝐶⟩}) = (({⟨𝐴, 𝐵⟩} ∘ {⟨𝐹, 𝐶⟩}) ∪ ({⟨𝐶, 𝐷⟩} ∘ {⟨𝐹, 𝐶⟩}))
15 coprprop.f . . . . . . 7 (𝜑𝐹𝑋)
163, 15, 7cosnopne 31954 . . . . . 6 (𝜑 → ({⟨𝐴, 𝐵⟩} ∘ {⟨𝐹, 𝐶⟩}) = ∅)
17 brprop.c . . . . . . 7 (𝜑𝐶𝑉)
1817, 6, 15cosnop 31955 . . . . . 6 (𝜑 → ({⟨𝐶, 𝐷⟩} ∘ {⟨𝐹, 𝐶⟩}) = {⟨𝐹, 𝐷⟩})
1916, 18uneq12d 4164 . . . . 5 (𝜑 → (({⟨𝐴, 𝐵⟩} ∘ {⟨𝐹, 𝐶⟩}) ∪ ({⟨𝐶, 𝐷⟩} ∘ {⟨𝐹, 𝐶⟩})) = (∅ ∪ {⟨𝐹, 𝐷⟩}))
20 0un 4392 . . . . 5 (∅ ∪ {⟨𝐹, 𝐷⟩}) = {⟨𝐹, 𝐷⟩}
2119, 20eqtrdi 2788 . . . 4 (𝜑 → (({⟨𝐴, 𝐵⟩} ∘ {⟨𝐹, 𝐶⟩}) ∪ ({⟨𝐶, 𝐷⟩} ∘ {⟨𝐹, 𝐶⟩})) = {⟨𝐹, 𝐷⟩})
2214, 21eqtrid 2784 . . 3 (𝜑 → (({⟨𝐴, 𝐵⟩} ∪ {⟨𝐶, 𝐷⟩}) ∘ {⟨𝐹, 𝐶⟩}) = {⟨𝐹, 𝐷⟩})
2313, 22uneq12d 4164 . 2 (𝜑 → ((({⟨𝐴, 𝐵⟩} ∪ {⟨𝐶, 𝐷⟩}) ∘ {⟨𝐸, 𝐴⟩}) ∪ (({⟨𝐴, 𝐵⟩} ∪ {⟨𝐶, 𝐷⟩}) ∘ {⟨𝐹, 𝐶⟩})) = ({⟨𝐸, 𝐵⟩} ∪ {⟨𝐹, 𝐷⟩}))
24 df-pr 4631 . . . 4 {⟨𝐴, 𝐵⟩, ⟨𝐶, 𝐷⟩} = ({⟨𝐴, 𝐵⟩} ∪ {⟨𝐶, 𝐷⟩})
25 df-pr 4631 . . . 4 {⟨𝐸, 𝐴⟩, ⟨𝐹, 𝐶⟩} = ({⟨𝐸, 𝐴⟩} ∪ {⟨𝐹, 𝐶⟩})
2624, 25coeq12i 5863 . . 3 ({⟨𝐴, 𝐵⟩, ⟨𝐶, 𝐷⟩} ∘ {⟨𝐸, 𝐴⟩, ⟨𝐹, 𝐶⟩}) = (({⟨𝐴, 𝐵⟩} ∪ {⟨𝐶, 𝐷⟩}) ∘ ({⟨𝐸, 𝐴⟩} ∪ {⟨𝐹, 𝐶⟩}))
27 coundi 6246 . . 3 (({⟨𝐴, 𝐵⟩} ∪ {⟨𝐶, 𝐷⟩}) ∘ ({⟨𝐸, 𝐴⟩} ∪ {⟨𝐹, 𝐶⟩})) = ((({⟨𝐴, 𝐵⟩} ∪ {⟨𝐶, 𝐷⟩}) ∘ {⟨𝐸, 𝐴⟩}) ∪ (({⟨𝐴, 𝐵⟩} ∪ {⟨𝐶, 𝐷⟩}) ∘ {⟨𝐹, 𝐶⟩}))
2826, 27eqtri 2760 . 2 ({⟨𝐴, 𝐵⟩, ⟨𝐶, 𝐷⟩} ∘ {⟨𝐸, 𝐴⟩, ⟨𝐹, 𝐶⟩}) = ((({⟨𝐴, 𝐵⟩} ∪ {⟨𝐶, 𝐷⟩}) ∘ {⟨𝐸, 𝐴⟩}) ∪ (({⟨𝐴, 𝐵⟩} ∪ {⟨𝐶, 𝐷⟩}) ∘ {⟨𝐹, 𝐶⟩}))
29 df-pr 4631 . 2 {⟨𝐸, 𝐵⟩, ⟨𝐹, 𝐷⟩} = ({⟨𝐸, 𝐵⟩} ∪ {⟨𝐹, 𝐷⟩})
3023, 28, 293eqtr4g 2797 1 (𝜑 → ({⟨𝐴, 𝐵⟩, ⟨𝐶, 𝐷⟩} ∘ {⟨𝐸, 𝐴⟩, ⟨𝐹, 𝐶⟩}) = {⟨𝐸, 𝐵⟩, ⟨𝐹, 𝐷⟩})
Colors of variables: wff setvar class
Syntax hints:  wi 4   = wceq 1541  wcel 2106  wne 2940  cun 3946  c0 4322  {csn 4628  {cpr 4630  cop 4634  ccom 5680
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1797  ax-4 1811  ax-5 1913  ax-6 1971  ax-7 2011  ax-8 2108  ax-9 2116  ax-10 2137  ax-11 2154  ax-12 2171  ax-ext 2703  ax-sep 5299  ax-nul 5306  ax-pr 5427
This theorem depends on definitions:  df-bi 206  df-an 397  df-or 846  df-3an 1089  df-tru 1544  df-fal 1554  df-ex 1782  df-nf 1786  df-sb 2068  df-mo 2534  df-eu 2563  df-clab 2710  df-cleq 2724  df-clel 2810  df-nfc 2885  df-ne 2941  df-ral 3062  df-rex 3071  df-reu 3377  df-rab 3433  df-v 3476  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-op 4635  df-br 5149  df-opab 5211  df-mpt 5232  df-id 5574  df-xp 5682  df-rel 5683  df-cnv 5684  df-co 5685  df-dm 5686  df-rn 5687  df-res 5688  df-fun 6545  df-fn 6546  df-f 6547  df-f1 6548  df-fo 6549  df-f1o 6550
This theorem is referenced by:  cycpm2tr  32319
  Copyright terms: Public domain W3C validator