Metamath Proof Explorer


Theorem rmxy0

Description: Value of the X and Y sequences at 0. (Contributed by Stefan O'Rear, 22-Sep-2014)

Ref Expression
Assertion rmxy0
|- ( A e. ( ZZ>= ` 2 ) -> ( ( A rmX 0 ) = 1 /\ ( A rmY 0 ) = 0 ) )

Proof

Step Hyp Ref Expression
1 0z
 |-  0 e. ZZ
2 rmxyval
 |-  ( ( A e. ( ZZ>= ` 2 ) /\ 0 e. ZZ ) -> ( ( A rmX 0 ) + ( ( sqrt ` ( ( A ^ 2 ) - 1 ) ) x. ( A rmY 0 ) ) ) = ( ( A + ( sqrt ` ( ( A ^ 2 ) - 1 ) ) ) ^ 0 ) )
3 1 2 mpan2
 |-  ( A e. ( ZZ>= ` 2 ) -> ( ( A rmX 0 ) + ( ( sqrt ` ( ( A ^ 2 ) - 1 ) ) x. ( A rmY 0 ) ) ) = ( ( A + ( sqrt ` ( ( A ^ 2 ) - 1 ) ) ) ^ 0 ) )
4 rmbaserp
 |-  ( A e. ( ZZ>= ` 2 ) -> ( A + ( sqrt ` ( ( A ^ 2 ) - 1 ) ) ) e. RR+ )
5 4 rpcnd
 |-  ( A e. ( ZZ>= ` 2 ) -> ( A + ( sqrt ` ( ( A ^ 2 ) - 1 ) ) ) e. CC )
6 5 exp0d
 |-  ( A e. ( ZZ>= ` 2 ) -> ( ( A + ( sqrt ` ( ( A ^ 2 ) - 1 ) ) ) ^ 0 ) = 1 )
7 rmspecpos
 |-  ( A e. ( ZZ>= ` 2 ) -> ( ( A ^ 2 ) - 1 ) e. RR+ )
8 7 rpcnd
 |-  ( A e. ( ZZ>= ` 2 ) -> ( ( A ^ 2 ) - 1 ) e. CC )
9 8 sqrtcld
 |-  ( A e. ( ZZ>= ` 2 ) -> ( sqrt ` ( ( A ^ 2 ) - 1 ) ) e. CC )
10 9 mul01d
 |-  ( A e. ( ZZ>= ` 2 ) -> ( ( sqrt ` ( ( A ^ 2 ) - 1 ) ) x. 0 ) = 0 )
11 10 oveq2d
 |-  ( A e. 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 e. QQ
30 29 a1i
 |-  ( A e. ( ZZ>= ` 2 ) -> 0 e. QQ )
31 qirropth
 |-  ( ( ( sqrt ` ( ( A ^ 2 ) - 1 ) ) e. ( CC \ QQ ) /\ ( ( A rmX 0 ) e. QQ /\ ( A rmY 0 ) e. QQ ) /\ ( 1 e. QQ /\ 0 e. QQ ) ) -> ( ( ( A rmX 0 ) + ( ( sqrt ` ( ( A ^ 2 ) - 1 ) ) x. ( A rmY 0 ) ) ) = ( 1 + ( ( sqrt ` ( ( A ^ 2 ) - 1 ) ) x. 0 ) ) <-> ( ( A rmX 0 ) = 1 /\ ( A rmY 0 ) = 0 ) ) )
32 15 20 25 28 30 31 syl122anc
 |-  ( A e. ( ZZ>= ` 2 ) -> ( ( ( A rmX 0 ) + ( ( sqrt ` ( ( A ^ 2 ) - 1 ) ) x. ( A rmY 0 ) ) ) = ( 1 + ( ( sqrt ` ( ( A ^ 2 ) - 1 ) ) x. 0 ) ) <-> ( ( A rmX 0 ) = 1 /\ ( A rmY 0 ) = 0 ) ) )
33 14 32 mpbid
 |-  ( A e. ( ZZ>= ` 2 ) -> ( ( A rmX 0 ) = 1 /\ ( A rmY 0 ) = 0 ) )