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

Theorem fparlem4 7926
Description: Lemma for fpar 7927. (Contributed by NM, 22-Dec-2008.) (Revised by Mario Carneiro, 28-Apr-2015.)
Assertion
Ref Expression
fparlem4 (𝐺 Fn 𝐵 → ((2nd ↾ (V × V)) ∘ (𝐺 ∘ (2nd ↾ (V × V)))) = 𝑦𝐵 ((V × {𝑦}) × (V × {(𝐺𝑦)})))
Distinct variable groups:   𝑦,𝐵   𝑦,𝐺

Proof of Theorem fparlem4
Dummy variable 𝑥 is distinct from all other variables.
StepHypRef Expression
1 coiun 6149 . 2 ((2nd ↾ (V × V)) ∘ 𝑦𝐵 (((2nd ↾ (V × V)) “ {𝑦}) × (𝐺 “ {𝑦}))) = 𝑦𝐵 ((2nd ↾ (V × V)) ∘ (((2nd ↾ (V × V)) “ {𝑦}) × (𝐺 “ {𝑦})))
2 inss1 4159 . . . . 5 (dom 𝐺 ∩ ran (2nd ↾ (V × V))) ⊆ dom 𝐺
3 fndm 6520 . . . . 5 (𝐺 Fn 𝐵 → dom 𝐺 = 𝐵)
42, 3sseqtrid 3969 . . . 4 (𝐺 Fn 𝐵 → (dom 𝐺 ∩ ran (2nd ↾ (V × V))) ⊆ 𝐵)
5 dfco2a 6139 . . . 4 ((dom 𝐺 ∩ ran (2nd ↾ (V × V))) ⊆ 𝐵 → (𝐺 ∘ (2nd ↾ (V × V))) = 𝑦𝐵 (((2nd ↾ (V × V)) “ {𝑦}) × (𝐺 “ {𝑦})))
64, 5syl 17 . . 3 (𝐺 Fn 𝐵 → (𝐺 ∘ (2nd ↾ (V × V))) = 𝑦𝐵 (((2nd ↾ (V × V)) “ {𝑦}) × (𝐺 “ {𝑦})))
76coeq2d 5760 . 2 (𝐺 Fn 𝐵 → ((2nd ↾ (V × V)) ∘ (𝐺 ∘ (2nd ↾ (V × V)))) = ((2nd ↾ (V × V)) ∘ 𝑦𝐵 (((2nd ↾ (V × V)) “ {𝑦}) × (𝐺 “ {𝑦}))))
8 inss1 4159 . . . . . . . . 9 (dom ({(𝐺𝑦)} × (V × {𝑦})) ∩ ran (2nd ↾ (V × V))) ⊆ dom ({(𝐺𝑦)} × (V × {𝑦}))
9 dmxpss 6063 . . . . . . . . 9 dom ({(𝐺𝑦)} × (V × {𝑦})) ⊆ {(𝐺𝑦)}
108, 9sstri 3926 . . . . . . . 8 (dom ({(𝐺𝑦)} × (V × {𝑦})) ∩ ran (2nd ↾ (V × V))) ⊆ {(𝐺𝑦)}
11 dfco2a 6139 . . . . . . . 8 ((dom ({(𝐺𝑦)} × (V × {𝑦})) ∩ ran (2nd ↾ (V × V))) ⊆ {(𝐺𝑦)} → (({(𝐺𝑦)} × (V × {𝑦})) ∘ (2nd ↾ (V × V))) = 𝑥 ∈ {(𝐺𝑦)} (((2nd ↾ (V × V)) “ {𝑥}) × (({(𝐺𝑦)} × (V × {𝑦})) “ {𝑥})))
1210, 11ax-mp 5 . . . . . . 7 (({(𝐺𝑦)} × (V × {𝑦})) ∘ (2nd ↾ (V × V))) = 𝑥 ∈ {(𝐺𝑦)} (((2nd ↾ (V × V)) “ {𝑥}) × (({(𝐺𝑦)} × (V × {𝑦})) “ {𝑥}))
13 fvex 6769 . . . . . . . 8 (𝐺𝑦) ∈ V
14 fparlem2 7924 . . . . . . . . . 10 ((2nd ↾ (V × V)) “ {𝑥}) = (V × {𝑥})
15 sneq 4568 . . . . . . . . . . 11 (𝑥 = (𝐺𝑦) → {𝑥} = {(𝐺𝑦)})
1615xpeq2d 5610 . . . . . . . . . 10 (𝑥 = (𝐺𝑦) → (V × {𝑥}) = (V × {(𝐺𝑦)}))
1714, 16eqtrid 2790 . . . . . . . . 9 (𝑥 = (𝐺𝑦) → ((2nd ↾ (V × V)) “ {𝑥}) = (V × {(𝐺𝑦)}))
1815imaeq2d 5958 . . . . . . . . . 10 (𝑥 = (𝐺𝑦) → (({(𝐺𝑦)} × (V × {𝑦})) “ {𝑥}) = (({(𝐺𝑦)} × (V × {𝑦})) “ {(𝐺𝑦)}))
19 df-ima 5593 . . . . . . . . . . 11 (({(𝐺𝑦)} × (V × {𝑦})) “ {(𝐺𝑦)}) = ran (({(𝐺𝑦)} × (V × {𝑦})) ↾ {(𝐺𝑦)})
20 ssid 3939 . . . . . . . . . . . . . 14 {(𝐺𝑦)} ⊆ {(𝐺𝑦)}
21 xpssres 5917 . . . . . . . . . . . . . 14 ({(𝐺𝑦)} ⊆ {(𝐺𝑦)} → (({(𝐺𝑦)} × (V × {𝑦})) ↾ {(𝐺𝑦)}) = ({(𝐺𝑦)} × (V × {𝑦})))
2220, 21ax-mp 5 . . . . . . . . . . . . 13 (({(𝐺𝑦)} × (V × {𝑦})) ↾ {(𝐺𝑦)}) = ({(𝐺𝑦)} × (V × {𝑦}))
2322rneqi 5835 . . . . . . . . . . . 12 ran (({(𝐺𝑦)} × (V × {𝑦})) ↾ {(𝐺𝑦)}) = ran ({(𝐺𝑦)} × (V × {𝑦}))
2413snnz 4709 . . . . . . . . . . . . 13 {(𝐺𝑦)} ≠ ∅
25 rnxp 6062 . . . . . . . . . . . . 13 ({(𝐺𝑦)} ≠ ∅ → ran ({(𝐺𝑦)} × (V × {𝑦})) = (V × {𝑦}))
2624, 25ax-mp 5 . . . . . . . . . . . 12 ran ({(𝐺𝑦)} × (V × {𝑦})) = (V × {𝑦})
2723, 26eqtri 2766 . . . . . . . . . . 11 ran (({(𝐺𝑦)} × (V × {𝑦})) ↾ {(𝐺𝑦)}) = (V × {𝑦})
2819, 27eqtri 2766 . . . . . . . . . 10 (({(𝐺𝑦)} × (V × {𝑦})) “ {(𝐺𝑦)}) = (V × {𝑦})
2918, 28eqtrdi 2795 . . . . . . . . 9 (𝑥 = (𝐺𝑦) → (({(𝐺𝑦)} × (V × {𝑦})) “ {𝑥}) = (V × {𝑦}))
3017, 29xpeq12d 5611 . . . . . . . 8 (𝑥 = (𝐺𝑦) → (((2nd ↾ (V × V)) “ {𝑥}) × (({(𝐺𝑦)} × (V × {𝑦})) “ {𝑥})) = ((V × {(𝐺𝑦)}) × (V × {𝑦})))
3113, 30iunxsn 5016 . . . . . . 7 𝑥 ∈ {(𝐺𝑦)} (((2nd ↾ (V × V)) “ {𝑥}) × (({(𝐺𝑦)} × (V × {𝑦})) “ {𝑥})) = ((V × {(𝐺𝑦)}) × (V × {𝑦}))
3212, 31eqtri 2766 . . . . . 6 (({(𝐺𝑦)} × (V × {𝑦})) ∘ (2nd ↾ (V × V))) = ((V × {(𝐺𝑦)}) × (V × {𝑦}))
3332cnveqi 5772 . . . . 5 (({(𝐺𝑦)} × (V × {𝑦})) ∘ (2nd ↾ (V × V))) = ((V × {(𝐺𝑦)}) × (V × {𝑦}))
34 cnvco 5783 . . . . 5 (({(𝐺𝑦)} × (V × {𝑦})) ∘ (2nd ↾ (V × V))) = ((2nd ↾ (V × V)) ∘ ({(𝐺𝑦)} × (V × {𝑦})))
35 cnvxp 6049 . . . . 5 ((V × {(𝐺𝑦)}) × (V × {𝑦})) = ((V × {𝑦}) × (V × {(𝐺𝑦)}))
3633, 34, 353eqtr3i 2774 . . . 4 ((2nd ↾ (V × V)) ∘ ({(𝐺𝑦)} × (V × {𝑦}))) = ((V × {𝑦}) × (V × {(𝐺𝑦)}))
37 fparlem2 7924 . . . . . . . . 9 ((2nd ↾ (V × V)) “ {𝑦}) = (V × {𝑦})
3837xpeq2i 5607 . . . . . . . 8 ({(𝐺𝑦)} × ((2nd ↾ (V × V)) “ {𝑦})) = ({(𝐺𝑦)} × (V × {𝑦}))
39 fnsnfv 6829 . . . . . . . . 9 ((𝐺 Fn 𝐵𝑦𝐵) → {(𝐺𝑦)} = (𝐺 “ {𝑦}))
4039xpeq1d 5609 . . . . . . . 8 ((𝐺 Fn 𝐵𝑦𝐵) → ({(𝐺𝑦)} × ((2nd ↾ (V × V)) “ {𝑦})) = ((𝐺 “ {𝑦}) × ((2nd ↾ (V × V)) “ {𝑦})))
4138, 40eqtr3id 2793 . . . . . . 7 ((𝐺 Fn 𝐵𝑦𝐵) → ({(𝐺𝑦)} × (V × {𝑦})) = ((𝐺 “ {𝑦}) × ((2nd ↾ (V × V)) “ {𝑦})))
4241cnveqd 5773 . . . . . 6 ((𝐺 Fn 𝐵𝑦𝐵) → ({(𝐺𝑦)} × (V × {𝑦})) = ((𝐺 “ {𝑦}) × ((2nd ↾ (V × V)) “ {𝑦})))
43 cnvxp 6049 . . . . . 6 ((𝐺 “ {𝑦}) × ((2nd ↾ (V × V)) “ {𝑦})) = (((2nd ↾ (V × V)) “ {𝑦}) × (𝐺 “ {𝑦}))
4442, 43eqtrdi 2795 . . . . 5 ((𝐺 Fn 𝐵𝑦𝐵) → ({(𝐺𝑦)} × (V × {𝑦})) = (((2nd ↾ (V × V)) “ {𝑦}) × (𝐺 “ {𝑦})))
4544coeq2d 5760 . . . 4 ((𝐺 Fn 𝐵𝑦𝐵) → ((2nd ↾ (V × V)) ∘ ({(𝐺𝑦)} × (V × {𝑦}))) = ((2nd ↾ (V × V)) ∘ (((2nd ↾ (V × V)) “ {𝑦}) × (𝐺 “ {𝑦}))))
4636, 45eqtr3id 2793 . . 3 ((𝐺 Fn 𝐵𝑦𝐵) → ((V × {𝑦}) × (V × {(𝐺𝑦)})) = ((2nd ↾ (V × V)) ∘ (((2nd ↾ (V × V)) “ {𝑦}) × (𝐺 “ {𝑦}))))
4746iuneq2dv 4945 . 2 (𝐺 Fn 𝐵 𝑦𝐵 ((V × {𝑦}) × (V × {(𝐺𝑦)})) = 𝑦𝐵 ((2nd ↾ (V × V)) ∘ (((2nd ↾ (V × V)) “ {𝑦}) × (𝐺 “ {𝑦}))))
481, 7, 473eqtr4a 2805 1 (𝐺 Fn 𝐵 → ((2nd ↾ (V × V)) ∘ (𝐺 ∘ (2nd ↾ (V × V)))) = 𝑦𝐵 ((V × {𝑦}) × (V × {(𝐺𝑦)})))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wa 395   = wceq 1539  wcel 2108  wne 2942  Vcvv 3422  cin 3882  wss 3883  c0 4253  {csn 4558   ciun 4921   × cxp 5578  ccnv 5579  dom cdm 5580  ran crn 5581  cres 5582  cima 5583  ccom 5584   Fn wfn 6413  cfv 6418  2nd c2nd 7803
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1799  ax-4 1813  ax-5 1914  ax-6 1972  ax-7 2012  ax-8 2110  ax-9 2118  ax-10 2139  ax-11 2156  ax-12 2173  ax-ext 2709  ax-sep 5218  ax-nul 5225  ax-pr 5347  ax-un 7566
This theorem depends on definitions:  df-bi 206  df-an 396  df-or 844  df-3an 1087  df-tru 1542  df-fal 1552  df-ex 1784  df-nf 1788  df-sb 2069  df-mo 2540  df-eu 2569  df-clab 2716  df-cleq 2730  df-clel 2817  df-nfc 2888  df-ne 2943  df-ral 3068  df-rex 3069  df-rab 3072  df-v 3424  df-sbc 3712  df-csb 3829  df-dif 3886  df-un 3888  df-in 3890  df-ss 3900  df-nul 4254  df-if 4457  df-sn 4559  df-pr 4561  df-op 4565  df-uni 4837  df-iun 4923  df-br 5071  df-opab 5133  df-mpt 5154  df-id 5480  df-xp 5586  df-rel 5587  df-cnv 5588  df-co 5589  df-dm 5590  df-rn 5591  df-res 5592  df-ima 5593  df-iota 6376  df-fun 6420  df-fn 6421  df-f 6422  df-fv 6426  df-1st 7804  df-2nd 7805
This theorem is referenced by:  fpar  7927
  Copyright terms: Public domain W3C validator