Metamath Proof Explorer


Theorem ndxarg

Description: Get the numeric argument from a defined structure component extractor such as df-base . (Contributed by Mario Carneiro, 6-Oct-2013)

Ref Expression
Hypotheses ndxarg.e E=SlotN
ndxarg.n N
Assertion ndxarg Endx=N

Proof

Step Hyp Ref Expression
1 ndxarg.e E=SlotN
2 ndxarg.n N
3 df-ndx ndx=I
4 nnex V
5 resiexg VIV
6 4 5 ax-mp IV
7 3 6 eqeltri ndxV
8 7 1 strfvn Endx=ndxN
9 3 fveq1i ndxN=IN
10 fvresi NIN=N
11 2 10 ax-mp IN=N
12 8 9 11 3eqtri Endx=N