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

Theorem offval22 7785
Description: The function operation expressed as a mapping, variation of offval2 7428. (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 7476 . . 3 (𝜑 → (𝐴 × 𝐵) ∈ V)
4 xp1st 7723 . . . . 5 (𝑧 ∈ (𝐴 × 𝐵) → (1st𝑧) ∈ 𝐴)
5 xp2nd 7724 . . . . 5 (𝑧 ∈ (𝐴 × 𝐵) → (2nd𝑧) ∈ 𝐵)
64, 5jca 514 . . . 4 (𝑧 ∈ (𝐴 × 𝐵) → ((1st𝑧) ∈ 𝐴 ∧ (2nd𝑧) ∈ 𝐵))
7 fvex 6685 . . . . . 6 (2nd𝑧) ∈ V
8 fvex 6685 . . . . . 6 (1st𝑧) ∈ V
9 nfcv 2979 . . . . . . 7 𝑦(2nd𝑧)
10 nfcv 2979 . . . . . . 7 𝑥(2nd𝑧)
11 nfcv 2979 . . . . . . 7 𝑥(1st𝑧)
12 nfv 1915 . . . . . . . 8 𝑦(𝜑𝑥𝐴 ∧ (2nd𝑧) ∈ 𝐵)
13 nfcsb1v 3909 . . . . . . . . 9 𝑦(2nd𝑧) / 𝑦𝐶
1413nfel1 2996 . . . . . . . 8 𝑦(2nd𝑧) / 𝑦𝐶 ∈ V
1512, 14nfim 1897 . . . . . . 7 𝑦((𝜑𝑥𝐴 ∧ (2nd𝑧) ∈ 𝐵) → (2nd𝑧) / 𝑦𝐶 ∈ V)
16 nfv 1915 . . . . . . . 8 𝑥(𝜑 ∧ (1st𝑧) ∈ 𝐴 ∧ (2nd𝑧) ∈ 𝐵)
17 nfcsb1v 3909 . . . . . . . . 9 𝑥(1st𝑧) / 𝑥(2nd𝑧) / 𝑦𝐶
1817nfel1 2996 . . . . . . . 8 𝑥(1st𝑧) / 𝑥(2nd𝑧) / 𝑦𝐶 ∈ V
1916, 18nfim 1897 . . . . . . 7 𝑥((𝜑 ∧ (1st𝑧) ∈ 𝐴 ∧ (2nd𝑧) ∈ 𝐵) → (1st𝑧) / 𝑥(2nd𝑧) / 𝑦𝐶 ∈ V)
20 eleq1 2902 . . . . . . . . 9 (𝑦 = (2nd𝑧) → (𝑦𝐵 ↔ (2nd𝑧) ∈ 𝐵))
21203anbi3d 1438 . . . . . . . 8 (𝑦 = (2nd𝑧) → ((𝜑𝑥𝐴𝑦𝐵) ↔ (𝜑𝑥𝐴 ∧ (2nd𝑧) ∈ 𝐵)))
22 csbeq1a 3899 . . . . . . . . 9 (𝑦 = (2nd𝑧) → 𝐶 = (2nd𝑧) / 𝑦𝐶)
2322eleq1d 2899 . . . . . . . 8 (𝑦 = (2nd𝑧) → (𝐶 ∈ V ↔ (2nd𝑧) / 𝑦𝐶 ∈ V))
2421, 23imbi12d 347 . . . . . . 7 (𝑦 = (2nd𝑧) → (((𝜑𝑥𝐴𝑦𝐵) → 𝐶 ∈ V) ↔ ((𝜑𝑥𝐴 ∧ (2nd𝑧) ∈ 𝐵) → (2nd𝑧) / 𝑦𝐶 ∈ V)))
25 eleq1 2902 . . . . . . . . 9 (𝑥 = (1st𝑧) → (𝑥𝐴 ↔ (1st𝑧) ∈ 𝐴))
26253anbi2d 1437 . . . . . . . 8 (𝑥 = (1st𝑧) → ((𝜑𝑥𝐴 ∧ (2nd𝑧) ∈ 𝐵) ↔ (𝜑 ∧ (1st𝑧) ∈ 𝐴 ∧ (2nd𝑧) ∈ 𝐵)))
27 csbeq1a 3899 . . . . . . . . 9 (𝑥 = (1st𝑧) → (2nd𝑧) / 𝑦𝐶 = (1st𝑧) / 𝑥(2nd𝑧) / 𝑦𝐶)
2827eleq1d 2899 . . . . . . . 8 (𝑥 = (1st𝑧) → ((2nd𝑧) / 𝑦𝐶 ∈ V ↔ (1st𝑧) / 𝑥(2nd𝑧) / 𝑦𝐶 ∈ V))
2926, 28imbi12d 347 . . . . . . 7 (𝑥 = (1st𝑧) → (((𝜑𝑥𝐴 ∧ (2nd𝑧) ∈ 𝐵) → (2nd𝑧) / 𝑦𝐶 ∈ V) ↔ ((𝜑 ∧ (1st𝑧) ∈ 𝐴 ∧ (2nd𝑧) ∈ 𝐵) → (1st𝑧) / 𝑥(2nd𝑧) / 𝑦𝐶 ∈ V)))
30 offval22.c . . . . . . . 8 ((𝜑𝑥𝐴𝑦𝐵) → 𝐶𝑋)
3130elexd 3516 . . . . . . 7 ((𝜑𝑥𝐴𝑦𝐵) → 𝐶 ∈ V)
329, 10, 11, 15, 19, 24, 29, 31vtocl2gf 3572 . . . . . 6 (((2nd𝑧) ∈ V ∧ (1st𝑧) ∈ V) → ((𝜑 ∧ (1st𝑧) ∈ 𝐴 ∧ (2nd𝑧) ∈ 𝐵) → (1st𝑧) / 𝑥(2nd𝑧) / 𝑦𝐶 ∈ V))
337, 8, 32mp2an 690 . . . . 5 ((𝜑 ∧ (1st𝑧) ∈ 𝐴 ∧ (2nd𝑧) ∈ 𝐵) → (1st𝑧) / 𝑥(2nd𝑧) / 𝑦𝐶 ∈ V)
34333expb 1116 . . . 4 ((𝜑 ∧ ((1st𝑧) ∈ 𝐴 ∧ (2nd𝑧) ∈ 𝐵)) → (1st𝑧) / 𝑥(2nd𝑧) / 𝑦𝐶 ∈ V)
356, 34sylan2 594 . . 3 ((𝜑𝑧 ∈ (𝐴 × 𝐵)) → (1st𝑧) / 𝑥(2nd𝑧) / 𝑦𝐶 ∈ V)
36 nfcsb1v 3909 . . . . . . . . 9 𝑦(2nd𝑧) / 𝑦𝐷
3736nfel1 2996 . . . . . . . 8 𝑦(2nd𝑧) / 𝑦𝐷 ∈ V
3812, 37nfim 1897 . . . . . . 7 𝑦((𝜑𝑥𝐴 ∧ (2nd𝑧) ∈ 𝐵) → (2nd𝑧) / 𝑦𝐷 ∈ V)
39 nfcsb1v 3909 . . . . . . . . 9 𝑥(1st𝑧) / 𝑥(2nd𝑧) / 𝑦𝐷
4039nfel1 2996 . . . . . . . 8 𝑥(1st𝑧) / 𝑥(2nd𝑧) / 𝑦𝐷 ∈ V
4116, 40nfim 1897 . . . . . . 7 𝑥((𝜑 ∧ (1st𝑧) ∈ 𝐴 ∧ (2nd𝑧) ∈ 𝐵) → (1st𝑧) / 𝑥(2nd𝑧) / 𝑦𝐷 ∈ V)
42 csbeq1a 3899 . . . . . . . . 9 (𝑦 = (2nd𝑧) → 𝐷 = (2nd𝑧) / 𝑦𝐷)
4342eleq1d 2899 . . . . . . . 8 (𝑦 = (2nd𝑧) → (𝐷 ∈ V ↔ (2nd𝑧) / 𝑦𝐷 ∈ V))
4421, 43imbi12d 347 . . . . . . 7 (𝑦 = (2nd𝑧) → (((𝜑𝑥𝐴𝑦𝐵) → 𝐷 ∈ V) ↔ ((𝜑𝑥𝐴 ∧ (2nd𝑧) ∈ 𝐵) → (2nd𝑧) / 𝑦𝐷 ∈ V)))
45 csbeq1a 3899 . . . . . . . . 9 (𝑥 = (1st𝑧) → (2nd𝑧) / 𝑦𝐷 = (1st𝑧) / 𝑥(2nd𝑧) / 𝑦𝐷)
4645eleq1d 2899 . . . . . . . 8 (𝑥 = (1st𝑧) → ((2nd𝑧) / 𝑦𝐷 ∈ V ↔ (1st𝑧) / 𝑥(2nd𝑧) / 𝑦𝐷 ∈ V))
4726, 46imbi12d 347 . . . . . . 7 (𝑥 = (1st𝑧) → (((𝜑𝑥𝐴 ∧ (2nd𝑧) ∈ 𝐵) → (2nd𝑧) / 𝑦𝐷 ∈ V) ↔ ((𝜑 ∧ (1st𝑧) ∈ 𝐴 ∧ (2nd𝑧) ∈ 𝐵) → (1st𝑧) / 𝑥(2nd𝑧) / 𝑦𝐷 ∈ V)))
48 offval22.d . . . . . . . 8 ((𝜑𝑥𝐴𝑦𝐵) → 𝐷𝑌)
4948elexd 3516 . . . . . . 7 ((𝜑𝑥𝐴𝑦𝐵) → 𝐷 ∈ V)
509, 10, 11, 38, 41, 44, 47, 49vtocl2gf 3572 . . . . . 6 (((2nd𝑧) ∈ V ∧ (1st𝑧) ∈ V) → ((𝜑 ∧ (1st𝑧) ∈ 𝐴 ∧ (2nd𝑧) ∈ 𝐵) → (1st𝑧) / 𝑥(2nd𝑧) / 𝑦𝐷 ∈ V))
517, 8, 50mp2an 690 . . . . 5 ((𝜑 ∧ (1st𝑧) ∈ 𝐴 ∧ (2nd𝑧) ∈ 𝐵) → (1st𝑧) / 𝑥(2nd𝑧) / 𝑦𝐷 ∈ V)
52513expb 1116 . . . 4 ((𝜑 ∧ ((1st𝑧) ∈ 𝐴 ∧ (2nd𝑧) ∈ 𝐵)) → (1st𝑧) / 𝑥(2nd𝑧) / 𝑦𝐷 ∈ V)
536, 52sylan2 594 . . 3 ((𝜑𝑧 ∈ (𝐴 × 𝐵)) → (1st𝑧) / 𝑥(2nd𝑧) / 𝑦𝐷 ∈ V)
54 offval22.f . . . 4 (𝜑𝐹 = (𝑥𝐴, 𝑦𝐵𝐶))
55 mpompts 7765 . . . 4 (𝑥𝐴, 𝑦𝐵𝐶) = (𝑧 ∈ (𝐴 × 𝐵) ↦ (1st𝑧) / 𝑥(2nd𝑧) / 𝑦𝐶)
5654, 55syl6eq 2874 . . 3 (𝜑𝐹 = (𝑧 ∈ (𝐴 × 𝐵) ↦ (1st𝑧) / 𝑥(2nd𝑧) / 𝑦𝐶))
57 offval22.g . . . 4 (𝜑𝐺 = (𝑥𝐴, 𝑦𝐵𝐷))
58 mpompts 7765 . . . 4 (𝑥𝐴, 𝑦𝐵𝐷) = (𝑧 ∈ (𝐴 × 𝐵) ↦ (1st𝑧) / 𝑥(2nd𝑧) / 𝑦𝐷)
5957, 58syl6eq 2874 . . 3 (𝜑𝐺 = (𝑧 ∈ (𝐴 × 𝐵) ↦ (1st𝑧) / 𝑥(2nd𝑧) / 𝑦𝐷))
603, 35, 53, 56, 59offval2 7428 . 2 (𝜑 → (𝐹f 𝑅𝐺) = (𝑧 ∈ (𝐴 × 𝐵) ↦ ((1st𝑧) / 𝑥(2nd𝑧) / 𝑦𝐶𝑅(1st𝑧) / 𝑥(2nd𝑧) / 𝑦𝐷)))
61 csbov12g 7202 . . . . . . 7 ((2nd𝑧) ∈ V → (2nd𝑧) / 𝑦(𝐶𝑅𝐷) = ((2nd𝑧) / 𝑦𝐶𝑅(2nd𝑧) / 𝑦𝐷))
6261csbeq2dv 3892 . . . . . 6 ((2nd𝑧) ∈ V → (1st𝑧) / 𝑥(2nd𝑧) / 𝑦(𝐶𝑅𝐷) = (1st𝑧) / 𝑥((2nd𝑧) / 𝑦𝐶𝑅(2nd𝑧) / 𝑦𝐷))
637, 62ax-mp 5 . . . . 5 (1st𝑧) / 𝑥(2nd𝑧) / 𝑦(𝐶𝑅𝐷) = (1st𝑧) / 𝑥((2nd𝑧) / 𝑦𝐶𝑅(2nd𝑧) / 𝑦𝐷)
64 csbov12g 7202 . . . . . 6 ((1st𝑧) ∈ V → (1st𝑧) / 𝑥((2nd𝑧) / 𝑦𝐶𝑅(2nd𝑧) / 𝑦𝐷) = ((1st𝑧) / 𝑥(2nd𝑧) / 𝑦𝐶𝑅(1st𝑧) / 𝑥(2nd𝑧) / 𝑦𝐷))
658, 64ax-mp 5 . . . . 5 (1st𝑧) / 𝑥((2nd𝑧) / 𝑦𝐶𝑅(2nd𝑧) / 𝑦𝐷) = ((1st𝑧) / 𝑥(2nd𝑧) / 𝑦𝐶𝑅(1st𝑧) / 𝑥(2nd𝑧) / 𝑦𝐷)
6663, 65eqtr2i 2847 . . . 4 ((1st𝑧) / 𝑥(2nd𝑧) / 𝑦𝐶𝑅(1st𝑧) / 𝑥(2nd𝑧) / 𝑦𝐷) = (1st𝑧) / 𝑥(2nd𝑧) / 𝑦(𝐶𝑅𝐷)
6766mpteq2i 5160 . . 3 (𝑧 ∈ (𝐴 × 𝐵) ↦ ((1st𝑧) / 𝑥(2nd𝑧) / 𝑦𝐶𝑅(1st𝑧) / 𝑥(2nd𝑧) / 𝑦𝐷)) = (𝑧 ∈ (𝐴 × 𝐵) ↦ (1st𝑧) / 𝑥(2nd𝑧) / 𝑦(𝐶𝑅𝐷))
68 mpompts 7765 . . 3 (𝑥𝐴, 𝑦𝐵 ↦ (𝐶𝑅𝐷)) = (𝑧 ∈ (𝐴 × 𝐵) ↦ (1st𝑧) / 𝑥(2nd𝑧) / 𝑦(𝐶𝑅𝐷))
6967, 68eqtr4i 2849 . 2 (𝑧 ∈ (𝐴 × 𝐵) ↦ ((1st𝑧) / 𝑥(2nd𝑧) / 𝑦𝐶𝑅(1st𝑧) / 𝑥(2nd𝑧) / 𝑦𝐷)) = (𝑥𝐴, 𝑦𝐵 ↦ (𝐶𝑅𝐷))
7060, 69syl6eq 2874 1 (𝜑 → (𝐹f 𝑅𝐺) = (𝑥𝐴, 𝑦𝐵 ↦ (𝐶𝑅𝐷)))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wa 398  w3a 1083   = wceq 1537  wcel 2114  Vcvv 3496  csb 3885  cmpt 5148   × cxp 5555  cfv 6357  (class class class)co 7158  cmpo 7160  f cof 7409  1st c1st 7689  2nd c2nd 7690
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1796  ax-4 1810  ax-5 1911  ax-6 1970  ax-7 2015  ax-8 2116  ax-9 2124  ax-10 2145  ax-11 2161  ax-12 2177  ax-ext 2795  ax-rep 5192  ax-sep 5205  ax-nul 5212  ax-pow 5268  ax-pr 5332  ax-un 7463
This theorem depends on definitions:  df-bi 209  df-an 399  df-or 844  df-3an 1085  df-tru 1540  df-fal 1550  df-ex 1781  df-nf 1785  df-sb 2070  df-mo 2622  df-eu 2654  df-clab 2802  df-cleq 2816  df-clel 2895  df-nfc 2965  df-ne 3019  df-ral 3145  df-rex 3146  df-reu 3147  df-rab 3149  df-v 3498  df-sbc 3775  df-csb 3886  df-dif 3941  df-un 3943  df-in 3945  df-ss 3954  df-nul 4294  df-if 4470  df-pw 4543  df-sn 4570  df-pr 4572  df-op 4576  df-uni 4841  df-iun 4923  df-br 5069  df-opab 5131  df-mpt 5149  df-id 5462  df-xp 5563  df-rel 5564  df-cnv 5565  df-co 5566  df-dm 5567  df-rn 5568  df-res 5569  df-ima 5570  df-iota 6316  df-fun 6359  df-fn 6360  df-f 6361  df-f1 6362  df-fo 6363  df-f1o 6364  df-fv 6365  df-ov 7161  df-oprab 7162  df-mpo 7163  df-of 7411  df-1st 7691  df-2nd 7692
This theorem is referenced by:  matsc  21061  mdetrsca2  21215  mdetrlin2  21218  mdetunilem5  21227  smadiadetglem2  21283  mat2pmatghm  21340  pm2mpghm  21426  fedgmullem1  31027  fedgmullem2  31028
  Copyright terms: Public domain W3C validator