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

Theorem fmpt2x 7469
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
fmpt2x.1 𝐹 = (𝑥𝐴, 𝑦𝐵𝐶)
Assertion
Ref Expression
fmpt2x (∀𝑥𝐴𝑦𝐵 𝐶𝐷𝐹: 𝑥𝐴 ({𝑥} × 𝐵)⟶𝐷)
Distinct variable groups:   𝑥,𝑦,𝐴   𝑦,𝐵   𝑥,𝐷,𝑦
Allowed substitution hints:   𝐵(𝑥)   𝐶(𝑥,𝑦)   𝐹(𝑥,𝑦)

Proof of Theorem fmpt2x
Dummy variables 𝑣 𝑤 𝑧 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 vex 3394 . . . . . . . 8 𝑧 ∈ V
2 vex 3394 . . . . . . . 8 𝑤 ∈ V
31, 2op1std 7408 . . . . . . 7 (𝑣 = ⟨𝑧, 𝑤⟩ → (1st𝑣) = 𝑧)
43csbeq1d 3735 . . . . . 6 (𝑣 = ⟨𝑧, 𝑤⟩ → (1st𝑣) / 𝑥(2nd𝑣) / 𝑦𝐶 = 𝑧 / 𝑥(2nd𝑣) / 𝑦𝐶)
51, 2op2ndd 7409 . . . . . . . 8 (𝑣 = ⟨𝑧, 𝑤⟩ → (2nd𝑣) = 𝑤)
65csbeq1d 3735 . . . . . . 7 (𝑣 = ⟨𝑧, 𝑤⟩ → (2nd𝑣) / 𝑦𝐶 = 𝑤 / 𝑦𝐶)
76csbeq2dv 4189 . . . . . 6 (𝑣 = ⟨𝑧, 𝑤⟩ → 𝑧 / 𝑥(2nd𝑣) / 𝑦𝐶 = 𝑧 / 𝑥𝑤 / 𝑦𝐶)
84, 7eqtrd 2840 . . . . 5 (𝑣 = ⟨𝑧, 𝑤⟩ → (1st𝑣) / 𝑥(2nd𝑣) / 𝑦𝐶 = 𝑧 / 𝑥𝑤 / 𝑦𝐶)
98eleq1d 2870 . . . 4 (𝑣 = ⟨𝑧, 𝑤⟩ → ((1st𝑣) / 𝑥(2nd𝑣) / 𝑦𝐶𝐷𝑧 / 𝑥𝑤 / 𝑦𝐶𝐷))
109raliunxp 5463 . . 3 (∀𝑣 𝑧𝐴 ({𝑧} × 𝑧 / 𝑥𝐵)(1st𝑣) / 𝑥(2nd𝑣) / 𝑦𝐶𝐷 ↔ ∀𝑧𝐴𝑤 𝑧 / 𝑥𝐵𝑧 / 𝑥𝑤 / 𝑦𝐶𝐷)
11 nfv 2005 . . . . . . 7 𝑧((𝑥𝐴𝑦𝐵) ∧ 𝑣 = 𝐶)
12 nfv 2005 . . . . . . 7 𝑤((𝑥𝐴𝑦𝐵) ∧ 𝑣 = 𝐶)
13 nfv 2005 . . . . . . . . 9 𝑥 𝑧𝐴
14 nfcsb1v 3744 . . . . . . . . . 10 𝑥𝑧 / 𝑥𝐵
1514nfcri 2942 . . . . . . . . 9 𝑥 𝑤𝑧 / 𝑥𝐵
1613, 15nfan 1990 . . . . . . . 8 𝑥(𝑧𝐴𝑤𝑧 / 𝑥𝐵)
17 nfcsb1v 3744 . . . . . . . . 9 𝑥𝑧 / 𝑥𝑤 / 𝑦𝐶
1817nfeq2 2964 . . . . . . . 8 𝑥 𝑣 = 𝑧 / 𝑥𝑤 / 𝑦𝐶
1916, 18nfan 1990 . . . . . . 7 𝑥((𝑧𝐴𝑤𝑧 / 𝑥𝐵) ∧ 𝑣 = 𝑧 / 𝑥𝑤 / 𝑦𝐶)
20 nfv 2005 . . . . . . . 8 𝑦(𝑧𝐴𝑤𝑧 / 𝑥𝐵)
21 nfcv 2948 . . . . . . . . . 10 𝑦𝑧
22 nfcsb1v 3744 . . . . . . . . . 10 𝑦𝑤 / 𝑦𝐶
2321, 22nfcsb 3746 . . . . . . . . 9 𝑦𝑧 / 𝑥𝑤 / 𝑦𝐶
2423nfeq2 2964 . . . . . . . 8 𝑦 𝑣 = 𝑧 / 𝑥𝑤 / 𝑦𝐶
2520, 24nfan 1990 . . . . . . 7 𝑦((𝑧𝐴𝑤𝑧 / 𝑥𝐵) ∧ 𝑣 = 𝑧 / 𝑥𝑤 / 𝑦𝐶)
26 eleq1w 2868 . . . . . . . . . 10 (𝑥 = 𝑧 → (𝑥𝐴𝑧𝐴))
2726adantr 468 . . . . . . . . 9 ((𝑥 = 𝑧𝑦 = 𝑤) → (𝑥𝐴𝑧𝐴))
28 eleq1w 2868 . . . . . . . . . 10 (𝑦 = 𝑤 → (𝑦𝐵𝑤𝐵))
29 csbeq1a 3737 . . . . . . . . . . 11 (𝑥 = 𝑧𝐵 = 𝑧 / 𝑥𝐵)
3029eleq2d 2871 . . . . . . . . . 10 (𝑥 = 𝑧 → (𝑤𝐵𝑤𝑧 / 𝑥𝐵))
3128, 30sylan9bbr 502 . . . . . . . . 9 ((𝑥 = 𝑧𝑦 = 𝑤) → (𝑦𝐵𝑤𝑧 / 𝑥𝐵))
3227, 31anbi12d 618 . . . . . . . 8 ((𝑥 = 𝑧𝑦 = 𝑤) → ((𝑥𝐴𝑦𝐵) ↔ (𝑧𝐴𝑤𝑧 / 𝑥𝐵)))
33 csbeq1a 3737 . . . . . . . . . 10 (𝑦 = 𝑤𝐶 = 𝑤 / 𝑦𝐶)
34 csbeq1a 3737 . . . . . . . . . 10 (𝑥 = 𝑧𝑤 / 𝑦𝐶 = 𝑧 / 𝑥𝑤 / 𝑦𝐶)
3533, 34sylan9eqr 2862 . . . . . . . . 9 ((𝑥 = 𝑧𝑦 = 𝑤) → 𝐶 = 𝑧 / 𝑥𝑤 / 𝑦𝐶)
3635eqeq2d 2816 . . . . . . . 8 ((𝑥 = 𝑧𝑦 = 𝑤) → (𝑣 = 𝐶𝑣 = 𝑧 / 𝑥𝑤 / 𝑦𝐶))
3732, 36anbi12d 618 . . . . . . 7 ((𝑥 = 𝑧𝑦 = 𝑤) → (((𝑥𝐴𝑦𝐵) ∧ 𝑣 = 𝐶) ↔ ((𝑧𝐴𝑤𝑧 / 𝑥𝐵) ∧ 𝑣 = 𝑧 / 𝑥𝑤 / 𝑦𝐶)))
3811, 12, 19, 25, 37cbvoprab12 6959 . . . . . 6 {⟨⟨𝑥, 𝑦⟩, 𝑣⟩ ∣ ((𝑥𝐴𝑦𝐵) ∧ 𝑣 = 𝐶)} = {⟨⟨𝑧, 𝑤⟩, 𝑣⟩ ∣ ((𝑧𝐴𝑤𝑧 / 𝑥𝐵) ∧ 𝑣 = 𝑧 / 𝑥𝑤 / 𝑦𝐶)}
39 df-mpt2 6879 . . . . . 6 (𝑥𝐴, 𝑦𝐵𝐶) = {⟨⟨𝑥, 𝑦⟩, 𝑣⟩ ∣ ((𝑥𝐴𝑦𝐵) ∧ 𝑣 = 𝐶)}
40 df-mpt2 6879 . . . . . 6 (𝑧𝐴, 𝑤𝑧 / 𝑥𝐵𝑧 / 𝑥𝑤 / 𝑦𝐶) = {⟨⟨𝑧, 𝑤⟩, 𝑣⟩ ∣ ((𝑧𝐴𝑤𝑧 / 𝑥𝐵) ∧ 𝑣 = 𝑧 / 𝑥𝑤 / 𝑦𝐶)}
4138, 39, 403eqtr4i 2838 . . . . 5 (𝑥𝐴, 𝑦𝐵𝐶) = (𝑧𝐴, 𝑤𝑧 / 𝑥𝐵𝑧 / 𝑥𝑤 / 𝑦𝐶)
42 fmpt2x.1 . . . . 5 𝐹 = (𝑥𝐴, 𝑦𝐵𝐶)
438mpt2mptx 6981 . . . . 5 (𝑣 𝑧𝐴 ({𝑧} × 𝑧 / 𝑥𝐵) ↦ (1st𝑣) / 𝑥(2nd𝑣) / 𝑦𝐶) = (𝑧𝐴, 𝑤𝑧 / 𝑥𝐵𝑧 / 𝑥𝑤 / 𝑦𝐶)
4441, 42, 433eqtr4i 2838 . . . 4 𝐹 = (𝑣 𝑧𝐴 ({𝑧} × 𝑧 / 𝑥𝐵) ↦ (1st𝑣) / 𝑥(2nd𝑣) / 𝑦𝐶)
4544fmpt 6602 . . 3 (∀𝑣 𝑧𝐴 ({𝑧} × 𝑧 / 𝑥𝐵)(1st𝑣) / 𝑥(2nd𝑣) / 𝑦𝐶𝐷𝐹: 𝑧𝐴 ({𝑧} × 𝑧 / 𝑥𝐵)⟶𝐷)
4610, 45bitr3i 268 . 2 (∀𝑧𝐴𝑤 𝑧 / 𝑥𝐵𝑧 / 𝑥𝑤 / 𝑦𝐶𝐷𝐹: 𝑧𝐴 ({𝑧} × 𝑧 / 𝑥𝐵)⟶𝐷)
47 nfv 2005 . . 3 𝑧𝑦𝐵 𝐶𝐷
4817nfel1 2963 . . . 4 𝑥𝑧 / 𝑥𝑤 / 𝑦𝐶𝐷
4914, 48nfral 3133 . . 3 𝑥𝑤 𝑧 / 𝑥𝐵𝑧 / 𝑥𝑤 / 𝑦𝐶𝐷
50 nfv 2005 . . . . 5 𝑤 𝐶𝐷
5122nfel1 2963 . . . . 5 𝑦𝑤 / 𝑦𝐶𝐷
5233eleq1d 2870 . . . . 5 (𝑦 = 𝑤 → (𝐶𝐷𝑤 / 𝑦𝐶𝐷))
5350, 51, 52cbvral 3356 . . . 4 (∀𝑦𝐵 𝐶𝐷 ↔ ∀𝑤𝐵 𝑤 / 𝑦𝐶𝐷)
5434eleq1d 2870 . . . . 5 (𝑥 = 𝑧 → (𝑤 / 𝑦𝐶𝐷𝑧 / 𝑥𝑤 / 𝑦𝐶𝐷))
5529, 54raleqbidv 3341 . . . 4 (𝑥 = 𝑧 → (∀𝑤𝐵 𝑤 / 𝑦𝐶𝐷 ↔ ∀𝑤 𝑧 / 𝑥𝐵𝑧 / 𝑥𝑤 / 𝑦𝐶𝐷))
5653, 55syl5bb 274 . . 3 (𝑥 = 𝑧 → (∀𝑦𝐵 𝐶𝐷 ↔ ∀𝑤 𝑧 / 𝑥𝐵𝑧 / 𝑥𝑤 / 𝑦𝐶𝐷))
5747, 49, 56cbvral 3356 . 2 (∀𝑥𝐴𝑦𝐵 𝐶𝐷 ↔ ∀𝑧𝐴𝑤 𝑧 / 𝑥𝐵𝑧 / 𝑥𝑤 / 𝑦𝐶𝐷)
58 nfcv 2948 . . . 4 𝑧({𝑥} × 𝐵)
59 nfcv 2948 . . . . 5 𝑥{𝑧}
6059, 14nfxp 5343 . . . 4 𝑥({𝑧} × 𝑧 / 𝑥𝐵)
61 sneq 4380 . . . . 5 (𝑥 = 𝑧 → {𝑥} = {𝑧})
6261, 29xpeq12d 5341 . . . 4 (𝑥 = 𝑧 → ({𝑥} × 𝐵) = ({𝑧} × 𝑧 / 𝑥𝐵))
6358, 60, 62cbviun 4749 . . 3 𝑥𝐴 ({𝑥} × 𝐵) = 𝑧𝐴 ({𝑧} × 𝑧 / 𝑥𝐵)
6463feq2i 6248 . 2 (𝐹: 𝑥𝐴 ({𝑥} × 𝐵)⟶𝐷𝐹: 𝑧𝐴 ({𝑧} × 𝑧 / 𝑥𝐵)⟶𝐷)
6546, 57, 643bitr4i 294 1 (∀𝑥𝐴𝑦𝐵 𝐶𝐷𝐹: 𝑥𝐴 ({𝑥} × 𝐵)⟶𝐷)
Colors of variables: wff setvar class
Syntax hints:  wb 197  wa 384   = wceq 1637  wcel 2156  wral 3096  csb 3728  {csn 4370  cop 4376   ciun 4712  cmpt 4923   × cxp 5309  wf 6097  cfv 6101  {coprab 6875  cmpt2 6876  1st c1st 7396  2nd c2nd 7397
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1877  ax-4 1894  ax-5 2001  ax-6 2068  ax-7 2104  ax-8 2158  ax-9 2165  ax-10 2185  ax-11 2201  ax-12 2214  ax-13 2420  ax-ext 2784  ax-sep 4975  ax-nul 4983  ax-pow 5035  ax-pr 5096  ax-un 7179
This theorem depends on definitions:  df-bi 198  df-an 385  df-or 866  df-3an 1102  df-tru 1641  df-ex 1860  df-nf 1864  df-sb 2061  df-eu 2634  df-mo 2635  df-clab 2793  df-cleq 2799  df-clel 2802  df-nfc 2937  df-ne 2979  df-ral 3101  df-rex 3102  df-rab 3105  df-v 3393  df-sbc 3634  df-csb 3729  df-dif 3772  df-un 3774  df-in 3776  df-ss 3783  df-nul 4117  df-if 4280  df-sn 4371  df-pr 4373  df-op 4377  df-uni 4631  df-iun 4714  df-br 4845  df-opab 4907  df-mpt 4924  df-id 5219  df-xp 5317  df-rel 5318  df-cnv 5319  df-co 5320  df-dm 5321  df-rn 5322  df-res 5323  df-ima 5324  df-iota 6064  df-fun 6103  df-fn 6104  df-f 6105  df-fv 6109  df-oprab 6878  df-mpt2 6879  df-1st 7398  df-2nd 7399
This theorem is referenced by:  fmpt2  7470  eldmcoa  16919  gsum2d2lem  18573  gsum2d2  18574  gsumcom2  18575  dmdprd  18599  dprdval  18604  dprd2d2  18645  ablfaclem2  18687  ptbasfi  21598  ptcmplem1  22069  prdsxmslem2  22547  tglnfn  25656
  Copyright terms: Public domain W3C validator