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

Theorem fvmptex 7054
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 6944.) 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 3861 . . . 4 (𝑦 = 𝐶 → ⦋𝑦 / 𝑥⦌𝐵 = ⦋𝐶 / 𝑥⦌𝐵)
2 fvmptex.1 . . . . 5 𝐹 = (𝑥 ∈ 𝐴 ↦ 𝐵)
3 nfcv 2937 . . . . . 6 Ⅎ𝑦𝐵
4 nfcsb1v 3882 . . . . . 6 Ⅎ𝑥⦋𝑦 / 𝑥⦌𝐵
5 csbeq1a 3872 . . . . . 6 (𝑥 = 𝑦 → 𝐵 = ⦋𝑦 / 𝑥⦌𝐵)
63, 4, 5cbvmpt 5221 . . . . 5 (𝑥 ∈ 𝐴 ↦ 𝐵) = (𝑦 ∈ 𝐴 ↦ ⦋𝑦 / 𝑥⦌𝐵)
72, 6eqtri 2797 . . . 4 𝐹 = (𝑦 ∈ 𝐴 ↦ ⦋𝑦 / 𝑥⦌𝐵)
81, 7fvmpti 7038 . . 3 (𝐶 ∈ 𝐴 → (𝐹‘𝐶) = ( I ‘⦋𝐶 / 𝑥⦌𝐵))
91fveq2d 6935 . . . 4 (𝑦 = 𝐶 → ( I ‘⦋𝑦 / 𝑥⦌𝐵) = ( I ‘⦋𝐶 / 𝑥⦌𝐵))
10 fvmptex.2 . . . . 5 𝐺 = (𝑥 ∈ 𝐴 ↦ ( I ‘𝐵))
11 nfcv 2937 . . . . . 6 Ⅎ𝑦( I ‘𝐵)
12 nfcv 2937 . . . . . . 7 Ⅎ𝑥 I
1312, 4nffv 6941 . . . . . 6 Ⅎ𝑥( I ‘⦋𝑦 / 𝑥⦌𝐵)
145fveq2d 6935 . . . . . 6 (𝑥 = 𝑦 → ( I ‘𝐵) = ( I ‘⦋𝑦 / 𝑥⦌𝐵))
1511, 13, 14cbvmpt 5221 . . . . 5 (𝑥 ∈ 𝐴 ↦ ( I ‘𝐵)) = (𝑦 ∈ 𝐴 ↦ ( I ‘⦋𝑦 / 𝑥⦌𝐵))
1610, 15eqtri 2797 . . . 4 𝐺 = (𝑦 ∈ 𝐴 ↦ ( I ‘⦋𝑦 / 𝑥⦌𝐵))
17 fvex 6944 . . . 4 ( I ‘⦋𝐶 / 𝑥⦌𝐵) ∈ V
189, 16, 17fvmpt 7039 . . 3 (𝐶 ∈ 𝐴 → (𝐺‘𝐶) = ( I ‘⦋𝐶 / 𝑥⦌𝐵))
198, 18eqtr4d 2812 . 2 (𝐶 ∈ 𝐴 → (𝐹‘𝐶) = (𝐺‘𝐶))
202dmmptss 6273 . . . . 5 dom 𝐹 ⊆ 𝐴
2120sseli 3916 . . . 4 (𝐶 ∈ dom 𝐹 → 𝐶 ∈ 𝐴)
22 ndmfv 6963 . . . 4 (¬ 𝐶 ∈ dom 𝐹 → (𝐹‘𝐶) = ∅)
2321, 22nsyl5 160 . . 3 (¬ 𝐶 ∈ 𝐴 → (𝐹‘𝐶) = ∅)
24 fvex 6944 . . . . . 6 ( I ‘𝐵) ∈ V
2524, 10dmmpti 6728 . . . . 5 dom 𝐺 = 𝐴
2625eleq2i 2867 . . . 4 (𝐶 ∈ dom 𝐺 ↔ 𝐶 ∈ 𝐴)
27 ndmfv 6963 . . . 4 (¬ 𝐶 ∈ dom 𝐺 → (𝐺‘𝐶) = ∅)
2826, 27sylnbir 334 . . 3 (¬ 𝐶 ∈ 𝐴 → (𝐺‘𝐶) = ∅)
2923, 28eqtr4d 2812 . 2 (¬ 𝐶 ∈ 𝐴 → (𝐹‘𝐶) = (𝐺‘𝐶))
3019, 29pm2.61i 184 1 (𝐹‘𝐶) = (𝐺‘𝐶)
Colors of variables:    wff setvar class
This proof depends on syntax axioms:  ¬ wn 3   = wceq 1572   ∈ wcel 2156  ⦋csb 3858  ∅c0 4288   ↦ cmpt 5200   I cid 5560  dom cdm 5666  ‘cfv 6578
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1834  ax-4 1848  ax-5 1951  ax-6 2009  ax-7 2050  ax-8 2158  ax-9 2166  ax-10 2189  ax-11 2206  ax-12 2225  ax-ext 2746  ax-sep 5263  ax-nul 5274  ax-pr 5406
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3an 1106  df-tru 1575  df-fal 1585  df-ex 1819  df-nf 1823  df-sb 2110  df-mo 2576  df-eu 2606  df-clab 2753  df-cleq 2766  df-clel 2850  df-nfc 2924  df-ne 2971  df-ral 3092  df-rex 3102  df-rab 3424  df-v 3463  df-sbc 3750  df-csb 3859  df-ss 3908  df-dif 4057  df-in 4101  df-un 4161  df-nul 4289  df-if 4493  df-sn 4596  df-pr 4598  df-op 4849  df-uni 4881  df-br 5117  df-opab 5182  df-mpt 5201  df-id 5561  df-xp 5672  df-rel 5673  df-cnv 5674  df-co 5675  df-dm 5676  df-rn 5677  df-res 5678  df-ima 5679  df-iota 6532  df-fun 6580  df-fn 6581  df-fv 6586
This theorem is used by:  fvmptnf  7062  sumeq2ii  15922  prodeq2ii  16142
  Copyright terms: Public domain W3C validator