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 = Slot N
ndxarg.n N
Assertion ndxarg E ndx = N

Proof

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