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

Theorem ofoprabco 30409
Description: Function operation as a composition with an operation. (Contributed by Thierry Arnoux, 4-Jun-2017.)
Hypotheses
Ref Expression
ofoprabco.1 𝑎𝑀
ofoprabco.2 (𝜑𝐹:𝐴𝐵)
ofoprabco.3 (𝜑𝐺:𝐴𝐶)
ofoprabco.4 (𝜑𝐴𝑉)
ofoprabco.5 (𝜑𝑀 = (𝑎𝐴 ↦ ⟨(𝐹𝑎), (𝐺𝑎)⟩))
ofoprabco.6 (𝜑𝑁 = (𝑥𝐵, 𝑦𝐶 ↦ (𝑥𝑅𝑦)))
Assertion
Ref Expression
ofoprabco (𝜑 → (𝐹f 𝑅𝐺) = (𝑁𝑀))
Distinct variable groups:   𝑥,𝑎,𝑦,𝐴   𝐵,𝑎,𝑥,𝑦   𝐶,𝑎,𝑥,𝑦   𝐹,𝑎,𝑥,𝑦   𝐺,𝑎,𝑥,𝑦   𝑁,𝑎   𝑅,𝑎,𝑥,𝑦   𝜑,𝑎,𝑥,𝑦
Allowed substitution hints:   𝑀(𝑥,𝑦,𝑎)   𝑁(𝑥,𝑦)   𝑉(𝑥,𝑦,𝑎)

