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

Theorem fmpox 8103
Description: Functionality, domain and codomain of a class given by the maps-to notation, where 𝐵(𝑥) is not constant but depends on 𝑥. (Contributed by NM, 29-Dec-2014.)
Hypothesis
Ref Expression
fmpox.1 𝐹 = (𝑥 ∈ 𝐴, 𝑦 ∈ 𝐵 ↦ 𝐶)
Assertion
Ref Expression
fmpox (∀𝑥 ∈ 𝐴 ∀𝑦 ∈ 𝐵 𝐶 ∈ 𝐷 ↔ 𝐹:∪ 𝑥 ∈ 𝐴 ({𝑥} × 𝐵)⟶𝐷)
Distinct variable groups:   𝑥,𝑦,𝐴   𝑦,𝐵   𝑥,𝐷,𝑦
Allowed substitution hints:   𝐵(𝑥)   𝐶(𝑥, 𝑦)   𝐹(𝑥, 𝑦)

Proof of Theorem fmpox
Dummy variables 𝑣 𝑤 𝑧 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 vex 3458 . . . . . . . 8 𝑧 ∈ V
2 vex 3458 . . . . . . . 8 𝑤 ∈ V
31, 2op1std 8035 . . . . . . 7 (𝑣 = ⟨𝑧, 𝑤⟩ → (1st ‘𝑣) = 𝑧)
43csbeq1d 3855 . . . . . 6 (𝑣 = ⟨𝑧, 𝑤⟩ → ⦋(1st ‘𝑣) / 𝑥⦌⦋(2nd ‘𝑣) / 𝑦⦌𝐶 = ⦋𝑧 / 𝑥⦌⦋(2nd ‘𝑣) / 𝑦⦌𝐶)
51, 2op2ndd 8036 . . . . . . . 8 (𝑣 = ⟨𝑧, 𝑤⟩ → (2nd ‘𝑣) = 𝑤)
65csbeq1d 3855 . . . . . . 7 (𝑣 = ⟨𝑧, 𝑤⟩ → ⦋(2nd ‘𝑣) / 𝑦⦌𝐶 = ⦋𝑤 / 𝑦⦌𝐶)
76csbeq2dv 3858 . . . . . 6 (𝑣 = ⟨𝑧, 𝑤⟩ → ⦋𝑧 / 𝑥⦌⦋(2nd ‘𝑣) / 𝑦⦌𝐶 = ⦋𝑧 / 𝑥⦌⦋𝑤 / 𝑦⦌𝐶)
84, 7eqtrd 2798 . . . . 5 (𝑣 = ⟨𝑧, 𝑤⟩ → ⦋(1st ‘𝑣) / 𝑥⦌⦋(2nd ‘𝑣) / 𝑦⦌𝐶 = ⦋𝑧 / 𝑥⦌⦋𝑤 / 𝑦⦌𝐶)
98eleq1d 2849 . . . 4 (𝑣 = ⟨𝑧, 𝑤⟩ → (⦋(1st ‘𝑣) / 𝑥⦌⦋(2nd ‘𝑣) / 𝑦⦌𝐶 ∈ 𝐷 ↔ ⦋𝑧 / 𝑥⦌⦋𝑤 / 𝑦⦌𝐶 ∈ 𝐷))
109raliunxp 5822 . . 3 (∀𝑣 ∈ ∪ 𝑧 ∈ 𝐴 ({𝑧} × ⦋𝑧 / 𝑥⦌𝐵)⦋(1st ‘𝑣) / 𝑥⦌⦋(2nd ‘𝑣) / 𝑦⦌𝐶 ∈ 𝐷 ↔ ∀𝑧 ∈ 𝐴 ∀𝑤 ∈ ⦋ 𝑧 / 𝑥⦌𝐵⦋𝑧 / 𝑥⦌⦋𝑤 / 𝑦⦌𝐶 ∈ 𝐷)
11 nfv 1949 . . . . . . 7 Ⅎ𝑧((𝑥 ∈ 𝐴 ∧ 𝑦 ∈ 𝐵) ∧ 𝑣 = 𝐶)
12 nfv 1949 . . . . . . 7 Ⅎ𝑤((𝑥 ∈ 𝐴 ∧ 𝑦 ∈ 𝐵) ∧ 𝑣 = 𝐶)
13 nfv 1949 . . . . . . . . 9 Ⅎ𝑥 𝑧 ∈ 𝐴
14 nfcsb1v 3875 . . . . . . . . . 10 Ⅎ𝑥⦋𝑧 / 𝑥⦌𝐵
1514nfcri 2918 . . . . . . . . 9 Ⅎ𝑥 𝑤 ∈ ⦋𝑧 / 𝑥⦌𝐵
1613, 15nfan 1934 . . . . . . . 8 Ⅎ𝑥(𝑧 ∈ 𝐴 ∧ 𝑤 ∈ ⦋𝑧 / 𝑥⦌𝐵)
17 nfcsb1v 3875 . . . . . . . . 9 Ⅎ𝑥⦋𝑧 / 𝑥⦌⦋𝑤 / 𝑦⦌𝐶
1817nfeq2 2943 . . . . . . . 8 Ⅎ𝑥 𝑣 = ⦋𝑧 / 𝑥⦌⦋𝑤 / 𝑦⦌𝐶
1916, 18nfan 1934 . . . . . . 7 Ⅎ𝑥((𝑧 ∈ 𝐴 ∧ 𝑤 ∈ ⦋𝑧 / 𝑥⦌𝐵) ∧ 𝑣 = ⦋𝑧 / 𝑥⦌⦋𝑤 / 𝑦⦌𝐶)
20 nfv 1949 . . . . . . . 8 Ⅎ𝑦(𝑧 ∈ 𝐴 ∧ 𝑤 ∈ ⦋𝑧 / 𝑥⦌𝐵)
21 nfcv 2926 . . . . . . . . . 10 Ⅎ𝑦𝑧
22 nfcsb1v 3875 . . . . . . . . . 10 Ⅎ𝑦⦋𝑤 / 𝑦⦌𝐶
2321, 22nfcsbw 3877 . . . . . . . . 9 Ⅎ𝑦⦋𝑧 / 𝑥⦌⦋𝑤 / 𝑦⦌𝐶
2423nfeq2 2943 . . . . . . . 8 Ⅎ𝑦 𝑣 = ⦋𝑧 / 𝑥⦌⦋𝑤 / 𝑦⦌𝐶
2520, 24nfan 1934 . . . . . . 7 Ⅎ𝑦((𝑧 ∈ 𝐴 ∧ 𝑤 ∈ ⦋𝑧 / 𝑥⦌𝐵) ∧ 𝑣 = ⦋𝑧 / 𝑥⦌⦋𝑤 / 𝑦⦌𝐶)
26 eleq1w 2847 . . . . . . . . . 10 (𝑥 = 𝑧 → (𝑥 ∈ 𝐴 ↔ 𝑧 ∈ 𝐴))
2726adantr 486 . . . . . . . . 9 ((𝑥 = 𝑧 ∧ 𝑦 = 𝑤) → (𝑥 ∈ 𝐴 ↔ 𝑧 ∈ 𝐴))
28 eleq1w 2847 . . . . . . . . . 10 (𝑦 = 𝑤 → (𝑦 ∈ 𝐵 ↔ 𝑤 ∈ 𝐵))
29 csbeq1a 3865 . . . . . . . . . . 11 (𝑥 = 𝑧 → 𝐵 = ⦋𝑧 / 𝑥⦌𝐵)
3029eleq2d 2850 . . . . . . . . . 10 (𝑥 = 𝑧 → (𝑤 ∈ 𝐵 ↔ 𝑤 ∈ ⦋𝑧 / 𝑥⦌𝐵))
3128, 30sylan9bbr 520 . . . . . . . . 9 ((𝑥 = 𝑧 ∧ 𝑦 = 𝑤) → (𝑦 ∈ 𝐵 ↔ 𝑤 ∈ ⦋𝑧 / 𝑥⦌𝐵))
3227, 31anbi12d 644 . . . . . . . 8 ((𝑥 = 𝑧 ∧ 𝑦 = 𝑤) → ((𝑥 ∈ 𝐴 ∧ 𝑦 ∈ 𝐵) ↔ (𝑧 ∈ 𝐴 ∧ 𝑤 ∈ ⦋𝑧 / 𝑥⦌𝐵)))
33 csbeq1a 3865 . . . . . . . . . 10 (𝑦 = 𝑤 → 𝐶 = ⦋𝑤 / 𝑦⦌𝐶)
34 csbeq1a 3865 . . . . . . . . . 10 (𝑥 = 𝑧 → ⦋𝑤 / 𝑦⦌𝐶 = ⦋𝑧 / 𝑥⦌⦋𝑤 / 𝑦⦌𝐶)
3533, 34sylan9eqr 2820 . . . . . . . . 9 ((𝑥 = 𝑧 ∧ 𝑦 = 𝑤) → 𝐶 = ⦋𝑧 / 𝑥⦌⦋𝑤 / 𝑦⦌𝐶)
3635eqeq2d 2774 . . . . . . . 8 ((𝑥 = 𝑧 ∧ 𝑦 = 𝑤) → (𝑣 = 𝐶 ↔ 𝑣 = ⦋𝑧 / 𝑥⦌⦋𝑤 / 𝑦⦌𝐶))
3732, 36anbi12d 644 . . . . . . 7 ((𝑥 = 𝑧 ∧ 𝑦 = 𝑤) → (((𝑥 ∈ 𝐴 ∧ 𝑦 ∈ 𝐵) ∧ 𝑣 = 𝐶) ↔ ((𝑧 ∈ 𝐴 ∧ 𝑤 ∈ ⦋𝑧 / 𝑥⦌𝐵) ∧ 𝑣 = ⦋𝑧 / 𝑥⦌⦋𝑤 / 𝑦⦌𝐶)))
3811, 12, 19, 25, 37cbvoprab12 7532 . . . . . 6 {⟨⟨𝑥, 𝑦⟩, 𝑣⟩ ∣ ((𝑥 ∈ 𝐴 ∧ 𝑦 ∈ 𝐵) ∧ 𝑣 = 𝐶)} = {⟨⟨𝑧, 𝑤⟩, 𝑣⟩ ∣ ((𝑧 ∈ 𝐴 ∧ 𝑤 ∈ ⦋𝑧 / 𝑥⦌𝐵) ∧ 𝑣 = ⦋𝑧 / 𝑥⦌⦋𝑤 / 𝑦⦌𝐶)}
39 df-mpo 7448 . . . . . 6 (𝑥 ∈ 𝐴, 𝑦 ∈ 𝐵 ↦ 𝐶) = {⟨⟨𝑥, 𝑦⟩, 𝑣⟩ ∣ ((𝑥 ∈ 𝐴 ∧ 𝑦 ∈ 𝐵) ∧ 𝑣 = 𝐶)}
40 df-mpo 7448 . . . . . 6 (𝑧 ∈ 𝐴, 𝑤 ∈ ⦋𝑧 / 𝑥⦌𝐵 ↦ ⦋𝑧 / 𝑥⦌⦋𝑤 / 𝑦⦌𝐶) = {⟨⟨𝑧, 𝑤⟩, 𝑣⟩ ∣ ((𝑧 ∈ 𝐴 ∧ 𝑤 ∈ ⦋𝑧 / 𝑥⦌𝐵) ∧ 𝑣 = ⦋𝑧 / 𝑥⦌⦋𝑤 / 𝑦⦌𝐶)}
4138, 39, 403eqtr4i 2796 . . . . 5 (𝑥 ∈ 𝐴, 𝑦 ∈ 𝐵 ↦ 𝐶) = (𝑧 ∈ 𝐴, 𝑤 ∈ ⦋𝑧 / 𝑥⦌𝐵 ↦ ⦋𝑧 / 𝑥⦌⦋𝑤 / 𝑦⦌𝐶)
42 fmpox.1 . . . . 5 𝐹 = (𝑥 ∈ 𝐴, 𝑦 ∈ 𝐵 ↦ 𝐶)
438mpomptx 7556 . . . . 5 (𝑣 ∈ ∪ 𝑧 ∈ 𝐴 ({𝑧} × ⦋𝑧 / 𝑥⦌𝐵) ↦ ⦋(1st ‘𝑣) / 𝑥⦌⦋(2nd ‘𝑣) / 𝑦⦌𝐶) = (𝑧 ∈ 𝐴, 𝑤 ∈ ⦋𝑧 / 𝑥⦌𝐵 ↦ ⦋𝑧 / 𝑥⦌⦋𝑤 / 𝑦⦌𝐶)
4441, 42, 433eqtr4i 2796 . . . 4 𝐹 = (𝑣 ∈ ∪ 𝑧 ∈ 𝐴 ({𝑧} × ⦋𝑧 / 𝑥⦌𝐵) ↦ ⦋(1st ‘𝑣) / 𝑥⦌⦋(2nd ‘𝑣) / 𝑦⦌𝐶)
4544fmpt 7134 . . 3 (∀𝑣 ∈ ∪ 𝑧 ∈ 𝐴 ({𝑧} × ⦋𝑧 / 𝑥⦌𝐵)⦋(1st ‘𝑣) / 𝑥⦌⦋(2nd ‘𝑣) / 𝑦⦌𝐶 ∈ 𝐷 ↔ 𝐹:∪ 𝑧 ∈ 𝐴 ({𝑧} × ⦋𝑧 / 𝑥⦌𝐵)⟶𝐷)
4610, 45bitr3i 280 . 2 (∀𝑧 ∈ 𝐴 ∀𝑤 ∈ ⦋ 𝑧 / 𝑥⦌𝐵⦋𝑧 / 𝑥⦌⦋𝑤 / 𝑦⦌𝐶 ∈ 𝐷 ↔ 𝐹:∪ 𝑧 ∈ 𝐴 ({𝑧} × ⦋𝑧 / 𝑥⦌𝐵)⟶𝐷)
47 nfv 1949 . . 3 Ⅎ𝑧∀𝑦 ∈ 𝐵 𝐶 ∈ 𝐷
4817nfel1 2942 . . . 4 Ⅎ𝑥⦋𝑧 / 𝑥⦌⦋𝑤 / 𝑦⦌𝐶 ∈ 𝐷
4914, 48nfralw 3313 . . 3 Ⅎ𝑥∀𝑤 ∈ ⦋ 𝑧 / 𝑥⦌𝐵⦋𝑧 / 𝑥⦌⦋𝑤 / 𝑦⦌𝐶 ∈ 𝐷
50 nfv 1949 . . . . 5 Ⅎ𝑤 𝐶 ∈ 𝐷
5122nfel1 2942 . . . . 5 Ⅎ𝑦⦋𝑤 / 𝑦⦌𝐶 ∈ 𝐷
5233eleq1d 2849 . . . . 5 (𝑦 = 𝑤 → (𝐶 ∈ 𝐷 ↔ ⦋𝑤 / 𝑦⦌𝐶 ∈ 𝐷))
5350, 51, 52cbvralw 3308 . . . 4 (∀𝑦 ∈ 𝐵 𝐶 ∈ 𝐷 ↔ ∀𝑤 ∈ 𝐵 ⦋𝑤 / 𝑦⦌𝐶 ∈ 𝐷)
5434eleq1d 2849 . . . . 5 (𝑥 = 𝑧 → (⦋𝑤 / 𝑦⦌𝐶 ∈ 𝐷 ↔ ⦋𝑧 / 𝑥⦌⦋𝑤 / 𝑦⦌𝐶 ∈ 𝐷))
5529, 54raleqbidv 3338 . . . 4 (𝑥 = 𝑧 → (∀𝑤 ∈ 𝐵 ⦋𝑤 / 𝑦⦌𝐶 ∈ 𝐷 ↔ ∀𝑤 ∈ ⦋ 𝑧 / 𝑥⦌𝐵⦋𝑧 / 𝑥⦌⦋𝑤 / 𝑦⦌𝐶 ∈ 𝐷))
5653, 55bitrid 286 . . 3 (𝑥 = 𝑧 → (∀𝑦 ∈ 𝐵 𝐶 ∈ 𝐷 ↔ ∀𝑤 ∈ ⦋ 𝑧 / 𝑥⦌𝐵⦋𝑧 / 𝑥⦌⦋𝑤 / 𝑦⦌𝐶 ∈ 𝐷))
5747, 49, 56cbvralw 3308 . 2 (∀𝑥 ∈ 𝐴 ∀𝑦 ∈ 𝐵 𝐶 ∈ 𝐷 ↔ ∀𝑧 ∈ 𝐴 ∀𝑤 ∈ ⦋ 𝑧 / 𝑥⦌𝐵⦋𝑧 / 𝑥⦌⦋𝑤 / 𝑦⦌𝐶 ∈ 𝐷)
58 nfcv 2926 . . . 4 Ⅎ𝑧({𝑥} × 𝐵)
59 nfcv 2926 . . . . 5 Ⅎ𝑥{𝑧}
6059, 14nfxp 5688 . . . 4 Ⅎ𝑥({𝑧} × ⦋𝑧 / 𝑥⦌𝐵)
61 sneq 4594 . . . . 5 (𝑥 = 𝑧 → {𝑥} = {𝑧})
6261, 29xpeq12d 5686 . . . 4 (𝑥 = 𝑧 → ({𝑥} × 𝐵) = ({𝑧} × ⦋𝑧 / 𝑥⦌𝐵))
6358, 60, 62cbviun 4996 . . 3 ∪ 𝑥 ∈ 𝐴 ({𝑥} × 𝐵) = ∪ 𝑧 ∈ 𝐴 ({𝑧} × ⦋𝑧 / 𝑥⦌𝐵)
6463feq2i 6723 . 2 (𝐹:∪ 𝑥 ∈ 𝐴 ({𝑥} × 𝐵)⟶𝐷 ↔ 𝐹:∪ 𝑧 ∈ 𝐴 ({𝑧} × ⦋𝑧 / 𝑥⦌𝐵)⟶𝐷)
6546, 57, 643bitr4i 306 1 (∀𝑥 ∈ 𝐴 ∀𝑦 ∈ 𝐵 𝐶 ∈ 𝐷 ↔ 𝐹:∪ 𝑥 ∈ 𝐴 ({𝑥} × 𝐵)⟶𝐷)
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   ↔ wb 209   ∧ wa 401   = wceq 1570   ∈ wcel 2147  ∀wral 3080  ⦋csb 3851  {csn 4588  ⟨cop 4838  ∪ ciun 4954   ↦ cmpt 5189   × cxp 5653  ⟶wf 6554  ‘cfv 6558  {coprab 7444   ∈ cmpo 7445  1st c1st 8023  2nd c2nd 8024
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1828  ax-4 1842  ax-5 1945  ax-6 2002  ax-7 2043  ax-8 2149  ax-9 2157  ax-10 2180  ax-11 2197  ax-12 2216  ax-ext 2735  ax-sep 5252  ax-nul 5263  ax-pr 5395  ax-un 7775
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3an 1105  df-tru 1573  df-fal 1583  df-ex 1813  df-nf 1817  df-sb 2102  df-mo 2567  df-eu 2597  df-clab 2742  df-cleq 2755  df-clel 2839  df-nfc 2913  df-ne 2960  df-ral 3081  df-rex 3091  df-rab 3417  df-v 3456  df-sbc 3743  df-csb 3852  df-ss 3901  df-dif 4050  df-in 4094  df-un 4154  df-nul 4282  df-if 4486  df-sn 4589  df-pr 4591  df-op 4839  df-uni 4871  df-iun 4956  df-br 5107  df-opab 5171  df-mpt 5190  df-id 5550  df-xp 5661  df-rel 5662  df-cnv 5663  df-co 5664  df-dm 5665  df-rn 5666  df-res 5667  df-ima 5668  df-iota 6512  df-fun 6560  df-fn 6561  df-f 6562  df-fv 6566  df-oprab 7447  df-mpo 7448  df-1st 8025  df-2nd 8026
This theorem is used by:  fmpo  8104  eldmcoa  18269  gsum2d2lem  20217  gsum2d2  20218  gsumcom2  20219  dmdprd  20244  dprdval  20249  dprd2d2  20290  ablfaclem2  20332  ptbasfi  23930  ptcmplem1  24401  prdsxmslem2  24878  tglnfn  29040  tgplnfn  29283
  Copyright terms: Public domain W3C validator