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

Theorem strfvn 17222
Description: Value of a structure component extractor 𝐸. Normally, 𝐸 is a defined constant symbol such as Base (df-base 17246) and 𝑁 is the index of the component. 𝑆 is a structure, i.e. a specific member of a class of structures such as Poset (df-poset 18345) where 𝑆 ∈ Poset.

Hint: Do not substitute 𝑁 by a specific (positive) integer to be independent of a hard-coded index value. Often, (𝐸‘ndx) can be used instead of 𝑁. Alternatively, use strfv 17239 instead of strfvn 17222. (Contributed by NM, 9-Sep-2011.) (Revised by Mario Carneiro, 6-Oct-2013.) (New usage is discouraged.)

Hypotheses
Ref Expression
strfvn.f 𝑆 ∈ V
strfvn.c 𝐸 = Slot 𝑁
Assertion
Ref Expression
strfvn (𝐸𝑆) = (𝑆𝑁)

Proof of Theorem strfvn
StepHypRef Expression
1 strfvn.c . . 3 𝐸 = Slot 𝑁
2 strfvn.f . . . 4 𝑆 ∈ V
32a1i 11 . . 3 (⊤ → 𝑆 ∈ V)
41, 3strfvnd 17221 . 2 (⊤ → (𝐸𝑆) = (𝑆𝑁))
54mptru 1567 1 (𝐸𝑆) = (𝑆𝑁)
Colors of variables: wff setvar class
Syntax hints:   = wceq 1560  wtru 1561  wcel 2142  Vcvv 3454  cfv 6521  Slot cslot 17217
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1815  ax-4 1829  ax-5 1930  ax-6 1987  ax-7 2028  ax-8 2144  ax-9 2152  ax-10 2175  ax-11 2191  ax-12 2212  ax-ext 2734  ax-sep 5246  ax-nul 5256  ax-pr 5390
This theorem depends on definitions:  df-bi 209  df-an 400  df-or 859  df-3an 1100  df-tru 1563  df-fal 1573  df-ex 1800  df-nf 1804  df-sb 2091  df-mo 2566  df-eu 2596  df-clab 2741  df-cleq 2754  df-clel 2837  df-nfc 2911  df-ne 2958  df-ral 3077  df-rex 3087  df-rab 3415  df-v 3456  df-dif 3907  df-un 3909  df-in 3911  df-ss 3921  df-nul 4286  df-if 4481  df-sn 4583  df-pr 4585  df-op 4589  df-uni 4866  df-br 5101  df-opab 5163  df-mpt 5182  df-id 5542  df-xp 5653  df-rel 5654  df-cnv 5655  df-co 5656  df-dm 5657  df-iota 6477  df-fun 6523  df-fv 6529  df-slot 17218
This theorem is referenced by:  str0  17225  ndxarg  17232  setsnid  17244  baseval  17247  resvsca  33518
  Copyright terms: Public domain W3C validator