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

Theorem offval22 8153
Description: The function operation expressed as a mapping, variation of offval2 7764. (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 7816 . . 3 (𝜑 → (𝐴 × 𝐵) ∈ V)
4 xp1st 8086 . . . . 5 (𝑧 ∈ (𝐴 × 𝐵) → (1st ‘𝑧) ∈ 𝐴)
5 xp2nd 8087 . . . . 5 (𝑧 ∈ (𝐴 × 𝐵) → (2nd ‘𝑧) ∈ 𝐵)
64, 5jca 521 . . . 4 (𝑧 ∈ (𝐴 × 𝐵) → ((1st ‘𝑧) ∈ 𝐴 ∧ (2nd ‘𝑧) ∈ 𝐵))
7 fvex 6947 . . . . . 6 (2nd ‘𝑧) ∈ V
8 fvex 6947 . . . . . 6 (1st ‘𝑧) ∈ V
9 nfcv 2937 . . . . . . 7 Ⅎ𝑦(2nd ‘𝑧)
10 nfcv 2937 . . . . . . 7 Ⅎ𝑥(2nd ‘𝑧)
11 nfcv 2937 . . . . . . 7 Ⅎ𝑥(1st ‘𝑧)
12 nfv 1956 . . . . . . . 8 Ⅎ𝑦(𝜑 ∧ 𝑥 ∈ 𝐴 ∧ (2nd ‘𝑧) ∈ 𝐵)
13 nfcsb1v 3882 . . . . . . . . 9 Ⅎ𝑦⦋(2nd ‘𝑧) / 𝑦⦌𝐶
1413nfel1 2953 . . . . . . . 8 Ⅎ𝑦⦋(2nd ‘𝑧) / 𝑦⦌𝐶 ∈ V
1512, 14nfim 1937 . . . . . . 7 Ⅎ𝑦((𝜑 ∧ 𝑥 ∈ 𝐴 ∧ (2nd ‘𝑧) ∈ 𝐵) → ⦋(2nd ‘𝑧) / 𝑦⦌𝐶 ∈ V)
16 nfv 1956 . . . . . . . 8 Ⅎ𝑥(𝜑 ∧ (1st ‘𝑧) ∈ 𝐴 ∧ (2nd ‘𝑧) ∈ 𝐵)
17 nfcsb1v 3882 . . . . . . . . 9 Ⅎ𝑥⦋(1st ‘𝑧) / 𝑥⦌⦋(2nd ‘𝑧) / 𝑦⦌𝐶
1817nfel1 2953 . . . . . . . 8 Ⅎ𝑥⦋(1st ‘𝑧) / 𝑥⦌⦋(2nd ‘𝑧) / 𝑦⦌𝐶 ∈ V
1916, 18nfim 1937 . . . . . . 7 Ⅎ𝑥((𝜑 ∧ (1st ‘𝑧) ∈ 𝐴 ∧ (2nd ‘𝑧) ∈ 𝐵) → ⦋(1st ‘𝑧) / 𝑥⦌⦋(2nd ‘𝑧) / 𝑦⦌𝐶 ∈ V)
20 eleq1 2863 . . . . . . . . 9 (𝑦 = (2nd ‘𝑧) → (𝑦 ∈ 𝐵 ↔ (2nd ‘𝑧) ∈ 𝐵))
21203anbi3d 1473 . . . . . . . 8 (𝑦 = (2nd ‘𝑧) → ((𝜑 ∧ 𝑥 ∈ 𝐴 ∧ 𝑦 ∈ 𝐵) ↔ (𝜑 ∧ 𝑥 ∈ 𝐴 ∧ (2nd ‘𝑧) ∈ 𝐵)))
22 csbeq1a 3872 . . . . . . . . 9 (𝑦 = (2nd ‘𝑧) → 𝐶 = ⦋(2nd ‘𝑧) / 𝑦⦌𝐶)
2322eleq1d 2860 . . . . . . . 8 (𝑦 = (2nd ‘𝑧) → (𝐶 ∈ V ↔ ⦋(2nd ‘𝑧) / 𝑦⦌𝐶 ∈ V))
2421, 23imbi12d 347 . . . . . . 7 (𝑦 = (2nd ‘𝑧) → (((𝜑 ∧ 𝑥 ∈ 𝐴 ∧ 𝑦 ∈ 𝐵) → 𝐶 ∈ V) ↔ ((𝜑 ∧ 𝑥 ∈ 𝐴 ∧ (2nd ‘𝑧) ∈ 𝐵) → ⦋(2nd ‘𝑧) / 𝑦⦌𝐶 ∈ V)))
25 eleq1 2863 . . . . . . . . 9 (𝑥 = (1st ‘𝑧) → (𝑥 ∈ 𝐴 ↔ (1st ‘𝑧) ∈ 𝐴))
26253anbi2d 1472 . . . . . . . 8 (𝑥 = (1st ‘𝑧) → ((𝜑 ∧ 𝑥 ∈ 𝐴 ∧ (2nd ‘𝑧) ∈ 𝐵) ↔ (𝜑 ∧ (1st ‘𝑧) ∈ 𝐴 ∧ (2nd ‘𝑧) ∈ 𝐵)))
27 csbeq1a 3872 . . . . . . . . 9 (𝑥 = (1st ‘𝑧) → ⦋(2nd ‘𝑧) / 𝑦⦌𝐶 = ⦋(1st ‘𝑧) / 𝑥⦌⦋(2nd ‘𝑧) / 𝑦⦌𝐶)
2827eleq1d 2860 . . . . . . . 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 3484 . . . . . . 7 ((𝜑 ∧ 𝑥 ∈ 𝐴 ∧ 𝑦 ∈ 𝐵) → 𝐶 ∈ V)
329, 10, 11, 15, 19, 24, 29, 31vtocl2gf 3542 . . . . . 6 (((2nd ‘𝑧) ∈ V ∧ (1st ‘𝑧) ∈ V) → ((𝜑 ∧ (1st ‘𝑧) ∈ 𝐴 ∧ (2nd ‘𝑧) ∈ 𝐵) → ⦋(1st ‘𝑧) / 𝑥⦌⦋(2nd ‘𝑧) / 𝑦⦌𝐶 ∈ V))
337, 8, 32mp2an 705 . . . . 5 ((𝜑 ∧ (1st ‘𝑧) ∈ 𝐴 ∧ (2nd ‘𝑧) ∈ 𝐵) → ⦋(1st ‘𝑧) / 𝑥⦌⦋(2nd ‘𝑧) / 𝑦⦌𝐶 ∈ V)
34333expb 1139 . . . 4 ((𝜑 ∧ ((1st ‘𝑧) ∈ 𝐴 ∧ (2nd ‘𝑧) ∈ 𝐵)) → ⦋(1st ‘𝑧) / 𝑥⦌⦋(2nd ‘𝑧) / 𝑦⦌𝐶 ∈ V)
356, 34sylan2 605 . . 3 ((𝜑 ∧ 𝑧 ∈ (𝐴 × 𝐵)) → ⦋(1st ‘𝑧) / 𝑥⦌⦋(2nd ‘𝑧) / 𝑦⦌𝐶 ∈ V)
36 nfcsb1v 3882 . . . . . . . . 9 Ⅎ𝑦⦋(2nd ‘𝑧) / 𝑦⦌𝐷
3736nfel1 2953 . . . . . . . 8 Ⅎ𝑦⦋(2nd ‘𝑧) / 𝑦⦌𝐷 ∈ V
3812, 37nfim 1937 . . . . . . 7 Ⅎ𝑦((𝜑 ∧ 𝑥 ∈ 𝐴 ∧ (2nd ‘𝑧) ∈ 𝐵) → ⦋(2nd ‘𝑧) / 𝑦⦌𝐷 ∈ V)
39 nfcsb1v 3882 . . . . . . . . 9 Ⅎ𝑥⦋(1st ‘𝑧) / 𝑥⦌⦋(2nd ‘𝑧) / 𝑦⦌𝐷
4039nfel1 2953 . . . . . . . 8 Ⅎ𝑥⦋(1st ‘𝑧) / 𝑥⦌⦋(2nd ‘𝑧) / 𝑦⦌𝐷 ∈ V
4116, 40nfim 1937 . . . . . . 7 Ⅎ𝑥((𝜑 ∧ (1st ‘𝑧) ∈ 𝐴 ∧ (2nd ‘𝑧) ∈ 𝐵) → ⦋(1st ‘𝑧) / 𝑥⦌⦋(2nd ‘𝑧) / 𝑦⦌𝐷 ∈ V)
42 csbeq1a 3872 . . . . . . . . 9 (𝑦 = (2nd ‘𝑧) → 𝐷 = ⦋(2nd ‘𝑧) / 𝑦⦌𝐷)
4342eleq1d 2860 . . . . . . . 8 (𝑦 = (2nd ‘𝑧) → (𝐷 ∈ V ↔ ⦋(2nd ‘𝑧) / 𝑦⦌𝐷 ∈ V))
4421, 43imbi12d 347 . . . . . . 7 (𝑦 = (2nd ‘𝑧) → (((𝜑 ∧ 𝑥 ∈ 𝐴 ∧ 𝑦 ∈ 𝐵) → 𝐷 ∈ V) ↔ ((𝜑 ∧ 𝑥 ∈ 𝐴 ∧ (2nd ‘𝑧) ∈ 𝐵) → ⦋(2nd ‘𝑧) / 𝑦⦌𝐷 ∈ V)))
45 csbeq1a 3872 . . . . . . . . 9 (𝑥 = (1st ‘𝑧) → ⦋(2nd ‘𝑧) / 𝑦⦌𝐷 = ⦋(1st ‘𝑧) / 𝑥⦌⦋(2nd ‘𝑧) / 𝑦⦌𝐷)
4645eleq1d 2860 . . . . . . . 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 3484 . . . . . . 7 ((𝜑 ∧ 𝑥 ∈ 𝐴 ∧ 𝑦 ∈ 𝐵) → 𝐷 ∈ V)
509, 10, 11, 38, 41, 44, 47, 49vtocl2gf 3542 . . . . . 6 (((2nd ‘𝑧) ∈ V ∧ (1st ‘𝑧) ∈ V) → ((𝜑 ∧ (1st ‘𝑧) ∈ 𝐴 ∧ (2nd ‘𝑧) ∈ 𝐵) → ⦋(1st ‘𝑧) / 𝑥⦌⦋(2nd ‘𝑧) / 𝑦⦌𝐷 ∈ V))
517, 8, 50mp2an 705 . . . . 5 ((𝜑 ∧ (1st ‘𝑧) ∈ 𝐴 ∧ (2nd ‘𝑧) ∈ 𝐵) → ⦋(1st ‘𝑧) / 𝑥⦌⦋(2nd ‘𝑧) / 𝑦⦌𝐷 ∈ V)
52513expb 1139 . . . 4 ((𝜑 ∧ ((1st ‘𝑧) ∈ 𝐴 ∧ (2nd ‘𝑧) ∈ 𝐵)) → ⦋(1st ‘𝑧) / 𝑥⦌⦋(2nd ‘𝑧) / 𝑦⦌𝐷 ∈ V)
536, 52sylan2 605 . . 3 ((𝜑 ∧ 𝑧 ∈ (𝐴 × 𝐵)) → ⦋(1st ‘𝑧) / 𝑥⦌⦋(2nd ‘𝑧) / 𝑦⦌𝐷 ∈ V)
54 offval22.f . . . 4 (𝜑 → 𝐹 = (𝑥 ∈ 𝐴, 𝑦 ∈ 𝐵 ↦ 𝐶))
55 mpompts 8130 . . . 4 (𝑥 ∈ 𝐴, 𝑦 ∈ 𝐵 ↦ 𝐶) = (𝑧 ∈ (𝐴 × 𝐵) ↦ ⦋(1st ‘𝑧) / 𝑥⦌⦋(2nd ‘𝑧) / 𝑦⦌𝐶)
5654, 55eqtrdi 2825 . . 3 (𝜑 → 𝐹 = (𝑧 ∈ (𝐴 × 𝐵) ↦ ⦋(1st ‘𝑧) / 𝑥⦌⦋(2nd ‘𝑧) / 𝑦⦌𝐶))
57 offval22.g . . . 4 (𝜑 → 𝐺 = (𝑥 ∈ 𝐴, 𝑦 ∈ 𝐵 ↦ 𝐷))
58 mpompts 8130 . . . 4 (𝑥 ∈ 𝐴, 𝑦 ∈ 𝐵 ↦ 𝐷) = (𝑧 ∈ (𝐴 × 𝐵) ↦ ⦋(1st ‘𝑧) / 𝑥⦌⦋(2nd ‘𝑧) / 𝑦⦌𝐷)
5957, 58eqtrdi 2825 . . 3 (𝜑 → 𝐺 = (𝑧 ∈ (𝐴 × 𝐵) ↦ ⦋(1st ‘𝑧) / 𝑥⦌⦋(2nd ‘𝑧) / 𝑦⦌𝐷))
603, 35, 53, 56, 59offval2 7764 . 2 (𝜑 → (𝐹 ∘f 𝑅𝐺) = (𝑧 ∈ (𝐴 × 𝐵) ↦ (⦋(1st ‘𝑧) / 𝑥⦌⦋(2nd ‘𝑧) / 𝑦⦌𝐶𝑅⦋(1st ‘𝑧) / 𝑥⦌⦋(2nd ‘𝑧) / 𝑦⦌𝐷)))
61 csbov12g 7516 . . . . . . 7 ((2nd ‘𝑧) ∈ V → ⦋(2nd ‘𝑧) / 𝑦⦌(𝐶𝑅𝐷) = (⦋(2nd ‘𝑧) / 𝑦⦌𝐶𝑅⦋(2nd ‘𝑧) / 𝑦⦌𝐷))
6261csbeq2dv 3865 . . . . . 6 ((2nd ‘𝑧) ∈ V → ⦋(1st ‘𝑧) / 𝑥⦌⦋(2nd ‘𝑧) / 𝑦⦌(𝐶𝑅𝐷) = ⦋(1st ‘𝑧) / 𝑥⦌(⦋(2nd ‘𝑧) / 𝑦⦌𝐶𝑅⦋(2nd ‘𝑧) / 𝑦⦌𝐷))
637, 62ax-mp 5 . . . . 5 ⦋(1st ‘𝑧) / 𝑥⦌⦋(2nd ‘𝑧) / 𝑦⦌(𝐶𝑅𝐷) = ⦋(1st ‘𝑧) / 𝑥⦌(⦋(2nd ‘𝑧) / 𝑦⦌𝐶𝑅⦋(2nd ‘𝑧) / 𝑦⦌𝐷)
64 csbov12g 7516 . . . . . 6 ((1st ‘𝑧) ∈ V → ⦋(1st ‘𝑧) / 𝑥⦌(⦋(2nd ‘𝑧) / 𝑦⦌𝐶𝑅⦋(2nd ‘𝑧) / 𝑦⦌𝐷) = (⦋(1st ‘𝑧) / 𝑥⦌⦋(2nd ‘𝑧) / 𝑦⦌𝐶𝑅⦋(1st ‘𝑧) / 𝑥⦌⦋(2nd ‘𝑧) / 𝑦⦌𝐷))
658, 64ax-mp 5 . . . . 5 ⦋(1st ‘𝑧) / 𝑥⦌(⦋(2nd ‘𝑧) / 𝑦⦌𝐶𝑅⦋(2nd ‘𝑧) / 𝑦⦌𝐷) = (⦋(1st ‘𝑧) / 𝑥⦌⦋(2nd ‘𝑧) / 𝑦⦌𝐶𝑅⦋(1st ‘𝑧) / 𝑥⦌⦋(2nd ‘𝑧) / 𝑦⦌𝐷)
6663, 65eqtr2i 2798 . . . 4 (⦋(1st ‘𝑧) / 𝑥⦌⦋(2nd ‘𝑧) / 𝑦⦌𝐶𝑅⦋(1st ‘𝑧) / 𝑥⦌⦋(2nd ‘𝑧) / 𝑦⦌𝐷) = ⦋(1st ‘𝑧) / 𝑥⦌⦋(2nd ‘𝑧) / 𝑦⦌(𝐶𝑅𝐷)
6766mpteq2i 5215 . . 3 (𝑧 ∈ (𝐴 × 𝐵) ↦ (⦋(1st ‘𝑧) / 𝑥⦌⦋(2nd ‘𝑧) / 𝑦⦌𝐶𝑅⦋(1st ‘𝑧) / 𝑥⦌⦋(2nd ‘𝑧) / 𝑦⦌𝐷)) = (𝑧 ∈ (𝐴 × 𝐵) ↦ ⦋(1st ‘𝑧) / 𝑥⦌⦋(2nd ‘𝑧) / 𝑦⦌(𝐶𝑅𝐷))
68 mpompts 8130 . . 3 (𝑥 ∈ 𝐴, 𝑦 ∈ 𝐵 ↦ (𝐶𝑅𝐷)) = (𝑧 ∈ (𝐴 × 𝐵) ↦ ⦋(1st ‘𝑧) / 𝑥⦌⦋(2nd ‘𝑧) / 𝑦⦌(𝐶𝑅𝐷))
6967, 68eqtr4i 2800 . 2 (𝑧 ∈ (𝐴 × 𝐵) ↦ (⦋(1st ‘𝑧) / 𝑥⦌⦋(2nd ‘𝑧) / 𝑦⦌𝐶𝑅⦋(1st ‘𝑧) / 𝑥⦌⦋(2nd ‘𝑧) / 𝑦⦌𝐷)) = (𝑥 ∈ 𝐴, 𝑦 ∈ 𝐵 ↦ (𝐶𝑅𝐷))
7060, 69eqtrdi 2825 1 (𝜑 → (𝐹 ∘f 𝑅𝐺) = (𝑥 ∈ 𝐴, 𝑦 ∈ 𝐵 ↦ (𝐶𝑅𝐷)))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ∧ wa 401   ∧ w3a 1104   = wceq 1572   ∈ wcel 2156  Vcvv 3461  ⦋csb 3858   ↦ cmpt 5200   × cxp 5664  ‘cfv 6579  (class class class)co 7470   ∈ cmpo 7472   ∘f cof 7742  1st c1st 8052  2nd c2nd 8053
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1834  ax-4 1848  ax-5 1951  ax-6 2009  ax-7 2050  ax-8 2158  ax-9 2166  ax-10 2189  ax-11 2206  ax-12 2225  ax-ext 2746  ax-rep 5246  ax-sep 5263  ax-nul 5274  ax-pow 5342  ax-pr 5406  ax-un 7802
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3an 1106  df-tru 1575  df-fal 1585  df-ex 1819  df-nf 1823  df-sb 2110  df-mo 2576  df-eu 2606  df-clab 2753  df-cleq 2766  df-clel 2850  df-nfc 2924  df-ne 2971  df-ral 3092  df-rex 3102  df-reu 3377  df-rab 3424  df-v 3463  df-sbc 3750  df-csb 3859  df-ss 3908  df-dif 4057  df-in 4101  df-un 4161  df-nul 4289  df-if 4493  df-pw 4569  df-sn 4596  df-pr 4598  df-op 4849  df-uni 4881  df-iun 4966  df-br 5117  df-opab 5182  df-mpt 5201  df-id 5561  df-xp 5672  df-rel 5673  df-cnv 5674  df-co 5675  df-dm 5676  df-rn 5677  df-res 5678  df-ima 5679  df-iota 6533  df-fun 6581  df-fn 6582  df-f 6583  df-f1 6584  df-fo 6585  df-f1o 6586  df-fv 6587  df-ov 7473  df-oprab 7474  df-mpo 7475  df-of 7744  df-1st 8054  df-2nd 8055
This theorem is used by:  matsc  22873  mdetrsca2  23027  mdetrlin2  23030  mdetunilem5  23039  smadiadetglem2  23095  mat2pmatghm  23156  pm2mpghm  23242  fedgmullem1  34463  fedgmullem2  34464
  Copyright terms: Public domain W3C validator