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

Theorem staffval 20598
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 6890 . . . . . 6 (𝑓 = 𝑅 → (Base‘𝑓) = (Base‘𝑅))
3 staffval.b . . . . . 6 𝐵 = (Base‘𝑅)
42, 3eqtr4di 2788 . . . . 5 (𝑓 = 𝑅 → (Base‘𝑓) = 𝐵)
5 fveq2 6890 . . . . . . 7 (𝑓 = 𝑅 → (*𝑟𝑓) = (*𝑟𝑅))
6 staffval.i . . . . . . 7 = (*𝑟𝑅)
75, 6eqtr4di 2788 . . . . . 6 (𝑓 = 𝑅 → (*𝑟𝑓) = )
87fveq1d 6892 . . . . 5 (𝑓 = 𝑅 → ((*𝑟𝑓)‘𝑥) = ( 𝑥))
94, 8mpteq12dv 5238 . . . 4 (𝑓 = 𝑅 → (𝑥 ∈ (Base‘𝑓) ↦ ((*𝑟𝑓)‘𝑥)) = (𝑥𝐵 ↦ ( 𝑥)))
10 df-staf 20596 . . . 4 *rf = (𝑓 ∈ V ↦ (𝑥 ∈ (Base‘𝑓) ↦ ((*𝑟𝑓)‘𝑥)))
11 eqid 2730 . . . . . 6 (𝑥𝐵 ↦ ( 𝑥)) = (𝑥𝐵 ↦ ( 𝑥))
12 fvrn0 6920 . . . . . . 7 ( 𝑥) ∈ (ran ∪ {∅})
1312a1i 11 . . . . . 6 (𝑥𝐵 → ( 𝑥) ∈ (ran ∪ {∅}))
1411, 13fmpti 7112 . . . . 5 (𝑥𝐵 ↦ ( 𝑥)):𝐵⟶(ran ∪ {∅})
153fvexi 6904 . . . . 5 𝐵 ∈ V
166fvexi 6904 . . . . . . 7 ∈ V
1716rnex 7905 . . . . . 6 ran ∈ V
18 p0ex 5381 . . . . . 6 {∅} ∈ V
1917, 18unex 7735 . . . . 5 (ran ∪ {∅}) ∈ V
20 fex2 7926 . . . . 5 (((𝑥𝐵 ↦ ( 𝑥)):𝐵⟶(ran ∪ {∅}) ∧ 𝐵 ∈ V ∧ (ran ∪ {∅}) ∈ V) → (𝑥𝐵 ↦ ( 𝑥)) ∈ V)
2114, 15, 19, 20mp3an 1459 . . . 4 (𝑥𝐵 ↦ ( 𝑥)) ∈ V
229, 10, 21fvmpt 6997 . . 3 (𝑅 ∈ V → (*rf𝑅) = (𝑥𝐵 ↦ ( 𝑥)))
23 fvprc 6882 . . . . 5 𝑅 ∈ V → (*rf𝑅) = ∅)
24 mpt0 6691 . . . . 5 (𝑥 ∈ ∅ ↦ ( 𝑥)) = ∅
2523, 24eqtr4di 2788 . . . 4 𝑅 ∈ V → (*rf𝑅) = (𝑥 ∈ ∅ ↦ ( 𝑥)))
26 fvprc 6882 . . . . . 6 𝑅 ∈ V → (Base‘𝑅) = ∅)
273, 26eqtrid 2782 . . . . 5 𝑅 ∈ V → 𝐵 = ∅)
2827mpteq1d 5242 . . . 4 𝑅 ∈ V → (𝑥𝐵 ↦ ( 𝑥)) = (𝑥 ∈ ∅ ↦ ( 𝑥)))
2925, 28eqtr4d 2773 . . 3 𝑅 ∈ V → (*rf𝑅) = (𝑥𝐵 ↦ ( 𝑥)))
3022, 29pm2.61i 182 . 2 (*rf𝑅) = (𝑥𝐵 ↦ ( 𝑥))
311, 30eqtri 2758 1 = (𝑥𝐵 ↦ ( 𝑥))
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3   = wceq 1539  wcel 2104  Vcvv 3472  cun 3945  c0 4321  {csn 4627  cmpt 5230  ran crn 5676  wf 6538  cfv 6542  Basecbs 17148  *𝑟cstv 17203  *rfcstf 20594
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1795  ax-4 1809  ax-5 1911  ax-6 1969  ax-7 2009  ax-8 2106  ax-9 2114  ax-10 2135  ax-11 2152  ax-12 2169  ax-ext 2701  ax-sep 5298  ax-nul 5305  ax-pow 5362  ax-pr 5426  ax-un 7727
This theorem depends on definitions:  df-bi 206  df-an 395  df-or 844  df-3an 1087  df-tru 1542  df-fal 1552  df-ex 1780  df-nf 1784  df-sb 2066  df-mo 2532  df-eu 2561  df-clab 2708  df-cleq 2722  df-clel 2808  df-nfc 2883  df-ne 2939  df-ral 3060  df-rex 3069  df-rab 3431  df-v 3474  df-dif 3950  df-un 3952  df-in 3954  df-ss 3964  df-nul 4322  df-if 4528  df-pw 4603  df-sn 4628  df-pr 4630  df-op 4634  df-uni 4908  df-br 5148  df-opab 5210  df-mpt 5231  df-id 5573  df-xp 5681  df-rel 5682  df-cnv 5683  df-co 5684  df-dm 5685  df-rn 5686  df-res 5687  df-ima 5688  df-iota 6494  df-fun 6544  df-fn 6545  df-f 6546  df-fv 6550  df-staf 20596
This theorem is referenced by:  stafval  20599  staffn  20600  issrngd  20612
  Copyright terms: Public domain W3C validator