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

Theorem ofmpteq 7726
Description: Value of a pointwise operation on two functions defined using maps-to notation. (Contributed by Stefan O'Rear, 5-Oct-2014.)
Assertion
Ref Expression
ofmpteq ((𝐴 ∈ 𝑉 ∧ (𝑥 ∈ 𝐴 ↦ 𝐵) Fn 𝐴 ∧ (𝑥 ∈ 𝐴 ↦ 𝐶) Fn 𝐴) → ((𝑥 ∈ 𝐴 ↦ 𝐵) ∘f 𝑅(𝑥 ∈ 𝐴 ↦ 𝐶)) = (𝑥 ∈ 𝐴 ↦ (𝐵𝑅𝐶)))
Distinct variable groups:   𝑥,𝐴   𝑥,𝑅
Allowed substitution hints:   𝐵(𝑥)   𝐶(𝑥)   𝑉(𝑥)

Proof of Theorem ofmpteq
Dummy variable 𝑎 is distinct from all other variables.
StepHypRef Expression
1 simp1 1154 . . 3 ((𝐴 ∈ 𝑉 ∧ (𝑥 ∈ 𝐴 ↦ 𝐵) Fn 𝐴 ∧ (𝑥 ∈ 𝐴 ↦ 𝐶) Fn 𝐴) → 𝐴 ∈ 𝑉)
2 simpr 490 . . . 4 (((𝐴 ∈ 𝑉 ∧ (𝑥 ∈ 𝐴 ↦ 𝐵) Fn 𝐴 ∧ (𝑥 ∈ 𝐴 ↦ 𝐶) Fn 𝐴) ∧ 𝑎 ∈ 𝐴) → 𝑎 ∈ 𝐴)
3 simpl2 1211 . . . . 5 (((𝐴 ∈ 𝑉 ∧ (𝑥 ∈ 𝐴 ↦ 𝐵) Fn 𝐴 ∧ (𝑥 ∈ 𝐴 ↦ 𝐶) Fn 𝐴) ∧ 𝑎 ∈ 𝐴) → (𝑥 ∈ 𝐴 ↦ 𝐵) Fn 𝐴)
4 eqid 2763 . . . . . 6 (𝑥 ∈ 𝐴 ↦ 𝐵) = (𝑥 ∈ 𝐴 ↦ 𝐵)
54mptfng 6689 . . . . 5 (∀𝑥 ∈ 𝐴 𝐵 ∈ V ↔ (𝑥 ∈ 𝐴 ↦ 𝐵) Fn 𝐴)
63, 5sylibr 237 . . . 4 (((𝐴 ∈ 𝑉 ∧ (𝑥 ∈ 𝐴 ↦ 𝐵) Fn 𝐴 ∧ (𝑥 ∈ 𝐴 ↦ 𝐶) Fn 𝐴) ∧ 𝑎 ∈ 𝐴) → ∀𝑥 ∈ 𝐴 𝐵 ∈ V)
7 nfcsb1v 3875 . . . . . 6 Ⅎ𝑥⦋𝑎 / 𝑥⦌𝐵
87nfel1 2942 . . . . 5 Ⅎ𝑥⦋𝑎 / 𝑥⦌𝐵 ∈ V
9 csbeq1a 3865 . . . . . 6 (𝑥 = 𝑎 → 𝐵 = ⦋𝑎 / 𝑥⦌𝐵)
109eleq1d 2849 . . . . 5 (𝑥 = 𝑎 → (𝐵 ∈ V ↔ ⦋𝑎 / 𝑥⦌𝐵 ∈ V))
118, 10rspc 3568 . . . 4 (𝑎 ∈ 𝐴 → (∀𝑥 ∈ 𝐴 𝐵 ∈ V → ⦋𝑎 / 𝑥⦌𝐵 ∈ V))
122, 6, 11sylc 66 . . 3 (((𝐴 ∈ 𝑉 ∧ (𝑥 ∈ 𝐴 ↦ 𝐵) Fn 𝐴 ∧ (𝑥 ∈ 𝐴 ↦ 𝐶) Fn 𝐴) ∧ 𝑎 ∈ 𝐴) → ⦋𝑎 / 𝑥⦌𝐵 ∈ V)
13 simpl3 1212 . . . . 5 (((𝐴 ∈ 𝑉 ∧ (𝑥 ∈ 𝐴 ↦ 𝐵) Fn 𝐴 ∧ (𝑥 ∈ 𝐴 ↦ 𝐶) Fn 𝐴) ∧ 𝑎 ∈ 𝐴) → (𝑥 ∈ 𝐴 ↦ 𝐶) Fn 𝐴)
14 eqid 2763 . . . . . 6 (𝑥 ∈ 𝐴 ↦ 𝐶) = (𝑥 ∈ 𝐴 ↦ 𝐶)
1514mptfng 6689 . . . . 5 (∀𝑥 ∈ 𝐴 𝐶 ∈ V ↔ (𝑥 ∈ 𝐴 ↦ 𝐶) Fn 𝐴)
1613, 15sylibr 237 . . . 4 (((𝐴 ∈ 𝑉 ∧ (𝑥 ∈ 𝐴 ↦ 𝐵) Fn 𝐴 ∧ (𝑥 ∈ 𝐴 ↦ 𝐶) Fn 𝐴) ∧ 𝑎 ∈ 𝐴) → ∀𝑥 ∈ 𝐴 𝐶 ∈ V)
17 nfcsb1v 3875 . . . . . 6 Ⅎ𝑥⦋𝑎 / 𝑥⦌𝐶
1817nfel1 2942 . . . . 5 Ⅎ𝑥⦋𝑎 / 𝑥⦌𝐶 ∈ V
19 csbeq1a 3865 . . . . . 6 (𝑥 = 𝑎 → 𝐶 = ⦋𝑎 / 𝑥⦌𝐶)
2019eleq1d 2849 . . . . 5 (𝑥 = 𝑎 → (𝐶 ∈ V ↔ ⦋𝑎 / 𝑥⦌𝐶 ∈ V))
2118, 20rspc 3568 . . . 4 (𝑎 ∈ 𝐴 → (∀𝑥 ∈ 𝐴 𝐶 ∈ V → ⦋𝑎 / 𝑥⦌𝐶 ∈ V))
222, 16, 21sylc 66 . . 3 (((𝐴 ∈ 𝑉 ∧ (𝑥 ∈ 𝐴 ↦ 𝐵) Fn 𝐴 ∧ (𝑥 ∈ 𝐴 ↦ 𝐶) Fn 𝐴) ∧ 𝑎 ∈ 𝐴) → ⦋𝑎 / 𝑥⦌𝐶 ∈ V)
23 nfcv 2926 . . . . 5 Ⅎ𝑎𝐵
2423, 7, 9cbvmpt 5210 . . . 4 (𝑥 ∈ 𝐴 ↦ 𝐵) = (𝑎 ∈ 𝐴 ↦ ⦋𝑎 / 𝑥⦌𝐵)
2524a1i 11 . . 3 ((𝐴 ∈ 𝑉 ∧ (𝑥 ∈ 𝐴 ↦ 𝐵) Fn 𝐴 ∧ (𝑥 ∈ 𝐴 ↦ 𝐶) Fn 𝐴) → (𝑥 ∈ 𝐴 ↦ 𝐵) = (𝑎 ∈ 𝐴 ↦ ⦋𝑎 / 𝑥⦌𝐵))
26 nfcv 2926 . . . . 5 Ⅎ𝑎𝐶
2726, 17, 19cbvmpt 5210 . . . 4 (𝑥 ∈ 𝐴 ↦ 𝐶) = (𝑎 ∈ 𝐴 ↦ ⦋𝑎 / 𝑥⦌𝐶)
2827a1i 11 . . 3 ((𝐴 ∈ 𝑉 ∧ (𝑥 ∈ 𝐴 ↦ 𝐵) Fn 𝐴 ∧ (𝑥 ∈ 𝐴 ↦ 𝐶) Fn 𝐴) → (𝑥 ∈ 𝐴 ↦ 𝐶) = (𝑎 ∈ 𝐴 ↦ ⦋𝑎 / 𝑥⦌𝐶))
291, 12, 22, 25, 28offval2 7723 . 2 ((𝐴 ∈ 𝑉 ∧ (𝑥 ∈ 𝐴 ↦ 𝐵) Fn 𝐴 ∧ (𝑥 ∈ 𝐴 ↦ 𝐶) Fn 𝐴) → ((𝑥 ∈ 𝐴 ↦ 𝐵) ∘f 𝑅(𝑥 ∈ 𝐴 ↦ 𝐶)) = (𝑎 ∈ 𝐴 ↦ (⦋𝑎 / 𝑥⦌𝐵𝑅⦋𝑎 / 𝑥⦌𝐶)))
30 nfcv 2926 . . 3 Ⅎ𝑎(𝐵𝑅𝐶)
31 nfcv 2926 . . . 4 Ⅎ𝑥𝑅
327, 31, 17nfov 7460 . . 3 Ⅎ𝑥(⦋𝑎 / 𝑥⦌𝐵𝑅⦋𝑎 / 𝑥⦌𝐶)
339, 19oveq12d 7448 . . 3 (𝑥 = 𝑎 → (𝐵𝑅𝐶) = (⦋𝑎 / 𝑥⦌𝐵𝑅⦋𝑎 / 𝑥⦌𝐶))
3430, 32, 33cbvmpt 5210 . 2 (𝑥 ∈ 𝐴 ↦ (𝐵𝑅𝐶)) = (𝑎 ∈ 𝐴 ↦ (⦋𝑎 / 𝑥⦌𝐵𝑅⦋𝑎 / 𝑥⦌𝐶))
3529, 34eqtr4di 2816 1 ((𝐴 ∈ 𝑉 ∧ (𝑥 ∈ 𝐴 ↦ 𝐵) Fn 𝐴 ∧ (𝑥 ∈ 𝐴 ↦ 𝐶) Fn 𝐴) → ((𝑥 ∈ 𝐴 ↦ 𝐵) ∘f 𝑅(𝑥 ∈ 𝐴 ↦ 𝐶)) = (𝑥 ∈ 𝐴 ↦ (𝐵𝑅𝐶)))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ∧ wa 401   ∧ w3a 1103   = wceq 1569   ∈ wcel 2146  ∀wral 3080  Vcvv 3454  ⦋csb 3851   ↦ cmpt 5189   Fn wfn 6542  (class class class)co 7430   ∘f cof 7701
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 1944  ax-6 2001  ax-7 2042  ax-8 2148  ax-9 2156  ax-10 2179  ax-11 2196  ax-12 2215  ax-ext 2735  ax-rep 5235  ax-sep 5252  ax-nul 5263  ax-pr 5395
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 2101  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-reu 3370  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 6501  df-fun 6549  df-fn 6550  df-f 6551  df-f1 6552  df-fo 6553  df-f1o 6554  df-fv 6555  df-ov 7433  df-oprab 7434  df-mpo 7435  df-of 7703
This theorem is used by:  mdetrlin  22932  psrgsum  34236  esplyind  34263  mzpaddmpt  43898  mzpmulmpt  43899  mzpcompact2lem  43908
  Copyright terms: Public domain W3C validator