Users' Mathboxes Mathbox for Steven Nguyen < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >   Mathboxes  >  fmpocos Structured version   Visualization version   GIF version

Theorem fmpocos 43480
Description: Composition of two functions. Variation of fmpoco 8132 with more context in the substitution hypothesis for 𝑇. (Contributed by SN, 14-Mar-2025.)
Hypotheses
Ref Expression
fmpocos.1 ((𝜑 ∧ (𝑥 ∈ 𝐴 ∧ 𝑦 ∈ 𝐵)) → 𝑅 ∈ 𝐶)
fmpocos.2 (𝜑 → 𝐹 = (𝑥 ∈ 𝐴, 𝑦 ∈ 𝐵 ↦ 𝑅))
fmpocos.3 (𝜑 → 𝐺 = (𝑧 ∈ 𝐶 ↦ 𝑆))
fmpocos.4 ((𝜑 ∧ (𝑥 ∈ 𝐴 ∧ 𝑦 ∈ 𝐵)) → ⦋𝑅 / 𝑧⦌𝑆 = 𝑇)
Assertion
Ref Expression
fmpocos (𝜑 → (𝐺 ∘ 𝐹) = (𝑥 ∈ 𝐴, 𝑦 ∈ 𝐵 ↦ 𝑇))
Distinct variable groups:   𝑥,𝑦,𝐵   𝑥,𝑧,𝐶,𝑦   𝜑,𝑥,𝑦   𝑥,𝑆,𝑦   𝑥,𝐴,𝑦   𝑧,𝑅   𝑧,𝑇
Allowed substitution hints:   𝜑(𝑧)   𝐴(𝑧)   𝐵(𝑧)   𝑅(𝑥, 𝑦)   𝑆(𝑧)   𝑇(𝑥, 𝑦)   𝐹(𝑥, 𝑦, 𝑧)   𝐺(𝑥, 𝑦, 𝑧)

