Metamath Proof Explorer


Theorem strfv

Description: Extract a structure component C (such as the base set) from a structure S (such as a member of Poset , df-poset ) with a component extractor E (such as the base set extractor df-base ). By virtue of ndxid , this can be done without having to refer to the hard-coded numeric index of E . (Contributed by Mario Carneiro, 6-Oct-2013) (Revised by Mario Carneiro, 29-Aug-2015)

Ref Expression
Hypotheses strfv.s SStructX
strfv.e E=SlotEndx
strfv.n EndxCS
Assertion strfv CVC=ES

Proof

Step Hyp Ref Expression
1 strfv.s SStructX
2 strfv.e E=SlotEndx
3 strfv.n EndxCS
4 structex SStructXSV
5 1 4 ax-mp SV
6 1 structfun FunS-1-1
7 opex EndxCV
8 7 snss EndxCSEndxCS
9 3 8 mpbir EndxCS
10 5 6 2 9 strfv2 CVC=ES