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

Theorem offval22 7899
Description: The function operation expressed as a mapping, variation of offval2 7531. (Contributed by SO, 15-Jul-2018.)
Hypotheses
Ref Expression
offval22.a (𝜑𝐴𝑉)
offval22.b (𝜑𝐵𝑊)
offval22.c ((𝜑𝑥𝐴𝑦𝐵) → 𝐶𝑋)
offval22.d ((𝜑𝑥𝐴𝑦𝐵) → 𝐷𝑌)
offval22.f (𝜑𝐹 = (𝑥𝐴, 𝑦𝐵𝐶))
offval22.g (𝜑𝐺 = (𝑥𝐴, 𝑦𝐵𝐷))
Assertion
Ref Expression
offval22 (𝜑 → (𝐹f 𝑅𝐺) = (𝑥𝐴, 𝑦𝐵 ↦ (𝐶𝑅𝐷)))
Distinct variable groups:   𝜑,𝑥,𝑦   𝑥,𝐴,𝑦   𝑥,𝐵,𝑦   𝑥,𝑅,𝑦
Allowed substitution hints:   𝐶(𝑥,𝑦)   𝐷(𝑥,𝑦)   𝐹(𝑥,𝑦)   𝐺(𝑥,𝑦)   𝑉(𝑥,𝑦)   𝑊(𝑥,𝑦)   𝑋(𝑥,𝑦)   𝑌(𝑥,𝑦)

