Metamath Proof Explorer


Theorem qnumval

Description: Value of the canonical numerator function. (Contributed by Stefan O'Rear, 13-Sep-2014)

Ref Expression
Assertion qnumval A numer A = 1 st ι x × | 1 st x gcd 2 nd x = 1 A = 1 st x 2 nd x

Proof

Step Hyp Ref Expression
1 eqeq1 a = A a = 1 st x 2 nd x A = 1 st x 2 nd x
2 1 anbi2d a = A 1 st x gcd 2 nd x = 1 a = 1 st x 2 nd x 1 st x gcd 2 nd x = 1 A = 1 st x 2 nd x
3 2 riotabidv a = A ι x × | 1 st x gcd 2 nd x = 1 a = 1 st x 2 nd x = ι x × | 1 st x gcd 2 nd x = 1 A = 1 st x 2 nd x
4 3 fveq2d a = A 1 st ι x × | 1 st x gcd 2 nd x = 1 a = 1 st x 2 nd x = 1 st ι x × | 1 st x gcd 2 nd x = 1 A = 1 st x 2 nd x
5 df-numer numer = a 1 st ι x × | 1 st x gcd 2 nd x = 1 a = 1 st x 2 nd x
6 fvex 1 st ι x × | 1 st x gcd 2 nd x = 1 A = 1 st x 2 nd x V
7 4 5 6 fvmpt A numer A = 1 st ι x × | 1 st x gcd 2 nd x = 1 A = 1 st x 2 nd x