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

Theorem staffval 20399
Description: The functionalization of the involution component of a structure. (Contributed by Mario Carneiro, 6-Oct-2015.)
Hypotheses
Ref Expression
staffval.b 𝐵 = (Base‘𝑅)
staffval.i = (*𝑟𝑅)
staffval.f = (*rf𝑅)
Assertion
Ref Expression
staffval = (𝑥𝐵 ↦ ( 𝑥))
Distinct variable groups:   𝑥,𝐵   𝑥,   𝑥,𝑅
Allowed substitution hint:   (𝑥)

Proof of Theorem staffval
Dummy variable 𝑓 is distinct from all other variables.
StepHypRef Expression
1 staffval.f . 2 = (*rf𝑅)
2 fveq2 6875 . . . . . 6 (𝑓 = 𝑅 → (Base‘𝑓) = (Base‘𝑅))
3 staffval.b . . . . . 6 𝐵 = (Base‘𝑅)
42, 3eqtr4di 2789 . . . . 5 (𝑓 = 𝑅 → (Base‘𝑓) = 𝐵)
5 fveq2 6875 . . . . . . 7 (𝑓 = 𝑅 → (*𝑟𝑓) = (*𝑟𝑅))
6 staffval.i . . . . . . 7 = (*𝑟𝑅)
75, 6eqtr4di 2789 . . . . . 6 (𝑓 = 𝑅 → (*𝑟𝑓) = )
87fveq1d 6877 . . . . 5 (𝑓 = 𝑅 → ((*𝑟𝑓)‘𝑥) = ( 𝑥))
94, 8mpteq12dv 5229 . . . 4 (𝑓 = 𝑅 → (𝑥 ∈ (Base‘𝑓) ↦ ((*𝑟𝑓)‘𝑥)) = (𝑥𝐵 ↦ ( 𝑥)))
10 df-staf 20397 . . . 4 *rf = (𝑓 ∈ V ↦ (𝑥 ∈ (Base‘𝑓) ↦ ((*𝑟𝑓)‘𝑥)))
11 eqid 2731 . . . . . 6 (𝑥𝐵 ↦ ( 𝑥)) = (𝑥𝐵 ↦ ( 𝑥))
12 fvrn0 6905 . . . . . . 7 ( 𝑥) ∈ (ran ∪ {∅})
1312a1i 11 . . . . . 6 (𝑥𝐵 → ( 𝑥) ∈ (ran ∪ {∅}))
1411, 13fmpti 7093 . . . . 5 (𝑥𝐵 ↦ ( 𝑥)):𝐵⟶(ran ∪ {∅})
153fvexi 6889 . . . . 5 𝐵 ∈ V
166fvexi 6889 . . . . . . 7 ∈ V
1716rnex 7882 . . . . . 6 ran ∈ V
18 p0ex 5372 . . . . . 6 {∅} ∈ V
1917, 18unex 7713 . . . . 5 (ran ∪ {∅}) ∈ V
20 fex2 7903 . . . . 5 (((𝑥𝐵 ↦ ( 𝑥)):𝐵⟶(ran ∪ {∅}) ∧ 𝐵 ∈ V ∧ (ran ∪ {∅}) ∈ V) → (𝑥𝐵 ↦ ( 𝑥)) ∈ V)
2114, 15, 19, 20mp3an 1461 . . . 4 (𝑥𝐵 ↦ ( 𝑥)) ∈ V
229, 10, 21fvmpt 6981 . . 3 (𝑅 ∈ V → (*rf𝑅) = (𝑥𝐵 ↦ ( 𝑥)))
23 fvprc 6867 . . . . 5 𝑅 ∈ V → (*rf𝑅) = ∅)
24 mpt0 6676 . . . . 5 (𝑥 ∈ ∅ ↦ ( 𝑥)) = ∅
2523, 24eqtr4di 2789 . . . 4 𝑅 ∈ V → (*rf𝑅) = (𝑥 ∈ ∅ ↦ ( 𝑥)))
26 fvprc 6867 . . . . . 6 𝑅 ∈ V → (Base‘𝑅) = ∅)
273, 26eqtrid 2783 . . . . 5 𝑅 ∈ V → 𝐵 = ∅)
2827mpteq1d 5233 . . . 4 𝑅 ∈ V → (𝑥𝐵 ↦ ( 𝑥)) = (𝑥 ∈ ∅ ↦ ( 𝑥)))
2925, 28eqtr4d 2774 . . 3 𝑅 ∈ V → (*rf𝑅) = (𝑥𝐵 ↦ ( 𝑥)))
3022, 29pm2.61i 182 . 2 (*rf𝑅) = (𝑥𝐵 ↦ ( 𝑥))
311, 30eqtri 2759 1 = (𝑥𝐵 ↦ ( 𝑥))
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3   = wceq 1541  wcel 2106  Vcvv 3470  cun 3939  c0 4315  {csn 4619  cmpt 5221  ran crn 5667  wf 6525  cfv 6529  Basecbs 17123  *𝑟cstv 17178  *rfcstf 20395
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1797  ax-4 1811  ax-5 1913  ax-6 1971  ax-7 2011  ax-8 2108  ax-9 2116  ax-10 2137  ax-11 2154  ax-12 2171  ax-ext 2702  ax-sep 5289  ax-nul 5296  ax-pow 5353  ax-pr 5417  ax-un 7705
This theorem depends on definitions:  df-bi 206  df-an 397  df-or 846  df-3an 1089  df-tru 1544  df-fal 1554  df-ex 1782  df-nf 1786  df-sb 2068  df-mo 2533  df-eu 2562  df-clab 2709  df-cleq 2723  df-clel 2809  df-nfc 2884  df-ne 2940  df-ral 3061  df-rex 3070  df-rab 3430  df-v 3472  df-dif 3944  df-un 3946  df-in 3948  df-ss 3958  df-nul 4316  df-if 4520  df-pw 4595  df-sn 4620  df-pr 4622  df-op 4626  df-uni 4899  df-br 5139  df-opab 5201  df-mpt 5222  df-id 5564  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 6481  df-fun 6531  df-fn 6532  df-f 6533  df-fv 6537  df-staf 20397
This theorem is referenced by:  stafval  20400  staffn  20401  issrngd  20413
  Copyright terms: Public domain W3C validator