MPE Home Metamath Proof Explorer < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >  tanadd Structured version   Unicode version

Theorem tanadd 13754
Description: Addition formula for tangent. (Contributed by Mario Carneiro, 4-Apr-2015.)
Assertion
Ref Expression
tanadd  |-  ( ( ( A  e.  CC  /\  B  e.  CC )  /\  ( ( cos `  A )  =/=  0  /\  ( cos `  B
)  =/=  0  /\  ( cos `  ( A  +  B )
)  =/=  0 ) )  ->  ( tan `  ( A  +  B
) )  =  ( ( ( tan `  A
)  +  ( tan `  B ) )  / 
( 1  -  (
( tan `  A
)  x.  ( tan `  B ) ) ) ) )

Proof of Theorem tanadd
StepHypRef Expression
1 addcl 9565 . . . 4  |-  ( ( A  e.  CC  /\  B  e.  CC )  ->  ( A  +  B
)  e.  CC )
21adantr 465 . . 3  |-  ( ( ( A  e.  CC  /\  B  e.  CC )  /\  ( ( cos `  A )  =/=  0  /\  ( cos `  B
)  =/=  0  /\  ( cos `  ( A  +  B )
)  =/=  0 ) )  ->  ( A  +  B )  e.  CC )
3 simpr3 999 . . 3  |-  ( ( ( A  e.  CC  /\  B  e.  CC )  /\  ( ( cos `  A )  =/=  0  /\  ( cos `  B
)  =/=  0  /\  ( cos `  ( A  +  B )
)  =/=  0 ) )  ->  ( cos `  ( A  +  B
) )  =/=  0
)
4 tanval 13715 . . 3  |-  ( ( ( A  +  B
)  e.  CC  /\  ( cos `  ( A  +  B ) )  =/=  0 )  -> 
( tan `  ( A  +  B )
)  =  ( ( sin `  ( A  +  B ) )  /  ( cos `  ( A  +  B )
) ) )
52, 3, 4syl2anc 661 . 2  |-  ( ( ( A  e.  CC  /\  B  e.  CC )  /\  ( ( cos `  A )  =/=  0  /\  ( cos `  B
)  =/=  0  /\  ( cos `  ( A  +  B )
)  =/=  0 ) )  ->  ( tan `  ( A  +  B
) )  =  ( ( sin `  ( A  +  B )
)  /  ( cos `  ( A  +  B
) ) ) )
6 sinadd 13751 . . . . 5  |-  ( ( A  e.  CC  /\  B  e.  CC )  ->  ( sin `  ( A  +  B )
)  =  ( ( ( sin `  A
)  x.  ( cos `  B ) )  +  ( ( cos `  A
)  x.  ( sin `  B ) ) ) )
76adantr 465 . . . 4  |-  ( ( ( A  e.  CC  /\  B  e.  CC )  /\  ( ( cos `  A )  =/=  0  /\  ( cos `  B
)  =/=  0  /\  ( cos `  ( A  +  B )
)  =/=  0 ) )  ->  ( sin `  ( A  +  B
) )  =  ( ( ( sin `  A
)  x.  ( cos `  B ) )  +  ( ( cos `  A
)  x.  ( sin `  B ) ) ) )
8 cosadd 13752 . . . . 5  |-  ( ( A  e.  CC  /\  B  e.  CC )  ->  ( cos `  ( A  +  B )
)  =  ( ( ( cos `  A
)  x.  ( cos `  B ) )  -  ( ( sin `  A
)  x.  ( sin `  B ) ) ) )
98adantr 465 . . . 4  |-  ( ( ( A  e.  CC  /\  B  e.  CC )  /\  ( ( cos `  A )  =/=  0  /\  ( cos `  B
)  =/=  0  /\  ( cos `  ( A  +  B )
)  =/=  0 ) )  ->  ( cos `  ( A  +  B
) )  =  ( ( ( cos `  A
)  x.  ( cos `  B ) )  -  ( ( sin `  A
)  x.  ( sin `  B ) ) ) )
107, 9oveq12d 6295 . . 3  |-  ( ( ( A  e.  CC  /\  B  e.  CC )  /\  ( ( cos `  A )  =/=  0  /\  ( cos `  B
)  =/=  0  /\  ( cos `  ( A  +  B )
)  =/=  0 ) )  ->  ( ( sin `  ( A  +  B ) )  / 
( cos `  ( A  +  B )
) )  =  ( ( ( ( sin `  A )  x.  ( cos `  B ) )  +  ( ( cos `  A )  x.  ( sin `  B ) ) )  /  ( ( ( cos `  A
)  x.  ( cos `  B ) )  -  ( ( sin `  A
)  x.  ( sin `  B ) ) ) ) )
11 simpll 753 . . . . . . . 8  |-  ( ( ( A  e.  CC  /\  B  e.  CC )  /\  ( ( cos `  A )  =/=  0  /\  ( cos `  B
)  =/=  0  /\  ( cos `  ( A  +  B )
)  =/=  0 ) )  ->  A  e.  CC )
1211coscld 13718 . . . . . . 7  |-  ( ( ( A  e.  CC  /\  B  e.  CC )  /\  ( ( cos `  A )  =/=  0  /\  ( cos `  B
)  =/=  0  /\  ( cos `  ( A  +  B )
)  =/=  0 ) )  ->  ( cos `  A )  e.  CC )
13 simplr 754 . . . . . . . 8  |-  ( ( ( A  e.  CC  /\  B  e.  CC )  /\  ( ( cos `  A )  =/=  0  /\  ( cos `  B
)  =/=  0  /\  ( cos `  ( A  +  B )
)  =/=  0 ) )  ->  B  e.  CC )
1413coscld 13718 . . . . . . 7  |-  ( ( ( A  e.  CC  /\  B  e.  CC )  /\  ( ( cos `  A )  =/=  0  /\  ( cos `  B
)  =/=  0  /\  ( cos `  ( A  +  B )
)  =/=  0 ) )  ->  ( cos `  B )  e.  CC )
1512, 14mulcld 9607 . . . . . 6  |-  ( ( ( A  e.  CC  /\  B  e.  CC )  /\  ( ( cos `  A )  =/=  0  /\  ( cos `  B
)  =/=  0  /\  ( cos `  ( A  +  B )
)  =/=  0 ) )  ->  ( ( cos `  A )  x.  ( cos `  B
) )  e.  CC )
16 simpr1 997 . . . . . . 7  |-  ( ( ( A  e.  CC  /\  B  e.  CC )  /\  ( ( cos `  A )  =/=  0  /\  ( cos `  B
)  =/=  0  /\  ( cos `  ( A  +  B )
)  =/=  0 ) )  ->  ( cos `  A )  =/=  0
)
1711, 16tancld 13719 . . . . . 6  |-  ( ( ( A  e.  CC  /\  B  e.  CC )  /\  ( ( cos `  A )  =/=  0  /\  ( cos `  B
)  =/=  0  /\  ( cos `  ( A  +  B )
)  =/=  0 ) )  ->  ( tan `  A )  e.  CC )
18 simpr2 998 . . . . . . 7  |-  ( ( ( A  e.  CC  /\  B  e.  CC )  /\  ( ( cos `  A )  =/=  0  /\  ( cos `  B
)  =/=  0  /\  ( cos `  ( A  +  B )
)  =/=  0 ) )  ->  ( cos `  B )  =/=  0
)
1913, 18tancld 13719 . . . . . 6  |-  ( ( ( A  e.  CC  /\  B  e.  CC )  /\  ( ( cos `  A )  =/=  0  /\  ( cos `  B
)  =/=  0  /\  ( cos `  ( A  +  B )
)  =/=  0 ) )  ->  ( tan `  B )  e.  CC )
2015, 17, 19adddid 9611 . . . . 5  |-  ( ( ( A  e.  CC  /\  B  e.  CC )  /\  ( ( cos `  A )  =/=  0  /\  ( cos `  B
)  =/=  0  /\  ( cos `  ( A  +  B )
)  =/=  0 ) )  ->  ( (
( cos `  A
)  x.  ( cos `  B ) )  x.  ( ( tan `  A
)  +  ( tan `  B ) ) )  =  ( ( ( ( cos `  A
)  x.  ( cos `  B ) )  x.  ( tan `  A
) )  +  ( ( ( cos `  A
)  x.  ( cos `  B ) )  x.  ( tan `  B
) ) ) )
2112, 14, 17mul32d 9780 . . . . . . 7  |-  ( ( ( A  e.  CC  /\  B  e.  CC )  /\  ( ( cos `  A )  =/=  0  /\  ( cos `  B
)  =/=  0  /\  ( cos `  ( A  +  B )
)  =/=  0 ) )  ->  ( (
( cos `  A
)  x.  ( cos `  B ) )  x.  ( tan `  A
) )  =  ( ( ( cos `  A
)  x.  ( tan `  A ) )  x.  ( cos `  B
) ) )
22 tanval 13715 . . . . . . . . . . 11  |-  ( ( A  e.  CC  /\  ( cos `  A )  =/=  0 )  -> 
( tan `  A
)  =  ( ( sin `  A )  /  ( cos `  A
) ) )
2311, 16, 22syl2anc 661 . . . . . . . . . 10  |-  ( ( ( A  e.  CC  /\  B  e.  CC )  /\  ( ( cos `  A )  =/=  0  /\  ( cos `  B
)  =/=  0  /\  ( cos `  ( A  +  B )
)  =/=  0 ) )  ->  ( tan `  A )  =  ( ( sin `  A
)  /  ( cos `  A ) ) )
2423oveq2d 6293 . . . . . . . . 9  |-  ( ( ( A  e.  CC  /\  B  e.  CC )  /\  ( ( cos `  A )  =/=  0  /\  ( cos `  B
)  =/=  0  /\  ( cos `  ( A  +  B )
)  =/=  0 ) )  ->  ( ( cos `  A )  x.  ( tan `  A
) )  =  ( ( cos `  A
)  x.  ( ( sin `  A )  /  ( cos `  A
) ) ) )
2511sincld 13717 . . . . . . . . . 10  |-  ( ( ( A  e.  CC  /\  B  e.  CC )  /\  ( ( cos `  A )  =/=  0  /\  ( cos `  B
)  =/=  0  /\  ( cos `  ( A  +  B )
)  =/=  0 ) )  ->  ( sin `  A )  e.  CC )
2625, 12, 16divcan2d 10313 . . . . . . . . 9  |-  ( ( ( A  e.  CC  /\  B  e.  CC )  /\  ( ( cos `  A )  =/=  0  /\  ( cos `  B
)  =/=  0  /\  ( cos `  ( A  +  B )
)  =/=  0 ) )  ->  ( ( cos `  A )  x.  ( ( sin `  A
)  /  ( cos `  A ) ) )  =  ( sin `  A
) )
2724, 26eqtrd 2503 . . . . . . . 8  |-  ( ( ( A  e.  CC  /\  B  e.  CC )  /\  ( ( cos `  A )  =/=  0  /\  ( cos `  B
)  =/=  0  /\  ( cos `  ( A  +  B )
)  =/=  0 ) )  ->  ( ( cos `  A )  x.  ( tan `  A
) )  =  ( sin `  A ) )
2827oveq1d 6292 . . . . . . 7  |-  ( ( ( A  e.  CC  /\  B  e.  CC )  /\  ( ( cos `  A )  =/=  0  /\  ( cos `  B
)  =/=  0  /\  ( cos `  ( A  +  B )
)  =/=  0 ) )  ->  ( (
( cos `  A
)  x.  ( tan `  A ) )  x.  ( cos `  B
) )  =  ( ( sin `  A
)  x.  ( cos `  B ) ) )
2921, 28eqtrd 2503 . . . . . 6  |-  ( ( ( A  e.  CC  /\  B  e.  CC )  /\  ( ( cos `  A )  =/=  0  /\  ( cos `  B
)  =/=  0  /\  ( cos `  ( A  +  B )
)  =/=  0 ) )  ->  ( (
( cos `  A
)  x.  ( cos `  B ) )  x.  ( tan `  A
) )  =  ( ( sin `  A
)  x.  ( cos `  B ) ) )
3012, 14, 19mulassd 9610 . . . . . . 7  |-  ( ( ( A  e.  CC  /\  B  e.  CC )  /\  ( ( cos `  A )  =/=  0  /\  ( cos `  B
)  =/=  0  /\  ( cos `  ( A  +  B )
)  =/=  0 ) )  ->  ( (
( cos `  A
)  x.  ( cos `  B ) )  x.  ( tan `  B
) )  =  ( ( cos `  A
)  x.  ( ( cos `  B )  x.  ( tan `  B
) ) ) )
31 tanval 13715 . . . . . . . . . . 11  |-  ( ( B  e.  CC  /\  ( cos `  B )  =/=  0 )  -> 
( tan `  B
)  =  ( ( sin `  B )  /  ( cos `  B
) ) )
3213, 18, 31syl2anc 661 . . . . . . . . . 10  |-  ( ( ( A  e.  CC  /\  B  e.  CC )  /\  ( ( cos `  A )  =/=  0  /\  ( cos `  B
)  =/=  0  /\  ( cos `  ( A  +  B )
)  =/=  0 ) )  ->  ( tan `  B )  =  ( ( sin `  B
)  /  ( cos `  B ) ) )
3332oveq2d 6293 . . . . . . . . 9  |-  ( ( ( A  e.  CC  /\  B  e.  CC )  /\  ( ( cos `  A )  =/=  0  /\  ( cos `  B
)  =/=  0  /\  ( cos `  ( A  +  B )
)  =/=  0 ) )  ->  ( ( cos `  B )  x.  ( tan `  B
) )  =  ( ( cos `  B
)  x.  ( ( sin `  B )  /  ( cos `  B
) ) ) )
3413sincld 13717 . . . . . . . . . 10  |-  ( ( ( A  e.  CC  /\  B  e.  CC )  /\  ( ( cos `  A )  =/=  0  /\  ( cos `  B
)  =/=  0  /\  ( cos `  ( A  +  B )
)  =/=  0 ) )  ->  ( sin `  B )  e.  CC )
3534, 14, 18divcan2d 10313 . . . . . . . . 9  |-  ( ( ( A  e.  CC  /\  B  e.  CC )  /\  ( ( cos `  A )  =/=  0  /\  ( cos `  B
)  =/=  0  /\  ( cos `  ( A  +  B )
)  =/=  0 ) )  ->  ( ( cos `  B )  x.  ( ( sin `  B
)  /  ( cos `  B ) ) )  =  ( sin `  B
) )
3633, 35eqtrd 2503 . . . . . . . 8  |-  ( ( ( A  e.  CC  /\  B  e.  CC )  /\  ( ( cos `  A )  =/=  0  /\  ( cos `  B
)  =/=  0  /\  ( cos `  ( A  +  B )
)  =/=  0 ) )  ->  ( ( cos `  B )  x.  ( tan `  B
) )  =  ( sin `  B ) )
3736oveq2d 6293 . . . . . . 7  |-  ( ( ( A  e.  CC  /\  B  e.  CC )  /\  ( ( cos `  A )  =/=  0  /\  ( cos `  B
)  =/=  0  /\  ( cos `  ( A  +  B )
)  =/=  0 ) )  ->  ( ( cos `  A )  x.  ( ( cos `  B
)  x.  ( tan `  B ) ) )  =  ( ( cos `  A )  x.  ( sin `  B ) ) )
3830, 37eqtrd 2503 . . . . . 6  |-  ( ( ( A  e.  CC  /\  B  e.  CC )  /\  ( ( cos `  A )  =/=  0  /\  ( cos `  B
)  =/=  0  /\  ( cos `  ( A  +  B )
)  =/=  0 ) )  ->  ( (
( cos `  A
)  x.  ( cos `  B ) )  x.  ( tan `  B
) )  =  ( ( cos `  A
)  x.  ( sin `  B ) ) )
3929, 38oveq12d 6295 . . . . 5  |-  ( ( ( A  e.  CC  /\  B  e.  CC )  /\  ( ( cos `  A )  =/=  0  /\  ( cos `  B
)  =/=  0  /\  ( cos `  ( A  +  B )
)  =/=  0 ) )  ->  ( (
( ( cos `  A
)  x.  ( cos `  B ) )  x.  ( tan `  A
) )  +  ( ( ( cos `  A
)  x.  ( cos `  B ) )  x.  ( tan `  B
) ) )  =  ( ( ( sin `  A )  x.  ( cos `  B ) )  +  ( ( cos `  A )  x.  ( sin `  B ) ) ) )
4020, 39eqtrd 2503 . . . 4  |-  ( ( ( A  e.  CC  /\  B  e.  CC )  /\  ( ( cos `  A )  =/=  0  /\  ( cos `  B
)  =/=  0  /\  ( cos `  ( A  +  B )
)  =/=  0 ) )  ->  ( (
( cos `  A
)  x.  ( cos `  B ) )  x.  ( ( tan `  A
)  +  ( tan `  B ) ) )  =  ( ( ( sin `  A )  x.  ( cos `  B
) )  +  ( ( cos `  A
)  x.  ( sin `  B ) ) ) )
41 1cnd 9603 . . . . . 6  |-  ( ( ( A  e.  CC  /\  B  e.  CC )  /\  ( ( cos `  A )  =/=  0  /\  ( cos `  B
)  =/=  0  /\  ( cos `  ( A  +  B )
)  =/=  0 ) )  ->  1  e.  CC )
4217, 19mulcld 9607 . . . . . 6  |-  ( ( ( A  e.  CC  /\  B  e.  CC )  /\  ( ( cos `  A )  =/=  0  /\  ( cos `  B
)  =/=  0  /\  ( cos `  ( A  +  B )
)  =/=  0 ) )  ->  ( ( tan `  A )  x.  ( tan `  B
) )  e.  CC )
4315, 41, 42subdid 10003 . . . . 5  |-  ( ( ( A  e.  CC  /\  B  e.  CC )  /\  ( ( cos `  A )  =/=  0  /\  ( cos `  B
)  =/=  0  /\  ( cos `  ( A  +  B )
)  =/=  0 ) )  ->  ( (
( cos `  A
)  x.  ( cos `  B ) )  x.  ( 1  -  (
( tan `  A
)  x.  ( tan `  B ) ) ) )  =  ( ( ( ( cos `  A
)  x.  ( cos `  B ) )  x.  1 )  -  (
( ( cos `  A
)  x.  ( cos `  B ) )  x.  ( ( tan `  A
)  x.  ( tan `  B ) ) ) ) )
4415mulid1d 9604 . . . . . 6  |-  ( ( ( A  e.  CC  /\  B  e.  CC )  /\  ( ( cos `  A )  =/=  0  /\  ( cos `  B
)  =/=  0  /\  ( cos `  ( A  +  B )
)  =/=  0 ) )  ->  ( (
( cos `  A
)  x.  ( cos `  B ) )  x.  1 )  =  ( ( cos `  A
)  x.  ( cos `  B ) ) )
4512, 14, 17, 19mul4d 9782 . . . . . . 7  |-  ( ( ( A  e.  CC  /\  B  e.  CC )  /\  ( ( cos `  A )  =/=  0  /\  ( cos `  B
)  =/=  0  /\  ( cos `  ( A  +  B )
)  =/=  0 ) )  ->  ( (
( cos `  A
)  x.  ( cos `  B ) )  x.  ( ( tan `  A
)  x.  ( tan `  B ) ) )  =  ( ( ( cos `  A )  x.  ( tan `  A
) )  x.  (
( cos `  B
)  x.  ( tan `  B ) ) ) )
4627, 36oveq12d 6295 . . . . . . 7  |-  ( ( ( A  e.  CC  /\  B  e.  CC )  /\  ( ( cos `  A )  =/=  0  /\  ( cos `  B
)  =/=  0  /\  ( cos `  ( A  +  B )
)  =/=  0 ) )  ->  ( (
( cos `  A
)  x.  ( tan `  A ) )  x.  ( ( cos `  B
)  x.  ( tan `  B ) ) )  =  ( ( sin `  A )  x.  ( sin `  B ) ) )
4745, 46eqtrd 2503 . . . . . 6  |-  ( ( ( A  e.  CC  /\  B  e.  CC )  /\  ( ( cos `  A )  =/=  0  /\  ( cos `  B
)  =/=  0  /\  ( cos `  ( A  +  B )
)  =/=  0 ) )  ->  ( (
( cos `  A
)  x.  ( cos `  B ) )  x.  ( ( tan `  A
)  x.  ( tan `  B ) ) )  =  ( ( sin `  A )  x.  ( sin `  B ) ) )
4844, 47oveq12d 6295 . . . . 5  |-  ( ( ( A  e.  CC  /\  B  e.  CC )  /\  ( ( cos `  A )  =/=  0  /\  ( cos `  B
)  =/=  0  /\  ( cos `  ( A  +  B )
)  =/=  0 ) )  ->  ( (
( ( cos `  A
)  x.  ( cos `  B ) )  x.  1 )  -  (
( ( cos `  A
)  x.  ( cos `  B ) )  x.  ( ( tan `  A
)  x.  ( tan `  B ) ) ) )  =  ( ( ( cos `  A
)  x.  ( cos `  B ) )  -  ( ( sin `  A
)  x.  ( sin `  B ) ) ) )
4943, 48eqtrd 2503 . . . 4  |-  ( ( ( A  e.  CC  /\  B  e.  CC )  /\  ( ( cos `  A )  =/=  0  /\  ( cos `  B
)  =/=  0  /\  ( cos `  ( A  +  B )
)  =/=  0 ) )  ->  ( (
( cos `  A
)  x.  ( cos `  B ) )  x.  ( 1  -  (
( tan `  A
)  x.  ( tan `  B ) ) ) )  =  ( ( ( cos `  A
)  x.  ( cos `  B ) )  -  ( ( sin `  A
)  x.  ( sin `  B ) ) ) )
5040, 49oveq12d 6295 . . 3  |-  ( ( ( A  e.  CC  /\  B  e.  CC )  /\  ( ( cos `  A )  =/=  0  /\  ( cos `  B
)  =/=  0  /\  ( cos `  ( A  +  B )
)  =/=  0 ) )  ->  ( (
( ( cos `  A
)  x.  ( cos `  B ) )  x.  ( ( tan `  A
)  +  ( tan `  B ) ) )  /  ( ( ( cos `  A )  x.  ( cos `  B
) )  x.  (
1  -  ( ( tan `  A )  x.  ( tan `  B
) ) ) ) )  =  ( ( ( ( sin `  A
)  x.  ( cos `  B ) )  +  ( ( cos `  A
)  x.  ( sin `  B ) ) )  /  ( ( ( cos `  A )  x.  ( cos `  B
) )  -  (
( sin `  A
)  x.  ( sin `  B ) ) ) ) )
5117, 19addcld 9606 . . . 4  |-  ( ( ( A  e.  CC  /\  B  e.  CC )  /\  ( ( cos `  A )  =/=  0  /\  ( cos `  B
)  =/=  0  /\  ( cos `  ( A  +  B )
)  =/=  0 ) )  ->  ( ( tan `  A )  +  ( tan `  B
) )  e.  CC )
52 ax-1cn 9541 . . . . 5  |-  1  e.  CC
53 subcl 9810 . . . . 5  |-  ( ( 1  e.  CC  /\  ( ( tan `  A
)  x.  ( tan `  B ) )  e.  CC )  ->  (
1  -  ( ( tan `  A )  x.  ( tan `  B
) ) )  e.  CC )
5452, 42, 53sylancr 663 . . . 4  |-  ( ( ( A  e.  CC  /\  B  e.  CC )  /\  ( ( cos `  A )  =/=  0  /\  ( cos `  B
)  =/=  0  /\  ( cos `  ( A  +  B )
)  =/=  0 ) )  ->  ( 1  -  ( ( tan `  A )  x.  ( tan `  B ) ) )  e.  CC )
55 tanaddlem 13753 . . . . . . . 8  |-  ( ( ( A  e.  CC  /\  B  e.  CC )  /\  ( ( cos `  A )  =/=  0  /\  ( cos `  B
)  =/=  0 ) )  ->  ( ( cos `  ( A  +  B ) )  =/=  0  <->  ( ( tan `  A )  x.  ( tan `  B ) )  =/=  1 ) )
56553adantr3 1152 . . . . . . 7  |-  ( ( ( A  e.  CC  /\  B  e.  CC )  /\  ( ( cos `  A )  =/=  0  /\  ( cos `  B
)  =/=  0  /\  ( cos `  ( A  +  B )
)  =/=  0 ) )  ->  ( ( cos `  ( A  +  B ) )  =/=  0  <->  ( ( tan `  A )  x.  ( tan `  B ) )  =/=  1 ) )
573, 56mpbid 210 . . . . . 6  |-  ( ( ( A  e.  CC  /\  B  e.  CC )  /\  ( ( cos `  A )  =/=  0  /\  ( cos `  B
)  =/=  0  /\  ( cos `  ( A  +  B )
)  =/=  0 ) )  ->  ( ( tan `  A )  x.  ( tan `  B
) )  =/=  1
)
5857necomd 2733 . . . . 5  |-  ( ( ( A  e.  CC  /\  B  e.  CC )  /\  ( ( cos `  A )  =/=  0  /\  ( cos `  B
)  =/=  0  /\  ( cos `  ( A  +  B )
)  =/=  0 ) )  ->  1  =/=  ( ( tan `  A
)  x.  ( tan `  B ) ) )
59 subeq0 9836 . . . . . . 7  |-  ( ( 1  e.  CC  /\  ( ( tan `  A
)  x.  ( tan `  B ) )  e.  CC )  ->  (
( 1  -  (
( tan `  A
)  x.  ( tan `  B ) ) )  =  0  <->  1  =  ( ( tan `  A
)  x.  ( tan `  B ) ) ) )
6059necon3bid 2720 . . . . . 6  |-  ( ( 1  e.  CC  /\  ( ( tan `  A
)  x.  ( tan `  B ) )  e.  CC )  ->  (
( 1  -  (
( tan `  A
)  x.  ( tan `  B ) ) )  =/=  0  <->  1  =/=  ( ( tan `  A
)  x.  ( tan `  B ) ) ) )
6152, 42, 60sylancr 663 . . . . 5  |-  ( ( ( A  e.  CC  /\  B  e.  CC )  /\  ( ( cos `  A )  =/=  0  /\  ( cos `  B
)  =/=  0  /\  ( cos `  ( A  +  B )
)  =/=  0 ) )  ->  ( (
1  -  ( ( tan `  A )  x.  ( tan `  B
) ) )  =/=  0  <->  1  =/=  (
( tan `  A
)  x.  ( tan `  B ) ) ) )
6258, 61mpbird 232 . . . 4  |-  ( ( ( A  e.  CC  /\  B  e.  CC )  /\  ( ( cos `  A )  =/=  0  /\  ( cos `  B
)  =/=  0  /\  ( cos `  ( A  +  B )
)  =/=  0 ) )  ->  ( 1  -  ( ( tan `  A )  x.  ( tan `  B ) ) )  =/=  0 )
6312, 14, 16, 18mulne0d 10192 . . . 4  |-  ( ( ( A  e.  CC  /\  B  e.  CC )  /\  ( ( cos `  A )  =/=  0  /\  ( cos `  B
)  =/=  0  /\  ( cos `  ( A  +  B )
)  =/=  0 ) )  ->  ( ( cos `  A )  x.  ( cos `  B
) )  =/=  0
)
6451, 54, 15, 62, 63divcan5d 10337 . . 3  |-  ( ( ( A  e.  CC  /\  B  e.  CC )  /\  ( ( cos `  A )  =/=  0  /\  ( cos `  B
)  =/=  0  /\  ( cos `  ( A  +  B )
)  =/=  0 ) )  ->  ( (
( ( cos `  A
)  x.  ( cos `  B ) )  x.  ( ( tan `  A
)  +  ( tan `  B ) ) )  /  ( ( ( cos `  A )  x.  ( cos `  B
) )  x.  (
1  -  ( ( tan `  A )  x.  ( tan `  B
) ) ) ) )  =  ( ( ( tan `  A
)  +  ( tan `  B ) )  / 
( 1  -  (
( tan `  A
)  x.  ( tan `  B ) ) ) ) )
6510, 50, 643eqtr2rd 2510 . 2  |-  ( ( ( A  e.  CC  /\  B  e.  CC )  /\  ( ( cos `  A )  =/=  0  /\  ( cos `  B
)  =/=  0  /\  ( cos `  ( A  +  B )
)  =/=  0 ) )  ->  ( (
( tan `  A
)  +  ( tan `  B ) )  / 
( 1  -  (
( tan `  A
)  x.  ( tan `  B ) ) ) )  =  ( ( sin `  ( A  +  B ) )  /  ( cos `  ( A  +  B )
) ) )
665, 65eqtr4d 2506 1  |-  ( ( ( A  e.  CC  /\  B  e.  CC )  /\  ( ( cos `  A )  =/=  0  /\  ( cos `  B
)  =/=  0  /\  ( cos `  ( A  +  B )
)  =/=  0 ) )  ->  ( tan `  ( A  +  B
) )  =  ( ( ( tan `  A
)  +  ( tan `  B ) )  / 
( 1  -  (
( tan `  A
)  x.  ( tan `  B ) ) ) ) )
Colors of variables: wff setvar class
Syntax hints:    -> wi 4    <-> wb 184    /\ wa 369    /\ w3a 968    = wceq 1374    e. wcel 1762    =/= wne 2657   ` cfv 5581  (class class class)co 6277   CCcc 9481   0cc0 9483   1c1 9484    + caddc 9486    x. cmul 9488    - cmin 9796    / cdiv 10197   sincsin 13652   cosccos 13653   tanctan 13654
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1596  ax-4 1607  ax-5 1675  ax-6 1714  ax-7 1734  ax-8 1764  ax-9 1766  ax-10 1781  ax-11 1786  ax-12 1798  ax-13 1963  ax-ext 2440  ax-rep 4553  ax-sep 4563  ax-nul 4571  ax-pow 4620  ax-pr 4681  ax-un 6569  ax-inf2 8049  ax-cnex 9539  ax-resscn 9540  ax-1cn 9541  ax-icn 9542  ax-addcl 9543  ax-addrcl 9544  ax-mulcl 9545  ax-mulrcl 9546  ax-mulcom 9547  ax-addass 9548  ax-mulass 9549  ax-distr 9550  ax-i2m1 9551  ax-1ne0 9552  ax-1rid 9553  ax-rnegex 9554  ax-rrecex 9555  ax-cnre 9556  ax-pre-lttri 9557  ax-pre-lttrn 9558  ax-pre-ltadd 9559  ax-pre-mulgt0 9560  ax-pre-sup 9561  ax-addf 9562  ax-mulf 9563
This theorem depends on definitions:  df-bi 185  df-or 370  df-an 371  df-3or 969  df-3an 970  df-tru 1377  df-fal 1380  df-ex 1592  df-nf 1595  df-sb 1707  df-eu 2274  df-mo 2275  df-clab 2448  df-cleq 2454  df-clel 2457  df-nfc 2612  df-ne 2659  df-nel 2660  df-ral 2814  df-rex 2815  df-reu 2816  df-rmo 2817  df-rab 2818  df-v 3110  df-sbc 3327  df-csb 3431  df-dif 3474  df-un 3476  df-in 3478  df-ss 3485  df-pss 3487  df-nul 3781  df-if 3935  df-pw 4007  df-sn 4023  df-pr 4025  df-tp 4027  df-op 4029  df-uni 4241  df-int 4278  df-iun 4322  df-br 4443  df-opab 4501  df-mpt 4502  df-tr 4536  df-eprel 4786  df-id 4790  df-po 4795  df-so 4796  df-fr 4833  df-se 4834  df-we 4835  df-ord 4876  df-on 4877  df-lim 4878  df-suc 4879  df-xp 5000  df-rel 5001  df-cnv 5002  df-co 5003  df-dm 5004  df-rn 5005  df-res 5006  df-ima 5007  df-iota 5544  df-fun 5583  df-fn 5584  df-f 5585  df-f1 5586  df-fo 5587  df-f1o 5588  df-fv 5589  df-isom 5590  df-riota 6238  df-ov 6280  df-oprab 6281  df-mpt2 6282  df-om 6674  df-1st 6776  df-2nd 6777  df-recs 7034  df-rdg 7068  df-1o 7122  df-oadd 7126  df-er 7303  df-pm 7415  df-en 7509  df-dom 7510  df-sdom 7511  df-fin 7512  df-sup 7892  df-oi 7926  df-card 8311  df-pnf 9621  df-mnf 9622  df-xr 9623  df-ltxr 9624  df-le 9625  df-sub 9798  df-neg 9799  df-div 10198  df-nn 10528  df-2 10585  df-3 10586  df-n0 10787  df-z 10856  df-uz 11074  df-rp 11212  df-ico 11526  df-fz 11664  df-fzo 11784  df-fl 11888  df-seq 12066  df-exp 12125  df-fac 12311  df-bc 12338  df-hash 12363  df-shft 12852  df-cj 12884  df-re 12885  df-im 12886  df-sqr 13020  df-abs 13021  df-limsup 13245  df-clim 13262  df-rlim 13263  df-sum 13460  df-ef 13656  df-sin 13658  df-cos 13659  df-tan 13660
This theorem is referenced by:  tanregt0  22654
  Copyright terms: Public domain W3C validator