Metamath Proof Explorer


Theorem qnumdencl

Description: Lemma for qnumcl and qdencl . (Contributed by Stefan O'Rear, 13-Sep-2014)

Ref Expression
Assertion qnumdencl A numer A denom A

Proof

Step Hyp Ref Expression
1 qredeu A ∃! a × 1 st a gcd 2 nd a = 1 A = 1 st a 2 nd a
2 riotacl ∃! a × 1 st a gcd 2 nd a = 1 A = 1 st a 2 nd a ι a × | 1 st a gcd 2 nd a = 1 A = 1 st a 2 nd a ×
3 1 2 syl A ι a × | 1 st a gcd 2 nd a = 1 A = 1 st a 2 nd a ×
4 elxp6 ι a × | 1 st a gcd 2 nd a = 1 A = 1 st a 2 nd a × ι a × | 1 st a gcd 2 nd a = 1 A = 1 st a 2 nd a = 1 st ι a × | 1 st a gcd 2 nd a = 1 A = 1 st a 2 nd a 2 nd ι a × | 1 st a gcd 2 nd a = 1 A = 1 st a 2 nd a 1 st ι a × | 1 st a gcd 2 nd a = 1 A = 1 st a 2 nd a 2 nd ι a × | 1 st a gcd 2 nd a = 1 A = 1 st a 2 nd a
5 qnumval A numer A = 1 st ι a × | 1 st a gcd 2 nd a = 1 A = 1 st a 2 nd a
6 5 eleq1d A numer A 1 st ι a × | 1 st a gcd 2 nd a = 1 A = 1 st a 2 nd a
7 qdenval A denom A = 2 nd ι a × | 1 st a gcd 2 nd a = 1 A = 1 st a 2 nd a
8 7 eleq1d A denom A 2 nd ι a × | 1 st a gcd 2 nd a = 1 A = 1 st a 2 nd a
9 6 8 anbi12d A numer A denom A 1 st ι a × | 1 st a gcd 2 nd a = 1 A = 1 st a 2 nd a 2 nd ι a × | 1 st a gcd 2 nd a = 1 A = 1 st a 2 nd a
10 9 biimprd A 1 st ι a × | 1 st a gcd 2 nd a = 1 A = 1 st a 2 nd a 2 nd ι a × | 1 st a gcd 2 nd a = 1 A = 1 st a 2 nd a numer A denom A
11 10 adantld A ι a × | 1 st a gcd 2 nd a = 1 A = 1 st a 2 nd a = 1 st ι a × | 1 st a gcd 2 nd a = 1 A = 1 st a 2 nd a 2 nd ι a × | 1 st a gcd 2 nd a = 1 A = 1 st a 2 nd a 1 st ι a × | 1 st a gcd 2 nd a = 1 A = 1 st a 2 nd a 2 nd ι a × | 1 st a gcd 2 nd a = 1 A = 1 st a 2 nd a numer A denom A
12 4 11 syl5bi A ι a × | 1 st a gcd 2 nd a = 1 A = 1 st a 2 nd a × numer A denom A
13 3 12 mpd A numer A denom A