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

Theorem eldmcoa 18015
Description: A pair ⟨𝐺, 𝐹⟩ is in the domain of the arrow composition, if the domain of 𝐺 equals the codomain of 𝐹. (In this case we say 𝐺 and 𝐹 are composable.) (Contributed by Mario Carneiro, 11-Jan-2017.)
Hypotheses
Ref Expression
coafval.o Β· = (compaβ€˜πΆ)
coafval.a 𝐴 = (Arrowβ€˜πΆ)
Assertion
Ref Expression
eldmcoa (𝐺dom Β· 𝐹 ↔ (𝐹 ∈ 𝐴 ∧ 𝐺 ∈ 𝐴 ∧ (codaβ€˜πΉ) = (domaβ€˜πΊ)))

Proof of Theorem eldmcoa
Dummy variables 𝑓 𝑔 β„Ž are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 df-br 5150 . 2 (𝐺dom Β· 𝐹 ↔ ⟨𝐺, 𝐹⟩ ∈ dom Β· )
2 otex 5466 . . . . . 6 ⟨(domaβ€˜π‘“), (codaβ€˜π‘”), ((2nd β€˜π‘”)(⟨(domaβ€˜π‘“), (domaβ€˜π‘”)⟩(compβ€˜πΆ)(codaβ€˜π‘”))(2nd β€˜π‘“))⟩ ∈ V
32rgen2w 3067 . . . . 5 βˆ€π‘” ∈ 𝐴 βˆ€π‘“ ∈ {β„Ž ∈ 𝐴 ∣ (codaβ€˜β„Ž) = (domaβ€˜π‘”)}⟨(domaβ€˜π‘“), (codaβ€˜π‘”), ((2nd β€˜π‘”)(⟨(domaβ€˜π‘“), (domaβ€˜π‘”)⟩(compβ€˜πΆ)(codaβ€˜π‘”))(2nd β€˜π‘“))⟩ ∈ V
4 coafval.o . . . . . . 7 Β· = (compaβ€˜πΆ)
5 coafval.a . . . . . . 7 𝐴 = (Arrowβ€˜πΆ)
6 eqid 2733 . . . . . . 7 (compβ€˜πΆ) = (compβ€˜πΆ)
74, 5, 6coafval 18014 . . . . . 6 Β· = (𝑔 ∈ 𝐴, 𝑓 ∈ {β„Ž ∈ 𝐴 ∣ (codaβ€˜β„Ž) = (domaβ€˜π‘”)} ↦ ⟨(domaβ€˜π‘“), (codaβ€˜π‘”), ((2nd β€˜π‘”)(⟨(domaβ€˜π‘“), (domaβ€˜π‘”)⟩(compβ€˜πΆ)(codaβ€˜π‘”))(2nd β€˜π‘“))⟩)
87fmpox 8053 . . . . 5 (βˆ€π‘” ∈ 𝐴 βˆ€π‘“ ∈ {β„Ž ∈ 𝐴 ∣ (codaβ€˜β„Ž) = (domaβ€˜π‘”)}⟨(domaβ€˜π‘“), (codaβ€˜π‘”), ((2nd β€˜π‘”)(⟨(domaβ€˜π‘“), (domaβ€˜π‘”)⟩(compβ€˜πΆ)(codaβ€˜π‘”))(2nd β€˜π‘“))⟩ ∈ V ↔ Β· :βˆͺ 𝑔 ∈ 𝐴 ({𝑔} Γ— {β„Ž ∈ 𝐴 ∣ (codaβ€˜β„Ž) = (domaβ€˜π‘”)})⟢V)
93, 8mpbi 229 . . . 4 Β· :βˆͺ 𝑔 ∈ 𝐴 ({𝑔} Γ— {β„Ž ∈ 𝐴 ∣ (codaβ€˜β„Ž) = (domaβ€˜π‘”)})⟢V
109fdmi 6730 . . 3 dom Β· = βˆͺ 𝑔 ∈ 𝐴 ({𝑔} Γ— {β„Ž ∈ 𝐴 ∣ (codaβ€˜β„Ž) = (domaβ€˜π‘”)})
1110eleq2i 2826 . 2 (⟨𝐺, 𝐹⟩ ∈ dom Β· ↔ ⟨𝐺, 𝐹⟩ ∈ βˆͺ 𝑔 ∈ 𝐴 ({𝑔} Γ— {β„Ž ∈ 𝐴 ∣ (codaβ€˜β„Ž) = (domaβ€˜π‘”)}))
12 fveq2 6892 . . . . . 6 (𝑔 = 𝐺 β†’ (domaβ€˜π‘”) = (domaβ€˜πΊ))
1312eqeq2d 2744 . . . . 5 (𝑔 = 𝐺 β†’ ((codaβ€˜β„Ž) = (domaβ€˜π‘”) ↔ (codaβ€˜β„Ž) = (domaβ€˜πΊ)))
1413rabbidv 3441 . . . 4 (𝑔 = 𝐺 β†’ {β„Ž ∈ 𝐴 ∣ (codaβ€˜β„Ž) = (domaβ€˜π‘”)} = {β„Ž ∈ 𝐴 ∣ (codaβ€˜β„Ž) = (domaβ€˜πΊ)})
1514opeliunxp2 5839 . . 3 (⟨𝐺, 𝐹⟩ ∈ βˆͺ 𝑔 ∈ 𝐴 ({𝑔} Γ— {β„Ž ∈ 𝐴 ∣ (codaβ€˜β„Ž) = (domaβ€˜π‘”)}) ↔ (𝐺 ∈ 𝐴 ∧ 𝐹 ∈ {β„Ž ∈ 𝐴 ∣ (codaβ€˜β„Ž) = (domaβ€˜πΊ)}))
16 fveqeq2 6901 . . . . 5 (β„Ž = 𝐹 β†’ ((codaβ€˜β„Ž) = (domaβ€˜πΊ) ↔ (codaβ€˜πΉ) = (domaβ€˜πΊ)))
1716elrab 3684 . . . 4 (𝐹 ∈ {β„Ž ∈ 𝐴 ∣ (codaβ€˜β„Ž) = (domaβ€˜πΊ)} ↔ (𝐹 ∈ 𝐴 ∧ (codaβ€˜πΉ) = (domaβ€˜πΊ)))
1817anbi2i 624 . . 3 ((𝐺 ∈ 𝐴 ∧ 𝐹 ∈ {β„Ž ∈ 𝐴 ∣ (codaβ€˜β„Ž) = (domaβ€˜πΊ)}) ↔ (𝐺 ∈ 𝐴 ∧ (𝐹 ∈ 𝐴 ∧ (codaβ€˜πΉ) = (domaβ€˜πΊ))))
19 an12 644 . . . 4 ((𝐺 ∈ 𝐴 ∧ (𝐹 ∈ 𝐴 ∧ (codaβ€˜πΉ) = (domaβ€˜πΊ))) ↔ (𝐹 ∈ 𝐴 ∧ (𝐺 ∈ 𝐴 ∧ (codaβ€˜πΉ) = (domaβ€˜πΊ))))
20 3anass 1096 . . . 4 ((𝐹 ∈ 𝐴 ∧ 𝐺 ∈ 𝐴 ∧ (codaβ€˜πΉ) = (domaβ€˜πΊ)) ↔ (𝐹 ∈ 𝐴 ∧ (𝐺 ∈ 𝐴 ∧ (codaβ€˜πΉ) = (domaβ€˜πΊ))))
2119, 20bitr4i 278 . . 3 ((𝐺 ∈ 𝐴 ∧ (𝐹 ∈ 𝐴 ∧ (codaβ€˜πΉ) = (domaβ€˜πΊ))) ↔ (𝐹 ∈ 𝐴 ∧ 𝐺 ∈ 𝐴 ∧ (codaβ€˜πΉ) = (domaβ€˜πΊ)))
2215, 18, 213bitri 297 . 2 (⟨𝐺, 𝐹⟩ ∈ βˆͺ 𝑔 ∈ 𝐴 ({𝑔} Γ— {β„Ž ∈ 𝐴 ∣ (codaβ€˜β„Ž) = (domaβ€˜π‘”)}) ↔ (𝐹 ∈ 𝐴 ∧ 𝐺 ∈ 𝐴 ∧ (codaβ€˜πΉ) = (domaβ€˜πΊ)))
231, 11, 223bitri 297 1 (𝐺dom Β· 𝐹 ↔ (𝐹 ∈ 𝐴 ∧ 𝐺 ∈ 𝐴 ∧ (codaβ€˜πΉ) = (domaβ€˜πΊ)))
Colors of variables: wff setvar class
Syntax hints:   ↔ wb 205   ∧ wa 397   ∧ w3a 1088   = wceq 1542   ∈ wcel 2107  βˆ€wral 3062  {crab 3433  Vcvv 3475  {csn 4629  βŸ¨cop 4635  βŸ¨cotp 4637  βˆͺ ciun 4998   class class class wbr 5149   Γ— cxp 5675  dom cdm 5677  βŸΆwf 6540  β€˜cfv 6544  (class class class)co 7409  2nd c2nd 7974  compcco 17209  domacdoma 17970  codaccoda 17971  Arrowcarw 17972  compaccoa 18004
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-11 2155  ax-12 2172  ax-ext 2704  ax-rep 5286  ax-sep 5300  ax-nul 5307  ax-pow 5364  ax-pr 5428  ax-un 7725
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-eu 2564  df-clab 2711  df-cleq 2725  df-clel 2811  df-nfc 2886  df-ne 2942  df-ral 3063  df-rex 3072  df-reu 3378  df-rab 3434  df-v 3477  df-sbc 3779  df-csb 3895  df-dif 3952  df-un 3954  df-in 3956  df-ss 3966  df-nul 4324  df-if 4530  df-pw 4605  df-sn 4630  df-pr 4632  df-op 4636  df-ot 4638  df-uni 4910  df-iun 5000  df-br 5150  df-opab 5212  df-mpt 5233  df-id 5575  df-xp 5683  df-rel 5684  df-cnv 5685  df-co 5686  df-dm 5687  df-rn 5688  df-res 5689  df-ima 5690  df-iota 6496  df-fun 6546  df-fn 6547  df-f 6548  df-f1 6549  df-fo 6550  df-f1o 6551  df-fv 6552  df-ov 7412  df-oprab 7413  df-mpo 7414  df-1st 7975  df-2nd 7976  df-arw 17977  df-coa 18006
This theorem is referenced by:  homdmcoa  18017  coapm  18021
  Copyright terms: Public domain W3C validator