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

Theorem pythagtriplem4 12872
Description: Lemma for pythagtrip 12887. Show that  C  -  B and  C  +  B are relatively prime. (Contributed by Scott Fenton, 12-Apr-2014.) (Revised by Mario Carneiro, 19-Apr-2014.)
Assertion
Ref Expression
pythagtriplem4  |-  ( ( ( A  e.  NN  /\  B  e.  NN  /\  C  e.  NN )  /\  ( ( A ^
2 )  +  ( B ^ 2 ) )  =  ( C ^ 2 )  /\  ( ( A  gcd  B )  =  1  /\ 
-.  2  ||  A
) )  ->  (
( C  -  B
)  gcd  ( C  +  B ) )  =  1 )

Proof of Theorem pythagtriplem4
StepHypRef Expression
1 simp3r 984 . . 3  |-  ( ( ( A  e.  NN  /\  B  e.  NN  /\  C  e.  NN )  /\  ( ( A ^
2 )  +  ( B ^ 2 ) )  =  ( C ^ 2 )  /\  ( ( A  gcd  B )  =  1  /\ 
-.  2  ||  A
) )  ->  -.  2  ||  A )
2 nnz 10045 . . . . . . . . . . . . 13  |-  ( C  e.  NN  ->  C  e.  ZZ )
3 nnz 10045 . . . . . . . . . . . . 13  |-  ( B  e.  NN  ->  B  e.  ZZ )
4 zsubcl 10061 . . . . . . . . . . . . 13  |-  ( ( C  e.  ZZ  /\  B  e.  ZZ )  ->  ( C  -  B
)  e.  ZZ )
52, 3, 4syl2anr 464 . . . . . . . . . . . 12  |-  ( ( B  e.  NN  /\  C  e.  NN )  ->  ( C  -  B
)  e.  ZZ )
653adant1 973 . . . . . . . . . . 11  |-  ( ( A  e.  NN  /\  B  e.  NN  /\  C  e.  NN )  ->  ( C  -  B )  e.  ZZ )
763ad2ant1 976 . . . . . . . . . 10  |-  ( ( ( A  e.  NN  /\  B  e.  NN  /\  C  e.  NN )  /\  ( ( A ^
2 )  +  ( B ^ 2 ) )  =  ( C ^ 2 )  /\  ( ( A  gcd  B )  =  1  /\ 
-.  2  ||  A
) )  ->  ( C  -  B )  e.  ZZ )
8 simp13 987 . . . . . . . . . . . 12  |-  ( ( ( A  e.  NN  /\  B  e.  NN  /\  C  e.  NN )  /\  ( ( A ^
2 )  +  ( B ^ 2 ) )  =  ( C ^ 2 )  /\  ( ( A  gcd  B )  =  1  /\ 
-.  2  ||  A
) )  ->  C  e.  NN )
9 simp12 986 . . . . . . . . . . . 12  |-  ( ( ( A  e.  NN  /\  B  e.  NN  /\  C  e.  NN )  /\  ( ( A ^
2 )  +  ( B ^ 2 ) )  =  ( C ^ 2 )  /\  ( ( A  gcd  B )  =  1  /\ 
-.  2  ||  A
) )  ->  B  e.  NN )
10 nnaddcl 9768 . . . . . . . . . . . 12  |-  ( ( C  e.  NN  /\  B  e.  NN )  ->  ( C  +  B
)  e.  NN )
118, 9, 10syl2anc 642 . . . . . . . . . . 11  |-  ( ( ( A  e.  NN  /\  B  e.  NN  /\  C  e.  NN )  /\  ( ( A ^
2 )  +  ( B ^ 2 ) )  =  ( C ^ 2 )  /\  ( ( A  gcd  B )  =  1  /\ 
-.  2  ||  A
) )  ->  ( C  +  B )  e.  NN )
1211nnzd 10116 . . . . . . . . . 10  |-  ( ( ( A  e.  NN  /\  B  e.  NN  /\  C  e.  NN )  /\  ( ( A ^
2 )  +  ( B ^ 2 ) )  =  ( C ^ 2 )  /\  ( ( A  gcd  B )  =  1  /\ 
-.  2  ||  A
) )  ->  ( C  +  B )  e.  ZZ )
13 gcddvds 12694 . . . . . . . . . 10  |-  ( ( ( C  -  B
)  e.  ZZ  /\  ( C  +  B
)  e.  ZZ )  ->  ( ( ( C  -  B )  gcd  ( C  +  B ) )  ||  ( C  -  B
)  /\  ( ( C  -  B )  gcd  ( C  +  B
) )  ||  ( C  +  B )
) )
147, 12, 13syl2anc 642 . . . . . . . . 9  |-  ( ( ( A  e.  NN  /\  B  e.  NN  /\  C  e.  NN )  /\  ( ( A ^
2 )  +  ( B ^ 2 ) )  =  ( C ^ 2 )  /\  ( ( A  gcd  B )  =  1  /\ 
-.  2  ||  A
) )  ->  (
( ( C  -  B )  gcd  ( C  +  B )
)  ||  ( C  -  B )  /\  (
( C  -  B
)  gcd  ( C  +  B ) )  ||  ( C  +  B
) ) )
1514simprd 449 . . . . . . . 8  |-  ( ( ( A  e.  NN  /\  B  e.  NN  /\  C  e.  NN )  /\  ( ( A ^
2 )  +  ( B ^ 2 ) )  =  ( C ^ 2 )  /\  ( ( A  gcd  B )  =  1  /\ 
-.  2  ||  A
) )  ->  (
( C  -  B
)  gcd  ( C  +  B ) )  ||  ( C  +  B
) )
16 breq1 4026 . . . . . . . . 9  |-  ( ( ( C  -  B
)  gcd  ( C  +  B ) )  =  2  ->  ( (
( C  -  B
)  gcd  ( C  +  B ) )  ||  ( C  +  B
)  <->  2  ||  ( C  +  B )
) )
1716biimpd 198 . . . . . . . 8  |-  ( ( ( C  -  B
)  gcd  ( C  +  B ) )  =  2  ->  ( (
( C  -  B
)  gcd  ( C  +  B ) )  ||  ( C  +  B
)  ->  2  ||  ( C  +  B
) ) )
1815, 17mpan9 455 . . . . . . 7  |-  ( ( ( ( A  e.  NN  /\  B  e.  NN  /\  C  e.  NN )  /\  (
( A ^ 2 )  +  ( B ^ 2 ) )  =  ( C ^
2 )  /\  (
( A  gcd  B
)  =  1  /\ 
-.  2  ||  A
) )  /\  (
( C  -  B
)  gcd  ( C  +  B ) )  =  2 )  ->  2  ||  ( C  +  B
) )
19 simpl13 1032 . . . . . . . . . 10  |-  ( ( ( ( A  e.  NN  /\  B  e.  NN  /\  C  e.  NN )  /\  (
( A ^ 2 )  +  ( B ^ 2 ) )  =  ( C ^
2 )  /\  (
( A  gcd  B
)  =  1  /\ 
-.  2  ||  A
) )  /\  (
( C  -  B
)  gcd  ( C  +  B ) )  =  2 )  ->  C  e.  NN )
2019nnzd 10116 . . . . . . . . 9  |-  ( ( ( ( A  e.  NN  /\  B  e.  NN  /\  C  e.  NN )  /\  (
( A ^ 2 )  +  ( B ^ 2 ) )  =  ( C ^
2 )  /\  (
( A  gcd  B
)  =  1  /\ 
-.  2  ||  A
) )  /\  (
( C  -  B
)  gcd  ( C  +  B ) )  =  2 )  ->  C  e.  ZZ )
21 simpl12 1031 . . . . . . . . . 10  |-  ( ( ( ( A  e.  NN  /\  B  e.  NN  /\  C  e.  NN )  /\  (
( A ^ 2 )  +  ( B ^ 2 ) )  =  ( C ^
2 )  /\  (
( A  gcd  B
)  =  1  /\ 
-.  2  ||  A
) )  /\  (
( C  -  B
)  gcd  ( C  +  B ) )  =  2 )  ->  B  e.  NN )
2221nnzd 10116 . . . . . . . . 9  |-  ( ( ( ( A  e.  NN  /\  B  e.  NN  /\  C  e.  NN )  /\  (
( A ^ 2 )  +  ( B ^ 2 ) )  =  ( C ^
2 )  /\  (
( A  gcd  B
)  =  1  /\ 
-.  2  ||  A
) )  /\  (
( C  -  B
)  gcd  ( C  +  B ) )  =  2 )  ->  B  e.  ZZ )
2320, 22zaddcld 10121 . . . . . . . 8  |-  ( ( ( ( A  e.  NN  /\  B  e.  NN  /\  C  e.  NN )  /\  (
( A ^ 2 )  +  ( B ^ 2 ) )  =  ( C ^
2 )  /\  (
( A  gcd  B
)  =  1  /\ 
-.  2  ||  A
) )  /\  (
( C  -  B
)  gcd  ( C  +  B ) )  =  2 )  ->  ( C  +  B )  e.  ZZ )
2420, 22zsubcld 10122 . . . . . . . 8  |-  ( ( ( ( A  e.  NN  /\  B  e.  NN  /\  C  e.  NN )  /\  (
( A ^ 2 )  +  ( B ^ 2 ) )  =  ( C ^
2 )  /\  (
( A  gcd  B
)  =  1  /\ 
-.  2  ||  A
) )  /\  (
( C  -  B
)  gcd  ( C  +  B ) )  =  2 )  ->  ( C  -  B )  e.  ZZ )
25 2z 10054 . . . . . . . . 9  |-  2  e.  ZZ
26 dvdsmultr1 12563 . . . . . . . . 9  |-  ( ( 2  e.  ZZ  /\  ( C  +  B
)  e.  ZZ  /\  ( C  -  B
)  e.  ZZ )  ->  ( 2  ||  ( C  +  B
)  ->  2  ||  ( ( C  +  B )  x.  ( C  -  B )
) ) )
2725, 26mp3an1 1264 . . . . . . . 8  |-  ( ( ( C  +  B
)  e.  ZZ  /\  ( C  -  B
)  e.  ZZ )  ->  ( 2  ||  ( C  +  B
)  ->  2  ||  ( ( C  +  B )  x.  ( C  -  B )
) ) )
2823, 24, 27syl2anc 642 . . . . . . 7  |-  ( ( ( ( A  e.  NN  /\  B  e.  NN  /\  C  e.  NN )  /\  (
( A ^ 2 )  +  ( B ^ 2 ) )  =  ( C ^
2 )  /\  (
( A  gcd  B
)  =  1  /\ 
-.  2  ||  A
) )  /\  (
( C  -  B
)  gcd  ( C  +  B ) )  =  2 )  ->  (
2  ||  ( C  +  B )  ->  2  ||  ( ( C  +  B )  x.  ( C  -  B )
) ) )
2918, 28mpd 14 . . . . . 6  |-  ( ( ( ( A  e.  NN  /\  B  e.  NN  /\  C  e.  NN )  /\  (
( A ^ 2 )  +  ( B ^ 2 ) )  =  ( C ^
2 )  /\  (
( A  gcd  B
)  =  1  /\ 
-.  2  ||  A
) )  /\  (
( C  -  B
)  gcd  ( C  +  B ) )  =  2 )  ->  2  ||  ( ( C  +  B )  x.  ( C  -  B )
) )
3019nncnd 9762 . . . . . . 7  |-  ( ( ( ( A  e.  NN  /\  B  e.  NN  /\  C  e.  NN )  /\  (
( A ^ 2 )  +  ( B ^ 2 ) )  =  ( C ^
2 )  /\  (
( A  gcd  B
)  =  1  /\ 
-.  2  ||  A
) )  /\  (
( C  -  B
)  gcd  ( C  +  B ) )  =  2 )  ->  C  e.  CC )
3121nncnd 9762 . . . . . . 7  |-  ( ( ( ( A  e.  NN  /\  B  e.  NN  /\  C  e.  NN )  /\  (
( A ^ 2 )  +  ( B ^ 2 ) )  =  ( C ^
2 )  /\  (
( A  gcd  B
)  =  1  /\ 
-.  2  ||  A
) )  /\  (
( C  -  B
)  gcd  ( C  +  B ) )  =  2 )  ->  B  e.  CC )
32 subsq 11210 . . . . . . 7  |-  ( ( C  e.  CC  /\  B  e.  CC )  ->  ( ( C ^
2 )  -  ( B ^ 2 ) )  =  ( ( C  +  B )  x.  ( C  -  B
) ) )
3330, 31, 32syl2anc 642 . . . . . 6  |-  ( ( ( ( A  e.  NN  /\  B  e.  NN  /\  C  e.  NN )  /\  (
( A ^ 2 )  +  ( B ^ 2 ) )  =  ( C ^
2 )  /\  (
( A  gcd  B
)  =  1  /\ 
-.  2  ||  A
) )  /\  (
( C  -  B
)  gcd  ( C  +  B ) )  =  2 )  ->  (
( C ^ 2 )  -  ( B ^ 2 ) )  =  ( ( C  +  B )  x.  ( C  -  B
) ) )
3429, 33breqtrrd 4049 . . . . 5  |-  ( ( ( ( A  e.  NN  /\  B  e.  NN  /\  C  e.  NN )  /\  (
( A ^ 2 )  +  ( B ^ 2 ) )  =  ( C ^
2 )  /\  (
( A  gcd  B
)  =  1  /\ 
-.  2  ||  A
) )  /\  (
( C  -  B
)  gcd  ( C  +  B ) )  =  2 )  ->  2  ||  ( ( C ^
2 )  -  ( B ^ 2 ) ) )
35 simpl2 959 . . . . . . 7  |-  ( ( ( ( A  e.  NN  /\  B  e.  NN  /\  C  e.  NN )  /\  (
( A ^ 2 )  +  ( B ^ 2 ) )  =  ( C ^
2 )  /\  (
( A  gcd  B
)  =  1  /\ 
-.  2  ||  A
) )  /\  (
( C  -  B
)  gcd  ( C  +  B ) )  =  2 )  ->  (
( A ^ 2 )  +  ( B ^ 2 ) )  =  ( C ^
2 ) )
3635oveq1d 5873 . . . . . 6  |-  ( ( ( ( A  e.  NN  /\  B  e.  NN  /\  C  e.  NN )  /\  (
( A ^ 2 )  +  ( B ^ 2 ) )  =  ( C ^
2 )  /\  (
( A  gcd  B
)  =  1  /\ 
-.  2  ||  A
) )  /\  (
( C  -  B
)  gcd  ( C  +  B ) )  =  2 )  ->  (
( ( A ^
2 )  +  ( B ^ 2 ) )  -  ( B ^ 2 ) )  =  ( ( C ^ 2 )  -  ( B ^ 2 ) ) )
37 simpl11 1030 . . . . . . . . 9  |-  ( ( ( ( A  e.  NN  /\  B  e.  NN  /\  C  e.  NN )  /\  (
( A ^ 2 )  +  ( B ^ 2 ) )  =  ( C ^
2 )  /\  (
( A  gcd  B
)  =  1  /\ 
-.  2  ||  A
) )  /\  (
( C  -  B
)  gcd  ( C  +  B ) )  =  2 )  ->  A  e.  NN )
3837nnsqcld 11265 . . . . . . . 8  |-  ( ( ( ( A  e.  NN  /\  B  e.  NN  /\  C  e.  NN )  /\  (
( A ^ 2 )  +  ( B ^ 2 ) )  =  ( C ^
2 )  /\  (
( A  gcd  B
)  =  1  /\ 
-.  2  ||  A
) )  /\  (
( C  -  B
)  gcd  ( C  +  B ) )  =  2 )  ->  ( A ^ 2 )  e.  NN )
3938nncnd 9762 . . . . . . 7  |-  ( ( ( ( A  e.  NN  /\  B  e.  NN  /\  C  e.  NN )  /\  (
( A ^ 2 )  +  ( B ^ 2 ) )  =  ( C ^
2 )  /\  (
( A  gcd  B
)  =  1  /\ 
-.  2  ||  A
) )  /\  (
( C  -  B
)  gcd  ( C  +  B ) )  =  2 )  ->  ( A ^ 2 )  e.  CC )
4021nnsqcld 11265 . . . . . . . 8  |-  ( ( ( ( A  e.  NN  /\  B  e.  NN  /\  C  e.  NN )  /\  (
( A ^ 2 )  +  ( B ^ 2 ) )  =  ( C ^
2 )  /\  (
( A  gcd  B
)  =  1  /\ 
-.  2  ||  A
) )  /\  (
( C  -  B
)  gcd  ( C  +  B ) )  =  2 )  ->  ( B ^ 2 )  e.  NN )
4140nncnd 9762 . . . . . . 7  |-  ( ( ( ( A  e.  NN  /\  B  e.  NN  /\  C  e.  NN )  /\  (
( A ^ 2 )  +  ( B ^ 2 ) )  =  ( C ^
2 )  /\  (
( A  gcd  B
)  =  1  /\ 
-.  2  ||  A
) )  /\  (
( C  -  B
)  gcd  ( C  +  B ) )  =  2 )  ->  ( B ^ 2 )  e.  CC )
4239, 41pncand 9158 . . . . . 6  |-  ( ( ( ( A  e.  NN  /\  B  e.  NN  /\  C  e.  NN )  /\  (
( A ^ 2 )  +  ( B ^ 2 ) )  =  ( C ^
2 )  /\  (
( A  gcd  B
)  =  1  /\ 
-.  2  ||  A
) )  /\  (
( C  -  B
)  gcd  ( C  +  B ) )  =  2 )  ->  (
( ( A ^
2 )  +  ( B ^ 2 ) )  -  ( B ^ 2 ) )  =  ( A ^
2 ) )
4336, 42eqtr3d 2317 . . . . 5  |-  ( ( ( ( A  e.  NN  /\  B  e.  NN  /\  C  e.  NN )  /\  (
( A ^ 2 )  +  ( B ^ 2 ) )  =  ( C ^
2 )  /\  (
( A  gcd  B
)  =  1  /\ 
-.  2  ||  A
) )  /\  (
( C  -  B
)  gcd  ( C  +  B ) )  =  2 )  ->  (
( C ^ 2 )  -  ( B ^ 2 ) )  =  ( A ^
2 ) )
4434, 43breqtrd 4047 . . . 4  |-  ( ( ( ( A  e.  NN  /\  B  e.  NN  /\  C  e.  NN )  /\  (
( A ^ 2 )  +  ( B ^ 2 ) )  =  ( C ^
2 )  /\  (
( A  gcd  B
)  =  1  /\ 
-.  2  ||  A
) )  /\  (
( C  -  B
)  gcd  ( C  +  B ) )  =  2 )  ->  2  ||  ( A ^ 2 ) )
45 nnz 10045 . . . . . . . 8  |-  ( A  e.  NN  ->  A  e.  ZZ )
46453ad2ant1 976 . . . . . . 7  |-  ( ( A  e.  NN  /\  B  e.  NN  /\  C  e.  NN )  ->  A  e.  ZZ )
47463ad2ant1 976 . . . . . 6  |-  ( ( ( A  e.  NN  /\  B  e.  NN  /\  C  e.  NN )  /\  ( ( A ^
2 )  +  ( B ^ 2 ) )  =  ( C ^ 2 )  /\  ( ( A  gcd  B )  =  1  /\ 
-.  2  ||  A
) )  ->  A  e.  ZZ )
4847adantr 451 . . . . 5  |-  ( ( ( ( A  e.  NN  /\  B  e.  NN  /\  C  e.  NN )  /\  (
( A ^ 2 )  +  ( B ^ 2 ) )  =  ( C ^
2 )  /\  (
( A  gcd  B
)  =  1  /\ 
-.  2  ||  A
) )  /\  (
( C  -  B
)  gcd  ( C  +  B ) )  =  2 )  ->  A  e.  ZZ )
49 2prm 12774 . . . . . 6  |-  2  e.  Prime
50 2nn 9877 . . . . . 6  |-  2  e.  NN
51 prmdvdsexp 12793 . . . . . 6  |-  ( ( 2  e.  Prime  /\  A  e.  ZZ  /\  2  e.  NN )  ->  (
2  ||  ( A ^ 2 )  <->  2  ||  A ) )
5249, 50, 51mp3an13 1268 . . . . 5  |-  ( A  e.  ZZ  ->  (
2  ||  ( A ^ 2 )  <->  2  ||  A ) )
5348, 52syl 15 . . . 4  |-  ( ( ( ( A  e.  NN  /\  B  e.  NN  /\  C  e.  NN )  /\  (
( A ^ 2 )  +  ( B ^ 2 ) )  =  ( C ^
2 )  /\  (
( A  gcd  B
)  =  1  /\ 
-.  2  ||  A
) )  /\  (
( C  -  B
)  gcd  ( C  +  B ) )  =  2 )  ->  (
2  ||  ( A ^ 2 )  <->  2  ||  A ) )
5444, 53mpbid 201 . . 3  |-  ( ( ( ( A  e.  NN  /\  B  e.  NN  /\  C  e.  NN )  /\  (
( A ^ 2 )  +  ( B ^ 2 ) )  =  ( C ^
2 )  /\  (
( A  gcd  B
)  =  1  /\ 
-.  2  ||  A
) )  /\  (
( C  -  B
)  gcd  ( C  +  B ) )  =  2 )  ->  2  ||  A )
551, 54mtand 640 . 2  |-  ( ( ( A  e.  NN  /\  B  e.  NN  /\  C  e.  NN )  /\  ( ( A ^
2 )  +  ( B ^ 2 ) )  =  ( C ^ 2 )  /\  ( ( A  gcd  B )  =  1  /\ 
-.  2  ||  A
) )  ->  -.  ( ( C  -  B )  gcd  ( C  +  B )
)  =  2 )
56 1nn0 9981 . . . . . . . . . 10  |-  1  e.  NN0
5756nn0negzi 10058 . . . . . . . . 9  |-  -u 1  e.  ZZ
58 gcdaddm 12708 . . . . . . . . 9  |-  ( (
-u 1  e.  ZZ  /\  ( C  -  B
)  e.  ZZ  /\  ( C  +  B
)  e.  ZZ )  ->  ( ( C  -  B )  gcd  ( C  +  B
) )  =  ( ( C  -  B
)  gcd  ( ( C  +  B )  +  ( -u 1  x.  ( C  -  B
) ) ) ) )
5957, 58mp3an1 1264 . . . . . . . 8  |-  ( ( ( C  -  B
)  e.  ZZ  /\  ( C  +  B
)  e.  ZZ )  ->  ( ( C  -  B )  gcd  ( C  +  B
) )  =  ( ( C  -  B
)  gcd  ( ( C  +  B )  +  ( -u 1  x.  ( C  -  B
) ) ) ) )
607, 12, 59syl2anc 642 . . . . . . 7  |-  ( ( ( A  e.  NN  /\  B  e.  NN  /\  C  e.  NN )  /\  ( ( A ^
2 )  +  ( B ^ 2 ) )  =  ( C ^ 2 )  /\  ( ( A  gcd  B )  =  1  /\ 
-.  2  ||  A
) )  ->  (
( C  -  B
)  gcd  ( C  +  B ) )  =  ( ( C  -  B )  gcd  (
( C  +  B
)  +  ( -u
1  x.  ( C  -  B ) ) ) ) )
618nncnd 9762 . . . . . . . 8  |-  ( ( ( A  e.  NN  /\  B  e.  NN  /\  C  e.  NN )  /\  ( ( A ^
2 )  +  ( B ^ 2 ) )  =  ( C ^ 2 )  /\  ( ( A  gcd  B )  =  1  /\ 
-.  2  ||  A
) )  ->  C  e.  CC )
629nncnd 9762 . . . . . . . 8  |-  ( ( ( A  e.  NN  /\  B  e.  NN  /\  C  e.  NN )  /\  ( ( A ^
2 )  +  ( B ^ 2 ) )  =  ( C ^ 2 )  /\  ( ( A  gcd  B )  =  1  /\ 
-.  2  ||  A
) )  ->  B  e.  CC )
63 pnncan 9088 . . . . . . . . . . 11  |-  ( ( C  e.  CC  /\  B  e.  CC  /\  B  e.  CC )  ->  (
( C  +  B
)  -  ( C  -  B ) )  =  ( B  +  B ) )
64633anidm23 1241 . . . . . . . . . 10  |-  ( ( C  e.  CC  /\  B  e.  CC )  ->  ( ( C  +  B )  -  ( C  -  B )
)  =  ( B  +  B ) )
65 subcl 9051 . . . . . . . . . . . . 13  |-  ( ( C  e.  CC  /\  B  e.  CC )  ->  ( C  -  B
)  e.  CC )
6665mulm1d 9231 . . . . . . . . . . . 12  |-  ( ( C  e.  CC  /\  B  e.  CC )  ->  ( -u 1  x.  ( C  -  B
) )  =  -u ( C  -  B
) )
6766oveq2d 5874 . . . . . . . . . . 11  |-  ( ( C  e.  CC  /\  B  e.  CC )  ->  ( ( C  +  B )  +  (
-u 1  x.  ( C  -  B )
) )  =  ( ( C  +  B
)  +  -u ( C  -  B )
) )
68 addcl 8819 . . . . . . . . . . . 12  |-  ( ( C  e.  CC  /\  B  e.  CC )  ->  ( C  +  B
)  e.  CC )
6968, 65negsubd 9163 . . . . . . . . . . 11  |-  ( ( C  e.  CC  /\  B  e.  CC )  ->  ( ( C  +  B )  +  -u ( C  -  B
) )  =  ( ( C  +  B
)  -  ( C  -  B ) ) )
7067, 69eqtrd 2315 . . . . . . . . . 10  |-  ( ( C  e.  CC  /\  B  e.  CC )  ->  ( ( C  +  B )  +  (
-u 1  x.  ( C  -  B )
) )  =  ( ( C  +  B
)  -  ( C  -  B ) ) )
71 2times 9843 . . . . . . . . . . 11  |-  ( B  e.  CC  ->  (
2  x.  B )  =  ( B  +  B ) )
7271adantl 452 . . . . . . . . . 10  |-  ( ( C  e.  CC  /\  B  e.  CC )  ->  ( 2  x.  B
)  =  ( B  +  B ) )
7364, 70, 723eqtr4d 2325 . . . . . . . . 9  |-  ( ( C  e.  CC  /\  B  e.  CC )  ->  ( ( C  +  B )  +  (
-u 1  x.  ( C  -  B )
) )  =  ( 2  x.  B ) )
7473oveq2d 5874 . . . . . . . 8  |-  ( ( C  e.  CC  /\  B  e.  CC )  ->  ( ( C  -  B )  gcd  (
( C  +  B
)  +  ( -u
1  x.  ( C  -  B ) ) ) )  =  ( ( C  -  B
)  gcd  ( 2  x.  B ) ) )
7561, 62, 74syl2anc 642 . . . . . . 7  |-  ( ( ( A  e.  NN  /\  B  e.  NN  /\  C  e.  NN )  /\  ( ( A ^
2 )  +  ( B ^ 2 ) )  =  ( C ^ 2 )  /\  ( ( A  gcd  B )  =  1  /\ 
-.  2  ||  A
) )  ->  (
( C  -  B
)  gcd  ( ( C  +  B )  +  ( -u 1  x.  ( C  -  B
) ) ) )  =  ( ( C  -  B )  gcd  ( 2  x.  B
) ) )
7660, 75eqtrd 2315 . . . . . 6  |-  ( ( ( A  e.  NN  /\  B  e.  NN  /\  C  e.  NN )  /\  ( ( A ^
2 )  +  ( B ^ 2 ) )  =  ( C ^ 2 )  /\  ( ( A  gcd  B )  =  1  /\ 
-.  2  ||  A
) )  ->  (
( C  -  B
)  gcd  ( C  +  B ) )  =  ( ( C  -  B )  gcd  (
2  x.  B ) ) )
779nnzd 10116 . . . . . . . . 9  |-  ( ( ( A  e.  NN  /\  B  e.  NN  /\  C  e.  NN )  /\  ( ( A ^
2 )  +  ( B ^ 2 ) )  =  ( C ^ 2 )  /\  ( ( A  gcd  B )  =  1  /\ 
-.  2  ||  A
) )  ->  B  e.  ZZ )
78 zmulcl 10066 . . . . . . . . 9  |-  ( ( 2  e.  ZZ  /\  B  e.  ZZ )  ->  ( 2  x.  B
)  e.  ZZ )
7925, 77, 78sylancr 644 . . . . . . . 8  |-  ( ( ( A  e.  NN  /\  B  e.  NN  /\  C  e.  NN )  /\  ( ( A ^
2 )  +  ( B ^ 2 ) )  =  ( C ^ 2 )  /\  ( ( A  gcd  B )  =  1  /\ 
-.  2  ||  A
) )  ->  (
2  x.  B )  e.  ZZ )
80 gcddvds 12694 . . . . . . . 8  |-  ( ( ( C  -  B
)  e.  ZZ  /\  ( 2  x.  B
)  e.  ZZ )  ->  ( ( ( C  -  B )  gcd  ( 2  x.  B ) )  ||  ( C  -  B
)  /\  ( ( C  -  B )  gcd  ( 2  x.  B
) )  ||  (
2  x.  B ) ) )
817, 79, 80syl2anc 642 . . . . . . 7  |-  ( ( ( A  e.  NN  /\  B  e.  NN  /\  C  e.  NN )  /\  ( ( A ^
2 )  +  ( B ^ 2 ) )  =  ( C ^ 2 )  /\  ( ( A  gcd  B )  =  1  /\ 
-.  2  ||  A
) )  ->  (
( ( C  -  B )  gcd  (
2  x.  B ) )  ||  ( C  -  B )  /\  ( ( C  -  B )  gcd  (
2  x.  B ) )  ||  ( 2  x.  B ) ) )
8281simprd 449 . . . . . 6  |-  ( ( ( A  e.  NN  /\  B  e.  NN  /\  C  e.  NN )  /\  ( ( A ^
2 )  +  ( B ^ 2 ) )  =  ( C ^ 2 )  /\  ( ( A  gcd  B )  =  1  /\ 
-.  2  ||  A
) )  ->  (
( C  -  B
)  gcd  ( 2  x.  B ) ) 
||  ( 2  x.  B ) )
8376, 82eqbrtrd 4043 . . . . 5  |-  ( ( ( A  e.  NN  /\  B  e.  NN  /\  C  e.  NN )  /\  ( ( A ^
2 )  +  ( B ^ 2 ) )  =  ( C ^ 2 )  /\  ( ( A  gcd  B )  =  1  /\ 
-.  2  ||  A
) )  ->  (
( C  -  B
)  gcd  ( C  +  B ) )  ||  ( 2  x.  B
) )
84 1z 10053 . . . . . . . . 9  |-  1  e.  ZZ
85 gcdaddm 12708 . . . . . . . . 9  |-  ( ( 1  e.  ZZ  /\  ( C  -  B
)  e.  ZZ  /\  ( C  +  B
)  e.  ZZ )  ->  ( ( C  -  B )  gcd  ( C  +  B
) )  =  ( ( C  -  B
)  gcd  ( ( C  +  B )  +  ( 1  x.  ( C  -  B
) ) ) ) )
8684, 85mp3an1 1264 . . . . . . . 8  |-  ( ( ( C  -  B
)  e.  ZZ  /\  ( C  +  B
)  e.  ZZ )  ->  ( ( C  -  B )  gcd  ( C  +  B
) )  =  ( ( C  -  B
)  gcd  ( ( C  +  B )  +  ( 1  x.  ( C  -  B
) ) ) ) )
877, 12, 86syl2anc 642 . . . . . . 7  |-  ( ( ( A  e.  NN  /\  B  e.  NN  /\  C  e.  NN )  /\  ( ( A ^
2 )  +  ( B ^ 2 ) )  =  ( C ^ 2 )  /\  ( ( A  gcd  B )  =  1  /\ 
-.  2  ||  A
) )  ->  (
( C  -  B
)  gcd  ( C  +  B ) )  =  ( ( C  -  B )  gcd  (
( C  +  B
)  +  ( 1  x.  ( C  -  B ) ) ) ) )
88 ppncan 9089 . . . . . . . . . . 11  |-  ( ( C  e.  CC  /\  B  e.  CC  /\  C  e.  CC )  ->  (
( C  +  B
)  +  ( C  -  B ) )  =  ( C  +  C ) )
89883anidm13 1240 . . . . . . . . . 10  |-  ( ( C  e.  CC  /\  B  e.  CC )  ->  ( ( C  +  B )  +  ( C  -  B ) )  =  ( C  +  C ) )
9065mulid2d 8853 . . . . . . . . . . 11  |-  ( ( C  e.  CC  /\  B  e.  CC )  ->  ( 1  x.  ( C  -  B )
)  =  ( C  -  B ) )
9190oveq2d 5874 . . . . . . . . . 10  |-  ( ( C  e.  CC  /\  B  e.  CC )  ->  ( ( C  +  B )  +  ( 1  x.  ( C  -  B ) ) )  =  ( ( C  +  B )  +  ( C  -  B ) ) )
92 2times 9843 . . . . . . . . . . 11  |-  ( C  e.  CC  ->  (
2  x.  C )  =  ( C  +  C ) )
9392adantr 451 . . . . . . . . . 10  |-  ( ( C  e.  CC  /\  B  e.  CC )  ->  ( 2  x.  C
)  =  ( C  +  C ) )
9489, 91, 933eqtr4d 2325 . . . . . . . . 9  |-  ( ( C  e.  CC  /\  B  e.  CC )  ->  ( ( C  +  B )  +  ( 1  x.  ( C  -  B ) ) )  =  ( 2  x.  C ) )
9561, 62, 94syl2anc 642 . . . . . . . 8  |-  ( ( ( A  e.  NN  /\  B  e.  NN  /\  C  e.  NN )  /\  ( ( A ^
2 )  +  ( B ^ 2 ) )  =  ( C ^ 2 )  /\  ( ( A  gcd  B )  =  1  /\ 
-.  2  ||  A
) )  ->  (
( C  +  B
)  +  ( 1  x.  ( C  -  B ) ) )  =  ( 2  x.  C ) )
9695oveq2d 5874 . . . . . . 7  |-  ( ( ( A  e.  NN  /\  B  e.  NN  /\  C  e.  NN )  /\  ( ( A ^
2 )  +  ( B ^ 2 ) )  =  ( C ^ 2 )  /\  ( ( A  gcd  B )  =  1  /\ 
-.  2  ||  A
) )  ->  (
( C  -  B
)  gcd  ( ( C  +  B )  +  ( 1  x.  ( C  -  B
) ) ) )  =  ( ( C  -  B )  gcd  ( 2  x.  C
) ) )
9787, 96eqtrd 2315 . . . . . 6  |-  ( ( ( A  e.  NN  /\  B  e.  NN  /\  C  e.  NN )  /\  ( ( A ^
2 )  +  ( B ^ 2 ) )  =  ( C ^ 2 )  /\  ( ( A  gcd  B )  =  1  /\ 
-.  2  ||  A
) )  ->  (
( C  -  B
)  gcd  ( C  +  B ) )  =  ( ( C  -  B )  gcd  (
2  x.  C ) ) )
988nnzd 10116 . . . . . . . . 9  |-  ( ( ( A  e.  NN  /\  B  e.  NN  /\  C  e.  NN )  /\  ( ( A ^
2 )  +  ( B ^ 2 ) )  =  ( C ^ 2 )  /\  ( ( A  gcd  B )  =  1  /\ 
-.  2  ||  A
) )  ->  C  e.  ZZ )
99 zmulcl 10066 . . . . . . . . 9  |-  ( ( 2  e.  ZZ  /\  C  e.  ZZ )  ->  ( 2  x.  C
)  e.  ZZ )
10025, 98, 99sylancr 644 . . . . . . . 8  |-  ( ( ( A  e.  NN  /\  B  e.  NN  /\  C  e.  NN )  /\  ( ( A ^
2 )  +  ( B ^ 2 ) )  =  ( C ^ 2 )  /\  ( ( A  gcd  B )  =  1  /\ 
-.  2  ||  A
) )  ->  (
2  x.  C )  e.  ZZ )
101 gcddvds 12694 . . . . . . . 8  |-  ( ( ( C  -  B
)  e.  ZZ  /\  ( 2  x.  C
)  e.  ZZ )  ->  ( ( ( C  -  B )  gcd  ( 2  x.  C ) )  ||  ( C  -  B
)  /\  ( ( C  -  B )  gcd  ( 2  x.  C
) )  ||  (
2  x.  C ) ) )
1027, 100, 101syl2anc 642 . . . . . . 7  |-  ( ( ( A  e.  NN  /\  B  e.  NN  /\  C  e.  NN )  /\  ( ( A ^
2 )  +  ( B ^ 2 ) )  =  ( C ^ 2 )  /\  ( ( A  gcd  B )  =  1  /\ 
-.  2  ||  A
) )  ->  (
( ( C  -  B )  gcd  (
2  x.  C ) )  ||  ( C  -  B )  /\  ( ( C  -  B )  gcd  (
2  x.  C ) )  ||  ( 2  x.  C ) ) )
103102simprd 449 . . . . . 6  |-  ( ( ( A  e.  NN  /\  B  e.  NN  /\  C  e.  NN )  /\  ( ( A ^
2 )  +  ( B ^ 2 ) )  =  ( C ^ 2 )  /\  ( ( A  gcd  B )  =  1  /\ 
-.  2  ||  A
) )  ->  (
( C  -  B
)  gcd  ( 2  x.  C ) ) 
||  ( 2  x.  C ) )
10497, 103eqbrtrd 4043 . . . . 5  |-  ( ( ( A  e.  NN  /\  B  e.  NN  /\  C  e.  NN )  /\  ( ( A ^
2 )  +  ( B ^ 2 ) )  =  ( C ^ 2 )  /\  ( ( A  gcd  B )  =  1  /\ 
-.  2  ||  A
) )  ->  (
( C  -  B
)  gcd  ( C  +  B ) )  ||  ( 2  x.  C
) )
10510nnne0d 9790 . . . . . . . . . . . . 13  |-  ( ( C  e.  NN  /\  B  e.  NN )  ->  ( C  +  B
)  =/=  0 )
106105ancoms 439 . . . . . . . . . . . 12  |-  ( ( B  e.  NN  /\  C  e.  NN )  ->  ( C  +  B
)  =/=  0 )
1071063adant1 973 . . . . . . . . . . 11  |-  ( ( A  e.  NN  /\  B  e.  NN  /\  C  e.  NN )  ->  ( C  +  B )  =/=  0 )
1081073ad2ant1 976 . . . . . . . . . 10  |-  ( ( ( A  e.  NN  /\  B  e.  NN  /\  C  e.  NN )  /\  ( ( A ^
2 )  +  ( B ^ 2 ) )  =  ( C ^ 2 )  /\  ( ( A  gcd  B )  =  1  /\ 
-.  2  ||  A
) )  ->  ( C  +  B )  =/=  0 )
109108neneqd 2462 . . . . . . . . 9  |-  ( ( ( A  e.  NN  /\  B  e.  NN  /\  C  e.  NN )  /\  ( ( A ^
2 )  +  ( B ^ 2 ) )  =  ( C ^ 2 )  /\  ( ( A  gcd  B )  =  1  /\ 
-.  2  ||  A
) )  ->  -.  ( C  +  B
)  =  0 )
110109intnand 882 . . . . . . . 8  |-  ( ( ( A  e.  NN  /\  B  e.  NN  /\  C  e.  NN )  /\  ( ( A ^
2 )  +  ( B ^ 2 ) )  =  ( C ^ 2 )  /\  ( ( A  gcd  B )  =  1  /\ 
-.  2  ||  A
) )  ->  -.  ( ( C  -  B )  =  0  /\  ( C  +  B )  =  0 ) )
111 gcdn0cl 12693 . . . . . . . 8  |-  ( ( ( ( C  -  B )  e.  ZZ  /\  ( C  +  B
)  e.  ZZ )  /\  -.  ( ( C  -  B )  =  0  /\  ( C  +  B )  =  0 ) )  ->  ( ( C  -  B )  gcd  ( C  +  B
) )  e.  NN )
1127, 12, 110, 111syl21anc 1181 . . . . . . 7  |-  ( ( ( A  e.  NN  /\  B  e.  NN  /\  C  e.  NN )  /\  ( ( A ^
2 )  +  ( B ^ 2 ) )  =  ( C ^ 2 )  /\  ( ( A  gcd  B )  =  1  /\ 
-.  2  ||  A
) )  ->  (
( C  -  B
)  gcd  ( C  +  B ) )  e.  NN )
113112nnzd 10116 . . . . . 6  |-  ( ( ( A  e.  NN  /\  B  e.  NN  /\  C  e.  NN )  /\  ( ( A ^
2 )  +  ( B ^ 2 ) )  =  ( C ^ 2 )  /\  ( ( A  gcd  B )  =  1  /\ 
-.  2  ||  A
) )  ->  (
( C  -  B
)  gcd  ( C  +  B ) )  e.  ZZ )
114 dvdsgcd 12722 . . . . . 6  |-  ( ( ( ( C  -  B )  gcd  ( C  +  B )
)  e.  ZZ  /\  ( 2  x.  B
)  e.  ZZ  /\  ( 2  x.  C
)  e.  ZZ )  ->  ( ( ( ( C  -  B
)  gcd  ( C  +  B ) )  ||  ( 2  x.  B
)  /\  ( ( C  -  B )  gcd  ( C  +  B
) )  ||  (
2  x.  C ) )  ->  ( ( C  -  B )  gcd  ( C  +  B
) )  ||  (
( 2  x.  B
)  gcd  ( 2  x.  C ) ) ) )
115113, 79, 100, 114syl3anc 1182 . . . . 5  |-  ( ( ( A  e.  NN  /\  B  e.  NN  /\  C  e.  NN )  /\  ( ( A ^
2 )  +  ( B ^ 2 ) )  =  ( C ^ 2 )  /\  ( ( A  gcd  B )  =  1  /\ 
-.  2  ||  A
) )  ->  (
( ( ( C  -  B )  gcd  ( C  +  B
) )  ||  (
2  x.  B )  /\  ( ( C  -  B )  gcd  ( C  +  B
) )  ||  (
2  x.  C ) )  ->  ( ( C  -  B )  gcd  ( C  +  B
) )  ||  (
( 2  x.  B
)  gcd  ( 2  x.  C ) ) ) )
11683, 104, 115mp2and 660 . . . 4  |-  ( ( ( A  e.  NN  /\  B  e.  NN  /\  C  e.  NN )  /\  ( ( A ^
2 )  +  ( B ^ 2 ) )  =  ( C ^ 2 )  /\  ( ( A  gcd  B )  =  1  /\ 
-.  2  ||  A
) )  ->  (
( C  -  B
)  gcd  ( C  +  B ) )  ||  ( ( 2  x.  B )  gcd  (
2  x.  C ) ) )
117 2nn0 9982 . . . . . . 7  |-  2  e.  NN0
118 mulgcd 12725 . . . . . . 7  |-  ( ( 2  e.  NN0  /\  B  e.  ZZ  /\  C  e.  ZZ )  ->  (
( 2  x.  B
)  gcd  ( 2  x.  C ) )  =  ( 2  x.  ( B  gcd  C
) ) )
119117, 118mp3an1 1264 . . . . . 6  |-  ( ( B  e.  ZZ  /\  C  e.  ZZ )  ->  ( ( 2  x.  B )  gcd  (
2  x.  C ) )  =  ( 2  x.  ( B  gcd  C ) ) )
12077, 98, 119syl2anc 642 . . . . 5  |-  ( ( ( A  e.  NN  /\  B  e.  NN  /\  C  e.  NN )  /\  ( ( A ^
2 )  +  ( B ^ 2 ) )  =  ( C ^ 2 )  /\  ( ( A  gcd  B )  =  1  /\ 
-.  2  ||  A
) )  ->  (
( 2  x.  B
)  gcd  ( 2  x.  C ) )  =  ( 2  x.  ( B  gcd  C
) ) )
121 pythagtriplem3 12871 . . . . . . 7  |-  ( ( ( A  e.  NN  /\  B  e.  NN  /\  C  e.  NN )  /\  ( ( A ^
2 )  +  ( B ^ 2 ) )  =  ( C ^ 2 )  /\  ( ( A  gcd  B )  =  1  /\ 
-.  2  ||  A
) )  ->  ( B  gcd  C )  =  1 )
122121oveq2d 5874 . . . . . 6  |-  ( ( ( A  e.  NN  /\  B  e.  NN  /\  C  e.  NN )  /\  ( ( A ^
2 )  +  ( B ^ 2 ) )  =  ( C ^ 2 )  /\  ( ( A  gcd  B )  =  1  /\ 
-.  2  ||  A
) )  ->  (
2  x.  ( B  gcd  C ) )  =  ( 2  x.  1 ) )
123 2cn 9816 . . . . . . 7  |-  2  e.  CC
124123mulid1i 8839 . . . . . 6  |-  ( 2  x.  1 )  =  2
125122, 124syl6eq 2331 . . . . 5  |-  ( ( ( A  e.  NN  /\  B  e.  NN  /\  C  e.  NN )  /\  ( ( A ^
2 )  +  ( B ^ 2 ) )  =  ( C ^ 2 )  /\  ( ( A  gcd  B )  =  1  /\ 
-.  2  ||  A
) )  ->  (
2  x.  ( B  gcd  C ) )  =  2 )
126120, 125eqtrd 2315 . . . 4  |-  ( ( ( A  e.  NN  /\  B  e.  NN  /\  C  e.  NN )  /\  ( ( A ^
2 )  +  ( B ^ 2 ) )  =  ( C ^ 2 )  /\  ( ( A  gcd  B )  =  1  /\ 
-.  2  ||  A
) )  ->  (
( 2  x.  B
)  gcd  ( 2  x.  C ) )  =  2 )
127116, 126breqtrd 4047 . . 3  |-  ( ( ( A  e.  NN  /\  B  e.  NN  /\  C  e.  NN )  /\  ( ( A ^
2 )  +  ( B ^ 2 ) )  =  ( C ^ 2 )  /\  ( ( A  gcd  B )  =  1  /\ 
-.  2  ||  A
) )  ->  (
( C  -  B
)  gcd  ( C  +  B ) )  ||  2 )
128 dvdsprime 12771 . . . 4  |-  ( ( 2  e.  Prime  /\  (
( C  -  B
)  gcd  ( C  +  B ) )  e.  NN )  ->  (
( ( C  -  B )  gcd  ( C  +  B )
)  ||  2  <->  ( (
( C  -  B
)  gcd  ( C  +  B ) )  =  2  \/  ( ( C  -  B )  gcd  ( C  +  B ) )  =  1 ) ) )
12949, 112, 128sylancr 644 . . 3  |-  ( ( ( A  e.  NN  /\  B  e.  NN  /\  C  e.  NN )  /\  ( ( A ^
2 )  +  ( B ^ 2 ) )  =  ( C ^ 2 )  /\  ( ( A  gcd  B )  =  1  /\ 
-.  2  ||  A
) )  ->  (
( ( C  -  B )  gcd  ( C  +  B )
)  ||  2  <->  ( (
( C  -  B
)  gcd  ( C  +  B ) )  =  2  \/  ( ( C  -  B )  gcd  ( C  +  B ) )  =  1 ) ) )
130127, 129mpbid 201 . 2  |-  ( ( ( A  e.  NN  /\  B  e.  NN  /\  C  e.  NN )  /\  ( ( A ^
2 )  +  ( B ^ 2 ) )  =  ( C ^ 2 )  /\  ( ( A  gcd  B )  =  1  /\ 
-.  2  ||  A
) )  ->  (
( ( C  -  B )  gcd  ( C  +  B )
)  =  2  \/  ( ( C  -  B )  gcd  ( C  +  B )
)  =  1 ) )
131 orel1 371 . 2  |-  ( -.  ( ( C  -  B )  gcd  ( C  +  B )
)  =  2  -> 
( ( ( ( C  -  B )  gcd  ( C  +  B ) )  =  2  \/  ( ( C  -  B )  gcd  ( C  +  B ) )  =  1 )  ->  (
( C  -  B
)  gcd  ( C  +  B ) )  =  1 ) )
13255, 130, 131sylc 56 1  |-  ( ( ( A  e.  NN  /\  B  e.  NN  /\  C  e.  NN )  /\  ( ( A ^
2 )  +  ( B ^ 2 ) )  =  ( C ^ 2 )  /\  ( ( A  gcd  B )  =  1  /\ 
-.  2  ||  A
) )  ->  (
( C  -  B
)  gcd  ( C  +  B ) )  =  1 )
Colors of variables: wff set class
Syntax hints:   -. wn 3    -> wi 4    <-> wb 176    \/ wo 357    /\ wa 358    /\ w3a 934    = wceq 1623    e. wcel 1684    =/= wne 2446   class class class wbr 4023  (class class class)co 5858   CCcc 8735   0cc0 8737   1c1 8738    + caddc 8740    x. cmul 8742    - cmin 9037   -ucneg 9038   NNcn 9746   2c2 9795   NN0cn0 9965   ZZcz 10024   ^cexp 11104    || cdivides 12531    gcd cgcd 12685   Primecprime 12758
This theorem is referenced by:  pythagtriplem6  12874  pythagtriplem7  12875
This theorem was proved from axioms:  ax-1 5  ax-2 6  ax-3 7  ax-mp 8  ax-gen 1533  ax-5 1544  ax-17 1603  ax-9 1635  ax-8 1643  ax-13 1686  ax-14 1688  ax-6 1703  ax-7 1708  ax-11 1715  ax-12 1866  ax-ext 2264  ax-sep 4141  ax-nul 4149  ax-pow 4188  ax-pr 4214  ax-un 4512  ax-cnex 8793  ax-resscn 8794  ax-1cn 8795  ax-icn 8796  ax-addcl 8797  ax-addrcl 8798  ax-mulcl 8799  ax-mulrcl 8800  ax-mulcom 8801  ax-addass 8802  ax-mulass 8803  ax-distr 8804  ax-i2m1 8805  ax-1ne0 8806  ax-1rid 8807  ax-rnegex 8808  ax-rrecex 8809  ax-cnre 8810  ax-pre-lttri 8811  ax-pre-lttrn 8812  ax-pre-ltadd 8813  ax-pre-mulgt0 8814  ax-pre-sup 8815
This theorem depends on definitions:  df-bi 177  df-or 359  df-an 360  df-3or 935  df-3an 936  df-tru 1310  df-ex 1529  df-nf 1532  df-sb 1630  df-eu 2147  df-mo 2148  df-clab 2270  df-cleq 2276  df-clel 2279  df-nfc 2408  df-ne 2448  df-nel 2449  df-ral 2548  df-rex 2549  df-reu 2550  df-rmo 2551  df-rab 2552  df-v 2790  df-sbc 2992  df-csb 3082  df-dif 3155  df-un 3157  df-in 3159  df-ss 3166  df-pss 3168  df-nul 3456  df-if 3566  df-pw 3627  df-sn 3646  df-pr 3647  df-tp 3648  df-op 3649  df-uni 3828  df-int 3863  df-iun 3907  df-br 4024  df-opab 4078  df-mpt 4079  df-tr 4114  df-eprel 4305  df-id 4309  df-po 4314  df-so 4315  df-fr 4352  df-we 4354  df-ord 4395  df-on 4396  df-lim 4397  df-suc 4398  df-om 4657  df-xp 4695  df-rel 4696  df-cnv 4697  df-co 4698  df-dm 4699  df-rn 4700  df-res 4701  df-ima 4702  df-iota 5219  df-fun 5257  df-fn 5258  df-f 5259  df-f1 5260  df-fo 5261  df-f1o 5262  df-fv 5263  df-ov 5861  df-oprab 5862  df-mpt2 5863  df-1st 6122  df-2nd 6123  df-riota 6304  df-recs 6388  df-rdg 6423  df-1o 6479  df-2o 6480  df-oadd 6483  df-er 6660  df-en 6864  df-dom 6865  df-sdom 6866  df-fin 6867  df-sup 7194  df-pnf 8869  df-mnf 8870  df-xr 8871  df-ltxr 8872  df-le 8873  df-sub 9039  df-neg 9040  df-div 9424  df-nn 9747  df-2 9804  df-3 9805  df-n0 9966  df-z 10025  df-uz 10231  df-rp 10355  df-fz 10783  df-fl 10925  df-mod 10974  df-seq 11047  df-exp 11105  df-cj 11584  df-re 11585  df-im 11586  df-sqr 11720  df-abs 11721  df-dvds 12532  df-gcd 12686  df-prm 12759
  Copyright terms: Public domain W3C validator