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

Theorem ofoprabco 29769
 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 (𝜑 → (𝐹𝑓 𝑅𝐺) = (𝑁𝑀))
Distinct variable groups:   𝑥,𝑎,𝑦,𝐴   𝐵,𝑎,𝑥,𝑦   𝐶,𝑎,𝑥,𝑦   𝐹,𝑎,𝑥,𝑦   𝐺,𝑎,𝑥,𝑦   𝑁,𝑎   𝑅,𝑎,𝑥,𝑦   𝜑,𝑎,𝑥,𝑦
Allowed substitution hints:   𝑀(𝑥,𝑦,𝑎)   𝑁(𝑥,𝑦)   𝑉(𝑥,𝑦,𝑎)

Proof of Theorem ofoprabco
StepHypRef Expression
1 ofoprabco.5 . . . . . 6 (𝜑𝑀 = (𝑎𝐴 ↦ ⟨(𝐹𝑎), (𝐺𝑎)⟩))
2 ofoprabco.2 . . . . . . . 8 (𝜑𝐹:𝐴𝐵)
32ffvelrnda 6518 . . . . . . 7 ((𝜑𝑎𝐴) → (𝐹𝑎) ∈ 𝐵)
4 ofoprabco.3 . . . . . . . 8 (𝜑𝐺:𝐴𝐶)
54ffvelrnda 6518 . . . . . . 7 ((𝜑𝑎𝐴) → (𝐺𝑎) ∈ 𝐶)
6 opelxpi 5301 . . . . . . 7 (((𝐹𝑎) ∈ 𝐵 ∧ (𝐺𝑎) ∈ 𝐶) → ⟨(𝐹𝑎), (𝐺𝑎)⟩ ∈ (𝐵 × 𝐶))
73, 5, 6syl2anc 696 . . . . . 6 ((𝜑𝑎𝐴) → ⟨(𝐹𝑎), (𝐺𝑎)⟩ ∈ (𝐵 × 𝐶))
81, 7fvmpt2d 6451 . . . . 5 ((𝜑𝑎𝐴) → (𝑀𝑎) = ⟨(𝐹𝑎), (𝐺𝑎)⟩)
98fveq2d 6352 . . . 4 ((𝜑𝑎𝐴) → (𝑁‘(𝑀𝑎)) = (𝑁‘⟨(𝐹𝑎), (𝐺𝑎)⟩))
10 df-ov 6812 . . . . 5 ((𝐹𝑎)𝑁(𝐺𝑎)) = (𝑁‘⟨(𝐹𝑎), (𝐺𝑎)⟩)
1110a1i 11 . . . 4 ((𝜑𝑎𝐴) → ((𝐹𝑎)𝑁(𝐺𝑎)) = (𝑁‘⟨(𝐹𝑎), (𝐺𝑎)⟩))
12 ofoprabco.6 . . . . . 6 (𝜑𝑁 = (𝑥𝐵, 𝑦𝐶 ↦ (𝑥𝑅𝑦)))
1312adantr 472 . . . . 5 ((𝜑𝑎𝐴) → 𝑁 = (𝑥𝐵, 𝑦𝐶 ↦ (𝑥𝑅𝑦)))
14 simprl 811 . . . . . 6 (((𝜑𝑎𝐴) ∧ (𝑥 = (𝐹𝑎) ∧ 𝑦 = (𝐺𝑎))) → 𝑥 = (𝐹𝑎))
15 simprr 813 . . . . . 6 (((𝜑𝑎𝐴) ∧ (𝑥 = (𝐹𝑎) ∧ 𝑦 = (𝐺𝑎))) → 𝑦 = (𝐺𝑎))
1614, 15oveq12d 6827 . . . . 5 (((𝜑𝑎𝐴) ∧ (𝑥 = (𝐹𝑎) ∧ 𝑦 = (𝐺𝑎))) → (𝑥𝑅𝑦) = ((𝐹𝑎)𝑅(𝐺𝑎)))
17 ovexd 6839 . . . . 5 ((𝜑𝑎𝐴) → ((𝐹𝑎)𝑅(𝐺𝑎)) ∈ V)
1813, 16, 3, 5, 17ovmpt2d 6949 . . . 4 ((𝜑𝑎𝐴) → ((𝐹𝑎)𝑁(𝐺𝑎)) = ((𝐹𝑎)𝑅(𝐺𝑎)))
199, 11, 183eqtr2d 2796 . . 3 ((𝜑𝑎𝐴) → (𝑁‘(𝑀𝑎)) = ((𝐹𝑎)𝑅(𝐺𝑎)))
2019mpteq2dva 4892 . 2 (𝜑 → (𝑎𝐴 ↦ (𝑁‘(𝑀𝑎))) = (𝑎𝐴 ↦ ((𝐹𝑎)𝑅(𝐺𝑎))))
21 ovex 6837 . . . . . 6 (𝑥𝑅𝑦) ∈ V
2221rgen2w 3059 . . . . 5 𝑥𝐵𝑦𝐶 (𝑥𝑅𝑦) ∈ V
23 eqid 2756 . . . . . 6 (𝑥𝐵, 𝑦𝐶 ↦ (𝑥𝑅𝑦)) = (𝑥𝐵, 𝑦𝐶 ↦ (𝑥𝑅𝑦))
2423fmpt2 7401 . . . . 5 (∀𝑥𝐵𝑦𝐶 (𝑥𝑅𝑦) ∈ V ↔ (𝑥𝐵, 𝑦𝐶 ↦ (𝑥𝑅𝑦)):(𝐵 × 𝐶)⟶V)
2522, 24mpbi 220 . . . 4 (𝑥𝐵, 𝑦𝐶 ↦ (𝑥𝑅𝑦)):(𝐵 × 𝐶)⟶V
2612feq1d 6187 . . . 4 (𝜑 → (𝑁:(𝐵 × 𝐶)⟶V ↔ (𝑥𝐵, 𝑦𝐶 ↦ (𝑥𝑅𝑦)):(𝐵 × 𝐶)⟶V))
2725, 26mpbiri 248 . . 3 (𝜑𝑁:(𝐵 × 𝐶)⟶V)
281, 7fmpt3d 6545 . . 3 (𝜑𝑀:𝐴⟶(𝐵 × 𝐶))
29 ofoprabco.1 . . . 4 𝑎𝑀
3029fcomptf 29763 . . 3 ((𝑁:(𝐵 × 𝐶)⟶V ∧ 𝑀:𝐴⟶(𝐵 × 𝐶)) → (𝑁𝑀) = (𝑎𝐴 ↦ (𝑁‘(𝑀𝑎))))
3127, 28, 30syl2anc 696 . 2 (𝜑 → (𝑁𝑀) = (𝑎𝐴 ↦ (𝑁‘(𝑀𝑎))))
32 ofoprabco.4 . . 3 (𝜑𝐴𝑉)
332feqmptd 6407 . . 3 (𝜑𝐹 = (𝑎𝐴 ↦ (𝐹𝑎)))
344feqmptd 6407 . . 3 (𝜑𝐺 = (𝑎𝐴 ↦ (𝐺𝑎)))
3532, 3, 5, 33, 34offval2 7075 . 2 (𝜑 → (𝐹𝑓 𝑅𝐺) = (𝑎𝐴 ↦ ((𝐹𝑎)𝑅(𝐺𝑎))))
3620, 31, 353eqtr4rd 2801 1 (𝜑 → (𝐹𝑓 𝑅𝐺) = (𝑁𝑀))
 Colors of variables: wff setvar class Syntax hints:   → wi 4   ∧ wa 383   = wceq 1628   ∈ wcel 2135  Ⅎwnfc 2885  ∀wral 3046  Vcvv 3336  ⟨cop 4323   ↦ cmpt 4877   × cxp 5260   ∘ ccom 5266  ⟶wf 6041  ‘cfv 6045  (class class class)co 6809   ↦ cmpt2 6811   ∘𝑓 cof 7056 This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1867  ax-4 1882  ax-5 1984  ax-6 2050  ax-7 2086  ax-8 2137  ax-9 2144  ax-10 2164  ax-11 2179  ax-12 2192  ax-13 2387  ax-ext 2736  ax-rep 4919  ax-sep 4929  ax-nul 4937  ax-pow 4988  ax-pr 5051  ax-un 7110 This theorem depends on definitions:  df-bi 197  df-or 384  df-an 385  df-3an 1074  df-tru 1631  df-ex 1850  df-nf 1855  df-sb 2043  df-eu 2607  df-mo 2608  df-clab 2743  df-cleq 2749  df-clel 2752  df-nfc 2887  df-ne 2929  df-ral 3051  df-rex 3052  df-reu 3053  df-rab 3055  df-v 3338  df-sbc 3573  df-csb 3671  df-dif 3714  df-un 3716  df-in 3718  df-ss 3725  df-nul 4055  df-if 4227  df-sn 4318  df-pr 4320  df-op 4324  df-uni 4585  df-iun 4670  df-br 4801  df-opab 4861  df-mpt 4878  df-id 5170  df-xp 5268  df-rel 5269  df-cnv 5270  df-co 5271  df-dm 5272  df-rn 5273  df-res 5274  df-ima 5275  df-iota 6008  df-fun 6047  df-fn 6048  df-f 6049  df-f1 6050  df-fo 6051  df-f1o 6052  df-fv 6053  df-ov 6812  df-oprab 6813  df-mpt2 6814  df-of 7058  df-1st 7329  df-2nd 7330 This theorem is referenced by:  ofpreima  29770  rrvadd  30819
 Copyright terms: Public domain W3C validator