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

Theorem fmpox 8123
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 3460 . . . . . . . 8 𝑧 ∈ V
2 vex 3460 . . . . . . . 8 𝑤 ∈ V
31, 2op1std 8055 . . . . . . 7 (𝑣 = ⟨𝑧, 𝑤⟩ → (1st ‘𝑣) = 𝑧)
43csbeq1d 3857 . . . . . 6 (𝑣 = ⟨𝑧, 𝑤⟩ → ⦋(1st ‘𝑣) / 𝑥⦌⦋(2nd ‘𝑣) / 𝑦⦌𝐶 = ⦋𝑧 / 𝑥⦌⦋(2nd ‘𝑣) / 𝑦⦌𝐶)
51, 2op2ndd 8056 . . . . . . . 8 (𝑣 = ⟨𝑧, 𝑤⟩ → (2nd ‘𝑣) = 𝑤)
65csbeq1d 3857 . . . . . . 7 (𝑣 = ⟨𝑧, 𝑤⟩ → ⦋(2nd ‘𝑣) / 𝑦⦌𝐶 = ⦋𝑤 / 𝑦⦌𝐶)
76csbeq2dv 3860 . . . . . 6 (𝑣 = ⟨𝑧, 𝑤⟩ → ⦋𝑧 / 𝑥⦌⦋(2nd ‘𝑣) / 𝑦⦌𝐶 = ⦋𝑧 / 𝑥⦌⦋𝑤 / 𝑦⦌𝐶)
84, 7eqtrd 2804 . . . . 5 (𝑣 = ⟨𝑧, 𝑤⟩ → ⦋(1st ‘𝑣) / 𝑥⦌⦋(2nd ‘𝑣) / 𝑦⦌𝐶 = ⦋𝑧 / 𝑥⦌⦋𝑤 / 𝑦⦌𝐶)
98eleq1d 2855 . . . 4 (𝑣 = ⟨𝑧, 𝑤⟩ → (⦋(1st ‘𝑣) / 𝑥⦌⦋(2nd ‘𝑣) / 𝑦⦌𝐶 ∈ 𝐷 ↔ ⦋𝑧 / 𝑥⦌⦋𝑤 / 𝑦⦌𝐶 ∈ 𝐷))
109raliunxp 5829 . . 3 (∀𝑣 ∈ ∪ 𝑧 ∈ 𝐴 ({𝑧} × ⦋𝑧 / 𝑥⦌𝐵)⦋(1st ‘𝑣) / 𝑥⦌⦋(2nd ‘𝑣) / 𝑦⦌𝐶 ∈ 𝐷 ↔ ∀𝑧 ∈ 𝐴 ∀𝑤 ∈ ⦋ 𝑧 / 𝑥⦌𝐵⦋𝑧 / 𝑥⦌⦋𝑤 / 𝑦⦌𝐶 ∈ 𝐷)
11 nfv 1951 . . . . . . 7 Ⅎ𝑧((𝑥 ∈ 𝐴 ∧ 𝑦 ∈ 𝐵) ∧ 𝑣 = 𝐶)
12 nfv 1951 . . . . . . 7 Ⅎ𝑤((𝑥 ∈ 𝐴 ∧ 𝑦 ∈ 𝐵) ∧ 𝑣 = 𝐶)
13 nfv 1951 . . . . . . . . 9 Ⅎ𝑥 𝑧 ∈ 𝐴
14 nfcsb1v 3877 . . . . . . . . . 10 Ⅎ𝑥⦋𝑧 / 𝑥⦌𝐵
1514nfcri 2924 . . . . . . . . 9 Ⅎ𝑥 𝑤 ∈ ⦋𝑧 / 𝑥⦌𝐵
1613, 15nfan 1936 . . . . . . . 8 Ⅎ𝑥(𝑧 ∈ 𝐴 ∧ 𝑤 ∈ ⦋𝑧 / 𝑥⦌𝐵)
17 nfcsb1v 3877 . . . . . . . . 9 Ⅎ𝑥⦋𝑧 / 𝑥⦌⦋𝑤 / 𝑦⦌𝐶
1817nfeq2 2949 . . . . . . . 8 Ⅎ𝑥 𝑣 = ⦋𝑧 / 𝑥⦌⦋𝑤 / 𝑦⦌𝐶
1916, 18nfan 1936 . . . . . . 7 Ⅎ𝑥((𝑧 ∈ 𝐴 ∧ 𝑤 ∈ ⦋𝑧 / 𝑥⦌𝐵) ∧ 𝑣 = ⦋𝑧 / 𝑥⦌⦋𝑤 / 𝑦⦌𝐶)
20 nfv 1951 . . . . . . . 8 Ⅎ𝑦(𝑧 ∈ 𝐴 ∧ 𝑤 ∈ ⦋𝑧 / 𝑥⦌𝐵)
21 nfcv 2932 . . . . . . . . . 10 Ⅎ𝑦𝑧
22 nfcsb1v 3877 . . . . . . . . . 10 Ⅎ𝑦⦋𝑤 / 𝑦⦌𝐶
2321, 22nfcsbw 3879 . . . . . . . . 9 Ⅎ𝑦⦋𝑧 / 𝑥⦌⦋𝑤 / 𝑦⦌𝐶
2423nfeq2 2949 . . . . . . . 8 Ⅎ𝑦 𝑣 = ⦋𝑧 / 𝑥⦌⦋𝑤 / 𝑦⦌𝐶
2520, 24nfan 1936 . . . . . . 7 Ⅎ𝑦((𝑧 ∈ 𝐴 ∧ 𝑤 ∈ ⦋𝑧 / 𝑥⦌𝐵) ∧ 𝑣 = ⦋𝑧 / 𝑥⦌⦋𝑤 / 𝑦⦌𝐶)
26 eleq1w 2853 . . . . . . . . . 10 (𝑥 = 𝑧 → (𝑥 ∈ 𝐴 ↔ 𝑧 ∈ 𝐴))
2726adantr 486 . . . . . . . . 9 ((𝑥 = 𝑧 ∧ 𝑦 = 𝑤) → (𝑥 ∈ 𝐴 ↔ 𝑧 ∈ 𝐴))
28 eleq1w 2853 . . . . . . . . . 10 (𝑦 = 𝑤 → (𝑦 ∈ 𝐵 ↔ 𝑤 ∈ 𝐵))
29 csbeq1a 3867 . . . . . . . . . . 11 (𝑥 = 𝑧 → 𝐵 = ⦋𝑧 / 𝑥⦌𝐵)
3029eleq2d 2856 . . . . . . . . . 10 (𝑥 = 𝑧 → (𝑤 ∈ 𝐵 ↔ 𝑤 ∈ ⦋𝑧 / 𝑥⦌𝐵))
3128, 30sylan9bbr 520 . . . . . . . . 9 ((𝑥 = 𝑧 ∧ 𝑦 = 𝑤) → (𝑦 ∈ 𝐵 ↔ 𝑤 ∈ ⦋𝑧 / 𝑥⦌𝐵))
3227, 31anbi12d 644 . . . . . . . 8 ((𝑥 = 𝑧 ∧ 𝑦 = 𝑤) → ((𝑥 ∈ 𝐴 ∧ 𝑦 ∈ 𝐵) ↔ (𝑧 ∈ 𝐴 ∧ 𝑤 ∈ ⦋𝑧 / 𝑥⦌𝐵)))
33 csbeq1a 3867 . . . . . . . . . 10 (𝑦 = 𝑤 → 𝐶 = ⦋𝑤 / 𝑦⦌𝐶)
34 csbeq1a 3867 . . . . . . . . . 10 (𝑥 = 𝑧 → ⦋𝑤 / 𝑦⦌𝐶 = ⦋𝑧 / 𝑥⦌⦋𝑤 / 𝑦⦌𝐶)
3533, 34sylan9eqr 2826 . . . . . . . . 9 ((𝑥 = 𝑧 ∧ 𝑦 = 𝑤) → 𝐶 = ⦋𝑧 / 𝑥⦌⦋𝑤 / 𝑦⦌𝐶)
3635eqeq2d 2780 . . . . . . . 8 ((𝑥 = 𝑧 ∧ 𝑦 = 𝑤) → (𝑣 = 𝐶 ↔ 𝑣 = ⦋𝑧 / 𝑥⦌⦋𝑤 / 𝑦⦌𝐶))
3732, 36anbi12d 644 . . . . . . 7 ((𝑥 = 𝑧 ∧ 𝑦 = 𝑤) → (((𝑥 ∈ 𝐴 ∧ 𝑦 ∈ 𝐵) ∧ 𝑣 = 𝐶) ↔ ((𝑧 ∈ 𝐴 ∧ 𝑤 ∈ ⦋𝑧 / 𝑥⦌𝐵) ∧ 𝑣 = ⦋𝑧 / 𝑥⦌⦋𝑤 / 𝑦⦌𝐶)))
3811, 12, 19, 25, 37cbvoprab12 7550 . . . . . 6 {⟨⟨𝑥, 𝑦⟩, 𝑣⟩ ∣ ((𝑥 ∈ 𝐴 ∧ 𝑦 ∈ 𝐵) ∧ 𝑣 = 𝐶)} = {⟨⟨𝑧, 𝑤⟩, 𝑣⟩ ∣ ((𝑧 ∈ 𝐴 ∧ 𝑤 ∈ ⦋𝑧 / 𝑥⦌𝐵) ∧ 𝑣 = ⦋𝑧 / 𝑥⦌⦋𝑤 / 𝑦⦌𝐶)}
39 df-mpo 7466 . . . . . 6 (𝑥 ∈ 𝐴, 𝑦 ∈ 𝐵 ↦ 𝐶) = {⟨⟨𝑥, 𝑦⟩, 𝑣⟩ ∣ ((𝑥 ∈ 𝐴 ∧ 𝑦 ∈ 𝐵) ∧ 𝑣 = 𝐶)}
40 df-mpo 7466 . . . . . 6 (𝑧 ∈ 𝐴, 𝑤 ∈ ⦋𝑧 / 𝑥⦌𝐵 ↦ ⦋𝑧 / 𝑥⦌⦋𝑤 / 𝑦⦌𝐶) = {⟨⟨𝑧, 𝑤⟩, 𝑣⟩ ∣ ((𝑧 ∈ 𝐴 ∧ 𝑤 ∈ ⦋𝑧 / 𝑥⦌𝐵) ∧ 𝑣 = ⦋𝑧 / 𝑥⦌⦋𝑤 / 𝑦⦌𝐶)}
4138, 39, 403eqtr4i 2802 . . . . 5 (𝑥 ∈ 𝐴, 𝑦 ∈ 𝐵 ↦ 𝐶) = (𝑧 ∈ 𝐴, 𝑤 ∈ ⦋𝑧 / 𝑥⦌𝐵 ↦ ⦋𝑧 / 𝑥⦌⦋𝑤 / 𝑦⦌𝐶)
42 fmpox.1 . . . . 5 𝐹 = (𝑥 ∈ 𝐴, 𝑦 ∈ 𝐵 ↦ 𝐶)
438mpomptx 7574 . . . . 5 (𝑣 ∈ ∪ 𝑧 ∈ 𝐴 ({𝑧} × ⦋𝑧 / 𝑥⦌𝐵) ↦ ⦋(1st ‘𝑣) / 𝑥⦌⦋(2nd ‘𝑣) / 𝑦⦌𝐶) = (𝑧 ∈ 𝐴, 𝑤 ∈ ⦋𝑧 / 𝑥⦌𝐵 ↦ ⦋𝑧 / 𝑥⦌⦋𝑤 / 𝑦⦌𝐶)
4441, 42, 433eqtr4i 2802 . . . 4 𝐹 = (𝑣 ∈ ∪ 𝑧 ∈ 𝐴 ({𝑧} × ⦋𝑧 / 𝑥⦌𝐵) ↦ ⦋(1st ‘𝑣) / 𝑥⦌⦋(2nd ‘𝑣) / 𝑦⦌𝐶)
4544fmpt 7152 . . 3 (∀𝑣 ∈ ∪ 𝑧 ∈ 𝐴 ({𝑧} × ⦋𝑧 / 𝑥⦌𝐵)⦋(1st ‘𝑣) / 𝑥⦌⦋(2nd ‘𝑣) / 𝑦⦌𝐶 ∈ 𝐷 ↔ 𝐹:∪ 𝑧 ∈ 𝐴 ({𝑧} × ⦋𝑧 / 𝑥⦌𝐵)⟶𝐷)
4610, 45bitr3i 280 . 2 (∀𝑧 ∈ 𝐴 ∀𝑤 ∈ ⦋ 𝑧 / 𝑥⦌𝐵⦋𝑧 / 𝑥⦌⦋𝑤 / 𝑦⦌𝐶 ∈ 𝐷 ↔ 𝐹:∪ 𝑧 ∈ 𝐴 ({𝑧} × ⦋𝑧 / 𝑥⦌𝐵)⟶𝐷)
47 nfv 1951 . . 3 Ⅎ𝑧∀𝑦 ∈ 𝐵 𝐶 ∈ 𝐷
4817nfel1 2948 . . . 4 Ⅎ𝑥⦋𝑧 / 𝑥⦌⦋𝑤 / 𝑦⦌𝐶 ∈ 𝐷
4914, 48nfralw 3316 . . 3 Ⅎ𝑥∀𝑤 ∈ ⦋ 𝑧 / 𝑥⦌𝐵⦋𝑧 / 𝑥⦌⦋𝑤 / 𝑦⦌𝐶 ∈ 𝐷
50 nfv 1951 . . . . 5 Ⅎ𝑤 𝐶 ∈ 𝐷
5122nfel1 2948 . . . . 5 Ⅎ𝑦⦋𝑤 / 𝑦⦌𝐶 ∈ 𝐷
5233eleq1d 2855 . . . . 5 (𝑦 = 𝑤 → (𝐶 ∈ 𝐷 ↔ ⦋𝑤 / 𝑦⦌𝐶 ∈ 𝐷))
5350, 51, 52cbvralw 3311 . . . 4 (∀𝑦 ∈ 𝐵 𝐶 ∈ 𝐷 ↔ ∀𝑤 ∈ 𝐵 ⦋𝑤 / 𝑦⦌𝐶 ∈ 𝐷)
5434eleq1d 2855 . . . . 5 (𝑥 = 𝑧 → (⦋𝑤 / 𝑦⦌𝐶 ∈ 𝐷 ↔ ⦋𝑧 / 𝑥⦌⦋𝑤 / 𝑦⦌𝐶 ∈ 𝐷))
5529, 54raleqbidv 3341 . . . 4 (𝑥 = 𝑧 → (∀𝑤 ∈ 𝐵 ⦋𝑤 / 𝑦⦌𝐶 ∈ 𝐷 ↔ ∀𝑤 ∈ ⦋ 𝑧 / 𝑥⦌𝐵⦋𝑧 / 𝑥⦌⦋𝑤 / 𝑦⦌𝐶 ∈ 𝐷))
5653, 55bitrid 286 . . 3 (𝑥 = 𝑧 → (∀𝑦 ∈ 𝐵 𝐶 ∈ 𝐷 ↔ ∀𝑤 ∈ ⦋ 𝑧 / 𝑥⦌𝐵⦋𝑧 / 𝑥⦌⦋𝑤 / 𝑦⦌𝐶 ∈ 𝐷))
5747, 49, 56cbvralw 3311 . 2 (∀𝑥 ∈ 𝐴 ∀𝑦 ∈ 𝐵 𝐶 ∈ 𝐷 ↔ ∀𝑧 ∈ 𝐴 ∀𝑤 ∈ ⦋ 𝑧 / 𝑥⦌𝐵⦋𝑧 / 𝑥⦌⦋𝑤 / 𝑦⦌𝐶 ∈ 𝐷)
58 nfcv 2932 . . . 4 Ⅎ𝑧({𝑥} × 𝐵)
59 nfcv 2932 . . . . 5 Ⅎ𝑥{𝑧}
6059, 14nfxp 5694 . . . 4 Ⅎ𝑥({𝑧} × ⦋𝑧 / 𝑥⦌𝐵)
61 sneq 4596 . . . . 5 (𝑥 = 𝑧 → {𝑥} = {𝑧})
6261, 29xpeq12d 5692 . . . 4 (𝑥 = 𝑧 → ({𝑥} × 𝐵) = ({𝑧} × ⦋𝑧 / 𝑥⦌𝐵))
6358, 60, 62cbviun 5001 . . 3 ∪ 𝑥 ∈ 𝐴 ({𝑥} × 𝐵) = ∪ 𝑧 ∈ 𝐴 ({𝑧} × ⦋𝑧 / 𝑥⦌𝐵)
6463feq2i 6741 . 2 (𝐹:∪ 𝑥 ∈ 𝐴 ({𝑥} × 𝐵)⟶𝐷 ↔ 𝐹:∪ 𝑧 ∈ 𝐴 ({𝑧} × ⦋𝑧 / 𝑥⦌𝐵)⟶𝐷)
6546, 57, 643bitr4i 306 1 (∀𝑥 ∈ 𝐴 ∀𝑦 ∈ 𝐵 𝐶 ∈ 𝐷 ↔ 𝐹:∪ 𝑥 ∈ 𝐴 ({𝑥} × 𝐵)⟶𝐷)
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   ↔ wb 209   ∧ wa 401   = wceq 1572   ∈ wcel 2151  ∀wral 3086  ⦋csb 3853  {csn 4590  ⟨cop 4843  ∪ ciun 4959   ↦ cmpt 5195   × cxp 5659  ⟶wf 6569  ‘cfv 6573  {coprab 7462   ∈ cmpo 7463  1st c1st 8043  2nd c2nd 8044
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1830  ax-4 1844  ax-5 1947  ax-6 2004  ax-7 2045  ax-8 2153  ax-9 2161  ax-10 2184  ax-11 2201  ax-12 2220  ax-ext 2741  ax-sep 5258  ax-nul 5269  ax-pr 5401  ax-un 7793
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3an 1106  df-tru 1575  df-fal 1585  df-ex 1815  df-nf 1819  df-sb 2105  df-mo 2571  df-eu 2601  df-clab 2748  df-cleq 2761  df-clel 2845  df-nfc 2919  df-ne 2966  df-ral 3087  df-rex 3097  df-rab 3419  df-v 3458  df-sbc 3745  df-csb 3854  df-ss 3903  df-dif 4052  df-in 4096  df-un 4156  df-nul 4284  df-if 4488  df-sn 4591  df-pr 4593  df-op 4844  df-uni 4876  df-iun 4961  df-br 5112  df-opab 5177  df-mpt 5196  df-id 5556  df-xp 5667  df-rel 5668  df-cnv 5669  df-co 5670  df-dm 5671  df-rn 5672  df-res 5673  df-ima 5674  df-iota 6527  df-fun 6575  df-fn 6576  df-f 6577  df-fv 6581  df-oprab 7465  df-mpo 7466  df-1st 8045  df-2nd 8046
This theorem is used by:  fmpo  8124  eldmcoa  18307  gsum2d2lem  20255  gsum2d2  20256  gsumcom2  20257  dmdprd  20282  dprdval  20287  dprd2d2  20328  ablfaclem2  20370  ptbasfi  23978  ptcmplem1  24449  prdsxmslem2  24926  tglnfn  29086  tgplnfn  29329
  Copyright terms: Public domain W3C validator