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

Theorem pythagtriplem4 13152
Description: Lemma for pythagtrip 13167. 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 986 . . 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 10263 . . . . . . . . . . . . 13  |-  ( C  e.  NN  ->  C  e.  ZZ )
3 nnz 10263 . . . . . . . . . . . . 13  |-  ( B  e.  NN  ->  B  e.  ZZ )
4 zsubcl 10279 . . . . . . . . . . . . 13  |-  ( ( C  e.  ZZ  /\  B  e.  ZZ )  ->  ( C  -  B
)  e.  ZZ )
52, 3, 4syl2anr 465 . . . . . . . . . . . 12  |-  ( ( B  e.  NN  /\  C  e.  NN )  ->  ( C  -  B
)  e.  ZZ )
653adant1 975 . . . . . . . . . . 11  |-  ( ( A  e.  NN  /\  B  e.  NN  /\  C  e.  NN )  ->  ( C  -  B )  e.  ZZ )
763ad2ant1 978 . . . . . . . . . 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 989 . . . . . . . . . . . 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 988 . . . . . . . . . . . 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 )
108, 9nnaddcld 10006 . . . . . . . . . . 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 )
1110nnzd 10334 . . . . . . . . . 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 )
12 gcddvds 12974 . . . . . . . . . 10  |-  ( ( ( C  -  B
)  e.  ZZ  /\  ( C  +  B
)  e.  ZZ )  ->  ( ( ( C  -  B )  gcd  ( C  +  B ) )  ||  ( C  -  B
)  /\  ( ( C  -  B )  gcd  ( C  +  B
) )  ||  ( C  +  B )
) )
137, 11, 12syl2anc 643 . . . . . . . . 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
) ) )
1413simprd 450 . . . . . . . 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
) )
15 breq1 4179 . . . . . . . . 9  |-  ( ( ( C  -  B
)  gcd  ( C  +  B ) )  =  2  ->  ( (
( C  -  B
)  gcd  ( C  +  B ) )  ||  ( C  +  B
)  <->  2  ||  ( C  +  B )
) )
1615biimpd 199 . . . . . . . 8  |-  ( ( ( C  -  B
)  gcd  ( C  +  B ) )  =  2  ->  ( (
( C  -  B
)  gcd  ( C  +  B ) )  ||  ( C  +  B
)  ->  2  ||  ( C  +  B
) ) )
1714, 16mpan9 456 . . . . . . 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
) )
18 simpl13 1034 . . . . . . . . . 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 )
1918nnzd 10334 . . . . . . . . 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 )
20 simpl12 1033 . . . . . . . . . 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 )
2120nnzd 10334 . . . . . . . . 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 )
2219, 21zaddcld 10339 . . . . . . . 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 )
2319, 21zsubcld 10340 . . . . . . . 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 )
24 2z 10272 . . . . . . . . 9  |-  2  e.  ZZ
25 dvdsmultr1 12843 . . . . . . . . 9  |-  ( ( 2  e.  ZZ  /\  ( C  +  B
)  e.  ZZ  /\  ( C  -  B
)  e.  ZZ )  ->  ( 2  ||  ( C  +  B
)  ->  2  ||  ( ( C  +  B )  x.  ( C  -  B )
) ) )
2624, 25mp3an1 1266 . . . . . . . 8  |-  ( ( ( C  +  B
)  e.  ZZ  /\  ( C  -  B
)  e.  ZZ )  ->  ( 2  ||  ( C  +  B
)  ->  2  ||  ( ( C  +  B )  x.  ( C  -  B )
) ) )
2722, 23, 26syl2anc 643 . . . . . . 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 )
) ) )
2817, 27mpd 15 . . . . . 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 )
) )
2918nncnd 9976 . . . . . . 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 )
3020nncnd 9976 . . . . . . 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 )
31 subsq 11447 . . . . . . 7  |-  ( ( C  e.  CC  /\  B  e.  CC )  ->  ( ( C ^
2 )  -  ( B ^ 2 ) )  =  ( ( C  +  B )  x.  ( C  -  B
) ) )
3229, 30, 31syl2anc 643 . . . . . 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
) ) )
3328, 32breqtrrd 4202 . . . . 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 ) ) )
34 simpl2 961 . . . . . . 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 ) )
3534oveq1d 6059 . . . . . 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 ) ) )
36 simpl11 1032 . . . . . . . . 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 )
3736nnsqcld 11502 . . . . . . . 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 )
3837nncnd 9976 . . . . . . 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 )
3920nnsqcld 11502 . . . . . . . 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 )
4039nncnd 9976 . . . . . . 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 )
4138, 40pncand 9372 . . . . . 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 ) )
4235, 41eqtr3d 2442 . . . . 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 ) )
4333, 42breqtrd 4200 . . . 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 ) )
44 nnz 10263 . . . . . . . 8  |-  ( A  e.  NN  ->  A  e.  ZZ )
45443ad2ant1 978 . . . . . . 7  |-  ( ( A  e.  NN  /\  B  e.  NN  /\  C  e.  NN )  ->  A  e.  ZZ )
46453ad2ant1 978 . . . . . 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 )
4746adantr 452 . . . . 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 )
48 2prm 13054 . . . . . 6  |-  2  e.  Prime
49 2nn 10093 . . . . . 6  |-  2  e.  NN
50 prmdvdsexp 13073 . . . . . 6  |-  ( ( 2  e.  Prime  /\  A  e.  ZZ  /\  2  e.  NN )  ->  (
2  ||  ( A ^ 2 )  <->  2  ||  A ) )
5148, 49, 50mp3an13 1270 . . . . 5  |-  ( A  e.  ZZ  ->  (
2  ||  ( A ^ 2 )  <->  2  ||  A ) )
5247, 51syl 16 . . . 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 ) )
5343, 52mpbid 202 . . 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 )
541, 53mtand 641 . 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 )
55 1nn0 10197 . . . . . . . . . 10  |-  1  e.  NN0
5655nn0negzi 10276 . . . . . . . . 9  |-  -u 1  e.  ZZ
57 gcdaddm 12988 . . . . . . . . 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
) ) ) ) )
5856, 57mp3an1 1266 . . . . . . . 8  |-  ( ( ( C  -  B
)  e.  ZZ  /\  ( C  +  B
)  e.  ZZ )  ->  ( ( C  -  B )  gcd  ( C  +  B
) )  =  ( ( C  -  B
)  gcd  ( ( C  +  B )  +  ( -u 1  x.  ( C  -  B
) ) ) ) )
597, 11, 58syl2anc 643 . . . . . . 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 ) ) ) ) )
608nncnd 9976 . . . . . . . 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 )
619nncnd 9976 . . . . . . . 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 )
62 pnncan 9302 . . . . . . . . . . 11  |-  ( ( C  e.  CC  /\  B  e.  CC  /\  B  e.  CC )  ->  (
( C  +  B
)  -  ( C  -  B ) )  =  ( B  +  B ) )
63623anidm23 1243 . . . . . . . . . 10  |-  ( ( C  e.  CC  /\  B  e.  CC )  ->  ( ( C  +  B )  -  ( C  -  B )
)  =  ( B  +  B ) )
64 subcl 9265 . . . . . . . . . . . . 13  |-  ( ( C  e.  CC  /\  B  e.  CC )  ->  ( C  -  B
)  e.  CC )
6564mulm1d 9445 . . . . . . . . . . . 12  |-  ( ( C  e.  CC  /\  B  e.  CC )  ->  ( -u 1  x.  ( C  -  B
) )  =  -u ( C  -  B
) )
6665oveq2d 6060 . . . . . . . . . . 11  |-  ( ( C  e.  CC  /\  B  e.  CC )  ->  ( ( C  +  B )  +  (
-u 1  x.  ( C  -  B )
) )  =  ( ( C  +  B
)  +  -u ( C  -  B )
) )
67 addcl 9032 . . . . . . . . . . . 12  |-  ( ( C  e.  CC  /\  B  e.  CC )  ->  ( C  +  B
)  e.  CC )
6867, 64negsubd 9377 . . . . . . . . . . 11  |-  ( ( C  e.  CC  /\  B  e.  CC )  ->  ( ( C  +  B )  +  -u ( C  -  B
) )  =  ( ( C  +  B
)  -  ( C  -  B ) ) )
6966, 68eqtrd 2440 . . . . . . . . . 10  |-  ( ( C  e.  CC  /\  B  e.  CC )  ->  ( ( C  +  B )  +  (
-u 1  x.  ( C  -  B )
) )  =  ( ( C  +  B
)  -  ( C  -  B ) ) )
70 2times 10059 . . . . . . . . . . 11  |-  ( B  e.  CC  ->  (
2  x.  B )  =  ( B  +  B ) )
7170adantl 453 . . . . . . . . . 10  |-  ( ( C  e.  CC  /\  B  e.  CC )  ->  ( 2  x.  B
)  =  ( B  +  B ) )
7263, 69, 713eqtr4d 2450 . . . . . . . . 9  |-  ( ( C  e.  CC  /\  B  e.  CC )  ->  ( ( C  +  B )  +  (
-u 1  x.  ( C  -  B )
) )  =  ( 2  x.  B ) )
7372oveq2d 6060 . . . . . . . 8  |-  ( ( C  e.  CC  /\  B  e.  CC )  ->  ( ( C  -  B )  gcd  (
( C  +  B
)  +  ( -u
1  x.  ( C  -  B ) ) ) )  =  ( ( C  -  B
)  gcd  ( 2  x.  B ) ) )
7460, 61, 73syl2anc 643 . . . . . . 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
) ) )
7559, 74eqtrd 2440 . . . . . 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 ) ) )
769nnzd 10334 . . . . . . . . 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 )
77 zmulcl 10284 . . . . . . . . 9  |-  ( ( 2  e.  ZZ  /\  B  e.  ZZ )  ->  ( 2  x.  B
)  e.  ZZ )
7824, 76, 77sylancr 645 . . . . . . . 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 )
79 gcddvds 12974 . . . . . . . 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 ) ) )
807, 78, 79syl2anc 643 . . . . . . 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 ) ) )
8180simprd 450 . . . . . 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 ) )
8275, 81eqbrtrd 4196 . . . . 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
) )
83 1z 10271 . . . . . . . . 9  |-  1  e.  ZZ
84 gcdaddm 12988 . . . . . . . . 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
) ) ) ) )
8583, 84mp3an1 1266 . . . . . . . 8  |-  ( ( ( C  -  B
)  e.  ZZ  /\  ( C  +  B
)  e.  ZZ )  ->  ( ( C  -  B )  gcd  ( C  +  B
) )  =  ( ( C  -  B
)  gcd  ( ( C  +  B )  +  ( 1  x.  ( C  -  B
) ) ) ) )
867, 11, 85syl2anc 643 . . . . . . 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 ) ) ) ) )
87 ppncan 9303 . . . . . . . . . . 11  |-  ( ( C  e.  CC  /\  B  e.  CC  /\  C  e.  CC )  ->  (
( C  +  B
)  +  ( C  -  B ) )  =  ( C  +  C ) )
88873anidm13 1242 . . . . . . . . . 10  |-  ( ( C  e.  CC  /\  B  e.  CC )  ->  ( ( C  +  B )  +  ( C  -  B ) )  =  ( C  +  C ) )
8964mulid2d 9066 . . . . . . . . . . 11  |-  ( ( C  e.  CC  /\  B  e.  CC )  ->  ( 1  x.  ( C  -  B )
)  =  ( C  -  B ) )
9089oveq2d 6060 . . . . . . . . . 10  |-  ( ( C  e.  CC  /\  B  e.  CC )  ->  ( ( C  +  B )  +  ( 1  x.  ( C  -  B ) ) )  =  ( ( C  +  B )  +  ( C  -  B ) ) )
91 2times 10059 . . . . . . . . . . 11  |-  ( C  e.  CC  ->  (
2  x.  C )  =  ( C  +  C ) )
9291adantr 452 . . . . . . . . . 10  |-  ( ( C  e.  CC  /\  B  e.  CC )  ->  ( 2  x.  C
)  =  ( C  +  C ) )
9388, 90, 923eqtr4d 2450 . . . . . . . . 9  |-  ( ( C  e.  CC  /\  B  e.  CC )  ->  ( ( C  +  B )  +  ( 1  x.  ( C  -  B ) ) )  =  ( 2  x.  C ) )
9460, 61, 93syl2anc 643 . . . . . . . 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 ) )
9594oveq2d 6060 . . . . . . 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
) ) )
9686, 95eqtrd 2440 . . . . . 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 ) ) )
978nnzd 10334 . . . . . . . . 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 )
98 zmulcl 10284 . . . . . . . . 9  |-  ( ( 2  e.  ZZ  /\  C  e.  ZZ )  ->  ( 2  x.  C
)  e.  ZZ )
9924, 97, 98sylancr 645 . . . . . . . 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 )
100 gcddvds 12974 . . . . . . . 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 ) ) )
1017, 99, 100syl2anc 643 . . . . . . 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 ) ) )
102101simprd 450 . . . . . 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 ) )
10396, 102eqbrtrd 4196 . . . . 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
) )
104 nnaddcl 9982 . . . . . . . . . . . . . 14  |-  ( ( C  e.  NN  /\  B  e.  NN )  ->  ( C  +  B
)  e.  NN )
105104nnne0d 10004 . . . . . . . . . . . . 13  |-  ( ( C  e.  NN  /\  B  e.  NN )  ->  ( C  +  B
)  =/=  0 )
106105ancoms 440 . . . . . . . . . . . 12  |-  ( ( B  e.  NN  /\  C  e.  NN )  ->  ( C  +  B
)  =/=  0 )
1071063adant1 975 . . . . . . . . . . 11  |-  ( ( A  e.  NN  /\  B  e.  NN  /\  C  e.  NN )  ->  ( C  +  B )  =/=  0 )
1081073ad2ant1 978 . . . . . . . . . 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 2587 . . . . . . . . 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 883 . . . . . . . 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 12973 . . . . . . . 8  |-  ( ( ( ( C  -  B )  e.  ZZ  /\  ( C  +  B
)  e.  ZZ )  /\  -.  ( ( C  -  B )  =  0  /\  ( C  +  B )  =  0 ) )  ->  ( ( C  -  B )  gcd  ( C  +  B
) )  e.  NN )
1127, 11, 110, 111syl21anc 1183 . . . . . . 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 10334 . . . . . 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 13002 . . . . . 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, 78, 99, 114syl3anc 1184 . . . . 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 ) ) ) )
11682, 103, 115mp2and 661 . . . 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 10198 . . . . . . 7  |-  2  e.  NN0
118 mulgcd 13005 . . . . . . 7  |-  ( ( 2  e.  NN0  /\  B  e.  ZZ  /\  C  e.  ZZ )  ->  (
( 2  x.  B
)  gcd  ( 2  x.  C ) )  =  ( 2  x.  ( B  gcd  C
) ) )
119117, 118mp3an1 1266 . . . . . 6  |-  ( ( B  e.  ZZ  /\  C  e.  ZZ )  ->  ( ( 2  x.  B )  gcd  (
2  x.  C ) )  =  ( 2  x.  ( B  gcd  C ) ) )
12076, 97, 119syl2anc 643 . . . . 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 13151 . . . . . . 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 6060 . . . . . 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 10030 . . . . . . 7  |-  2  e.  CC
124123mulid1i 9052 . . . . . 6  |-  ( 2  x.  1 )  =  2
125122, 124syl6eq 2456 . . . . 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 2440 . . . 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 4200 . . 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 13051 . . . 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 ) ) )
12948, 112, 128sylancr 645 . . 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 202 . 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 372 . 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 ) )
13254, 130, 131sylc 58 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 177    \/ wo 358    /\ wa 359    /\ w3a 936    = wceq 1649    e. wcel 1721    =/= wne 2571   class class class wbr 4176  (class class class)co 6044   CCcc 8948   0cc0 8950   1c1 8951    + caddc 8953    x. cmul 8955    - cmin 9251   -ucneg 9252   NNcn 9960   2c2 10009   NN0cn0 10181   ZZcz 10242   ^cexp 11341    || cdivides 12811    gcd cgcd 12965   Primecprime 13038
This theorem is referenced by:  pythagtriplem6  13154  pythagtriplem7  13155
This theorem was proved from axioms:  ax-1 5  ax-2 6  ax-3 7  ax-mp 8  ax-gen 1552  ax-5 1563  ax-17 1623  ax-9 1662  ax-8 1683  ax-13 1723  ax-14 1725  ax-6 1740  ax-7 1745  ax-11 1757  ax-12 1946  ax-ext 2389  ax-sep 4294  ax-nul 4302  ax-pow 4341  ax-pr 4367  ax-un 4664  ax-cnex 9006  ax-resscn 9007  ax-1cn 9008  ax-icn 9009  ax-addcl 9010  ax-addrcl 9011  ax-mulcl 9012  ax-mulrcl 9013  ax-mulcom 9014  ax-addass 9015  ax-mulass 9016  ax-distr 9017  ax-i2m1 9018  ax-1ne0 9019  ax-1rid 9020  ax-rnegex 9021  ax-rrecex 9022  ax-cnre 9023  ax-pre-lttri 9024  ax-pre-lttrn 9025  ax-pre-ltadd 9026  ax-pre-mulgt0 9027  ax-pre-sup 9028
This theorem depends on definitions:  df-bi 178  df-or 360  df-an 361  df-3or 937  df-3an 938  df-tru 1325  df-ex 1548  df-nf 1551  df-sb 1656  df-eu 2262  df-mo 2263  df-clab 2395  df-cleq 2401  df-clel 2404  df-nfc 2533  df-ne 2573  df-nel 2574  df-ral 2675  df-rex 2676  df-reu 2677  df-rmo 2678  df-rab 2679  df-v 2922  df-sbc 3126  df-csb 3216  df-dif 3287  df-un 3289  df-in 3291  df-ss 3298  df-pss 3300  df-nul 3593  df-if 3704  df-pw 3765  df-sn 3784  df-pr 3785  df-tp 3786  df-op 3787  df-uni 3980  df-int 4015  df-iun 4059  df-br 4177  df-opab 4231  df-mpt 4232  df-tr 4267  df-eprel 4458  df-id 4462  df-po 4467  df-so 4468  df-fr 4505  df-we 4507  df-ord 4548  df-on 4549  df-lim 4550  df-suc 4551  df-om 4809  df-xp 4847  df-rel 4848  df-cnv 4849  df-co 4850  df-dm 4851  df-rn 4852  df-res 4853  df-ima 4854  df-iota 5381  df-fun 5419  df-fn 5420  df-f 5421  df-f1 5422  df-fo 5423  df-f1o 5424  df-fv 5425  df-ov 6047  df-oprab 6048  df-mpt2 6049  df-1st 6312  df-2nd 6313  df-riota 6512  df-recs 6596  df-rdg 6631  df-1o 6687  df-2o 6688  df-oadd 6691  df-er 6868  df-en 7073  df-dom 7074  df-sdom 7075  df-fin 7076  df-sup 7408  df-pnf 9082  df-mnf 9083  df-xr 9084  df-ltxr 9085  df-le 9086  df-sub 9253  df-neg 9254  df-div 9638  df-nn 9961  df-2 10018  df-3 10019  df-n0 10182  df-z 10243  df-uz 10449  df-rp 10573  df-fz 11004  df-fl 11161  df-mod 11210  df-seq 11283  df-exp 11342  df-cj 11863  df-re 11864  df-im 11865  df-sqr 11999  df-abs 12000  df-dvds 12812  df-gcd 12966  df-prm 13039
  Copyright terms: Public domain W3C validator