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

Theorem staffval 21149
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 6916 . . . . . 6 (𝑓 = 𝑅 → (Base‘𝑓) = (Base‘𝑅))
3 staffval.b . . . . . 6 𝐵 = (Base‘𝑅)
42, 3eqtr4di 2816 . . . . 5 (𝑓 = 𝑅 → (Base‘𝑓) = 𝐵)
5 fveq2 6916 . . . . . . 7 (𝑓 = 𝑅 → (*𝑟‘𝑓) = (*𝑟‘𝑅))
6 staffval.i . . . . . . 7 ∗ = (*𝑟‘𝑅)
75, 6eqtr4di 2816 . . . . . 6 (𝑓 = 𝑅 → (*𝑟‘𝑓) = ∗ )
87fveq1d 6918 . . . . 5 (𝑓 = 𝑅 → ((*𝑟‘𝑓)‘𝑥) = ( ∗ ‘𝑥))
94, 8mpteq12dv 5198 . . . 4 (𝑓 = 𝑅 → (𝑥 ∈ (Base‘𝑓) ↦ ((*𝑟‘𝑓)‘𝑥)) = (𝑥 ∈ 𝐵 ↦ ( ∗ ‘𝑥)))
10 df-staf 21147 . . . 4 *rf = (𝑓 ∈ V ↦ (𝑥 ∈ (Base‘𝑓) ↦ ((*𝑟‘𝑓)‘𝑥)))
11 eqid 2763 . . . . . 6 (𝑥 ∈ 𝐵 ↦ ( ∗ ‘𝑥)) = (𝑥 ∈ 𝐵 ↦ ( ∗ ‘𝑥))
12 fvrn0 6944 . . . . . . 7 ( ∗ ‘𝑥) ∈ (ran ∗ ∪ {∅})
1312a1i 11 . . . . . 6 (𝑥 ∈ 𝐵 → ( ∗ ‘𝑥) ∈ (ran ∗ ∪ {∅}))
1411, 13fmpti 7144 . . . . 5 (𝑥 ∈ 𝐵 ↦ ( ∗ ‘𝑥)):𝐵⟶(ran ∗ ∪ {∅})
153fvexi 6930 . . . . 5 𝐵 ∈ V
166fvexi 6930 . . . . . . 7 ∗ ∈ V
1716rnex 7956 . . . . . 6 ran ∗ ∈ V
18 p0ex 5353 . . . . . 6 {∅} ∈ V
1917, 18unex 7793 . . . . 5 (ran ∗ ∪ {∅}) ∈ V
20 fex2 7982 . . . . 5 (((𝑥 ∈ 𝐵 ↦ ( ∗ ‘𝑥)):𝐵⟶(ran ∗ ∪ {∅}) ∧ 𝐵 ∈ V ∧ (ran ∗ ∪ {∅}) ∈ V) → (𝑥 ∈ 𝐵 ↦ ( ∗ ‘𝑥)) ∈ V)
2114, 15, 19, 20mp3an 1491 . . . 4 (𝑥 ∈ 𝐵 ↦ ( ∗ ‘𝑥)) ∈ V
229, 10, 21fvmpt 7024 . . 3 (𝑅 ∈ V → (*rf‘𝑅) = (𝑥 ∈ 𝐵 ↦ ( ∗ ‘𝑥)))
23 fvprc 6908 . . . . 5 (¬ 𝑅 ∈ V → (*rf‘𝑅) = ∅)
24 mpt0 6711 . . . . 5 (𝑥 ∈ ∅ ↦ ( ∗ ‘𝑥)) = ∅
2523, 24eqtr4di 2816 . . . 4 (¬ 𝑅 ∈ V → (*rf‘𝑅) = (𝑥 ∈ ∅ ↦ ( ∗ ‘𝑥)))
26 fvprc 6908 . . . . . 6 (¬ 𝑅 ∈ V → (Base‘𝑅) = ∅)
273, 26eqtrid 2810 . . . . 5 (¬ 𝑅 ∈ V → 𝐵 = ∅)
2827mpteq1d 5201 . . . 4 (¬ 𝑅 ∈ V → (𝑥 ∈ 𝐵 ↦ ( ∗ ‘𝑥)) = (𝑥 ∈ ∅ ↦ ( ∗ ‘𝑥)))
2925, 28eqtr4d 2801 . . 3 (¬ 𝑅 ∈ V → (*rf‘𝑅) = (𝑥 ∈ 𝐵 ↦ ( ∗ ‘𝑥)))
3022, 29pm2.61i 184 . 2 (*rf‘𝑅) = (𝑥 ∈ 𝐵 ↦ ( ∗ ‘𝑥))
311, 30eqtri 2786 1 ∙ = (𝑥 ∈ 𝐵 ↦ ( ∗ ‘𝑥))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:  ¬ wn 3   = wceq 1570   ∈ wcel 2147  Vcvv 3454   ∪ cun 4152  ∅c0 4281  {csn 4588   ↦ cmpt 5192  ran crn 5659  ⟶wf 6562  ‘cfv 6566  Basecbs 17431  *𝑟cstv 17474  *rfcstf 21145
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-pow 5334  ax-pr 5398  ax-un 7783
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-ss 3901  df-dif 4050  df-in 4094  df-un 4154  df-nul 4282  df-if 4486  df-pw 4562  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-f 6570  df-fv 6574  df-staf 21147
This theorem is used by:  stafval  21150  staffn  21151  issrngd  21163
  Copyright terms: Public domain W3C validator