Proof of Theorem fmpocos
Dummy variables 𝑣 𝑢 𝑤 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 fmpocos.1 . . . . . 6 ((𝜑 ∧ (𝑥 ∈ 𝐴 ∧ 𝑦 ∈ 𝐵)) → 𝑅 ∈ 𝐶)
21ralrimivva 3209 . . . . 5 (𝜑 → ∀𝑥 ∈ 𝐴 ∀𝑦 ∈ 𝐵 𝑅 ∈ 𝐶)
3 eqid 2763 . . . . . 6 (𝑥 ∈ 𝐴, 𝑦 ∈ 𝐵 ↦ 𝑅) = (𝑥 ∈ 𝐴, 𝑦 ∈ 𝐵 ↦ 𝑅)
43fmpo 8104 . . . . 5 (∀𝑥 ∈ 𝐴 ∀𝑦 ∈ 𝐵 𝑅 ∈ 𝐶 ↔ (𝑥 ∈ 𝐴, 𝑦 ∈ 𝐵 ↦ 𝑅):(𝐴 × 𝐵)⟶𝐶)
52, 4sylib 221 . . . 4 (𝜑 → (𝑥 ∈ 𝐴, 𝑦 ∈ 𝐵 ↦ 𝑅):(𝐴 × 𝐵)⟶𝐶)
6 nfcv 2926 . . . . . . 7 Ⅎ𝑢𝑅
7 nfcv 2926 . . . . . . 7 Ⅎ𝑣𝑅
8 nfcv 2926 . . . . . . . 8 Ⅎ𝑥𝑣
9 nfcsb1v 3875 . . . . . . . 8 Ⅎ𝑥⦋𝑢 / 𝑥⦌𝑅
108, 9nfcsbw 3877 . . . . . . 7 Ⅎ𝑥⦋𝑣 / 𝑦⦌⦋𝑢 / 𝑥⦌𝑅
11 nfcsb1v 3875 . . . . . . 7 Ⅎ𝑦⦋𝑣 / 𝑦⦌⦋𝑢 / 𝑥⦌𝑅
12 csbeq1a 3865 . . . . . . . 8 (𝑥 = 𝑢 → 𝑅 = ⦋𝑢 / 𝑥⦌𝑅)
13 csbeq1a 3865 . . . . . . . 8 (𝑦 = 𝑣 → ⦋𝑢 / 𝑥⦌𝑅 = ⦋𝑣 / 𝑦⦌⦋𝑢 / 𝑥⦌𝑅)
1412, 13sylan9eq 2818 . . . . . . 7 ((𝑥 = 𝑢 ∧ 𝑦 = 𝑣) → 𝑅 = ⦋𝑣 / 𝑦⦌⦋𝑢 / 𝑥⦌𝑅)
156, 7, 10, 11, 14cbvmpo 7537 . . . . . 6 (𝑥 ∈ 𝐴, 𝑦 ∈ 𝐵 ↦ 𝑅) = (𝑢 ∈ 𝐴, 𝑣 ∈ 𝐵 ↦ ⦋𝑣 / 𝑦⦌⦋𝑢 / 𝑥⦌𝑅)
16 vex 3458 . . . . . . . . 9 𝑢 ∈ V
17 vex 3458 . . . . . . . . 9 𝑣 ∈ V
1816, 17op2ndd 8036 . . . . . . . 8 (𝑤 = ⟨𝑢, 𝑣⟩ → (2nd ‘𝑤) = 𝑣)
1916, 17op1std 8035 . . . . . . . . 9 (𝑤 = ⟨𝑢, 𝑣⟩ → (1st ‘𝑤) = 𝑢)
2019csbeq1d 3855 . . . . . . . 8 (𝑤 = ⟨𝑢, 𝑣⟩ → ⦋(1st ‘𝑤) / 𝑥⦌𝑅 = ⦋𝑢 / 𝑥⦌𝑅)
2118, 20csbeq12dv 3860 . . . . . . 7 (𝑤 = ⟨𝑢, 𝑣⟩ → ⦋(2nd ‘𝑤) / 𝑦⦌⦋(1st ‘𝑤) / 𝑥⦌𝑅 = ⦋𝑣 / 𝑦⦌⦋𝑢 / 𝑥⦌𝑅)
2221mpompt 7557 . . . . . 6 (𝑤 ∈ (𝐴 × 𝐵) ↦ ⦋(2nd ‘𝑤) / 𝑦⦌⦋(1st ‘𝑤) / 𝑥⦌𝑅) = (𝑢 ∈ 𝐴, 𝑣 ∈ 𝐵 ↦ ⦋𝑣 / 𝑦⦌⦋𝑢 / 𝑥⦌𝑅)
2315, 22eqtr4i 2789 . . . . 5 (𝑥 ∈ 𝐴, 𝑦 ∈ 𝐵 ↦ 𝑅) = (𝑤 ∈ (𝐴 × 𝐵) ↦ ⦋(2nd ‘𝑤) / 𝑦⦌⦋(1st ‘𝑤) / 𝑥⦌𝑅)
2423fmpt 7134 . . . 4 (∀𝑤 ∈ (𝐴 × 𝐵)⦋(2nd ‘𝑤) / 𝑦⦌⦋(1st ‘𝑤) / 𝑥⦌𝑅 ∈ 𝐶 ↔ (𝑥 ∈ 𝐴, 𝑦 ∈ 𝐵 ↦ 𝑅):(𝐴 × 𝐵)⟶𝐶)
255, 24sylibr 237 . . 3 (𝜑 → ∀𝑤 ∈ (𝐴 × 𝐵)⦋(2nd ‘𝑤) / 𝑦⦌⦋(1st ‘𝑤) / 𝑥⦌𝑅 ∈ 𝐶)
26 fmpocos.2 . . . 4 (𝜑 → 𝐹 = (𝑥 ∈ 𝐴, 𝑦 ∈ 𝐵 ↦ 𝑅))
2726, 23eqtrdi 2814 . . 3 (𝜑 → 𝐹 = (𝑤 ∈ (𝐴 × 𝐵) ↦ ⦋(2nd ‘𝑤) / 𝑦⦌⦋(1st ‘𝑤) / 𝑥⦌𝑅))
28 fmpocos.3 . . 3 (𝜑 → 𝐺 = (𝑧 ∈ 𝐶 ↦ 𝑆))
2925, 27, 28fmptcos 7156 . 2 (𝜑 → (𝐺 ∘ 𝐹) = (𝑤 ∈ (𝐴 × 𝐵) ↦ ⦋⦋(2nd ‘𝑤) / 𝑦⦌⦋(1st ‘𝑤) / 𝑥⦌𝑅 / 𝑧⦌𝑆))
3021csbeq1d 3855 . . . . 5 (𝑤 = ⟨𝑢, 𝑣⟩ → ⦋⦋(2nd ‘𝑤) / 𝑦⦌⦋(1st ‘𝑤) / 𝑥⦌𝑅 / 𝑧⦌𝑆 = ⦋⦋𝑣 / 𝑦⦌⦋𝑢 / 𝑥⦌𝑅 / 𝑧⦌𝑆)
3130mpompt 7557 . . . 4 (𝑤 ∈ (𝐴 × 𝐵) ↦ ⦋⦋(2nd ‘𝑤) / 𝑦⦌⦋(1st ‘𝑤) / 𝑥⦌𝑅 / 𝑧⦌𝑆) = (𝑢 ∈ 𝐴, 𝑣 ∈ 𝐵 ↦ ⦋⦋𝑣 / 𝑦⦌⦋𝑢 / 𝑥⦌𝑅 / 𝑧⦌𝑆)
32 nfcv 2926 . . . . 5 Ⅎ𝑢⦋𝑅 / 𝑧⦌𝑆
33 nfcv 2926 . . . . 5 Ⅎ𝑣⦋𝑅 / 𝑧⦌𝑆
34 nfcv 2926 . . . . . 6 Ⅎ𝑥𝑆
3510, 34nfcsbw 3877 . . . . 5 Ⅎ𝑥⦋⦋𝑣 / 𝑦⦌⦋𝑢 / 𝑥⦌𝑅 / 𝑧⦌𝑆
36 nfcv 2926 . . . . . 6 Ⅎ𝑦𝑆
3711, 36nfcsbw 3877 . . . . 5 Ⅎ𝑦⦋⦋𝑣 / 𝑦⦌⦋𝑢 / 𝑥⦌𝑅 / 𝑧⦌𝑆
3814csbeq1d 3855 . . . . 5 ((𝑥 = 𝑢 ∧ 𝑦 = 𝑣) → ⦋𝑅 / 𝑧⦌𝑆 = ⦋⦋𝑣 / 𝑦⦌⦋𝑢 / 𝑥⦌𝑅 / 𝑧⦌𝑆)
3932, 33, 35, 37, 38cbvmpo 7537 . . . 4 (𝑥 ∈ 𝐴, 𝑦 ∈ 𝐵 ↦ ⦋𝑅 / 𝑧⦌𝑆) = (𝑢 ∈ 𝐴, 𝑣 ∈ 𝐵 ↦ ⦋⦋𝑣 / 𝑦⦌⦋𝑢 / 𝑥⦌𝑅 / 𝑧⦌𝑆)
4031, 39eqtr4i 2789 . . 3 (𝑤 ∈ (𝐴 × 𝐵) ↦ ⦋⦋(2nd ‘𝑤) / 𝑦⦌⦋(1st ‘𝑤) / 𝑥⦌𝑅 / 𝑧⦌𝑆) = (𝑥 ∈ 𝐴, 𝑦 ∈ 𝐵 ↦ ⦋𝑅 / 𝑧⦌𝑆)
41 fmpocos.4 . . . . 5 ((𝜑 ∧ (𝑥 ∈ 𝐴 ∧ 𝑦 ∈ 𝐵)) → ⦋𝑅 / 𝑧⦌𝑆 = 𝑇)
42413impb 1132 . . . 4 ((𝜑 ∧ 𝑥 ∈ 𝐴 ∧ 𝑦 ∈ 𝐵) → ⦋𝑅 / 𝑧⦌𝑆 = 𝑇)
4342mpoeq3dva 7520 . . 3 (𝜑 → (𝑥 ∈ 𝐴, 𝑦 ∈ 𝐵 ↦ ⦋𝑅 / 𝑧⦌𝑆) = (𝑥 ∈ 𝐴, 𝑦 ∈ 𝐵 ↦ 𝑇))
4440, 43eqtrid 2810 . 2 (𝜑 → (𝑤 ∈ (𝐴 × 𝐵) ↦ ⦋⦋(2nd ‘𝑤) / 𝑦⦌⦋(1st ‘𝑤) / 𝑥⦌𝑅 / 𝑧⦌𝑆) = (𝑥 ∈ 𝐴, 𝑦 ∈ 𝐵 ↦ 𝑇))
4529, 44eqtrd 2798 1 (𝜑 → (𝐺 ∘ 𝐹) = (𝑥 ∈ 𝐴, 𝑦 ∈ 𝐵 ↦ 𝑇))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ∧ wa 401   = wceq 1570   ∈ wcel 2147  ∀wral 3080  ⦋csb 3851  ⟨cop 4838   ↦ cmpt 5189   × cxp 5653   ∘ ccom 5659  ⟶wf 6554  ‘cfv 6558   ∈ cmpo 7445  1st c1st 8023  2nd c2nd 8024
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 1945  ax-6 2002  ax-7 2043  ax-8 2149  ax-9 2157  ax-10 2180  ax-11 2197  ax-12 2216  ax-ext 2735  ax-sep 5252  ax-nul 5263  ax-pr 5395  ax-un 7775
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 2102  df-mo 2567  df-eu 2597  df-clab 2742  df-cleq 2755  df-clel 2839  df-nfc 2913  df-ne 2960  df-ral 3081  df-rex 3091  df-rab 3417  df-v 3456  df-sbc 3743  df-csb 3852  df-ss 3901  df-dif 4050  df-in 4094  df-un 4154  df-nul 4282  df-if 4486  df-sn 4589  df-pr 4591  df-op 4839  df-uni 4871  df-iun 4956  df-br 5107  df-opab 5171  df-mpt 5190  df-id 5550  df-xp 5661  df-rel 5662  df-cnv 5663  df-co 5664  df-dm 5665  df-rn 5666  df-res 5667  df-ima 5668  df-iota 6512  df-fun 6560  df-fn 6561  df-f 6562  df-fv 6566  df-oprab 7447  df-mpo 7448  df-1st 8025  df-2nd 8026
This theorem is used by:  evlselv  43810
  Copyright terms: Public domain W3C validator