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 32711
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 6279 . . . 4 (({⟨𝐴, 𝐵⟩} ∪ {⟨𝐶, 𝐷⟩}) ∘ {⟨𝐸, 𝐴⟩}) = (({⟨𝐴, 𝐵⟩} ∘ {⟨𝐸, 𝐴⟩}) ∪ ({⟨𝐶, 𝐷⟩} ∘ {⟨𝐸, 𝐴⟩}))
2 brprop.a . . . . . . 7 (𝜑𝐴𝑉)
3 brprop.b . . . . . . 7 (𝜑𝐵𝑊)
4 coprprop.e . . . . . . 7 (𝜑𝐸𝑋)
52, 3, 4cosnop 32707 . . . . . 6 (𝜑 → ({⟨𝐴, 𝐵⟩} ∘ {⟨𝐸, 𝐴⟩}) = {⟨𝐸, 𝐵⟩})
6 brprop.d . . . . . . 7 (𝜑𝐷𝑊)
7 mptprop.1 . . . . . . . 8 (𝜑𝐴𝐶)
87necomd 3002 . . . . . . 7 (𝜑𝐶𝐴)
96, 4, 8cosnopne 32706 . . . . . 6 (𝜑 → ({⟨𝐶, 𝐷⟩} ∘ {⟨𝐸, 𝐴⟩}) = ∅)
105, 9uneq12d 4192 . . . . 5 (𝜑 → (({⟨𝐴, 𝐵⟩} ∘ {⟨𝐸, 𝐴⟩}) ∪ ({⟨𝐶, 𝐷⟩} ∘ {⟨𝐸, 𝐴⟩})) = ({⟨𝐸, 𝐵⟩} ∪ ∅))
11 un0 4417 . . . . 5 ({⟨𝐸, 𝐵⟩} ∪ ∅) = {⟨𝐸, 𝐵⟩}
1210, 11eqtrdi 2796 . . . 4 (𝜑 → (({⟨𝐴, 𝐵⟩} ∘ {⟨𝐸, 𝐴⟩}) ∪ ({⟨𝐶, 𝐷⟩} ∘ {⟨𝐸, 𝐴⟩})) = {⟨𝐸, 𝐵⟩})
131, 12eqtrid 2792 . . 3 (𝜑 → (({⟨𝐴, 𝐵⟩} ∪ {⟨𝐶, 𝐷⟩}) ∘ {⟨𝐸, 𝐴⟩}) = {⟨𝐸, 𝐵⟩})
14 coundir 6279 . . . 4 (({⟨𝐴, 𝐵⟩} ∪ {⟨𝐶, 𝐷⟩}) ∘ {⟨𝐹, 𝐶⟩}) = (({⟨𝐴, 𝐵⟩} ∘ {⟨𝐹, 𝐶⟩}) ∪ ({⟨𝐶, 𝐷⟩} ∘ {⟨𝐹, 𝐶⟩}))
15 coprprop.f . . . . . . 7 (𝜑𝐹𝑋)
163, 15, 7cosnopne 32706 . . . . . 6 (𝜑 → ({⟨𝐴, 𝐵⟩} ∘ {⟨𝐹, 𝐶⟩}) = ∅)
17 brprop.c . . . . . . 7 (𝜑𝐶𝑉)
1817, 6, 15cosnop 32707 . . . . . 6 (𝜑 → ({⟨𝐶, 𝐷⟩} ∘ {⟨𝐹, 𝐶⟩}) = {⟨𝐹, 𝐷⟩})
1916, 18uneq12d 4192 . . . . 5 (𝜑 → (({⟨𝐴, 𝐵⟩} ∘ {⟨𝐹, 𝐶⟩}) ∪ ({⟨𝐶, 𝐷⟩} ∘ {⟨𝐹, 𝐶⟩})) = (∅ ∪ {⟨𝐹, 𝐷⟩}))
20 0un 4419 . . . . 5 (∅ ∪ {⟨𝐹, 𝐷⟩}) = {⟨𝐹, 𝐷⟩}
2119, 20eqtrdi 2796 . . . 4 (𝜑 → (({⟨𝐴, 𝐵⟩} ∘ {⟨𝐹, 𝐶⟩}) ∪ ({⟨𝐶, 𝐷⟩} ∘ {⟨𝐹, 𝐶⟩})) = {⟨𝐹, 𝐷⟩})
2214, 21eqtrid 2792 . . 3 (𝜑 → (({⟨𝐴, 𝐵⟩} ∪ {⟨𝐶, 𝐷⟩}) ∘ {⟨𝐹, 𝐶⟩}) = {⟨𝐹, 𝐷⟩})
2313, 22uneq12d 4192 . 2 (𝜑 → ((({⟨𝐴, 𝐵⟩} ∪ {⟨𝐶, 𝐷⟩}) ∘ {⟨𝐸, 𝐴⟩}) ∪ (({⟨𝐴, 𝐵⟩} ∪ {⟨𝐶, 𝐷⟩}) ∘ {⟨𝐹, 𝐶⟩})) = ({⟨𝐸, 𝐵⟩} ∪ {⟨𝐹, 𝐷⟩}))
24 df-pr 4651 . . . 4 {⟨𝐴, 𝐵⟩, ⟨𝐶, 𝐷⟩} = ({⟨𝐴, 𝐵⟩} ∪ {⟨𝐶, 𝐷⟩})
25 df-pr 4651 . . . 4 {⟨𝐸, 𝐴⟩, ⟨𝐹, 𝐶⟩} = ({⟨𝐸, 𝐴⟩} ∪ {⟨𝐹, 𝐶⟩})
2624, 25coeq12i 5888 . . 3 ({⟨𝐴, 𝐵⟩, ⟨𝐶, 𝐷⟩} ∘ {⟨𝐸, 𝐴⟩, ⟨𝐹, 𝐶⟩}) = (({⟨𝐴, 𝐵⟩} ∪ {⟨𝐶, 𝐷⟩}) ∘ ({⟨𝐸, 𝐴⟩} ∪ {⟨𝐹, 𝐶⟩}))
27 coundi 6278 . . 3 (({⟨𝐴, 𝐵⟩} ∪ {⟨𝐶, 𝐷⟩}) ∘ ({⟨𝐸, 𝐴⟩} ∪ {⟨𝐹, 𝐶⟩})) = ((({⟨𝐴, 𝐵⟩} ∪ {⟨𝐶, 𝐷⟩}) ∘ {⟨𝐸, 𝐴⟩}) ∪ (({⟨𝐴, 𝐵⟩} ∪ {⟨𝐶, 𝐷⟩}) ∘ {⟨𝐹, 𝐶⟩}))
2826, 27eqtri 2768 . 2 ({⟨𝐴, 𝐵⟩, ⟨𝐶, 𝐷⟩} ∘ {⟨𝐸, 𝐴⟩, ⟨𝐹, 𝐶⟩}) = ((({⟨𝐴, 𝐵⟩} ∪ {⟨𝐶, 𝐷⟩}) ∘ {⟨𝐸, 𝐴⟩}) ∪ (({⟨𝐴, 𝐵⟩} ∪ {⟨𝐶, 𝐷⟩}) ∘ {⟨𝐹, 𝐶⟩}))
29 df-pr 4651 . 2 {⟨𝐸, 𝐵⟩, ⟨𝐹, 𝐷⟩} = ({⟨𝐸, 𝐵⟩} ∪ {⟨𝐹, 𝐷⟩})
3023, 28, 293eqtr4g 2805 1 (𝜑 → ({⟨𝐴, 𝐵⟩, ⟨𝐶, 𝐷⟩} ∘ {⟨𝐸, 𝐴⟩, ⟨𝐹, 𝐶⟩}) = {⟨𝐸, 𝐵⟩, ⟨𝐹, 𝐷⟩})
Colors of variables: wff setvar class
Syntax hints:  wi 4   = wceq 1537  wcel 2108  wne 2946  cun 3974  c0 4352  {csn 4648  {cpr 4650  cop 4654  ccom 5704
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1793  ax-4 1807  ax-5 1909  ax-6 1967  ax-7 2007  ax-8 2110  ax-9 2118  ax-10 2141  ax-11 2158  ax-12 2178  ax-ext 2711  ax-sep 5317  ax-nul 5324  ax-pr 5447
This theorem depends on definitions:  df-bi 207  df-an 396  df-or 847  df-3an 1089  df-tru 1540  df-fal 1550  df-ex 1778  df-nf 1782  df-sb 2065  df-mo 2543  df-eu 2572  df-clab 2718  df-cleq 2732  df-clel 2819  df-nfc 2895  df-ne 2947  df-ral 3068  df-rex 3077  df-reu 3389  df-rab 3444  df-v 3490  df-dif 3979  df-un 3981  df-in 3983  df-ss 3993  df-nul 4353  df-if 4549  df-sn 4649  df-pr 4651  df-op 4655  df-br 5167  df-opab 5229  df-mpt 5250  df-id 5593  df-xp 5706  df-rel 5707  df-cnv 5708  df-co 5709  df-dm 5710  df-rn 5711  df-res 5712  df-fun 6575  df-fn 6576  df-f 6577  df-f1 6578  df-fo 6579  df-f1o 6580
This theorem is referenced by:  cycpm2tr  33112
  Copyright terms: Public domain W3C validator