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

Theorem offval22 7198
 Description: The function operation expressed as a mapping, variation of offval2 6867. (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 (𝜑 → (𝐹𝑓 𝑅𝐺) = (𝑥𝐴, 𝑦𝐵 ↦ (𝐶𝑅𝐷)))
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 (𝜑𝐵𝑊)
3 xpexg 6913 . . . 4 ((𝐴𝑉𝐵𝑊) → (𝐴 × 𝐵) ∈ V)
41, 2, 3syl2anc 692 . . 3 (𝜑 → (𝐴 × 𝐵) ∈ V)
5 xp1st 7143 . . . . 5 (𝑧 ∈ (𝐴 × 𝐵) → (1st𝑧) ∈ 𝐴)
6 xp2nd 7144 . . . . 5 (𝑧 ∈ (𝐴 × 𝐵) → (2nd𝑧) ∈ 𝐵)
75, 6jca 554 . . . 4 (𝑧 ∈ (𝐴 × 𝐵) → ((1st𝑧) ∈ 𝐴 ∧ (2nd𝑧) ∈ 𝐵))
8 fvex 6158 . . . . . 6 (2nd𝑧) ∈ V
9 fvex 6158 . . . . . 6 (1st𝑧) ∈ V
10 nfcv 2761 . . . . . . 7 𝑦(2nd𝑧)
11 nfcv 2761 . . . . . . 7 𝑥(2nd𝑧)
12 nfcv 2761 . . . . . . 7 𝑥(1st𝑧)
13 nfv 1840 . . . . . . . 8 𝑦(𝜑𝑥𝐴 ∧ (2nd𝑧) ∈ 𝐵)
14 nfcsb1v 3530 . . . . . . . . 9 𝑦(2nd𝑧) / 𝑦𝐶
1514nfel1 2775 . . . . . . . 8 𝑦(2nd𝑧) / 𝑦𝐶 ∈ V
1613, 15nfim 1822 . . . . . . 7 𝑦((𝜑𝑥𝐴 ∧ (2nd𝑧) ∈ 𝐵) → (2nd𝑧) / 𝑦𝐶 ∈ V)
17 nfv 1840 . . . . . . . 8 𝑥(𝜑 ∧ (1st𝑧) ∈ 𝐴 ∧ (2nd𝑧) ∈ 𝐵)
18 nfcsb1v 3530 . . . . . . . . 9 𝑥(1st𝑧) / 𝑥(2nd𝑧) / 𝑦𝐶
1918nfel1 2775 . . . . . . . 8 𝑥(1st𝑧) / 𝑥(2nd𝑧) / 𝑦𝐶 ∈ V
2017, 19nfim 1822 . . . . . . 7 𝑥((𝜑 ∧ (1st𝑧) ∈ 𝐴 ∧ (2nd𝑧) ∈ 𝐵) → (1st𝑧) / 𝑥(2nd𝑧) / 𝑦𝐶 ∈ V)
21 eleq1 2686 . . . . . . . . 9 (𝑦 = (2nd𝑧) → (𝑦𝐵 ↔ (2nd𝑧) ∈ 𝐵))
22213anbi3d 1402 . . . . . . . 8 (𝑦 = (2nd𝑧) → ((𝜑𝑥𝐴𝑦𝐵) ↔ (𝜑𝑥𝐴 ∧ (2nd𝑧) ∈ 𝐵)))
23 csbeq1a 3523 . . . . . . . . 9 (𝑦 = (2nd𝑧) → 𝐶 = (2nd𝑧) / 𝑦𝐶)
2423eleq1d 2683 . . . . . . . 8 (𝑦 = (2nd𝑧) → (𝐶 ∈ V ↔ (2nd𝑧) / 𝑦𝐶 ∈ V))
2522, 24imbi12d 334 . . . . . . 7 (𝑦 = (2nd𝑧) → (((𝜑𝑥𝐴𝑦𝐵) → 𝐶 ∈ V) ↔ ((𝜑𝑥𝐴 ∧ (2nd𝑧) ∈ 𝐵) → (2nd𝑧) / 𝑦𝐶 ∈ V)))
26 eleq1 2686 . . . . . . . . 9 (𝑥 = (1st𝑧) → (𝑥𝐴 ↔ (1st𝑧) ∈ 𝐴))
27263anbi2d 1401 . . . . . . . 8 (𝑥 = (1st𝑧) → ((𝜑𝑥𝐴 ∧ (2nd𝑧) ∈ 𝐵) ↔ (𝜑 ∧ (1st𝑧) ∈ 𝐴 ∧ (2nd𝑧) ∈ 𝐵)))
28 csbeq1a 3523 . . . . . . . . 9 (𝑥 = (1st𝑧) → (2nd𝑧) / 𝑦𝐶 = (1st𝑧) / 𝑥(2nd𝑧) / 𝑦𝐶)
2928eleq1d 2683 . . . . . . . 8 (𝑥 = (1st𝑧) → ((2nd𝑧) / 𝑦𝐶 ∈ V ↔ (1st𝑧) / 𝑥(2nd𝑧) / 𝑦𝐶 ∈ V))
3027, 29imbi12d 334 . . . . . . 7 (𝑥 = (1st𝑧) → (((𝜑𝑥𝐴 ∧ (2nd𝑧) ∈ 𝐵) → (2nd𝑧) / 𝑦𝐶 ∈ V) ↔ ((𝜑 ∧ (1st𝑧) ∈ 𝐴 ∧ (2nd𝑧) ∈ 𝐵) → (1st𝑧) / 𝑥(2nd𝑧) / 𝑦𝐶 ∈ V)))
31 offval22.c . . . . . . . 8 ((𝜑𝑥𝐴𝑦𝐵) → 𝐶𝑋)
32 elex 3198 . . . . . . . 8 (𝐶𝑋𝐶 ∈ V)
3331, 32syl 17 . . . . . . 7 ((𝜑𝑥𝐴𝑦𝐵) → 𝐶 ∈ V)
3410, 11, 12, 16, 20, 25, 30, 33vtocl2gf 3254 . . . . . 6 (((2nd𝑧) ∈ V ∧ (1st𝑧) ∈ V) → ((𝜑 ∧ (1st𝑧) ∈ 𝐴 ∧ (2nd𝑧) ∈ 𝐵) → (1st𝑧) / 𝑥(2nd𝑧) / 𝑦𝐶 ∈ V))
358, 9, 34mp2an 707 . . . . 5 ((𝜑 ∧ (1st𝑧) ∈ 𝐴 ∧ (2nd𝑧) ∈ 𝐵) → (1st𝑧) / 𝑥(2nd𝑧) / 𝑦𝐶 ∈ V)
36353expb 1263 . . . 4 ((𝜑 ∧ ((1st𝑧) ∈ 𝐴 ∧ (2nd𝑧) ∈ 𝐵)) → (1st𝑧) / 𝑥(2nd𝑧) / 𝑦𝐶 ∈ V)
377, 36sylan2 491 . . 3 ((𝜑𝑧 ∈ (𝐴 × 𝐵)) → (1st𝑧) / 𝑥(2nd𝑧) / 𝑦𝐶 ∈ V)
38 nfcsb1v 3530 . . . . . . . . 9 𝑦(2nd𝑧) / 𝑦𝐷
3938nfel1 2775 . . . . . . . 8 𝑦(2nd𝑧) / 𝑦𝐷 ∈ V
4013, 39nfim 1822 . . . . . . 7 𝑦((𝜑𝑥𝐴 ∧ (2nd𝑧) ∈ 𝐵) → (2nd𝑧) / 𝑦𝐷 ∈ V)
41 nfcsb1v 3530 . . . . . . . . 9 𝑥(1st𝑧) / 𝑥(2nd𝑧) / 𝑦𝐷
4241nfel1 2775 . . . . . . . 8 𝑥(1st𝑧) / 𝑥(2nd𝑧) / 𝑦𝐷 ∈ V
4317, 42nfim 1822 . . . . . . 7 𝑥((𝜑 ∧ (1st𝑧) ∈ 𝐴 ∧ (2nd𝑧) ∈ 𝐵) → (1st𝑧) / 𝑥(2nd𝑧) / 𝑦𝐷 ∈ V)
44 csbeq1a 3523 . . . . . . . . 9 (𝑦 = (2nd𝑧) → 𝐷 = (2nd𝑧) / 𝑦𝐷)
4544eleq1d 2683 . . . . . . . 8 (𝑦 = (2nd𝑧) → (𝐷 ∈ V ↔ (2nd𝑧) / 𝑦𝐷 ∈ V))
4622, 45imbi12d 334 . . . . . . 7 (𝑦 = (2nd𝑧) → (((𝜑𝑥𝐴𝑦𝐵) → 𝐷 ∈ V) ↔ ((𝜑𝑥𝐴 ∧ (2nd𝑧) ∈ 𝐵) → (2nd𝑧) / 𝑦𝐷 ∈ V)))
47 csbeq1a 3523 . . . . . . . . 9 (𝑥 = (1st𝑧) → (2nd𝑧) / 𝑦𝐷 = (1st𝑧) / 𝑥(2nd𝑧) / 𝑦𝐷)
4847eleq1d 2683 . . . . . . . 8 (𝑥 = (1st𝑧) → ((2nd𝑧) / 𝑦𝐷 ∈ V ↔ (1st𝑧) / 𝑥(2nd𝑧) / 𝑦𝐷 ∈ V))
4927, 48imbi12d 334 . . . . . . 7 (𝑥 = (1st𝑧) → (((𝜑𝑥𝐴 ∧ (2nd𝑧) ∈ 𝐵) → (2nd𝑧) / 𝑦𝐷 ∈ V) ↔ ((𝜑 ∧ (1st𝑧) ∈ 𝐴 ∧ (2nd𝑧) ∈ 𝐵) → (1st𝑧) / 𝑥(2nd𝑧) / 𝑦𝐷 ∈ V)))
50 offval22.d . . . . . . . 8 ((𝜑𝑥𝐴𝑦𝐵) → 𝐷𝑌)
51 elex 3198 . . . . . . . 8 (𝐷𝑌𝐷 ∈ V)
5250, 51syl 17 . . . . . . 7 ((𝜑𝑥𝐴𝑦𝐵) → 𝐷 ∈ V)
5310, 11, 12, 40, 43, 46, 49, 52vtocl2gf 3254 . . . . . 6 (((2nd𝑧) ∈ V ∧ (1st𝑧) ∈ V) → ((𝜑 ∧ (1st𝑧) ∈ 𝐴 ∧ (2nd𝑧) ∈ 𝐵) → (1st𝑧) / 𝑥(2nd𝑧) / 𝑦𝐷 ∈ V))
548, 9, 53mp2an 707 . . . . 5 ((𝜑 ∧ (1st𝑧) ∈ 𝐴 ∧ (2nd𝑧) ∈ 𝐵) → (1st𝑧) / 𝑥(2nd𝑧) / 𝑦𝐷 ∈ V)
55543expb 1263 . . . 4 ((𝜑 ∧ ((1st𝑧) ∈ 𝐴 ∧ (2nd𝑧) ∈ 𝐵)) → (1st𝑧) / 𝑥(2nd𝑧) / 𝑦𝐷 ∈ V)
567, 55sylan2 491 . . 3 ((𝜑𝑧 ∈ (𝐴 × 𝐵)) → (1st𝑧) / 𝑥(2nd𝑧) / 𝑦𝐷 ∈ V)
57 offval22.f . . . 4 (𝜑𝐹 = (𝑥𝐴, 𝑦𝐵𝐶))
58 mpt2mpts 7179 . . . 4 (𝑥𝐴, 𝑦𝐵𝐶) = (𝑧 ∈ (𝐴 × 𝐵) ↦ (1st𝑧) / 𝑥(2nd𝑧) / 𝑦𝐶)
5957, 58syl6eq 2671 . . 3 (𝜑𝐹 = (𝑧 ∈ (𝐴 × 𝐵) ↦ (1st𝑧) / 𝑥(2nd𝑧) / 𝑦𝐶))
60 offval22.g . . . 4 (𝜑𝐺 = (𝑥𝐴, 𝑦𝐵𝐷))
61 mpt2mpts 7179 . . . 4 (𝑥𝐴, 𝑦𝐵𝐷) = (𝑧 ∈ (𝐴 × 𝐵) ↦ (1st𝑧) / 𝑥(2nd𝑧) / 𝑦𝐷)
6260, 61syl6eq 2671 . . 3 (𝜑𝐺 = (𝑧 ∈ (𝐴 × 𝐵) ↦ (1st𝑧) / 𝑥(2nd𝑧) / 𝑦𝐷))
634, 37, 56, 59, 62offval2 6867 . 2 (𝜑 → (𝐹𝑓 𝑅𝐺) = (𝑧 ∈ (𝐴 × 𝐵) ↦ ((1st𝑧) / 𝑥(2nd𝑧) / 𝑦𝐶𝑅(1st𝑧) / 𝑥(2nd𝑧) / 𝑦𝐷)))
64 csbov12g 6642 . . . . . . 7 ((2nd𝑧) ∈ V → (2nd𝑧) / 𝑦(𝐶𝑅𝐷) = ((2nd𝑧) / 𝑦𝐶𝑅(2nd𝑧) / 𝑦𝐷))
6564csbeq2dv 3964 . . . . . 6 ((2nd𝑧) ∈ V → (1st𝑧) / 𝑥(2nd𝑧) / 𝑦(𝐶𝑅𝐷) = (1st𝑧) / 𝑥((2nd𝑧) / 𝑦𝐶𝑅(2nd𝑧) / 𝑦𝐷))
668, 65ax-mp 5 . . . . 5 (1st𝑧) / 𝑥(2nd𝑧) / 𝑦(𝐶𝑅𝐷) = (1st𝑧) / 𝑥((2nd𝑧) / 𝑦𝐶𝑅(2nd𝑧) / 𝑦𝐷)
67 csbov12g 6642 . . . . . 6 ((1st𝑧) ∈ V → (1st𝑧) / 𝑥((2nd𝑧) / 𝑦𝐶𝑅(2nd𝑧) / 𝑦𝐷) = ((1st𝑧) / 𝑥(2nd𝑧) / 𝑦𝐶𝑅(1st𝑧) / 𝑥(2nd𝑧) / 𝑦𝐷))
689, 67ax-mp 5 . . . . 5 (1st𝑧) / 𝑥((2nd𝑧) / 𝑦𝐶𝑅(2nd𝑧) / 𝑦𝐷) = ((1st𝑧) / 𝑥(2nd𝑧) / 𝑦𝐶𝑅(1st𝑧) / 𝑥(2nd𝑧) / 𝑦𝐷)
6966, 68eqtr2i 2644 . . . 4 ((1st𝑧) / 𝑥(2nd𝑧) / 𝑦𝐶𝑅(1st𝑧) / 𝑥(2nd𝑧) / 𝑦𝐷) = (1st𝑧) / 𝑥(2nd𝑧) / 𝑦(𝐶𝑅𝐷)
7069mpteq2i 4701 . . 3 (𝑧 ∈ (𝐴 × 𝐵) ↦ ((1st𝑧) / 𝑥(2nd𝑧) / 𝑦𝐶𝑅(1st𝑧) / 𝑥(2nd𝑧) / 𝑦𝐷)) = (𝑧 ∈ (𝐴 × 𝐵) ↦ (1st𝑧) / 𝑥(2nd𝑧) / 𝑦(𝐶𝑅𝐷))
71 mpt2mpts 7179 . . 3 (𝑥𝐴, 𝑦𝐵 ↦ (𝐶𝑅𝐷)) = (𝑧 ∈ (𝐴 × 𝐵) ↦ (1st𝑧) / 𝑥(2nd𝑧) / 𝑦(𝐶𝑅𝐷))
7270, 71eqtr4i 2646 . 2 (𝑧 ∈ (𝐴 × 𝐵) ↦ ((1st𝑧) / 𝑥(2nd𝑧) / 𝑦𝐶𝑅(1st𝑧) / 𝑥(2nd𝑧) / 𝑦𝐷)) = (𝑥𝐴, 𝑦𝐵 ↦ (𝐶𝑅𝐷))
7363, 72syl6eq 2671 1 (𝜑 → (𝐹𝑓 𝑅𝐺) = (𝑥𝐴, 𝑦𝐵 ↦ (𝐶𝑅𝐷)))
 Colors of variables: wff setvar class Syntax hints:   → wi 4   ∧ wa 384   ∧ w3a 1036   = wceq 1480   ∈ wcel 1987  Vcvv 3186  ⦋csb 3514   ↦ cmpt 4673   × cxp 5072  ‘cfv 5847  (class class class)co 6604   ↦ cmpt2 6606   ∘𝑓 cof 6848  1st c1st 7111  2nd c2nd 7112 This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1719  ax-4 1734  ax-5 1836  ax-6 1885  ax-7 1932  ax-8 1989  ax-9 1996  ax-10 2016  ax-11 2031  ax-12 2044  ax-13 2245  ax-ext 2601  ax-rep 4731  ax-sep 4741  ax-nul 4749  ax-pow 4803  ax-pr 4867  ax-un 6902 This theorem depends on definitions:  df-bi 197  df-or 385  df-an 386  df-3an 1038  df-tru 1483  df-fal 1486  df-ex 1702  df-nf 1707  df-sb 1878  df-eu 2473  df-mo 2474  df-clab 2608  df-cleq 2614  df-clel 2617  df-nfc 2750  df-ne 2791  df-ral 2912  df-rex 2913  df-reu 2914  df-rab 2916  df-v 3188  df-sbc 3418  df-csb 3515  df-dif 3558  df-un 3560  df-in 3562  df-ss 3569  df-nul 3892  df-if 4059  df-pw 4132  df-sn 4149  df-pr 4151  df-op 4155  df-uni 4403  df-iun 4487  df-br 4614  df-opab 4674  df-mpt 4675  df-id 4989  df-xp 5080  df-rel 5081  df-cnv 5082  df-co 5083  df-dm 5084  df-rn 5085  df-res 5086  df-ima 5087  df-iota 5810  df-fun 5849  df-fn 5850  df-f 5851  df-f1 5852  df-fo 5853  df-f1o 5854  df-fv 5855  df-ov 6607  df-oprab 6608  df-mpt2 6609  df-of 6850  df-1st 7113  df-2nd 7114 This theorem is referenced by:  matsc  20175  mdetrsca2  20329  mdetrlin2  20332  mdetunilem5  20341  smadiadetglem2  20397  mat2pmatghm  20454  pm2mpghm  20540
 Copyright terms: Public domain W3C validator