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

Theorem fparlem4 7837
Description: Lemma for fpar 7838. (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 6090 . 2 ((2nd ↾ (V × V)) ∘ 𝑦𝐵 (((2nd ↾ (V × V)) “ {𝑦}) × (𝐺 “ {𝑦}))) = 𝑦𝐵 ((2nd ↾ (V × V)) ∘ (((2nd ↾ (V × V)) “ {𝑦}) × (𝐺 “ {𝑦})))
2 inss1 4120 . . . . 5 (dom 𝐺 ∩ ran (2nd ↾ (V × V))) ⊆ dom 𝐺
3 fndm 6441 . . . . 5 (𝐺 Fn 𝐵 → dom 𝐺 = 𝐵)
42, 3sseqtrid 3930 . . . 4 (𝐺 Fn 𝐵 → (dom 𝐺 ∩ ran (2nd ↾ (V × V))) ⊆ 𝐵)
5 dfco2a 6080 . . . 4 ((dom 𝐺 ∩ ran (2nd ↾ (V × V))) ⊆ 𝐵 → (𝐺 ∘ (2nd ↾ (V × V))) = 𝑦𝐵 (((2nd ↾ (V × V)) “ {𝑦}) × (𝐺 “ {𝑦})))
64, 5syl 17 . . 3 (𝐺 Fn 𝐵 → (𝐺 ∘ (2nd ↾ (V × V))) = 𝑦𝐵 (((2nd ↾ (V × V)) “ {𝑦}) × (𝐺 “ {𝑦})))
76coeq2d 5706 . 2 (𝐺 Fn 𝐵 → ((2nd ↾ (V × V)) ∘ (𝐺 ∘ (2nd ↾ (V × V)))) = ((2nd ↾ (V × V)) ∘ 𝑦𝐵 (((2nd ↾ (V × V)) “ {𝑦}) × (𝐺 “ {𝑦}))))
8 inss1 4120 . . . . . . . . 9 (dom ({(𝐺𝑦)} × (V × {𝑦})) ∩ ran (2nd ↾ (V × V))) ⊆ dom ({(𝐺𝑦)} × (V × {𝑦}))
9 dmxpss 6004 . . . . . . . . 9 dom ({(𝐺𝑦)} × (V × {𝑦})) ⊆ {(𝐺𝑦)}
108, 9sstri 3887 . . . . . . . 8 (dom ({(𝐺𝑦)} × (V × {𝑦})) ∩ ran (2nd ↾ (V × V))) ⊆ {(𝐺𝑦)}
11 dfco2a 6080 . . . . . . . 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 6688 . . . . . . . 8 (𝐺𝑦) ∈ V
14 fparlem2 7835 . . . . . . . . . 10 ((2nd ↾ (V × V)) “ {𝑥}) = (V × {𝑥})
15 sneq 4527 . . . . . . . . . . 11 (𝑥 = (𝐺𝑦) → {𝑥} = {(𝐺𝑦)})
1615xpeq2d 5556 . . . . . . . . . 10 (𝑥 = (𝐺𝑦) → (V × {𝑥}) = (V × {(𝐺𝑦)}))
1714, 16syl5eq 2785 . . . . . . . . 9 (𝑥 = (𝐺𝑦) → ((2nd ↾ (V × V)) “ {𝑥}) = (V × {(𝐺𝑦)}))
1815imaeq2d 5904 . . . . . . . . . 10 (𝑥 = (𝐺𝑦) → (({(𝐺𝑦)} × (V × {𝑦})) “ {𝑥}) = (({(𝐺𝑦)} × (V × {𝑦})) “ {(𝐺𝑦)}))
19 df-ima 5539 . . . . . . . . . . 11 (({(𝐺𝑦)} × (V × {𝑦})) “ {(𝐺𝑦)}) = ran (({(𝐺𝑦)} × (V × {𝑦})) ↾ {(𝐺𝑦)})
20 ssid 3900 . . . . . . . . . . . . . 14 {(𝐺𝑦)} ⊆ {(𝐺𝑦)}
21 xpssres 5863 . . . . . . . . . . . . . 14 ({(𝐺𝑦)} ⊆ {(𝐺𝑦)} → (({(𝐺𝑦)} × (V × {𝑦})) ↾ {(𝐺𝑦)}) = ({(𝐺𝑦)} × (V × {𝑦})))
2220, 21ax-mp 5 . . . . . . . . . . . . 13 (({(𝐺𝑦)} × (V × {𝑦})) ↾ {(𝐺𝑦)}) = ({(𝐺𝑦)} × (V × {𝑦}))
2322rneqi 5781 . . . . . . . . . . . 12 ran (({(𝐺𝑦)} × (V × {𝑦})) ↾ {(𝐺𝑦)}) = ran ({(𝐺𝑦)} × (V × {𝑦}))
2413snnz 4668 . . . . . . . . . . . . 13 {(𝐺𝑦)} ≠ ∅
25 rnxp 6003 . . . . . . . . . . . . 13 ({(𝐺𝑦)} ≠ ∅ → ran ({(𝐺𝑦)} × (V × {𝑦})) = (V × {𝑦}))
2624, 25ax-mp 5 . . . . . . . . . . . 12 ran ({(𝐺𝑦)} × (V × {𝑦})) = (V × {𝑦})
2723, 26eqtri 2761 . . . . . . . . . . 11 ran (({(𝐺𝑦)} × (V × {𝑦})) ↾ {(𝐺𝑦)}) = (V × {𝑦})
2819, 27eqtri 2761 . . . . . . . . . 10 (({(𝐺𝑦)} × (V × {𝑦})) “ {(𝐺𝑦)}) = (V × {𝑦})
2918, 28eqtrdi 2789 . . . . . . . . 9 (𝑥 = (𝐺𝑦) → (({(𝐺𝑦)} × (V × {𝑦})) “ {𝑥}) = (V × {𝑦}))
3017, 29xpeq12d 5557 . . . . . . . 8 (𝑥 = (𝐺𝑦) → (((2nd ↾ (V × V)) “ {𝑥}) × (({(𝐺𝑦)} × (V × {𝑦})) “ {𝑥})) = ((V × {(𝐺𝑦)}) × (V × {𝑦})))
3113, 30iunxsn 4977 . . . . . . 7 𝑥 ∈ {(𝐺𝑦)} (((2nd ↾ (V × V)) “ {𝑥}) × (({(𝐺𝑦)} × (V × {𝑦})) “ {𝑥})) = ((V × {(𝐺𝑦)}) × (V × {𝑦}))
3212, 31eqtri 2761 . . . . . 6 (({(𝐺𝑦)} × (V × {𝑦})) ∘ (2nd ↾ (V × V))) = ((V × {(𝐺𝑦)}) × (V × {𝑦}))
3332cnveqi 5718 . . . . 5 (({(𝐺𝑦)} × (V × {𝑦})) ∘ (2nd ↾ (V × V))) = ((V × {(𝐺𝑦)}) × (V × {𝑦}))
34 cnvco 5729 . . . . 5 (({(𝐺𝑦)} × (V × {𝑦})) ∘ (2nd ↾ (V × V))) = ((2nd ↾ (V × V)) ∘ ({(𝐺𝑦)} × (V × {𝑦})))
35 cnvxp 5990 . . . . 5 ((V × {(𝐺𝑦)}) × (V × {𝑦})) = ((V × {𝑦}) × (V × {(𝐺𝑦)}))
3633, 34, 353eqtr3i 2769 . . . 4 ((2nd ↾ (V × V)) ∘ ({(𝐺𝑦)} × (V × {𝑦}))) = ((V × {𝑦}) × (V × {(𝐺𝑦)}))
37 fparlem2 7835 . . . . . . . . 9 ((2nd ↾ (V × V)) “ {𝑦}) = (V × {𝑦})
3837xpeq2i 5553 . . . . . . . 8 ({(𝐺𝑦)} × ((2nd ↾ (V × V)) “ {𝑦})) = ({(𝐺𝑦)} × (V × {𝑦}))
39 fnsnfv 6748 . . . . . . . . 9 ((𝐺 Fn 𝐵𝑦𝐵) → {(𝐺𝑦)} = (𝐺 “ {𝑦}))
4039xpeq1d 5555 . . . . . . . 8 ((𝐺 Fn 𝐵𝑦𝐵) → ({(𝐺𝑦)} × ((2nd ↾ (V × V)) “ {𝑦})) = ((𝐺 “ {𝑦}) × ((2nd ↾ (V × V)) “ {𝑦})))
4138, 40eqtr3id 2787 . . . . . . 7 ((𝐺 Fn 𝐵𝑦𝐵) → ({(𝐺𝑦)} × (V × {𝑦})) = ((𝐺 “ {𝑦}) × ((2nd ↾ (V × V)) “ {𝑦})))
4241cnveqd 5719 . . . . . 6 ((𝐺 Fn 𝐵𝑦𝐵) → ({(𝐺𝑦)} × (V × {𝑦})) = ((𝐺 “ {𝑦}) × ((2nd ↾ (V × V)) “ {𝑦})))
43 cnvxp 5990 . . . . . 6 ((𝐺 “ {𝑦}) × ((2nd ↾ (V × V)) “ {𝑦})) = (((2nd ↾ (V × V)) “ {𝑦}) × (𝐺 “ {𝑦}))
4442, 43eqtrdi 2789 . . . . 5 ((𝐺 Fn 𝐵𝑦𝐵) → ({(𝐺𝑦)} × (V × {𝑦})) = (((2nd ↾ (V × V)) “ {𝑦}) × (𝐺 “ {𝑦})))
4544coeq2d 5706 . . . 4 ((𝐺 Fn 𝐵𝑦𝐵) → ((2nd ↾ (V × V)) ∘ ({(𝐺𝑦)} × (V × {𝑦}))) = ((2nd ↾ (V × V)) ∘ (((2nd ↾ (V × V)) “ {𝑦}) × (𝐺 “ {𝑦}))))
4636, 45eqtr3id 2787 . . 3 ((𝐺 Fn 𝐵𝑦𝐵) → ((V × {𝑦}) × (V × {(𝐺𝑦)})) = ((2nd ↾ (V × V)) ∘ (((2nd ↾ (V × V)) “ {𝑦}) × (𝐺 “ {𝑦}))))
4746iuneq2dv 4906 . 2 (𝐺 Fn 𝐵 𝑦𝐵 ((V × {𝑦}) × (V × {(𝐺𝑦)})) = 𝑦𝐵 ((2nd ↾ (V × V)) ∘ (((2nd ↾ (V × V)) “ {𝑦}) × (𝐺 “ {𝑦}))))
481, 7, 473eqtr4a 2799 1 (𝐺 Fn 𝐵 → ((2nd ↾ (V × V)) ∘ (𝐺 ∘ (2nd ↾ (V × V)))) = 𝑦𝐵 ((V × {𝑦}) × (V × {(𝐺𝑦)})))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wa 399   = wceq 1542  wcel 2113  wne 2934  Vcvv 3398  cin 3843  wss 3844  c0 4212  {csn 4517   ciun 4882   × cxp 5524  ccnv 5525  dom cdm 5526  ran crn 5527  cres 5528  cima 5529  ccom 5530   Fn wfn 6335  cfv 6340  2nd c2nd 7714
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1802  ax-4 1816  ax-5 1916  ax-6 1974  ax-7 2019  ax-8 2115  ax-9 2123  ax-10 2144  ax-11 2161  ax-12 2178  ax-ext 2710  ax-sep 5168  ax-nul 5175  ax-pr 5297  ax-un 7480
This theorem depends on definitions:  df-bi 210  df-an 400  df-or 847  df-3an 1090  df-tru 1545  df-fal 1555  df-ex 1787  df-nf 1791  df-sb 2074  df-mo 2540  df-eu 2570  df-clab 2717  df-cleq 2730  df-clel 2811  df-nfc 2881  df-ne 2935  df-ral 3058  df-rex 3059  df-rab 3062  df-v 3400  df-sbc 3683  df-csb 3792  df-dif 3847  df-un 3849  df-in 3851  df-ss 3861  df-nul 4213  df-if 4416  df-sn 4518  df-pr 4520  df-op 4524  df-uni 4798  df-iun 4884  df-br 5032  df-opab 5094  df-mpt 5112  df-id 5430  df-xp 5532  df-rel 5533  df-cnv 5534  df-co 5535  df-dm 5536  df-rn 5537  df-res 5538  df-ima 5539  df-iota 6298  df-fun 6342  df-fn 6343  df-f 6344  df-fv 6348  df-1st 7715  df-2nd 7716
This theorem is referenced by:  fpar  7838
  Copyright terms: Public domain W3C validator