Proof of Theorem offval22
Dummy variable 𝑧 is distinct from all other variables.
StepHypRef Expression
1 offval22.a . . . 4 (𝜑𝐴𝑉)
2 offval22.b . . . 4 (𝜑𝐵𝑊)
31, 2xpexd 7579 . . 3 (𝜑 → (𝐴 × 𝐵) ∈ V)
4 xp1st 7836 . . . . 5 (𝑧 ∈ (𝐴 × 𝐵) → (1st𝑧) ∈ 𝐴)
5 xp2nd 7837 . . . . 5 (𝑧 ∈ (𝐴 × 𝐵) → (2nd𝑧) ∈ 𝐵)
64, 5jca 511 . . . 4 (𝑧 ∈ (𝐴 × 𝐵) → ((1st𝑧) ∈ 𝐴 ∧ (2nd𝑧) ∈ 𝐵))
7 fvex 6769 . . . . . 6 (2nd𝑧) ∈ V
8 fvex 6769 . . . . . 6 (1st𝑧) ∈ V
9 nfcv 2906 . . . . . . 7 𝑦(2nd𝑧)
10 nfcv 2906 . . . . . . 7 𝑥(2nd𝑧)
11 nfcv 2906 . . . . . . 7 𝑥(1st𝑧)
12 nfv 1918 . . . . . . . 8 𝑦(𝜑𝑥𝐴 ∧ (2nd𝑧) ∈ 𝐵)
13 nfcsb1v 3853 . . . . . . . . 9 𝑦(2nd𝑧) / 𝑦𝐶
1413nfel1 2922 . . . . . . . 8 𝑦(2nd𝑧) / 𝑦𝐶 ∈ V
1512, 14nfim 1900 . . . . . . 7 𝑦((𝜑𝑥𝐴 ∧ (2nd𝑧) ∈ 𝐵) → (2nd𝑧) / 𝑦𝐶 ∈ V)
16 nfv 1918 . . . . . . . 8 𝑥(𝜑 ∧ (1st𝑧) ∈ 𝐴 ∧ (2nd𝑧) ∈ 𝐵)
17 nfcsb1v 3853 . . . . . . . . 9 𝑥(1st𝑧) / 𝑥(2nd𝑧) / 𝑦𝐶
1817nfel1 2922 . . . . . . . 8 𝑥(1st𝑧) / 𝑥(2nd𝑧) / 𝑦𝐶 ∈ V
1916, 18nfim 1900 . . . . . . 7 𝑥((𝜑 ∧ (1st𝑧) ∈ 𝐴 ∧ (2nd𝑧) ∈ 𝐵) → (1st𝑧) / 𝑥(2nd𝑧) / 𝑦𝐶 ∈ V)
20 eleq1 2826 . . . . . . . . 9 (𝑦 = (2nd𝑧) → (𝑦𝐵 ↔ (2nd𝑧) ∈ 𝐵))
21203anbi3d 1440 . . . . . . . 8 (𝑦 = (2nd𝑧) → ((𝜑𝑥𝐴𝑦𝐵) ↔ (𝜑𝑥𝐴 ∧ (2nd𝑧) ∈ 𝐵)))
22 csbeq1a 3842 . . . . . . . . 9 (𝑦 = (2nd𝑧) → 𝐶 = (2nd𝑧) / 𝑦𝐶)
2322eleq1d 2823 . . . . . . . 8 (𝑦 = (2nd𝑧) → (𝐶 ∈ V ↔ (2nd𝑧) / 𝑦𝐶 ∈ V))
2421, 23imbi12d 344 . . . . . . 7 (𝑦 = (2nd𝑧) → (((𝜑𝑥𝐴𝑦𝐵) → 𝐶 ∈ V) ↔ ((𝜑𝑥𝐴 ∧ (2nd𝑧) ∈ 𝐵) → (2nd𝑧) / 𝑦𝐶 ∈ V)))
25 eleq1 2826 . . . . . . . . 9 (𝑥 = (1st𝑧) → (𝑥𝐴 ↔ (1st𝑧) ∈ 𝐴))
26253anbi2d 1439 . . . . . . . 8 (𝑥 = (1st𝑧) → ((𝜑𝑥𝐴 ∧ (2nd𝑧) ∈ 𝐵) ↔ (𝜑 ∧ (1st𝑧) ∈ 𝐴 ∧ (2nd𝑧) ∈ 𝐵)))
27 csbeq1a 3842 . . . . . . . . 9 (𝑥 = (1st𝑧) → (2nd𝑧) / 𝑦𝐶 = (1st𝑧) / 𝑥(2nd𝑧) / 𝑦𝐶)
2827eleq1d 2823 . . . . . . . 8 (𝑥 = (1st𝑧) → ((2nd𝑧) / 𝑦𝐶 ∈ V ↔ (1st𝑧) / 𝑥(2nd𝑧) / 𝑦𝐶 ∈ V))
2926, 28imbi12d 344 . . . . . . 7 (𝑥 = (1st𝑧) → (((𝜑𝑥𝐴 ∧ (2nd𝑧) ∈ 𝐵) → (2nd𝑧) / 𝑦𝐶 ∈ V) ↔ ((𝜑 ∧ (1st𝑧) ∈ 𝐴 ∧ (2nd𝑧) ∈ 𝐵) → (1st𝑧) / 𝑥(2nd𝑧) / 𝑦𝐶 ∈ V)))
30 offval22.c . . . . . . . 8 ((𝜑𝑥𝐴𝑦𝐵) → 𝐶𝑋)
3130elexd 3442 . . . . . . 7 ((𝜑𝑥𝐴𝑦𝐵) → 𝐶 ∈ V)
329, 10, 11, 15, 19, 24, 29, 31vtocl2gf 3498 . . . . . 6 (((2nd𝑧) ∈ V ∧ (1st𝑧) ∈ V) → ((𝜑 ∧ (1st𝑧) ∈ 𝐴 ∧ (2nd𝑧) ∈ 𝐵) → (1st𝑧) / 𝑥(2nd𝑧) / 𝑦𝐶 ∈ V))
337, 8, 32mp2an 688 . . . . 5 ((𝜑 ∧ (1st𝑧) ∈ 𝐴 ∧ (2nd𝑧) ∈ 𝐵) → (1st𝑧) / 𝑥(2nd𝑧) / 𝑦𝐶 ∈ V)
34333expb 1118 . . . 4 ((𝜑 ∧ ((1st𝑧) ∈ 𝐴 ∧ (2nd𝑧) ∈ 𝐵)) → (1st𝑧) / 𝑥(2nd𝑧) / 𝑦𝐶 ∈ V)
356, 34sylan2 592 . . 3 ((𝜑𝑧 ∈ (𝐴 × 𝐵)) → (1st𝑧) / 𝑥(2nd𝑧) / 𝑦𝐶 ∈ V)
36 nfcsb1v 3853 . . . . . . . . 9 𝑦(2nd𝑧) / 𝑦𝐷
3736nfel1 2922 . . . . . . . 8 𝑦(2nd𝑧) / 𝑦𝐷 ∈ V
3812, 37nfim 1900 . . . . . . 7 𝑦((𝜑𝑥𝐴 ∧ (2nd𝑧) ∈ 𝐵) → (2nd𝑧) / 𝑦𝐷 ∈ V)
39 nfcsb1v 3853 . . . . . . . . 9 𝑥(1st𝑧) / 𝑥(2nd𝑧) / 𝑦𝐷
4039nfel1 2922 . . . . . . . 8 𝑥(1st𝑧) / 𝑥(2nd𝑧) / 𝑦𝐷 ∈ V
4116, 40nfim 1900 . . . . . . 7 𝑥((𝜑 ∧ (1st𝑧) ∈ 𝐴 ∧ (2nd𝑧) ∈ 𝐵) → (1st𝑧) / 𝑥(2nd𝑧) / 𝑦𝐷 ∈ V)
42 csbeq1a 3842 . . . . . . . . 9 (𝑦 = (2nd𝑧) → 𝐷 = (2nd𝑧) / 𝑦𝐷)
4342eleq1d 2823 . . . . . . . 8 (𝑦 = (2nd𝑧) → (𝐷 ∈ V ↔ (2nd𝑧) / 𝑦𝐷 ∈ V))
4421, 43imbi12d 344 . . . . . . 7 (𝑦 = (2nd𝑧) → (((𝜑𝑥𝐴𝑦𝐵) → 𝐷 ∈ V) ↔ ((𝜑𝑥𝐴 ∧ (2nd𝑧) ∈ 𝐵) → (2nd𝑧) / 𝑦𝐷 ∈ V)))
45 csbeq1a 3842 . . . . . . . . 9 (𝑥 = (1st𝑧) → (2nd𝑧) / 𝑦𝐷 = (1st𝑧) / 𝑥(2nd𝑧) / 𝑦𝐷)
4645eleq1d 2823 . . . . . . . 8 (𝑥 = (1st𝑧) → ((2nd𝑧) / 𝑦𝐷 ∈ V ↔ (1st𝑧) / 𝑥(2nd𝑧) / 𝑦𝐷 ∈ V))
4726, 46imbi12d 344 . . . . . . 7 (𝑥 = (1st𝑧) → (((𝜑𝑥𝐴 ∧ (2nd𝑧) ∈ 𝐵) → (2nd𝑧) / 𝑦𝐷 ∈ V) ↔ ((𝜑 ∧ (1st𝑧) ∈ 𝐴 ∧ (2nd𝑧) ∈ 𝐵) → (1st𝑧) / 𝑥(2nd𝑧) / 𝑦𝐷 ∈ V)))
48 offval22.d . . . . . . . 8 ((𝜑𝑥𝐴𝑦𝐵) → 𝐷𝑌)
4948elexd 3442 . . . . . . 7 ((𝜑𝑥𝐴𝑦𝐵) → 𝐷 ∈ V)
509, 10, 11, 38, 41, 44, 47, 49vtocl2gf 3498 . . . . . 6 (((2nd𝑧) ∈ V ∧ (1st𝑧) ∈ V) → ((𝜑 ∧ (1st𝑧) ∈ 𝐴 ∧ (2nd𝑧) ∈ 𝐵) → (1st𝑧) / 𝑥(2nd𝑧) / 𝑦𝐷 ∈ V))
517, 8, 50mp2an 688 . . . . 5 ((𝜑 ∧ (1st𝑧) ∈ 𝐴 ∧ (2nd𝑧) ∈ 𝐵) → (1st𝑧) / 𝑥(2nd𝑧) / 𝑦𝐷 ∈ V)
52513expb 1118 . . . 4 ((𝜑 ∧ ((1st𝑧) ∈ 𝐴 ∧ (2nd𝑧) ∈ 𝐵)) → (1st𝑧) / 𝑥(2nd𝑧) / 𝑦𝐷 ∈ V)
536, 52sylan2 592 . . 3 ((𝜑𝑧 ∈ (𝐴 × 𝐵)) → (1st𝑧) / 𝑥(2nd𝑧) / 𝑦𝐷 ∈ V)
54 offval22.f . . . 4 (𝜑𝐹 = (𝑥𝐴, 𝑦𝐵𝐶))
55 mpompts 7878 . . . 4 (𝑥𝐴, 𝑦𝐵𝐶) = (𝑧 ∈ (𝐴 × 𝐵) ↦ (1st𝑧) / 𝑥(2nd𝑧) / 𝑦𝐶)
5654, 55eqtrdi 2795 . . 3 (𝜑𝐹 = (𝑧 ∈ (𝐴 × 𝐵) ↦ (1st𝑧) / 𝑥(2nd𝑧) / 𝑦𝐶))
57 offval22.g . . . 4 (𝜑𝐺 = (𝑥𝐴, 𝑦𝐵𝐷))
58 mpompts 7878 . . . 4 (𝑥𝐴, 𝑦𝐵𝐷) = (𝑧 ∈ (𝐴 × 𝐵) ↦ (1st𝑧) / 𝑥(2nd𝑧) / 𝑦𝐷)
5957, 58eqtrdi 2795 . . 3 (𝜑𝐺 = (𝑧 ∈ (𝐴 × 𝐵) ↦ (1st𝑧) / 𝑥(2nd𝑧) / 𝑦𝐷))
603, 35, 53, 56, 59offval2 7531 . 2 (𝜑 → (𝐹f 𝑅𝐺) = (𝑧 ∈ (𝐴 × 𝐵) ↦ ((1st𝑧) / 𝑥(2nd𝑧) / 𝑦𝐶𝑅(1st𝑧) / 𝑥(2nd𝑧) / 𝑦𝐷)))
61 csbov12g 7299 . . . . . . 7 ((2nd𝑧) ∈ V → (2nd𝑧) / 𝑦(𝐶𝑅𝐷) = ((2nd𝑧) / 𝑦𝐶𝑅(2nd𝑧) / 𝑦𝐷))
6261csbeq2dv 3835 . . . . . 6 ((2nd𝑧) ∈ V → (1st𝑧) / 𝑥(2nd𝑧) / 𝑦(𝐶𝑅𝐷) = (1st𝑧) / 𝑥((2nd𝑧) / 𝑦𝐶𝑅(2nd𝑧) / 𝑦𝐷))
637, 62ax-mp 5 . . . . 5 (1st𝑧) / 𝑥(2nd𝑧) / 𝑦(𝐶𝑅𝐷) = (1st𝑧) / 𝑥((2nd𝑧) / 𝑦𝐶𝑅(2nd𝑧) / 𝑦𝐷)
64 csbov12g 7299 . . . . . 6 ((1st𝑧) ∈ V → (1st𝑧) / 𝑥((2nd𝑧) / 𝑦𝐶𝑅(2nd𝑧) / 𝑦𝐷) = ((1st𝑧) / 𝑥(2nd𝑧) / 𝑦𝐶𝑅(1st𝑧) / 𝑥(2nd𝑧) / 𝑦𝐷))
658, 64ax-mp 5 . . . . 5 (1st𝑧) / 𝑥((2nd𝑧) / 𝑦𝐶𝑅(2nd𝑧) / 𝑦𝐷) = ((1st𝑧) / 𝑥(2nd𝑧) / 𝑦𝐶𝑅(1st𝑧) / 𝑥(2nd𝑧) / 𝑦𝐷)
6663, 65eqtr2i 2767 . . . 4 ((1st𝑧) / 𝑥(2nd𝑧) / 𝑦𝐶𝑅(1st𝑧) / 𝑥(2nd𝑧) / 𝑦𝐷) = (1st𝑧) / 𝑥(2nd𝑧) / 𝑦(𝐶𝑅𝐷)
6766mpteq2i 5175 . . 3 (𝑧 ∈ (𝐴 × 𝐵) ↦ ((1st𝑧) / 𝑥(2nd𝑧) / 𝑦𝐶𝑅(1st𝑧) / 𝑥(2nd𝑧) / 𝑦𝐷)) = (𝑧 ∈ (𝐴 × 𝐵) ↦ (1st𝑧) / 𝑥(2nd𝑧) / 𝑦(𝐶𝑅𝐷))
68 mpompts 7878 . . 3 (𝑥𝐴, 𝑦𝐵 ↦ (𝐶𝑅𝐷)) = (𝑧 ∈ (𝐴 × 𝐵) ↦ (1st𝑧) / 𝑥(2nd𝑧) / 𝑦(𝐶𝑅𝐷))
6967, 68eqtr4i 2769 . 2 (𝑧 ∈ (𝐴 × 𝐵) ↦ ((1st𝑧) / 𝑥(2nd𝑧) / 𝑦𝐶𝑅(1st𝑧) / 𝑥(2nd𝑧) / 𝑦𝐷)) = (𝑥𝐴, 𝑦𝐵 ↦ (𝐶𝑅𝐷))
7060, 69eqtrdi 2795 1 (𝜑 → (𝐹f 𝑅𝐺) = (𝑥𝐴, 𝑦𝐵 ↦ (𝐶𝑅𝐷)))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wa 395  w3a 1085   = wceq 1539  wcel 2108  Vcvv 3422  csb 3828  cmpt 5153   × cxp 5578  cfv 6418  (class class class)co 7255  cmpo 7257  f cof 7509  1st c1st 7802  2nd c2nd 7803
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1799  ax-4 1813  ax-5 1914  ax-6 1972  ax-7 2012  ax-8 2110  ax-9 2118  ax-10 2139  ax-11 2156  ax-12 2173  ax-ext 2709  ax-rep 5205  ax-sep 5218  ax-nul 5225  ax-pow 5283  ax-pr 5347  ax-un 7566
This theorem depends on definitions:  df-bi 206  df-an 396  df-or 844  df-3an 1087  df-tru 1542  df-fal 1552  df-ex 1784  df-nf 1788  df-sb 2069  df-mo 2540  df-eu 2569  df-clab 2716  df-cleq 2730  df-clel 2817  df-nfc 2888  df-ne 2943  df-ral 3068  df-rex 3069  df-reu 3070  df-rab 3072  df-v 3424  df-sbc 3712  df-csb 3829  df-dif 3886  df-un 3888  df-in 3890  df-ss 3900  df-nul 4254  df-if 4457  df-pw 4532  df-sn 4559  df-pr 4561  df-op 4565  df-uni 4837  df-iun 4923  df-br 5071  df-opab 5133  df-mpt 5154  df-id 5480  df-xp 5586  df-rel 5587  df-cnv 5588  df-co 5589  df-dm 5590  df-rn 5591  df-res 5592  df-ima 5593  df-iota 6376  df-fun 6420  df-fn 6421  df-f 6422  df-f1 6423  df-fo 6424  df-f1o 6425  df-fv 6426  df-ov 7258  df-oprab 7259  df-mpo 7260  df-of 7511  df-1st 7804  df-2nd 7805
This theorem is referenced by:  matsc  21507  mdetrsca2  21661  mdetrlin2  21664  mdetunilem5  21673  smadiadetglem2  21729  mat2pmatghm  21787  pm2mpghm  21873  fedgmullem1  31612  fedgmullem2  31613
  Copyright terms: Public domain W3C validator