Proof of Theorem ofoprabco
StepHypRef Expression
1 ofoprabco.5 . . . . . 6 (𝜑𝑀 = (𝑎𝐴 ↦ ⟨(𝐹𝑎), (𝐺𝑎)⟩))
2 ofoprabco.2 . . . . . . . 8 (𝜑𝐹:𝐴𝐵)
32ffvelrnda 6851 . . . . . . 7 ((𝜑𝑎𝐴) → (𝐹𝑎) ∈ 𝐵)
4 ofoprabco.3 . . . . . . . 8 (𝜑𝐺:𝐴𝐶)
54ffvelrnda 6851 . . . . . . 7 ((𝜑𝑎𝐴) → (𝐺𝑎) ∈ 𝐶)
6 opelxpi 5592 . . . . . . 7 (((𝐹𝑎) ∈ 𝐵 ∧ (𝐺𝑎) ∈ 𝐶) → ⟨(𝐹𝑎), (𝐺𝑎)⟩ ∈ (𝐵 × 𝐶))
73, 5, 6syl2anc 586 . . . . . 6 ((𝜑𝑎𝐴) → ⟨(𝐹𝑎), (𝐺𝑎)⟩ ∈ (𝐵 × 𝐶))
81, 7fvmpt2d 6781 . . . . 5 ((𝜑𝑎𝐴) → (𝑀𝑎) = ⟨(𝐹𝑎), (𝐺𝑎)⟩)
98fveq2d 6674 . . . 4 ((𝜑𝑎𝐴) → (𝑁‘(𝑀𝑎)) = (𝑁‘⟨(𝐹𝑎), (𝐺𝑎)⟩))
10 df-ov 7159 . . . . 5 ((𝐹𝑎)𝑁(𝐺𝑎)) = (𝑁‘⟨(𝐹𝑎), (𝐺𝑎)⟩)
1110a1i 11 . . . 4 ((𝜑𝑎𝐴) → ((𝐹𝑎)𝑁(𝐺𝑎)) = (𝑁‘⟨(𝐹𝑎), (𝐺𝑎)⟩))
12 ofoprabco.6 . . . . . 6 (𝜑𝑁 = (𝑥𝐵, 𝑦𝐶 ↦ (𝑥𝑅𝑦)))
1312adantr 483 . . . . 5 ((𝜑𝑎𝐴) → 𝑁 = (𝑥𝐵, 𝑦𝐶 ↦ (𝑥𝑅𝑦)))
14 simprl 769 . . . . . 6 (((𝜑𝑎𝐴) ∧ (𝑥 = (𝐹𝑎) ∧ 𝑦 = (𝐺𝑎))) → 𝑥 = (𝐹𝑎))
15 simprr 771 . . . . . 6 (((𝜑𝑎𝐴) ∧ (𝑥 = (𝐹𝑎) ∧ 𝑦 = (𝐺𝑎))) → 𝑦 = (𝐺𝑎))
1614, 15oveq12d 7174 . . . . 5 (((𝜑𝑎𝐴) ∧ (𝑥 = (𝐹𝑎) ∧ 𝑦 = (𝐺𝑎))) → (𝑥𝑅𝑦) = ((𝐹𝑎)𝑅(𝐺𝑎)))
17 ovexd 7191 . . . . 5 ((𝜑𝑎𝐴) → ((𝐹𝑎)𝑅(𝐺𝑎)) ∈ V)
1813, 16, 3, 5, 17ovmpod 7302 . . . 4 ((𝜑𝑎𝐴) → ((𝐹𝑎)𝑁(𝐺𝑎)) = ((𝐹𝑎)𝑅(𝐺𝑎)))
199, 11, 183eqtr2d 2862 . . 3 ((𝜑𝑎𝐴) → (𝑁‘(𝑀𝑎)) = ((𝐹𝑎)𝑅(𝐺𝑎)))
2019mpteq2dva 5161 . 2 (𝜑 → (𝑎𝐴 ↦ (𝑁‘(𝑀𝑎))) = (𝑎𝐴 ↦ ((𝐹𝑎)𝑅(𝐺𝑎))))
21 ovex 7189 . . . . . 6 (𝑥𝑅𝑦) ∈ V
2221rgen2w 3151 . . . . 5 𝑥𝐵𝑦𝐶 (𝑥𝑅𝑦) ∈ V
23 eqid 2821 . . . . . 6 (𝑥𝐵, 𝑦𝐶 ↦ (𝑥𝑅𝑦)) = (𝑥𝐵, 𝑦𝐶 ↦ (𝑥𝑅𝑦))
2423fmpo 7766 . . . . 5 (∀𝑥𝐵𝑦𝐶 (𝑥𝑅𝑦) ∈ V ↔ (𝑥𝐵, 𝑦𝐶 ↦ (𝑥𝑅𝑦)):(𝐵 × 𝐶)⟶V)
2522, 24mpbi 232 . . . 4 (𝑥𝐵, 𝑦𝐶 ↦ (𝑥𝑅𝑦)):(𝐵 × 𝐶)⟶V
2612feq1d 6499 . . . 4 (𝜑 → (𝑁:(𝐵 × 𝐶)⟶V ↔ (𝑥𝐵, 𝑦𝐶 ↦ (𝑥𝑅𝑦)):(𝐵 × 𝐶)⟶V))
2725, 26mpbiri 260 . . 3 (𝜑𝑁:(𝐵 × 𝐶)⟶V)
281, 7fmpt3d 6880 . . 3 (𝜑𝑀:𝐴⟶(𝐵 × 𝐶))
29 ofoprabco.1 . . . 4 𝑎𝑀
3029fcomptf 30403 . . 3 ((𝑁:(𝐵 × 𝐶)⟶V ∧ 𝑀:𝐴⟶(𝐵 × 𝐶)) → (𝑁𝑀) = (𝑎𝐴 ↦ (𝑁‘(𝑀𝑎))))
3127, 28, 30syl2anc 586 . 2 (𝜑 → (𝑁𝑀) = (𝑎𝐴 ↦ (𝑁‘(𝑀𝑎))))
32 ofoprabco.4 . . 3 (𝜑𝐴𝑉)
332feqmptd 6733 . . 3 (𝜑𝐹 = (𝑎𝐴 ↦ (𝐹𝑎)))
344feqmptd 6733 . . 3 (𝜑𝐺 = (𝑎𝐴 ↦ (𝐺𝑎)))
3532, 3, 5, 33, 34offval2 7426 . 2 (𝜑 → (𝐹f 𝑅𝐺) = (𝑎𝐴 ↦ ((𝐹𝑎)𝑅(𝐺𝑎))))
3620, 31, 353eqtr4rd 2867 1 (𝜑 → (𝐹f 𝑅𝐺) = (𝑁𝑀))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wa 398   = wceq 1537  wcel 2114  wnfc 2961  wral 3138  Vcvv 3494  cop 4573  cmpt 5146   × cxp 5553  ccom 5559  wf 6351  cfv 6355  (class class class)co 7156  cmpo 7158  f cof 7407
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1796  ax-4 1810  ax-5 1911  ax-6 1970  ax-7 2015  ax-8 2116  ax-9 2124  ax-10 2145  ax-11 2161  ax-12 2177  ax-ext 2793  ax-rep 5190  ax-sep 5203  ax-nul 5210  ax-pow 5266  ax-pr 5330  ax-un 7461
This theorem depends on definitions:  df-bi 209  df-an 399  df-or 844  df-3an 1085  df-tru 1540  df-ex 1781  df-nf 1785  df-sb 2070  df-mo 2622  df-eu 2654  df-clab 2800  df-cleq 2814  df-clel 2893  df-nfc 2963  df-ne 3017  df-ral 3143  df-rex 3144  df-reu 3145  df-rab 3147  df-v 3496  df-sbc 3773  df-csb 3884  df-dif 3939  df-un 3941  df-in 3943  df-ss 3952  df-nul 4292  df-if 4468  df-sn 4568  df-pr 4570  df-op 4574  df-uni 4839  df-iun 4921  df-br 5067  df-opab 5129  df-mpt 5147  df-id 5460  df-xp 5561  df-rel 5562  df-cnv 5563  df-co 5564  df-dm 5565  df-rn 5566  df-res 5567  df-ima 5568  df-iota 6314  df-fun 6357  df-fn 6358  df-f 6359  df-f1 6360  df-fo 6361  df-f1o 6362  df-fv 6363  df-ov 7159  df-oprab 7160  df-mpo 7161  df-of 7409  df-1st 7689  df-2nd 7690
This theorem is referenced by:  ofpreima  30410  rrvadd  31710
  Copyright terms: Public domain W3C validator