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

Theorem fmpox 7893
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 3434 . . . . . . . 8 𝑧 ∈ V
2 vex 3434 . . . . . . . 8 𝑤 ∈ V
31, 2op1std 7827 . . . . . . 7 (𝑣 = ⟨𝑧, 𝑤⟩ → (1st𝑣) = 𝑧)
43csbeq1d 3840 . . . . . 6 (𝑣 = ⟨𝑧, 𝑤⟩ → (1st𝑣) / 𝑥(2nd𝑣) / 𝑦𝐶 = 𝑧 / 𝑥(2nd𝑣) / 𝑦𝐶)
51, 2op2ndd 7828 . . . . . . . 8 (𝑣 = ⟨𝑧, 𝑤⟩ → (2nd𝑣) = 𝑤)
65csbeq1d 3840 . . . . . . 7 (𝑣 = ⟨𝑧, 𝑤⟩ → (2nd𝑣) / 𝑦𝐶 = 𝑤 / 𝑦𝐶)
76csbeq2dv 3843 . . . . . 6 (𝑣 = ⟨𝑧, 𝑤⟩ → 𝑧 / 𝑥(2nd𝑣) / 𝑦𝐶 = 𝑧 / 𝑥𝑤 / 𝑦𝐶)
84, 7eqtrd 2779 . . . . 5 (𝑣 = ⟨𝑧, 𝑤⟩ → (1st𝑣) / 𝑥(2nd𝑣) / 𝑦𝐶 = 𝑧 / 𝑥𝑤 / 𝑦𝐶)
98eleq1d 2824 . . . 4 (𝑣 = ⟨𝑧, 𝑤⟩ → ((1st𝑣) / 𝑥(2nd𝑣) / 𝑦𝐶𝐷𝑧 / 𝑥𝑤 / 𝑦𝐶𝐷))
109raliunxp 5745 . . 3 (∀𝑣 𝑧𝐴 ({𝑧} × 𝑧 / 𝑥𝐵)(1st𝑣) / 𝑥(2nd𝑣) / 𝑦𝐶𝐷 ↔ ∀𝑧𝐴𝑤 𝑧 / 𝑥𝐵𝑧 / 𝑥𝑤 / 𝑦𝐶𝐷)
11 nfv 1920 . . . . . . 7 𝑧((𝑥𝐴𝑦𝐵) ∧ 𝑣 = 𝐶)
12 nfv 1920 . . . . . . 7 𝑤((𝑥𝐴𝑦𝐵) ∧ 𝑣 = 𝐶)
13 nfv 1920 . . . . . . . . 9 𝑥 𝑧𝐴
14 nfcsb1v 3861 . . . . . . . . . 10 𝑥𝑧 / 𝑥𝐵
1514nfcri 2895 . . . . . . . . 9 𝑥 𝑤𝑧 / 𝑥𝐵
1613, 15nfan 1905 . . . . . . . 8 𝑥(𝑧𝐴𝑤𝑧 / 𝑥𝐵)
17 nfcsb1v 3861 . . . . . . . . 9 𝑥𝑧 / 𝑥𝑤 / 𝑦𝐶
1817nfeq2 2925 . . . . . . . 8 𝑥 𝑣 = 𝑧 / 𝑥𝑤 / 𝑦𝐶
1916, 18nfan 1905 . . . . . . 7 𝑥((𝑧𝐴𝑤𝑧 / 𝑥𝐵) ∧ 𝑣 = 𝑧 / 𝑥𝑤 / 𝑦𝐶)
20 nfv 1920 . . . . . . . 8 𝑦(𝑧𝐴𝑤𝑧 / 𝑥𝐵)
21 nfcv 2908 . . . . . . . . . 10 𝑦𝑧
22 nfcsb1v 3861 . . . . . . . . . 10 𝑦𝑤 / 𝑦𝐶
2321, 22nfcsbw 3863 . . . . . . . . 9 𝑦𝑧 / 𝑥𝑤 / 𝑦𝐶
2423nfeq2 2925 . . . . . . . 8 𝑦 𝑣 = 𝑧 / 𝑥𝑤 / 𝑦𝐶
2520, 24nfan 1905 . . . . . . 7 𝑦((𝑧𝐴𝑤𝑧 / 𝑥𝐵) ∧ 𝑣 = 𝑧 / 𝑥𝑤 / 𝑦𝐶)
26 eleq1w 2822 . . . . . . . . . 10 (𝑥 = 𝑧 → (𝑥𝐴𝑧𝐴))
2726adantr 480 . . . . . . . . 9 ((𝑥 = 𝑧𝑦 = 𝑤) → (𝑥𝐴𝑧𝐴))
28 eleq1w 2822 . . . . . . . . . 10 (𝑦 = 𝑤 → (𝑦𝐵𝑤𝐵))
29 csbeq1a 3850 . . . . . . . . . . 11 (𝑥 = 𝑧𝐵 = 𝑧 / 𝑥𝐵)
3029eleq2d 2825 . . . . . . . . . 10 (𝑥 = 𝑧 → (𝑤𝐵𝑤𝑧 / 𝑥𝐵))
3128, 30sylan9bbr 510 . . . . . . . . 9 ((𝑥 = 𝑧𝑦 = 𝑤) → (𝑦𝐵𝑤𝑧 / 𝑥𝐵))
3227, 31anbi12d 630 . . . . . . . 8 ((𝑥 = 𝑧𝑦 = 𝑤) → ((𝑥𝐴𝑦𝐵) ↔ (𝑧𝐴𝑤𝑧 / 𝑥𝐵)))
33 csbeq1a 3850 . . . . . . . . . 10 (𝑦 = 𝑤𝐶 = 𝑤 / 𝑦𝐶)
34 csbeq1a 3850 . . . . . . . . . 10 (𝑥 = 𝑧𝑤 / 𝑦𝐶 = 𝑧 / 𝑥𝑤 / 𝑦𝐶)
3533, 34sylan9eqr 2801 . . . . . . . . 9 ((𝑥 = 𝑧𝑦 = 𝑤) → 𝐶 = 𝑧 / 𝑥𝑤 / 𝑦𝐶)
3635eqeq2d 2750 . . . . . . . 8 ((𝑥 = 𝑧𝑦 = 𝑤) → (𝑣 = 𝐶𝑣 = 𝑧 / 𝑥𝑤 / 𝑦𝐶))
3732, 36anbi12d 630 . . . . . . 7 ((𝑥 = 𝑧𝑦 = 𝑤) → (((𝑥𝐴𝑦𝐵) ∧ 𝑣 = 𝐶) ↔ ((𝑧𝐴𝑤𝑧 / 𝑥𝐵) ∧ 𝑣 = 𝑧 / 𝑥𝑤 / 𝑦𝐶)))
3811, 12, 19, 25, 37cbvoprab12 7355 . . . . . 6 {⟨⟨𝑥, 𝑦⟩, 𝑣⟩ ∣ ((𝑥𝐴𝑦𝐵) ∧ 𝑣 = 𝐶)} = {⟨⟨𝑧, 𝑤⟩, 𝑣⟩ ∣ ((𝑧𝐴𝑤𝑧 / 𝑥𝐵) ∧ 𝑣 = 𝑧 / 𝑥𝑤 / 𝑦𝐶)}
39 df-mpo 7273 . . . . . 6 (𝑥𝐴, 𝑦𝐵𝐶) = {⟨⟨𝑥, 𝑦⟩, 𝑣⟩ ∣ ((𝑥𝐴𝑦𝐵) ∧ 𝑣 = 𝐶)}
40 df-mpo 7273 . . . . . 6 (𝑧𝐴, 𝑤𝑧 / 𝑥𝐵𝑧 / 𝑥𝑤 / 𝑦𝐶) = {⟨⟨𝑧, 𝑤⟩, 𝑣⟩ ∣ ((𝑧𝐴𝑤𝑧 / 𝑥𝐵) ∧ 𝑣 = 𝑧 / 𝑥𝑤 / 𝑦𝐶)}
4138, 39, 403eqtr4i 2777 . . . . 5 (𝑥𝐴, 𝑦𝐵𝐶) = (𝑧𝐴, 𝑤𝑧 / 𝑥𝐵𝑧 / 𝑥𝑤 / 𝑦𝐶)
42 fmpox.1 . . . . 5 𝐹 = (𝑥𝐴, 𝑦𝐵𝐶)
438mpomptx 7378 . . . . 5 (𝑣 𝑧𝐴 ({𝑧} × 𝑧 / 𝑥𝐵) ↦ (1st𝑣) / 𝑥(2nd𝑣) / 𝑦𝐶) = (𝑧𝐴, 𝑤𝑧 / 𝑥𝐵𝑧 / 𝑥𝑤 / 𝑦𝐶)
4441, 42, 433eqtr4i 2777 . . . 4 𝐹 = (𝑣 𝑧𝐴 ({𝑧} × 𝑧 / 𝑥𝐵) ↦ (1st𝑣) / 𝑥(2nd𝑣) / 𝑦𝐶)
4544fmpt 6978 . . 3 (∀𝑣 𝑧𝐴 ({𝑧} × 𝑧 / 𝑥𝐵)(1st𝑣) / 𝑥(2nd𝑣) / 𝑦𝐶𝐷𝐹: 𝑧𝐴 ({𝑧} × 𝑧 / 𝑥𝐵)⟶𝐷)
4610, 45bitr3i 276 . 2 (∀𝑧𝐴𝑤 𝑧 / 𝑥𝐵𝑧 / 𝑥𝑤 / 𝑦𝐶𝐷𝐹: 𝑧𝐴 ({𝑧} × 𝑧 / 𝑥𝐵)⟶𝐷)
47 nfv 1920 . . 3 𝑧𝑦𝐵 𝐶𝐷
4817nfel1 2924 . . . 4 𝑥𝑧 / 𝑥𝑤 / 𝑦𝐶𝐷
4914, 48nfralw 3151 . . 3 𝑥𝑤 𝑧 / 𝑥𝐵𝑧 / 𝑥𝑤 / 𝑦𝐶𝐷
50 nfv 1920 . . . . 5 𝑤 𝐶𝐷
5122nfel1 2924 . . . . 5 𝑦𝑤 / 𝑦𝐶𝐷
5233eleq1d 2824 . . . . 5 (𝑦 = 𝑤 → (𝐶𝐷𝑤 / 𝑦𝐶𝐷))
5350, 51, 52cbvralw 3371 . . . 4 (∀𝑦𝐵 𝐶𝐷 ↔ ∀𝑤𝐵 𝑤 / 𝑦𝐶𝐷)
5434eleq1d 2824 . . . . 5 (𝑥 = 𝑧 → (𝑤 / 𝑦𝐶𝐷𝑧 / 𝑥𝑤 / 𝑦𝐶𝐷))
5529, 54raleqbidv 3334 . . . 4 (𝑥 = 𝑧 → (∀𝑤𝐵 𝑤 / 𝑦𝐶𝐷 ↔ ∀𝑤 𝑧 / 𝑥𝐵𝑧 / 𝑥𝑤 / 𝑦𝐶𝐷))
5653, 55syl5bb 282 . . 3 (𝑥 = 𝑧 → (∀𝑦𝐵 𝐶𝐷 ↔ ∀𝑤 𝑧 / 𝑥𝐵𝑧 / 𝑥𝑤 / 𝑦𝐶𝐷))
5747, 49, 56cbvralw 3371 . 2 (∀𝑥𝐴𝑦𝐵 𝐶𝐷 ↔ ∀𝑧𝐴𝑤 𝑧 / 𝑥𝐵𝑧 / 𝑥𝑤 / 𝑦𝐶𝐷)
58 nfcv 2908 . . . 4 𝑧({𝑥} × 𝐵)
59 nfcv 2908 . . . . 5 𝑥{𝑧}
6059, 14nfxp 5621 . . . 4 𝑥({𝑧} × 𝑧 / 𝑥𝐵)
61 sneq 4576 . . . . 5 (𝑥 = 𝑧 → {𝑥} = {𝑧})
6261, 29xpeq12d 5619 . . . 4 (𝑥 = 𝑧 → ({𝑥} × 𝐵) = ({𝑧} × 𝑧 / 𝑥𝐵))
6358, 60, 62cbviun 4970 . . 3 𝑥𝐴 ({𝑥} × 𝐵) = 𝑧𝐴 ({𝑧} × 𝑧 / 𝑥𝐵)
6463feq2i 6588 . 2 (𝐹: 𝑥𝐴 ({𝑥} × 𝐵)⟶𝐷𝐹: 𝑧𝐴 ({𝑧} × 𝑧 / 𝑥𝐵)⟶𝐷)
6546, 57, 643bitr4i 302 1 (∀𝑥𝐴𝑦𝐵 𝐶𝐷𝐹: 𝑥𝐴 ({𝑥} × 𝐵)⟶𝐷)
Colors of variables: wff setvar class
Syntax hints:  wb 205  wa 395   = wceq 1541  wcel 2109  wral 3065  csb 3836  {csn 4566  cop 4572   ciun 4929  cmpt 5161   × cxp 5586  wf 6426  cfv 6430  {coprab 7269  cmpo 7270  1st c1st 7815  2nd c2nd 7816
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1801  ax-4 1815  ax-5 1916  ax-6 1974  ax-7 2014  ax-8 2111  ax-9 2119  ax-10 2140  ax-11 2157  ax-12 2174  ax-ext 2710  ax-sep 5226  ax-nul 5233  ax-pr 5355  ax-un 7579
This theorem depends on definitions:  df-bi 206  df-an 396  df-or 844  df-3an 1087  df-tru 1544  df-fal 1554  df-ex 1786  df-nf 1790  df-sb 2071  df-mo 2541  df-eu 2570  df-clab 2717  df-cleq 2731  df-clel 2817  df-nfc 2890  df-ne 2945  df-ral 3070  df-rex 3071  df-rab 3074  df-v 3432  df-sbc 3720  df-csb 3837  df-dif 3894  df-un 3896  df-in 3898  df-ss 3908  df-nul 4262  df-if 4465  df-sn 4567  df-pr 4569  df-op 4573  df-uni 4845  df-iun 4931  df-br 5079  df-opab 5141  df-mpt 5162  df-id 5488  df-xp 5594  df-rel 5595  df-cnv 5596  df-co 5597  df-dm 5598  df-rn 5599  df-res 5600  df-ima 5601  df-iota 6388  df-fun 6432  df-fn 6433  df-f 6434  df-fv 6438  df-oprab 7272  df-mpo 7273  df-1st 7817  df-2nd 7818
This theorem is referenced by:  fmpo  7894  eldmcoa  17761  gsum2d2lem  19555  gsum2d2  19556  gsumcom2  19557  dmdprd  19582  dprdval  19587  dprd2d2  19628  ablfaclem2  19670  ptbasfi  22713  ptcmplem1  23184  prdsxmslem2  23666  tglnfn  26889
  Copyright terms: Public domain W3C validator