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

Theorem offval22 8104
Description: The function operation expressed as a mapping, variation of offval2 7717. (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 7769 . . 3 (𝜑 → (𝐴 × 𝐵) ∈ V)
4 xp1st 8037 . . . . 5 (𝑧 ∈ (𝐴 × 𝐵) → (1st ‘𝑧) ∈ 𝐴)
5 xp2nd 8038 . . . . 5 (𝑧 ∈ (𝐴 × 𝐵) → (2nd ‘𝑧) ∈ 𝐵)
64, 5jca 521 . . . 4 (𝑧 ∈ (𝐴 × 𝐵) → ((1st ‘𝑧) ∈ 𝐴 ∧ (2nd ‘𝑧) ∈ 𝐵))
7 fvex 6903 . . . . . 6 (2nd ‘𝑧) ∈ V
8 fvex 6903 . . . . . 6 (1st ‘𝑧) ∈ V
9 nfcv 2922 . . . . . . 7 Ⅎ𝑦(2nd ‘𝑧)
10 nfcv 2922 . . . . . . 7 Ⅎ𝑥(2nd ‘𝑧)
11 nfcv 2922 . . . . . . 7 Ⅎ𝑥(1st ‘𝑧)
12 nfv 1946 . . . . . . . 8 Ⅎ𝑦(𝜑 ∧ 𝑥 ∈ 𝐴 ∧ (2nd ‘𝑧) ∈ 𝐵)
13 nfcsb1v 3871 . . . . . . . . 9 Ⅎ𝑦⦋(2nd ‘𝑧) / 𝑦⦌𝐶
1413nfel1 2938 . . . . . . . 8 Ⅎ𝑦⦋(2nd ‘𝑧) / 𝑦⦌𝐶 ∈ V
1512, 14nfim 1928 . . . . . . 7 Ⅎ𝑦((𝜑 ∧ 𝑥 ∈ 𝐴 ∧ (2nd ‘𝑧) ∈ 𝐵) → ⦋(2nd ‘𝑧) / 𝑦⦌𝐶 ∈ V)
16 nfv 1946 . . . . . . . 8 Ⅎ𝑥(𝜑 ∧ (1st ‘𝑧) ∈ 𝐴 ∧ (2nd ‘𝑧) ∈ 𝐵)
17 nfcsb1v 3871 . . . . . . . . 9 Ⅎ𝑥⦋(1st ‘𝑧) / 𝑥⦌⦋(2nd ‘𝑧) / 𝑦⦌𝐶
1817nfel1 2938 . . . . . . . 8 Ⅎ𝑥⦋(1st ‘𝑧) / 𝑥⦌⦋(2nd ‘𝑧) / 𝑦⦌𝐶 ∈ V
1916, 18nfim 1928 . . . . . . 7 Ⅎ𝑥((𝜑 ∧ (1st ‘𝑧) ∈ 𝐴 ∧ (2nd ‘𝑧) ∈ 𝐵) → ⦋(1st ‘𝑧) / 𝑥⦌⦋(2nd ‘𝑧) / 𝑦⦌𝐶 ∈ V)
20 eleq1 2848 . . . . . . . . 9 (𝑦 = (2nd ‘𝑧) → (𝑦 ∈ 𝐵 ↔ (2nd ‘𝑧) ∈ 𝐵))
21203anbi3d 1470 . . . . . . . 8 (𝑦 = (2nd ‘𝑧) → ((𝜑 ∧ 𝑥 ∈ 𝐴 ∧ 𝑦 ∈ 𝐵) ↔ (𝜑 ∧ 𝑥 ∈ 𝐴 ∧ (2nd ‘𝑧) ∈ 𝐵)))
22 csbeq1a 3861 . . . . . . . . 9 (𝑦 = (2nd ‘𝑧) → 𝐶 = ⦋(2nd ‘𝑧) / 𝑦⦌𝐶)
2322eleq1d 2845 . . . . . . . 8 (𝑦 = (2nd ‘𝑧) → (𝐶 ∈ V ↔ ⦋(2nd ‘𝑧) / 𝑦⦌𝐶 ∈ V))
2421, 23imbi12d 347 . . . . . . 7 (𝑦 = (2nd ‘𝑧) → (((𝜑 ∧ 𝑥 ∈ 𝐴 ∧ 𝑦 ∈ 𝐵) → 𝐶 ∈ V) ↔ ((𝜑 ∧ 𝑥 ∈ 𝐴 ∧ (2nd ‘𝑧) ∈ 𝐵) → ⦋(2nd ‘𝑧) / 𝑦⦌𝐶 ∈ V)))
25 eleq1 2848 . . . . . . . . 9 (𝑥 = (1st ‘𝑧) → (𝑥 ∈ 𝐴 ↔ (1st ‘𝑧) ∈ 𝐴))
26253anbi2d 1469 . . . . . . . 8 (𝑥 = (1st ‘𝑧) → ((𝜑 ∧ 𝑥 ∈ 𝐴 ∧ (2nd ‘𝑧) ∈ 𝐵) ↔ (𝜑 ∧ (1st ‘𝑧) ∈ 𝐴 ∧ (2nd ‘𝑧) ∈ 𝐵)))
27 csbeq1a 3861 . . . . . . . . 9 (𝑥 = (1st ‘𝑧) → ⦋(2nd ‘𝑧) / 𝑦⦌𝐶 = ⦋(1st ‘𝑧) / 𝑥⦌⦋(2nd ‘𝑧) / 𝑦⦌𝐶)
2827eleq1d 2845 . . . . . . . 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 3473 . . . . . . 7 ((𝜑 ∧ 𝑥 ∈ 𝐴 ∧ 𝑦 ∈ 𝐵) → 𝐶 ∈ V)
329, 10, 11, 15, 19, 24, 29, 31vtocl2gf 3531 . . . . . 6 (((2nd ‘𝑧) ∈ V ∧ (1st ‘𝑧) ∈ V) → ((𝜑 ∧ (1st ‘𝑧) ∈ 𝐴 ∧ (2nd ‘𝑧) ∈ 𝐵) → ⦋(1st ‘𝑧) / 𝑥⦌⦋(2nd ‘𝑧) / 𝑦⦌𝐶 ∈ V))
337, 8, 32mp2an 705 . . . . 5 ((𝜑 ∧ (1st ‘𝑧) ∈ 𝐴 ∧ (2nd ‘𝑧) ∈ 𝐵) → ⦋(1st ‘𝑧) / 𝑥⦌⦋(2nd ‘𝑧) / 𝑦⦌𝐶 ∈ V)
34333expb 1138 . . . 4 ((𝜑 ∧ ((1st ‘𝑧) ∈ 𝐴 ∧ (2nd ‘𝑧) ∈ 𝐵)) → ⦋(1st ‘𝑧) / 𝑥⦌⦋(2nd ‘𝑧) / 𝑦⦌𝐶 ∈ V)
356, 34sylan2 605 . . 3 ((𝜑 ∧ 𝑧 ∈ (𝐴 × 𝐵)) → ⦋(1st ‘𝑧) / 𝑥⦌⦋(2nd ‘𝑧) / 𝑦⦌𝐶 ∈ V)
36 nfcsb1v 3871 . . . . . . . . 9 Ⅎ𝑦⦋(2nd ‘𝑧) / 𝑦⦌𝐷
3736nfel1 2938 . . . . . . . 8 Ⅎ𝑦⦋(2nd ‘𝑧) / 𝑦⦌𝐷 ∈ V
3812, 37nfim 1928 . . . . . . 7 Ⅎ𝑦((𝜑 ∧ 𝑥 ∈ 𝐴 ∧ (2nd ‘𝑧) ∈ 𝐵) → ⦋(2nd ‘𝑧) / 𝑦⦌𝐷 ∈ V)
39 nfcsb1v 3871 . . . . . . . . 9 Ⅎ𝑥⦋(1st ‘𝑧) / 𝑥⦌⦋(2nd ‘𝑧) / 𝑦⦌𝐷
4039nfel1 2938 . . . . . . . 8 Ⅎ𝑥⦋(1st ‘𝑧) / 𝑥⦌⦋(2nd ‘𝑧) / 𝑦⦌𝐷 ∈ V
4116, 40nfim 1928 . . . . . . 7 Ⅎ𝑥((𝜑 ∧ (1st ‘𝑧) ∈ 𝐴 ∧ (2nd ‘𝑧) ∈ 𝐵) → ⦋(1st ‘𝑧) / 𝑥⦌⦋(2nd ‘𝑧) / 𝑦⦌𝐷 ∈ V)
42 csbeq1a 3861 . . . . . . . . 9 (𝑦 = (2nd ‘𝑧) → 𝐷 = ⦋(2nd ‘𝑧) / 𝑦⦌𝐷)
4342eleq1d 2845 . . . . . . . 8 (𝑦 = (2nd ‘𝑧) → (𝐷 ∈ V ↔ ⦋(2nd ‘𝑧) / 𝑦⦌𝐷 ∈ V))
4421, 43imbi12d 347 . . . . . . 7 (𝑦 = (2nd ‘𝑧) → (((𝜑 ∧ 𝑥 ∈ 𝐴 ∧ 𝑦 ∈ 𝐵) → 𝐷 ∈ V) ↔ ((𝜑 ∧ 𝑥 ∈ 𝐴 ∧ (2nd ‘𝑧) ∈ 𝐵) → ⦋(2nd ‘𝑧) / 𝑦⦌𝐷 ∈ V)))
45 csbeq1a 3861 . . . . . . . . 9 (𝑥 = (1st ‘𝑧) → ⦋(2nd ‘𝑧) / 𝑦⦌𝐷 = ⦋(1st ‘𝑧) / 𝑥⦌⦋(2nd ‘𝑧) / 𝑦⦌𝐷)
4645eleq1d 2845 . . . . . . . 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 3473 . . . . . . 7 ((𝜑 ∧ 𝑥 ∈ 𝐴 ∧ 𝑦 ∈ 𝐵) → 𝐷 ∈ V)
509, 10, 11, 38, 41, 44, 47, 49vtocl2gf 3531 . . . . . 6 (((2nd ‘𝑧) ∈ V ∧ (1st ‘𝑧) ∈ V) → ((𝜑 ∧ (1st ‘𝑧) ∈ 𝐴 ∧ (2nd ‘𝑧) ∈ 𝐵) → ⦋(1st ‘𝑧) / 𝑥⦌⦋(2nd ‘𝑧) / 𝑦⦌𝐷 ∈ V))
517, 8, 50mp2an 705 . . . . 5 ((𝜑 ∧ (1st ‘𝑧) ∈ 𝐴 ∧ (2nd ‘𝑧) ∈ 𝐵) → ⦋(1st ‘𝑧) / 𝑥⦌⦋(2nd ‘𝑧) / 𝑦⦌𝐷 ∈ V)
52513expb 1138 . . . 4 ((𝜑 ∧ ((1st ‘𝑧) ∈ 𝐴 ∧ (2nd ‘𝑧) ∈ 𝐵)) → ⦋(1st ‘𝑧) / 𝑥⦌⦋(2nd ‘𝑧) / 𝑦⦌𝐷 ∈ V)
536, 52sylan2 605 . . 3 ((𝜑 ∧ 𝑧 ∈ (𝐴 × 𝐵)) → ⦋(1st ‘𝑧) / 𝑥⦌⦋(2nd ‘𝑧) / 𝑦⦌𝐷 ∈ V)
54 offval22.f . . . 4 (𝜑 → 𝐹 = (𝑥 ∈ 𝐴, 𝑦 ∈ 𝐵 ↦ 𝐶))
55 mpompts 8081 . . . 4 (𝑥 ∈ 𝐴, 𝑦 ∈ 𝐵 ↦ 𝐶) = (𝑧 ∈ (𝐴 × 𝐵) ↦ ⦋(1st ‘𝑧) / 𝑥⦌⦋(2nd ‘𝑧) / 𝑦⦌𝐶)
5654, 55eqtrdi 2811 . . 3 (𝜑 → 𝐹 = (𝑧 ∈ (𝐴 × 𝐵) ↦ ⦋(1st ‘𝑧) / 𝑥⦌⦋(2nd ‘𝑧) / 𝑦⦌𝐶))
57 offval22.g . . . 4 (𝜑 → 𝐺 = (𝑥 ∈ 𝐴, 𝑦 ∈ 𝐵 ↦ 𝐷))
58 mpompts 8081 . . . 4 (𝑥 ∈ 𝐴, 𝑦 ∈ 𝐵 ↦ 𝐷) = (𝑧 ∈ (𝐴 × 𝐵) ↦ ⦋(1st ‘𝑧) / 𝑥⦌⦋(2nd ‘𝑧) / 𝑦⦌𝐷)
5957, 58eqtrdi 2811 . . 3 (𝜑 → 𝐺 = (𝑧 ∈ (𝐴 × 𝐵) ↦ ⦋(1st ‘𝑧) / 𝑥⦌⦋(2nd ‘𝑧) / 𝑦⦌𝐷))
603, 35, 53, 56, 59offval2 7717 . 2 (𝜑 → (𝐹 ∘f 𝑅𝐺) = (𝑧 ∈ (𝐴 × 𝐵) ↦ (⦋(1st ‘𝑧) / 𝑥⦌⦋(2nd ‘𝑧) / 𝑦⦌𝐶𝑅⦋(1st ‘𝑧) / 𝑥⦌⦋(2nd ‘𝑧) / 𝑦⦌𝐷)))
61 csbov12g 7470 . . . . . . 7 ((2nd ‘𝑧) ∈ V → ⦋(2nd ‘𝑧) / 𝑦⦌(𝐶𝑅𝐷) = (⦋(2nd ‘𝑧) / 𝑦⦌𝐶𝑅⦋(2nd ‘𝑧) / 𝑦⦌𝐷))
6261csbeq2dv 3854 . . . . . 6 ((2nd ‘𝑧) ∈ V → ⦋(1st ‘𝑧) / 𝑥⦌⦋(2nd ‘𝑧) / 𝑦⦌(𝐶𝑅𝐷) = ⦋(1st ‘𝑧) / 𝑥⦌(⦋(2nd ‘𝑧) / 𝑦⦌𝐶𝑅⦋(2nd ‘𝑧) / 𝑦⦌𝐷))
637, 62ax-mp 5 . . . . 5 ⦋(1st ‘𝑧) / 𝑥⦌⦋(2nd ‘𝑧) / 𝑦⦌(𝐶𝑅𝐷) = ⦋(1st ‘𝑧) / 𝑥⦌(⦋(2nd ‘𝑧) / 𝑦⦌𝐶𝑅⦋(2nd ‘𝑧) / 𝑦⦌𝐷)
64 csbov12g 7470 . . . . . 6 ((1st ‘𝑧) ∈ V → ⦋(1st ‘𝑧) / 𝑥⦌(⦋(2nd ‘𝑧) / 𝑦⦌𝐶𝑅⦋(2nd ‘𝑧) / 𝑦⦌𝐷) = (⦋(1st ‘𝑧) / 𝑥⦌⦋(2nd ‘𝑧) / 𝑦⦌𝐶𝑅⦋(1st ‘𝑧) / 𝑥⦌⦋(2nd ‘𝑧) / 𝑦⦌𝐷))
658, 64ax-mp 5 . . . . 5 ⦋(1st ‘𝑧) / 𝑥⦌(⦋(2nd ‘𝑧) / 𝑦⦌𝐶𝑅⦋(2nd ‘𝑧) / 𝑦⦌𝐷) = (⦋(1st ‘𝑧) / 𝑥⦌⦋(2nd ‘𝑧) / 𝑦⦌𝐶𝑅⦋(1st ‘𝑧) / 𝑥⦌⦋(2nd ‘𝑧) / 𝑦⦌𝐷)
6663, 65eqtr2i 2784 . . . 4 (⦋(1st ‘𝑧) / 𝑥⦌⦋(2nd ‘𝑧) / 𝑦⦌𝐶𝑅⦋(1st ‘𝑧) / 𝑥⦌⦋(2nd ‘𝑧) / 𝑦⦌𝐷) = ⦋(1st ‘𝑧) / 𝑥⦌⦋(2nd ‘𝑧) / 𝑦⦌(𝐶𝑅𝐷)
6766mpteq2i 5200 . . 3 (𝑧 ∈ (𝐴 × 𝐵) ↦ (⦋(1st ‘𝑧) / 𝑥⦌⦋(2nd ‘𝑧) / 𝑦⦌𝐶𝑅⦋(1st ‘𝑧) / 𝑥⦌⦋(2nd ‘𝑧) / 𝑦⦌𝐷)) = (𝑧 ∈ (𝐴 × 𝐵) ↦ ⦋(1st ‘𝑧) / 𝑥⦌⦋(2nd ‘𝑧) / 𝑦⦌(𝐶𝑅𝐷))
68 mpompts 8081 . . 3 (𝑥 ∈ 𝐴, 𝑦 ∈ 𝐵 ↦ (𝐶𝑅𝐷)) = (𝑧 ∈ (𝐴 × 𝐵) ↦ ⦋(1st ‘𝑧) / 𝑥⦌⦋(2nd ‘𝑧) / 𝑦⦌(𝐶𝑅𝐷))
6967, 68eqtr4i 2786 . 2 (𝑧 ∈ (𝐴 × 𝐵) ↦ (⦋(1st ‘𝑧) / 𝑥⦌⦋(2nd ‘𝑧) / 𝑦⦌𝐶𝑅⦋(1st ‘𝑧) / 𝑥⦌⦋(2nd ‘𝑧) / 𝑦⦌𝐷)) = (𝑥 ∈ 𝐴, 𝑦 ∈ 𝐵 ↦ (𝐶𝑅𝐷))
7060, 69eqtrdi 2811 1 (𝜑 → (𝐹 ∘f 𝑅𝐺) = (𝑥 ∈ 𝐴, 𝑦 ∈ 𝐵 ↦ (𝐶𝑅𝐷)))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ∧ wa 401   ∧ w3a 1103   = wceq 1569   ∈ wcel 2144  Vcvv 3450  ⦋csb 3847   ↦ cmpt 5185   × cxp 5649  ‘cfv 6543  (class class class)co 7424   ∈ cmpo 7426   ∘f cof 7695  1st c1st 8003  2nd c2nd 8004
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1827  ax-4 1841  ax-5 1942  ax-6 1999  ax-7 2040  ax-8 2146  ax-9 2154  ax-10 2177  ax-11 2193  ax-12 2212  ax-ext 2732  ax-rep 5231  ax-sep 5248  ax-nul 5259  ax-pow 5327  ax-pr 5391  ax-un 7755
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3an 1105  df-tru 1572  df-fal 1582  df-ex 1812  df-nf 1816  df-sb 2099  df-mo 2564  df-eu 2594  df-clab 2739  df-cleq 2752  df-clel 2835  df-nfc 2909  df-ne 2956  df-ral 3077  df-rex 3087  df-reu 3366  df-rab 3413  df-v 3452  df-sbc 3739  df-csb 3848  df-ss 3897  df-dif 4046  df-in 4090  df-un 4150  df-nul 4278  df-if 4482  df-pw 4558  df-sn 4585  df-pr 4587  df-op 4835  df-uni 4867  df-iun 4952  df-br 5103  df-opab 5167  df-mpt 5186  df-id 5546  df-xp 5657  df-rel 5658  df-cnv 5659  df-co 5660  df-dm 5661  df-rn 5662  df-res 5663  df-ima 5664  df-iota 6497  df-fun 6545  df-fn 6546  df-f 6547  df-f1 6548  df-fo 6549  df-f1o 6550  df-fv 6551  df-ov 7427  df-oprab 7428  df-mpo 7429  df-of 7697  df-1st 8005  df-2nd 8006
This theorem is used by:  matsc  22774  mdetrsca2  22928  mdetrlin2  22931  mdetunilem5  22940  smadiadetglem2  22996  mat2pmatghm  23057  pm2mpghm  23143  fedgmullem1  34311  fedgmullem2  34312
  Copyright terms: Public domain W3C validator