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

Theorem offval22 8099
Description: The function operation expressed as a mapping, variation of offval2 7713. (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 7765 . . 3 (𝜑 → (𝐴 × 𝐵) ∈ V)
4 xp1st 8033 . . . . 5 (𝑧 ∈ (𝐴 × 𝐵) → (1st ‘𝑧) ∈ 𝐴)
5 xp2nd 8034 . . . . 5 (𝑧 ∈ (𝐴 × 𝐵) → (2nd ‘𝑧) ∈ 𝐵)
64, 5jca 521 . . . 4 (𝑧 ∈ (𝐴 × 𝐵) → ((1st ‘𝑧) ∈ 𝐴 ∧ (2nd ‘𝑧) ∈ 𝐵))
7 fvex 6898 . . . . . 6 (2nd ‘𝑧) ∈ V
8 fvex 6898 . . . . . 6 (1st ‘𝑧) ∈ V
9 nfcv 2923 . . . . . . 7 Ⅎ𝑦(2nd ‘𝑧)
10 nfcv 2923 . . . . . . 7 Ⅎ𝑥(2nd ‘𝑧)
11 nfcv 2923 . . . . . . 7 Ⅎ𝑥(1st ‘𝑧)
12 nfv 1947 . . . . . . . 8 Ⅎ𝑦(𝜑 ∧ 𝑥 ∈ 𝐴 ∧ (2nd ‘𝑧) ∈ 𝐵)
13 nfcsb1v 3871 . . . . . . . . 9 Ⅎ𝑦⦋(2nd ‘𝑧) / 𝑦⦌𝐶
1413nfel1 2939 . . . . . . . 8 Ⅎ𝑦⦋(2nd ‘𝑧) / 𝑦⦌𝐶 ∈ V
1512, 14nfim 1929 . . . . . . 7 Ⅎ𝑦((𝜑 ∧ 𝑥 ∈ 𝐴 ∧ (2nd ‘𝑧) ∈ 𝐵) → ⦋(2nd ‘𝑧) / 𝑦⦌𝐶 ∈ V)
16 nfv 1947 . . . . . . . 8 Ⅎ𝑥(𝜑 ∧ (1st ‘𝑧) ∈ 𝐴 ∧ (2nd ‘𝑧) ∈ 𝐵)
17 nfcsb1v 3871 . . . . . . . . 9 Ⅎ𝑥⦋(1st ‘𝑧) / 𝑥⦌⦋(2nd ‘𝑧) / 𝑦⦌𝐶
1817nfel1 2939 . . . . . . . 8 Ⅎ𝑥⦋(1st ‘𝑧) / 𝑥⦌⦋(2nd ‘𝑧) / 𝑦⦌𝐶 ∈ V
1916, 18nfim 1929 . . . . . . 7 Ⅎ𝑥((𝜑 ∧ (1st ‘𝑧) ∈ 𝐴 ∧ (2nd ‘𝑧) ∈ 𝐵) → ⦋(1st ‘𝑧) / 𝑥⦌⦋(2nd ‘𝑧) / 𝑦⦌𝐶 ∈ V)
20 eleq1 2849 . . . . . . . . 9 (𝑦 = (2nd ‘𝑧) → (𝑦 ∈ 𝐵 ↔ (2nd ‘𝑧) ∈ 𝐵))
21203anbi3d 1470 . . . . . . . 8 (𝑦 = (2nd ‘𝑧) → ((𝜑 ∧ 𝑥 ∈ 𝐴 ∧ 𝑦 ∈ 𝐵) ↔ (𝜑 ∧ 𝑥 ∈ 𝐴 ∧ (2nd ‘𝑧) ∈ 𝐵)))
22 csbeq1a 3861 . . . . . . . . 9 (𝑦 = (2nd ‘𝑧) → 𝐶 = ⦋(2nd ‘𝑧) / 𝑦⦌𝐶)
2322eleq1d 2846 . . . . . . . 8 (𝑦 = (2nd ‘𝑧) → (𝐶 ∈ V ↔ ⦋(2nd ‘𝑧) / 𝑦⦌𝐶 ∈ V))
2421, 23imbi12d 347 . . . . . . 7 (𝑦 = (2nd ‘𝑧) → (((𝜑 ∧ 𝑥 ∈ 𝐴 ∧ 𝑦 ∈ 𝐵) → 𝐶 ∈ V) ↔ ((𝜑 ∧ 𝑥 ∈ 𝐴 ∧ (2nd ‘𝑧) ∈ 𝐵) → ⦋(2nd ‘𝑧) / 𝑦⦌𝐶 ∈ V)))
25 eleq1 2849 . . . . . . . . 9 (𝑥 = (1st ‘𝑧) → (𝑥 ∈ 𝐴 ↔ (1st ‘𝑧) ∈ 𝐴))
26253anbi2d 1469 . . . . . . . 8 (𝑥 = (1st ‘𝑧) → ((𝜑 ∧ 𝑥 ∈ 𝐴 ∧ (2nd ‘𝑧) ∈ 𝐵) ↔ (𝜑 ∧ (1st ‘𝑧) ∈ 𝐴 ∧ (2nd ‘𝑧) ∈ 𝐵)))
27 csbeq1a 3861 . . . . . . . . 9 (𝑥 = (1st ‘𝑧) → ⦋(2nd ‘𝑧) / 𝑦⦌𝐶 = ⦋(1st ‘𝑧) / 𝑥⦌⦋(2nd ‘𝑧) / 𝑦⦌𝐶)
2827eleq1d 2846 . . . . . . . 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 3474 . . . . . . 7 ((𝜑 ∧ 𝑥 ∈ 𝐴 ∧ 𝑦 ∈ 𝐵) → 𝐶 ∈ V)
329, 10, 11, 15, 19, 24, 29, 31vtocl2gf 3532 . . . . . 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 2939 . . . . . . . 8 Ⅎ𝑦⦋(2nd ‘𝑧) / 𝑦⦌𝐷 ∈ V
3812, 37nfim 1929 . . . . . . 7 Ⅎ𝑦((𝜑 ∧ 𝑥 ∈ 𝐴 ∧ (2nd ‘𝑧) ∈ 𝐵) → ⦋(2nd ‘𝑧) / 𝑦⦌𝐷 ∈ V)
39 nfcsb1v 3871 . . . . . . . . 9 Ⅎ𝑥⦋(1st ‘𝑧) / 𝑥⦌⦋(2nd ‘𝑧) / 𝑦⦌𝐷
4039nfel1 2939 . . . . . . . 8 Ⅎ𝑥⦋(1st ‘𝑧) / 𝑥⦌⦋(2nd ‘𝑧) / 𝑦⦌𝐷 ∈ V
4116, 40nfim 1929 . . . . . . 7 Ⅎ𝑥((𝜑 ∧ (1st ‘𝑧) ∈ 𝐴 ∧ (2nd ‘𝑧) ∈ 𝐵) → ⦋(1st ‘𝑧) / 𝑥⦌⦋(2nd ‘𝑧) / 𝑦⦌𝐷 ∈ V)
42 csbeq1a 3861 . . . . . . . . 9 (𝑦 = (2nd ‘𝑧) → 𝐷 = ⦋(2nd ‘𝑧) / 𝑦⦌𝐷)
4342eleq1d 2846 . . . . . . . 8 (𝑦 = (2nd ‘𝑧) → (𝐷 ∈ V ↔ ⦋(2nd ‘𝑧) / 𝑦⦌𝐷 ∈ V))
4421, 43imbi12d 347 . . . . . . 7 (𝑦 = (2nd ‘𝑧) → (((𝜑 ∧ 𝑥 ∈ 𝐴 ∧ 𝑦 ∈ 𝐵) → 𝐷 ∈ V) ↔ ((𝜑 ∧ 𝑥 ∈ 𝐴 ∧ (2nd ‘𝑧) ∈ 𝐵) → ⦋(2nd ‘𝑧) / 𝑦⦌𝐷 ∈ V)))
45 csbeq1a 3861 . . . . . . . . 9 (𝑥 = (1st ‘𝑧) → ⦋(2nd ‘𝑧) / 𝑦⦌𝐷 = ⦋(1st ‘𝑧) / 𝑥⦌⦋(2nd ‘𝑧) / 𝑦⦌𝐷)
4645eleq1d 2846 . . . . . . . 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 3474 . . . . . . 7 ((𝜑 ∧ 𝑥 ∈ 𝐴 ∧ 𝑦 ∈ 𝐵) → 𝐷 ∈ V)
509, 10, 11, 38, 41, 44, 47, 49vtocl2gf 3532 . . . . . 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 8076 . . . 4 (𝑥 ∈ 𝐴, 𝑦 ∈ 𝐵 ↦ 𝐶) = (𝑧 ∈ (𝐴 × 𝐵) ↦ ⦋(1st ‘𝑧) / 𝑥⦌⦋(2nd ‘𝑧) / 𝑦⦌𝐶)
5654, 55eqtrdi 2812 . . 3 (𝜑 → 𝐹 = (𝑧 ∈ (𝐴 × 𝐵) ↦ ⦋(1st ‘𝑧) / 𝑥⦌⦋(2nd ‘𝑧) / 𝑦⦌𝐶))
57 offval22.g . . . 4 (𝜑 → 𝐺 = (𝑥 ∈ 𝐴, 𝑦 ∈ 𝐵 ↦ 𝐷))
58 mpompts 8076 . . . 4 (𝑥 ∈ 𝐴, 𝑦 ∈ 𝐵 ↦ 𝐷) = (𝑧 ∈ (𝐴 × 𝐵) ↦ ⦋(1st ‘𝑧) / 𝑥⦌⦋(2nd ‘𝑧) / 𝑦⦌𝐷)
5957, 58eqtrdi 2812 . . 3 (𝜑 → 𝐺 = (𝑧 ∈ (𝐴 × 𝐵) ↦ ⦋(1st ‘𝑧) / 𝑥⦌⦋(2nd ‘𝑧) / 𝑦⦌𝐷))
603, 35, 53, 56, 59offval2 7713 . 2 (𝜑 → (𝐹 ∘f 𝑅𝐺) = (𝑧 ∈ (𝐴 × 𝐵) ↦ (⦋(1st ‘𝑧) / 𝑥⦌⦋(2nd ‘𝑧) / 𝑦⦌𝐶𝑅⦋(1st ‘𝑧) / 𝑥⦌⦋(2nd ‘𝑧) / 𝑦⦌𝐷)))
61 csbov12g 7466 . . . . . . 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 7466 . . . . . 6 ((1st ‘𝑧) ∈ V → ⦋(1st ‘𝑧) / 𝑥⦌(⦋(2nd ‘𝑧) / 𝑦⦌𝐶𝑅⦋(2nd ‘𝑧) / 𝑦⦌𝐷) = (⦋(1st ‘𝑧) / 𝑥⦌⦋(2nd ‘𝑧) / 𝑦⦌𝐶𝑅⦋(1st ‘𝑧) / 𝑥⦌⦋(2nd ‘𝑧) / 𝑦⦌𝐷))
658, 64ax-mp 5 . . . . 5 ⦋(1st ‘𝑧) / 𝑥⦌(⦋(2nd ‘𝑧) / 𝑦⦌𝐶𝑅⦋(2nd ‘𝑧) / 𝑦⦌𝐷) = (⦋(1st ‘𝑧) / 𝑥⦌⦋(2nd ‘𝑧) / 𝑦⦌𝐶𝑅⦋(1st ‘𝑧) / 𝑥⦌⦋(2nd ‘𝑧) / 𝑦⦌𝐷)
6663, 65eqtr2i 2785 . . . 4 (⦋(1st ‘𝑧) / 𝑥⦌⦋(2nd ‘𝑧) / 𝑦⦌𝐶𝑅⦋(1st ‘𝑧) / 𝑥⦌⦋(2nd ‘𝑧) / 𝑦⦌𝐷) = ⦋(1st ‘𝑧) / 𝑥⦌⦋(2nd ‘𝑧) / 𝑦⦌(𝐶𝑅𝐷)
6766mpteq2i 5201 . . 3 (𝑧 ∈ (𝐴 × 𝐵) ↦ (⦋(1st ‘𝑧) / 𝑥⦌⦋(2nd ‘𝑧) / 𝑦⦌𝐶𝑅⦋(1st ‘𝑧) / 𝑥⦌⦋(2nd ‘𝑧) / 𝑦⦌𝐷)) = (𝑧 ∈ (𝐴 × 𝐵) ↦ ⦋(1st ‘𝑧) / 𝑥⦌⦋(2nd ‘𝑧) / 𝑦⦌(𝐶𝑅𝐷))
68 mpompts 8076 . . 3 (𝑥 ∈ 𝐴, 𝑦 ∈ 𝐵 ↦ (𝐶𝑅𝐷)) = (𝑧 ∈ (𝐴 × 𝐵) ↦ ⦋(1st ‘𝑧) / 𝑥⦌⦋(2nd ‘𝑧) / 𝑦⦌(𝐶𝑅𝐷))
6967, 68eqtr4i 2787 . 2 (𝑧 ∈ (𝐴 × 𝐵) ↦ (⦋(1st ‘𝑧) / 𝑥⦌⦋(2nd ‘𝑧) / 𝑦⦌𝐶𝑅⦋(1st ‘𝑧) / 𝑥⦌⦋(2nd ‘𝑧) / 𝑦⦌𝐷)) = (𝑥 ∈ 𝐴, 𝑦 ∈ 𝐵 ↦ (𝐶𝑅𝐷))
7060, 69eqtrdi 2812 1 (𝜑 → (𝐹 ∘f 𝑅𝐺) = (𝑥 ∈ 𝐴, 𝑦 ∈ 𝐵 ↦ (𝐶𝑅𝐷)))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ∧ wa 401   ∧ w3a 1103   = wceq 1570   ∈ wcel 2145  Vcvv 3451  ⦋csb 3847   ↦ cmpt 5186   × cxp 5649  ‘cfv 6538  (class class class)co 7420   ∈ cmpo 7422   ∘f cof 7691  1st c1st 7999  2nd c2nd 8000
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1828  ax-4 1842  ax-5 1943  ax-6 2000  ax-7 2041  ax-8 2147  ax-9 2155  ax-10 2178  ax-11 2194  ax-12 2213  ax-ext 2733  ax-rep 5232  ax-sep 5249  ax-nul 5260  ax-pow 5327  ax-pr 5391  ax-un 7751
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3an 1105  df-tru 1573  df-fal 1583  df-ex 1813  df-nf 1817  df-sb 2100  df-mo 2565  df-eu 2595  df-clab 2740  df-cleq 2753  df-clel 2836  df-nfc 2910  df-ne 2957  df-ral 3078  df-rex 3088  df-reu 3367  df-rab 3414  df-v 3453  df-sbc 3740  df-csb 3848  df-dif 3902  df-un 3904  df-in 3906  df-ss 3916  df-nul 4280  df-if 4483  df-pw 4559  df-sn 4585  df-pr 4587  df-op 4591  df-uni 4868  df-iun 4953  df-br 5104  df-opab 5168  df-mpt 5187  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 6494  df-fun 6540  df-fn 6541  df-f 6542  df-f1 6543  df-fo 6544  df-f1o 6545  df-fv 6546  df-ov 7423  df-oprab 7424  df-mpo 7425  df-of 7693  df-1st 8001  df-2nd 8002
This theorem is used by:  matsc  22765  mdetrsca2  22919  mdetrlin2  22922  mdetunilem5  22931  smadiadetglem2  22987  mat2pmatghm  23048  pm2mpghm  23134  fedgmullem1  34261  fedgmullem2  34262
  Copyright terms: Public domain W3C validator