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

Theorem fpar 7805
Description: Merge two functions in parallel. Use as the second argument of a composition with a binary operation to build compound functions such as (𝑥 ∈ (0[,)+∞), 𝑦 ∈ ℝ ↦ ((√‘𝑥) + (sin‘𝑦))), see also ex-fpar 28235. (Contributed by NM, 17-Sep-2007.) (Proof shortened by Mario Carneiro, 28-Apr-2015.)
Hypothesis
Ref Expression
fpar.1 𝐻 = (((1st ↾ (V × V)) ∘ (𝐹 ∘ (1st ↾ (V × V)))) ∩ ((2nd ↾ (V × V)) ∘ (𝐺 ∘ (2nd ↾ (V × V)))))
Assertion
Ref Expression
fpar ((𝐹 Fn 𝐴𝐺 Fn 𝐵) → 𝐻 = (𝑥𝐴, 𝑦𝐵 ↦ ⟨(𝐹𝑥), (𝐺𝑦)⟩))
Distinct variable groups:   𝑥,𝑦,𝐴   𝑥,𝐵,𝑦   𝑥,𝐹,𝑦   𝑥,𝐺,𝑦
Allowed substitution hints:   𝐻(𝑥,𝑦)

Proof of Theorem fpar
StepHypRef Expression
1 fparlem3 7803 . . 3 (𝐹 Fn 𝐴 → ((1st ↾ (V × V)) ∘ (𝐹 ∘ (1st ↾ (V × V)))) = 𝑥𝐴 (({𝑥} × V) × ({(𝐹𝑥)} × V)))
2 fparlem4 7804 . . 3 (𝐺 Fn 𝐵 → ((2nd ↾ (V × V)) ∘ (𝐺 ∘ (2nd ↾ (V × V)))) = 𝑦𝐵 ((V × {𝑦}) × (V × {(𝐺𝑦)})))
31, 2ineqan12d 4191 . 2 ((𝐹 Fn 𝐴𝐺 Fn 𝐵) → (((1st ↾ (V × V)) ∘ (𝐹 ∘ (1st ↾ (V × V)))) ∩ ((2nd ↾ (V × V)) ∘ (𝐺 ∘ (2nd ↾ (V × V))))) = ( 𝑥𝐴 (({𝑥} × V) × ({(𝐹𝑥)} × V)) ∩ 𝑦𝐵 ((V × {𝑦}) × (V × {(𝐺𝑦)}))))
4 fpar.1 . 2 𝐻 = (((1st ↾ (V × V)) ∘ (𝐹 ∘ (1st ↾ (V × V)))) ∩ ((2nd ↾ (V × V)) ∘ (𝐺 ∘ (2nd ↾ (V × V)))))
5 opex 5349 . . . 4 ⟨(𝐹𝑥), (𝐺𝑦)⟩ ∈ V
65dfmpo 7791 . . 3 (𝑥𝐴, 𝑦𝐵 ↦ ⟨(𝐹𝑥), (𝐺𝑦)⟩) = 𝑥𝐴 𝑦𝐵 {⟨⟨𝑥, 𝑦⟩, ⟨(𝐹𝑥), (𝐺𝑦)⟩⟩}
7 inxp 5698 . . . . . . . 8 ((({𝑥} × V) × ({(𝐹𝑥)} × V)) ∩ ((V × {𝑦}) × (V × {(𝐺𝑦)}))) = ((({𝑥} × V) ∩ (V × {𝑦})) × (({(𝐹𝑥)} × V) ∩ (V × {(𝐺𝑦)})))
8 inxp 5698 . . . . . . . . . 10 (({𝑥} × V) ∩ (V × {𝑦})) = (({𝑥} ∩ V) × (V ∩ {𝑦}))
9 inv1 4348 . . . . . . . . . . 11 ({𝑥} ∩ V) = {𝑥}
10 incom 4178 . . . . . . . . . . . 12 (V ∩ {𝑦}) = ({𝑦} ∩ V)
11 inv1 4348 . . . . . . . . . . . 12 ({𝑦} ∩ V) = {𝑦}
1210, 11eqtri 2844 . . . . . . . . . . 11 (V ∩ {𝑦}) = {𝑦}
139, 12xpeq12i 5578 . . . . . . . . . 10 (({𝑥} ∩ V) × (V ∩ {𝑦})) = ({𝑥} × {𝑦})
14 vex 3498 . . . . . . . . . . 11 𝑥 ∈ V
15 vex 3498 . . . . . . . . . . 11 𝑦 ∈ V
1614, 15xpsn 6898 . . . . . . . . . 10 ({𝑥} × {𝑦}) = {⟨𝑥, 𝑦⟩}
178, 13, 163eqtri 2848 . . . . . . . . 9 (({𝑥} × V) ∩ (V × {𝑦})) = {⟨𝑥, 𝑦⟩}
18 inxp 5698 . . . . . . . . . 10 (({(𝐹𝑥)} × V) ∩ (V × {(𝐺𝑦)})) = (({(𝐹𝑥)} ∩ V) × (V ∩ {(𝐺𝑦)}))
19 inv1 4348 . . . . . . . . . . 11 ({(𝐹𝑥)} ∩ V) = {(𝐹𝑥)}
20 incom 4178 . . . . . . . . . . . 12 (V ∩ {(𝐺𝑦)}) = ({(𝐺𝑦)} ∩ V)
21 inv1 4348 . . . . . . . . . . . 12 ({(𝐺𝑦)} ∩ V) = {(𝐺𝑦)}
2220, 21eqtri 2844 . . . . . . . . . . 11 (V ∩ {(𝐺𝑦)}) = {(𝐺𝑦)}
2319, 22xpeq12i 5578 . . . . . . . . . 10 (({(𝐹𝑥)} ∩ V) × (V ∩ {(𝐺𝑦)})) = ({(𝐹𝑥)} × {(𝐺𝑦)})
24 fvex 6678 . . . . . . . . . . 11 (𝐹𝑥) ∈ V
25 fvex 6678 . . . . . . . . . . 11 (𝐺𝑦) ∈ V
2624, 25xpsn 6898 . . . . . . . . . 10 ({(𝐹𝑥)} × {(𝐺𝑦)}) = {⟨(𝐹𝑥), (𝐺𝑦)⟩}
2718, 23, 263eqtri 2848 . . . . . . . . 9 (({(𝐹𝑥)} × V) ∩ (V × {(𝐺𝑦)})) = {⟨(𝐹𝑥), (𝐺𝑦)⟩}
2817, 27xpeq12i 5578 . . . . . . . 8 ((({𝑥} × V) ∩ (V × {𝑦})) × (({(𝐹𝑥)} × V) ∩ (V × {(𝐺𝑦)}))) = ({⟨𝑥, 𝑦⟩} × {⟨(𝐹𝑥), (𝐺𝑦)⟩})
29 opex 5349 . . . . . . . . 9 𝑥, 𝑦⟩ ∈ V
3029, 5xpsn 6898 . . . . . . . 8 ({⟨𝑥, 𝑦⟩} × {⟨(𝐹𝑥), (𝐺𝑦)⟩}) = {⟨⟨𝑥, 𝑦⟩, ⟨(𝐹𝑥), (𝐺𝑦)⟩⟩}
317, 28, 303eqtri 2848 . . . . . . 7 ((({𝑥} × V) × ({(𝐹𝑥)} × V)) ∩ ((V × {𝑦}) × (V × {(𝐺𝑦)}))) = {⟨⟨𝑥, 𝑦⟩, ⟨(𝐹𝑥), (𝐺𝑦)⟩⟩}
3231a1i 11 . . . . . 6 (𝑦𝐵 → ((({𝑥} × V) × ({(𝐹𝑥)} × V)) ∩ ((V × {𝑦}) × (V × {(𝐺𝑦)}))) = {⟨⟨𝑥, 𝑦⟩, ⟨(𝐹𝑥), (𝐺𝑦)⟩⟩})
3332iuneq2i 4933 . . . . 5 𝑦𝐵 ((({𝑥} × V) × ({(𝐹𝑥)} × V)) ∩ ((V × {𝑦}) × (V × {(𝐺𝑦)}))) = 𝑦𝐵 {⟨⟨𝑥, 𝑦⟩, ⟨(𝐹𝑥), (𝐺𝑦)⟩⟩}
3433a1i 11 . . . 4 (𝑥𝐴 𝑦𝐵 ((({𝑥} × V) × ({(𝐹𝑥)} × V)) ∩ ((V × {𝑦}) × (V × {(𝐺𝑦)}))) = 𝑦𝐵 {⟨⟨𝑥, 𝑦⟩, ⟨(𝐹𝑥), (𝐺𝑦)⟩⟩})
3534iuneq2i 4933 . . 3 𝑥𝐴 𝑦𝐵 ((({𝑥} × V) × ({(𝐹𝑥)} × V)) ∩ ((V × {𝑦}) × (V × {(𝐺𝑦)}))) = 𝑥𝐴 𝑦𝐵 {⟨⟨𝑥, 𝑦⟩, ⟨(𝐹𝑥), (𝐺𝑦)⟩⟩}
36 2iunin 4991 . . 3 𝑥𝐴 𝑦𝐵 ((({𝑥} × V) × ({(𝐹𝑥)} × V)) ∩ ((V × {𝑦}) × (V × {(𝐺𝑦)}))) = ( 𝑥𝐴 (({𝑥} × V) × ({(𝐹𝑥)} × V)) ∩ 𝑦𝐵 ((V × {𝑦}) × (V × {(𝐺𝑦)})))
376, 35, 363eqtr2i 2850 . 2 (𝑥𝐴, 𝑦𝐵 ↦ ⟨(𝐹𝑥), (𝐺𝑦)⟩) = ( 𝑥𝐴 (({𝑥} × V) × ({(𝐹𝑥)} × V)) ∩ 𝑦𝐵 ((V × {𝑦}) × (V × {(𝐺𝑦)})))
383, 4, 373eqtr4g 2881 1 ((𝐹 Fn 𝐴𝐺 Fn 𝐵) → 𝐻 = (𝑥𝐴, 𝑦𝐵 ↦ ⟨(𝐹𝑥), (𝐺𝑦)⟩))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wa 398   = wceq 1533  wcel 2110  Vcvv 3495  cin 3935  {csn 4561  cop 4567   ciun 4912   × cxp 5548  ccnv 5549  cres 5552  ccom 5554   Fn wfn 6345  cfv 6350  cmpo 7152  1st c1st 7681  2nd c2nd 7682
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1792  ax-4 1806  ax-5 1907  ax-6 1966  ax-7 2011  ax-8 2112  ax-9 2120  ax-10 2141  ax-11 2156  ax-12 2172  ax-ext 2793  ax-sep 5196  ax-nul 5203  ax-pow 5259  ax-pr 5322  ax-un 7455
This theorem depends on definitions:  df-bi 209  df-an 399  df-or 844  df-3an 1085  df-tru 1536  df-fal 1546  df-ex 1777  df-nf 1781  df-sb 2066  df-mo 2618  df-eu 2650  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 3497  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 4562  df-pr 4564  df-op 4568  df-uni 4833  df-iun 4914  df-br 5060  df-opab 5122  df-mpt 5140  df-id 5455  df-xp 5556  df-rel 5557  df-cnv 5558  df-co 5559  df-dm 5560  df-rn 5561  df-res 5562  df-ima 5563  df-iota 6309  df-fun 6352  df-fn 6353  df-f 6354  df-f1 6355  df-fo 6356  df-f1o 6357  df-fv 6358  df-oprab 7154  df-mpo 7155  df-1st 7683  df-2nd 7684
This theorem is referenced by:  fsplitfpar  7808  ex-fpar  28235
  Copyright terms: Public domain W3C validator