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

Theorem fvmptex 7039
Description: Express a function 𝐹 whose value 𝐵 may not always be a set in terms of another function 𝐺 for which sethood is guaranteed. (Note that ( I ‘𝐵) is just shorthand for if(𝐵 ∈ V, 𝐵, ∅), and it is always a set by fvex 6929.) Note also that these functions are not the same; wherever 𝐵(𝐶) is not a set, 𝐶 is not in the domain of 𝐹 (so it evaluates to the empty set), but 𝐶 is in the domain of 𝐺, and 𝐺(𝐶) is defined to be the empty set. (Contributed by Mario Carneiro, 14-Jul-2013.) (Revised by Mario Carneiro, 23-Apr-2014.)
Hypotheses
Ref Expression
fvmptex.1 𝐹 = (𝑥 ∈ 𝐴 ↦ 𝐵)
fvmptex.2 𝐺 = (𝑥 ∈ 𝐴 ↦ ( I ‘𝐵))
Assertion
Ref Expression
fvmptex (𝐹‘𝐶) = (𝐺‘𝐶)
Distinct variable group:   𝑥,𝐴
Allowed substitution hints:   𝐵(𝑥)   𝐶(𝑥)   𝐹(𝑥)   𝐺(𝑥)

Proof of Theorem fvmptex
Dummy variable 𝑦 is distinct from all other variables.
StepHypRef Expression
1 csbeq1 3854 . . . 4 (𝑦 = 𝐶 → ⦋𝑦 / 𝑥⦌𝐵 = ⦋𝐶 / 𝑥⦌𝐵)
2 fvmptex.1 . . . . 5 𝐹 = (𝑥 ∈ 𝐴 ↦ 𝐵)
3 nfcv 2926 . . . . . 6 Ⅎ𝑦𝐵
4 nfcsb1v 3875 . . . . . 6 Ⅎ𝑥⦋𝑦 / 𝑥⦌𝐵
5 csbeq1a 3865 . . . . . 6 (𝑥 = 𝑦 → 𝐵 = ⦋𝑦 / 𝑥⦌𝐵)
63, 4, 5cbvmpt 5213 . . . . 5 (𝑥 ∈ 𝐴 ↦ 𝐵) = (𝑦 ∈ 𝐴 ↦ ⦋𝑦 / 𝑥⦌𝐵)
72, 6eqtri 2786 . . . 4 𝐹 = (𝑦 ∈ 𝐴 ↦ ⦋𝑦 / 𝑥⦌𝐵)
81, 7fvmpti 7023 . . 3 (𝐶 ∈ 𝐴 → (𝐹‘𝐶) = ( I ‘⦋𝐶 / 𝑥⦌𝐵))
91fveq2d 6920 . . . 4 (𝑦 = 𝐶 → ( I ‘⦋𝑦 / 𝑥⦌𝐵) = ( I ‘⦋𝐶 / 𝑥⦌𝐵))
10 fvmptex.2 . . . . 5 𝐺 = (𝑥 ∈ 𝐴 ↦ ( I ‘𝐵))
11 nfcv 2926 . . . . . 6 Ⅎ𝑦( I ‘𝐵)
12 nfcv 2926 . . . . . . 7 Ⅎ𝑥 I
1312, 4nffv 6926 . . . . . 6 Ⅎ𝑥( I ‘⦋𝑦 / 𝑥⦌𝐵)
145fveq2d 6920 . . . . . 6 (𝑥 = 𝑦 → ( I ‘𝐵) = ( I ‘⦋𝑦 / 𝑥⦌𝐵))
1511, 13, 14cbvmpt 5213 . . . . 5 (𝑥 ∈ 𝐴 ↦ ( I ‘𝐵)) = (𝑦 ∈ 𝐴 ↦ ( I ‘⦋𝑦 / 𝑥⦌𝐵))
1610, 15eqtri 2786 . . . 4 𝐺 = (𝑦 ∈ 𝐴 ↦ ( I ‘⦋𝑦 / 𝑥⦌𝐵))
17 fvex 6929 . . . 4 ( I ‘⦋𝐶 / 𝑥⦌𝐵) ∈ V
189, 16, 17fvmpt 7024 . . 3 (𝐶 ∈ 𝐴 → (𝐺‘𝐶) = ( I ‘⦋𝐶 / 𝑥⦌𝐵))
198, 18eqtr4d 2801 . 2 (𝐶 ∈ 𝐴 → (𝐹‘𝐶) = (𝐺‘𝐶))
202dmmptss 6261 . . . . 5 dom 𝐹 ⊆ 𝐴
2120sseli 3909 . . . 4 (𝐶 ∈ dom 𝐹 → 𝐶 ∈ 𝐴)
22 ndmfv 6948 . . . 4 (¬ 𝐶 ∈ dom 𝐹 → (𝐹‘𝐶) = ∅)
2321, 22nsyl5 160 . . 3 (¬ 𝐶 ∈ 𝐴 → (𝐹‘𝐶) = ∅)
24 fvex 6929 . . . . . 6 ( I ‘𝐵) ∈ V
2524, 10dmmpti 6713 . . . . 5 dom 𝐺 = 𝐴
2625eleq2i 2856 . . . 4 (𝐶 ∈ dom 𝐺 ↔ 𝐶 ∈ 𝐴)
27 ndmfv 6948 . . . 4 (¬ 𝐶 ∈ dom 𝐺 → (𝐺‘𝐶) = ∅)
2826, 27sylnbir 334 . . 3 (¬ 𝐶 ∈ 𝐴 → (𝐺‘𝐶) = ∅)
2923, 28eqtr4d 2801 . 2 (¬ 𝐶 ∈ 𝐴 → (𝐹‘𝐶) = (𝐺‘𝐶))
3019, 29pm2.61i 184 1 (𝐹‘𝐶) = (𝐺‘𝐶)
Colors of variables:    wff setvar class
This proof depends on syntax axioms:  ¬ wn 3   = wceq 1570   ∈ wcel 2147  ⦋csb 3851  ∅c0 4281   ↦ cmpt 5192   I cid 5552  dom cdm 5658  ‘cfv 6566
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 5255  ax-nul 5266  ax-pr 5398
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 4841  df-uni 4873  df-br 5109  df-opab 5174  df-mpt 5193  df-id 5553  df-xp 5664  df-rel 5665  df-cnv 5666  df-co 5667  df-dm 5668  df-rn 5669  df-res 5670  df-ima 5671  df-iota 6520  df-fun 6568  df-fn 6569  df-fv 6574
This theorem is used by:  fvmptnf  7047  sumeq2ii  15904  prodeq2ii  16124
  Copyright terms: Public domain W3C validator