Metamath Proof Explorer


Theorem pell1qrss14

Description: First-quadrant Pell solutions are a subset of the positive solutions. (Contributed by Stefan O'Rear, 18-Sep-2014)

Ref Expression
Assertion pell1qrss14 D Pell1QR D Pell14QR D

Proof

Step Hyp Ref Expression
1 nn0z b 0 b
2 1 a1i D b 0 b
3 2 anim1d D b 0 a = c + D b c 2 D b 2 = 1 b a = c + D b c 2 D b 2 = 1
4 3 reximdv2 D b 0 a = c + D b c 2 D b 2 = 1 b a = c + D b c 2 D b 2 = 1
5 4 reximdv D c 0 b 0 a = c + D b c 2 D b 2 = 1 c 0 b a = c + D b c 2 D b 2 = 1
6 5 anim2d D a c 0 b 0 a = c + D b c 2 D b 2 = 1 a c 0 b a = c + D b c 2 D b 2 = 1
7 elpell1qr D a Pell1QR D a c 0 b 0 a = c + D b c 2 D b 2 = 1
8 elpell14qr D a Pell14QR D a c 0 b a = c + D b c 2 D b 2 = 1
9 6 7 8 3imtr4d D a Pell1QR D a Pell14QR D
10 9 ssrdv D Pell1QR D Pell14QR D