Users' Mathboxes Mathbox for Stefan O'Rear < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >   Mathboxes  >  jm2.27a Unicode version

Theorem jm2.27a 26264
Description: Lemma for jm2.27 26267. Reverse direction after existential quantifiers are expanded. (Contributed by Stefan O'Rear, 4-Oct-2014.)
Hypotheses
Ref Expression
jm2.27a1  |-  ( ph  ->  A  e.  ( ZZ>= ` 
2 ) )
jm2.27a2  |-  ( ph  ->  B  e.  NN )
jm2.27a3  |-  ( ph  ->  C  e.  NN )
jm2.27a4  |-  ( ph  ->  D  e.  NN0 )
jm2.27a5  |-  ( ph  ->  E  e.  NN0 )
jm2.27a6  |-  ( ph  ->  F  e.  NN0 )
jm2.27a7  |-  ( ph  ->  G  e.  NN0 )
jm2.27a8  |-  ( ph  ->  H  e.  NN0 )
jm2.27a9  |-  ( ph  ->  I  e.  NN0 )
jm2.27a10  |-  ( ph  ->  J  e.  NN0 )
jm2.27a11  |-  ( ph  ->  ( ( D ^
2 )  -  (
( ( A ^
2 )  -  1 )  x.  ( C ^ 2 ) ) )  =  1 )
jm2.27a12  |-  ( ph  ->  ( ( F ^
2 )  -  (
( ( A ^
2 )  -  1 )  x.  ( E ^ 2 ) ) )  =  1 )
jm2.27a13  |-  ( ph  ->  G  e.  ( ZZ>= ` 
2 ) )
jm2.27a14  |-  ( ph  ->  ( ( I ^
2 )  -  (
( ( G ^
2 )  -  1 )  x.  ( H ^ 2 ) ) )  =  1 )
jm2.27a15  |-  ( ph  ->  E  =  ( ( J  +  1 )  x.  ( 2  x.  ( C ^ 2 ) ) ) )
jm2.27a16  |-  ( ph  ->  F  ||  ( G  -  A ) )
jm2.27a17  |-  ( ph  ->  ( 2  x.  C
)  ||  ( G  -  1 ) )
jm2.27a18  |-  ( ph  ->  F  ||  ( H  -  C ) )
jm2.27a19  |-  ( ph  ->  ( 2  x.  C
)  ||  ( H  -  B ) )
jm2.27a20  |-  ( ph  ->  B  <_  C )
jm2.27a21  |-  ( ph  ->  P  e.  ZZ )
jm2.27a22  |-  ( ph  ->  D  =  ( A Xrm  P ) )
jm2.27a23  |-  ( ph  ->  C  =  ( A Yrm  P ) )
jm2.27a24  |-  ( ph  ->  Q  e.  ZZ )
jm2.27a25  |-  ( ph  ->  F  =  ( A Xrm  Q ) )
jm2.27a26  |-  ( ph  ->  E  =  ( A Yrm  Q ) )
jm2.27a27  |-  ( ph  ->  R  e.  ZZ )
jm2.27a28  |-  ( ph  ->  I  =  ( G Xrm  R ) )
jm2.27a29  |-  ( ph  ->  H  =  ( G Yrm  R ) )
Assertion
Ref Expression
jm2.27a  |-  ( ph  ->  C  =  ( A Yrm  B ) )

Proof of Theorem jm2.27a
StepHypRef Expression
1 jm2.27a23 . 2  |-  ( ph  ->  C  =  ( A Yrm  P ) )
2 2z 9933 . . . . . 6  |-  2  e.  ZZ
3 jm2.27a3 . . . . . . 7  |-  ( ph  ->  C  e.  NN )
43nnzd 9995 . . . . . 6  |-  ( ph  ->  C  e.  ZZ )
5 zmulcl 9945 . . . . . 6  |-  ( ( 2  e.  ZZ  /\  C  e.  ZZ )  ->  ( 2  x.  C
)  e.  ZZ )
62, 4, 5sylancr 647 . . . . 5  |-  ( ph  ->  ( 2  x.  C
)  e.  ZZ )
7 jm2.27a2 . . . . . 6  |-  ( ph  ->  B  e.  NN )
87nnzd 9995 . . . . 5  |-  ( ph  ->  B  e.  ZZ )
9 jm2.27a27 . . . . 5  |-  ( ph  ->  R  e.  ZZ )
10 jm2.27a21 . . . . 5  |-  ( ph  ->  P  e.  ZZ )
11 jm2.27a8 . . . . . . . 8  |-  ( ph  ->  H  e.  NN0 )
1211nn0zd 9994 . . . . . . 7  |-  ( ph  ->  H  e.  ZZ )
13 jm2.27a19 . . . . . . . 8  |-  ( ph  ->  ( 2  x.  C
)  ||  ( H  -  B ) )
14 congsym 26221 . . . . . . . 8  |-  ( ( ( ( 2  x.  C )  e.  ZZ  /\  H  e.  ZZ )  /\  ( B  e.  ZZ  /\  ( 2  x.  C )  ||  ( H  -  B
) ) )  -> 
( 2  x.  C
)  ||  ( B  -  H ) )
156, 12, 8, 13, 14syl22anc 1188 . . . . . . 7  |-  ( ph  ->  ( 2  x.  C
)  ||  ( B  -  H ) )
16 jm2.27a17 . . . . . . . 8  |-  ( ph  ->  ( 2  x.  C
)  ||  ( G  -  1 ) )
17 jm2.27a13 . . . . . . . . . 10  |-  ( ph  ->  G  e.  ( ZZ>= ` 
2 ) )
1811nn0ge0d 9900 . . . . . . . . . . . . 13  |-  ( ph  ->  0  <_  H )
19 rmy0 26180 . . . . . . . . . . . . . 14  |-  ( G  e.  ( ZZ>= `  2
)  ->  ( G Yrm  0 )  =  0 )
2017, 19syl 17 . . . . . . . . . . . . 13  |-  ( ph  ->  ( G Yrm  0 )  =  0 )
21 jm2.27a29 . . . . . . . . . . . . . 14  |-  ( ph  ->  H  =  ( G Yrm  R ) )
2221eqcomd 2258 . . . . . . . . . . . . 13  |-  ( ph  ->  ( G Yrm  R )  =  H )
2318, 20, 223brtr4d 3950 . . . . . . . . . . . 12  |-  ( ph  ->  ( G Yrm  0 )  <_ 
( G Yrm  R ) )
24 0z 9914 . . . . . . . . . . . . . 14  |-  0  e.  ZZ
2524a1i 12 . . . . . . . . . . . . 13  |-  ( ph  ->  0  e.  ZZ )
26 lermy 26208 . . . . . . . . . . . . 13  |-  ( ( G  e.  ( ZZ>= ` 
2 )  /\  0  e.  ZZ  /\  R  e.  ZZ )  ->  (
0  <_  R  <->  ( G Yrm  0 )  <_  ( G Yrm  R
) ) )
2717, 25, 9, 26syl3anc 1187 . . . . . . . . . . . 12  |-  ( ph  ->  ( 0  <_  R  <->  ( G Yrm  0 )  <_  ( G Yrm 
R ) ) )
2823, 27mpbird 225 . . . . . . . . . . 11  |-  ( ph  ->  0  <_  R )
29 elnn0z 9915 . . . . . . . . . . 11  |-  ( R  e.  NN0  <->  ( R  e.  ZZ  /\  0  <_  R ) )
309, 28, 29sylanbrc 648 . . . . . . . . . 10  |-  ( ph  ->  R  e.  NN0 )
31 jm2.16nn0 26263 . . . . . . . . . 10  |-  ( ( G  e.  ( ZZ>= ` 
2 )  /\  R  e.  NN0 )  ->  ( G  -  1 ) 
||  ( ( G Yrm  R )  -  R ) )
3217, 30, 31syl2anc 645 . . . . . . . . 9  |-  ( ph  ->  ( G  -  1 )  ||  ( ( G Yrm  R )  -  R
) )
3321oveq1d 5725 . . . . . . . . 9  |-  ( ph  ->  ( H  -  R
)  =  ( ( G Yrm  R )  -  R
) )
3432, 33breqtrrd 3946 . . . . . . . 8  |-  ( ph  ->  ( G  -  1 )  ||  ( H  -  R ) )
35 jm2.27a7 . . . . . . . . . . 11  |-  ( ph  ->  G  e.  NN0 )
3635nn0zd 9994 . . . . . . . . . 10  |-  ( ph  ->  G  e.  ZZ )
37 peano2zm 9941 . . . . . . . . . 10  |-  ( G  e.  ZZ  ->  ( G  -  1 )  e.  ZZ )
3836, 37syl 17 . . . . . . . . 9  |-  ( ph  ->  ( G  -  1 )  e.  ZZ )
3912, 9zsubcld 10001 . . . . . . . . 9  |-  ( ph  ->  ( H  -  R
)  e.  ZZ )
40 dvdstr 12436 . . . . . . . . 9  |-  ( ( ( 2  x.  C
)  e.  ZZ  /\  ( G  -  1
)  e.  ZZ  /\  ( H  -  R
)  e.  ZZ )  ->  ( ( ( 2  x.  C ) 
||  ( G  - 
1 )  /\  ( G  -  1 ) 
||  ( H  -  R ) )  -> 
( 2  x.  C
)  ||  ( H  -  R ) ) )
416, 38, 39, 40syl3anc 1187 . . . . . . . 8  |-  ( ph  ->  ( ( ( 2  x.  C )  ||  ( G  -  1
)  /\  ( G  -  1 )  ||  ( H  -  R
) )  ->  (
2  x.  C ) 
||  ( H  -  R ) ) )
4216, 34, 41mp2and 663 . . . . . . 7  |-  ( ph  ->  ( 2  x.  C
)  ||  ( H  -  R ) )
43 congtr 26218 . . . . . . 7  |-  ( ( ( ( 2  x.  C )  e.  ZZ  /\  B  e.  ZZ )  /\  ( H  e.  ZZ  /\  R  e.  ZZ )  /\  (
( 2  x.  C
)  ||  ( B  -  H )  /\  (
2  x.  C ) 
||  ( H  -  R ) ) )  ->  ( 2  x.  C )  ||  ( B  -  R )
)
446, 8, 12, 9, 15, 42, 43syl222anc 1203 . . . . . 6  |-  ( ph  ->  ( 2  x.  C
)  ||  ( B  -  R ) )
4544orcd 383 . . . . 5  |-  ( ph  ->  ( ( 2  x.  C )  ||  ( B  -  R )  \/  ( 2  x.  C
)  ||  ( B  -  -u R ) ) )
46 jm2.27a24 . . . . . . 7  |-  ( ph  ->  Q  e.  ZZ )
47 zmulcl 9945 . . . . . . 7  |-  ( ( 2  e.  ZZ  /\  Q  e.  ZZ )  ->  ( 2  x.  Q
)  e.  ZZ )
482, 46, 47sylancr 647 . . . . . 6  |-  ( ph  ->  ( 2  x.  Q
)  e.  ZZ )
49 zsqcl 11052 . . . . . . . . . . . . . 14  |-  ( C  e.  ZZ  ->  ( C ^ 2 )  e.  ZZ )
504, 49syl 17 . . . . . . . . . . . . 13  |-  ( ph  ->  ( C ^ 2 )  e.  ZZ )
51 dvdsmul2 12425 . . . . . . . . . . . . 13  |-  ( ( 2  e.  ZZ  /\  ( C ^ 2 )  e.  ZZ )  -> 
( C ^ 2 )  ||  ( 2  x.  ( C ^
2 ) ) )
522, 50, 51sylancr 647 . . . . . . . . . . . 12  |-  ( ph  ->  ( C ^ 2 )  ||  ( 2  x.  ( C ^
2 ) ) )
53 jm2.27a10 . . . . . . . . . . . . . . 15  |-  ( ph  ->  J  e.  NN0 )
5453nn0zd 9994 . . . . . . . . . . . . . 14  |-  ( ph  ->  J  e.  ZZ )
5554peano2zd 9999 . . . . . . . . . . . . 13  |-  ( ph  ->  ( J  +  1 )  e.  ZZ )
56 zmulcl 9945 . . . . . . . . . . . . . 14  |-  ( ( 2  e.  ZZ  /\  ( C ^ 2 )  e.  ZZ )  -> 
( 2  x.  ( C ^ 2 ) )  e.  ZZ )
572, 50, 56sylancr 647 . . . . . . . . . . . . 13  |-  ( ph  ->  ( 2  x.  ( C ^ 2 ) )  e.  ZZ )
58 dvdsmultr2 12438 . . . . . . . . . . . . 13  |-  ( ( ( C ^ 2 )  e.  ZZ  /\  ( J  +  1
)  e.  ZZ  /\  ( 2  x.  ( C ^ 2 ) )  e.  ZZ )  -> 
( ( C ^
2 )  ||  (
2  x.  ( C ^ 2 ) )  ->  ( C ^
2 )  ||  (
( J  +  1 )  x.  ( 2  x.  ( C ^
2 ) ) ) ) )
5950, 55, 57, 58syl3anc 1187 . . . . . . . . . . . 12  |-  ( ph  ->  ( ( C ^
2 )  ||  (
2  x.  ( C ^ 2 ) )  ->  ( C ^
2 )  ||  (
( J  +  1 )  x.  ( 2  x.  ( C ^
2 ) ) ) ) )
6052, 59mpd 16 . . . . . . . . . . 11  |-  ( ph  ->  ( C ^ 2 )  ||  ( ( J  +  1 )  x.  ( 2  x.  ( C ^ 2 ) ) ) )
611oveq1d 5725 . . . . . . . . . . 11  |-  ( ph  ->  ( C ^ 2 )  =  ( ( A Yrm  P ) ^ 2 ) )
62 jm2.27a15 . . . . . . . . . . . 12  |-  ( ph  ->  E  =  ( ( J  +  1 )  x.  ( 2  x.  ( C ^ 2 ) ) ) )
63 jm2.27a26 . . . . . . . . . . . 12  |-  ( ph  ->  E  =  ( A Yrm  Q ) )
6462, 63eqtr3d 2287 . . . . . . . . . . 11  |-  ( ph  ->  ( ( J  + 
1 )  x.  (
2  x.  ( C ^ 2 ) ) )  =  ( A Yrm  Q ) )
6560, 61, 643brtr3d 3949 . . . . . . . . . 10  |-  ( ph  ->  ( ( A Yrm  P ) ^ 2 )  ||  ( A Yrm  Q ) )
66 jm2.27a1 . . . . . . . . . . 11  |-  ( ph  ->  A  e.  ( ZZ>= ` 
2 ) )
6755zred 9996 . . . . . . . . . . . . . . . 16  |-  ( ph  ->  ( J  +  1 )  e.  RR )
6857zred 9996 . . . . . . . . . . . . . . . 16  |-  ( ph  ->  ( 2  x.  ( C ^ 2 ) )  e.  RR )
69 nn0p1nn 9882 . . . . . . . . . . . . . . . . . 18  |-  ( J  e.  NN0  ->  ( J  +  1 )  e.  NN )
7053, 69syl 17 . . . . . . . . . . . . . . . . 17  |-  ( ph  ->  ( J  +  1 )  e.  NN )
7170nngt0d 9669 . . . . . . . . . . . . . . . 16  |-  ( ph  ->  0  <  ( J  +  1 ) )
72 2nn 9756 . . . . . . . . . . . . . . . . . 18  |-  2  e.  NN
733nnsqcld 11143 . . . . . . . . . . . . . . . . . 18  |-  ( ph  ->  ( C ^ 2 )  e.  NN )
74 nnmulcl 9649 . . . . . . . . . . . . . . . . . 18  |-  ( ( 2  e.  NN  /\  ( C ^ 2 )  e.  NN )  -> 
( 2  x.  ( C ^ 2 ) )  e.  NN )
7572, 73, 74sylancr 647 . . . . . . . . . . . . . . . . 17  |-  ( ph  ->  ( 2  x.  ( C ^ 2 ) )  e.  NN )
7675nngt0d 9669 . . . . . . . . . . . . . . . 16  |-  ( ph  ->  0  <  ( 2  x.  ( C ^
2 ) ) )
7767, 68, 71, 76mulgt0d 8851 . . . . . . . . . . . . . . 15  |-  ( ph  ->  0  <  ( ( J  +  1 )  x.  ( 2  x.  ( C ^ 2 ) ) ) )
7877, 62breqtrrd 3946 . . . . . . . . . . . . . 14  |-  ( ph  ->  0  <  E )
79 rmy0 26180 . . . . . . . . . . . . . . 15  |-  ( A  e.  ( ZZ>= `  2
)  ->  ( A Yrm  0 )  =  0 )
8066, 79syl 17 . . . . . . . . . . . . . 14  |-  ( ph  ->  ( A Yrm  0 )  =  0 )
8163eqcomd 2258 . . . . . . . . . . . . . 14  |-  ( ph  ->  ( A Yrm  Q )  =  E )
8278, 80, 813brtr4d 3950 . . . . . . . . . . . . 13  |-  ( ph  ->  ( A Yrm  0 )  < 
( A Yrm  Q ) )
83 ltrmy 26205 . . . . . . . . . . . . . 14  |-  ( ( A  e.  ( ZZ>= ` 
2 )  /\  0  e.  ZZ  /\  Q  e.  ZZ )  ->  (
0  <  Q  <->  ( A Yrm  0 )  <  ( A Yrm  Q ) ) )
8466, 25, 46, 83syl3anc 1187 . . . . . . . . . . . . 13  |-  ( ph  ->  ( 0  <  Q  <->  ( A Yrm  0 )  <  ( A Yrm 
Q ) ) )
8582, 84mpbird 225 . . . . . . . . . . . 12  |-  ( ph  ->  0  <  Q )
86 elnnz 9913 . . . . . . . . . . . 12  |-  ( Q  e.  NN  <->  ( Q  e.  ZZ  /\  0  < 
Q ) )
8746, 85, 86sylanbrc 648 . . . . . . . . . . 11  |-  ( ph  ->  Q  e.  NN )
883nngt0d 9669 . . . . . . . . . . . . . 14  |-  ( ph  ->  0  <  C )
891eqcomd 2258 . . . . . . . . . . . . . 14  |-  ( ph  ->  ( A Yrm  P )  =  C )
9088, 80, 893brtr4d 3950 . . . . . . . . . . . . 13  |-  ( ph  ->  ( A Yrm  0 )  < 
( A Yrm  P ) )
91 ltrmy 26205 . . . . . . . . . . . . . 14  |-  ( ( A  e.  ( ZZ>= ` 
2 )  /\  0  e.  ZZ  /\  P  e.  ZZ )  ->  (
0  <  P  <->  ( A Yrm  0 )  <  ( A Yrm  P ) ) )
9266, 25, 10, 91syl3anc 1187 . . . . . . . . . . . . 13  |-  ( ph  ->  ( 0  <  P  <->  ( A Yrm  0 )  <  ( A Yrm 
P ) ) )
9390, 92mpbird 225 . . . . . . . . . . . 12  |-  ( ph  ->  0  <  P )
94 elnnz 9913 . . . . . . . . . . . 12  |-  ( P  e.  NN  <->  ( P  e.  ZZ  /\  0  < 
P ) )
9510, 93, 94sylanbrc 648 . . . . . . . . . . 11  |-  ( ph  ->  P  e.  NN )
96 jm2.20nn 26256 . . . . . . . . . . 11  |-  ( ( A  e.  ( ZZ>= ` 
2 )  /\  Q  e.  NN  /\  P  e.  NN )  ->  (
( ( A Yrm  P ) ^ 2 )  ||  ( A Yrm  Q )  <->  ( P  x.  ( A Yrm  P ) ) 
||  Q ) )
9766, 87, 95, 96syl3anc 1187 . . . . . . . . . 10  |-  ( ph  ->  ( ( ( A Yrm  P ) ^ 2 ) 
||  ( A Yrm  Q )  <-> 
( P  x.  ( A Yrm 
P ) )  ||  Q ) )
9865, 97mpbid 203 . . . . . . . . 9  |-  ( ph  ->  ( P  x.  ( A Yrm 
P ) )  ||  Q )
991, 4eqeltrrd 2328 . . . . . . . . . 10  |-  ( ph  ->  ( A Yrm  P )  e.  ZZ )
100 muldvds2 12428 . . . . . . . . . 10  |-  ( ( P  e.  ZZ  /\  ( A Yrm  P )  e.  ZZ  /\  Q  e.  ZZ )  ->  (
( P  x.  ( A Yrm 
P ) )  ||  Q  ->  ( A Yrm  P ) 
||  Q ) )
10110, 99, 46, 100syl3anc 1187 . . . . . . . . 9  |-  ( ph  ->  ( ( P  x.  ( A Yrm  P ) ) 
||  Q  ->  ( A Yrm 
P )  ||  Q
) )
10298, 101mpd 16 . . . . . . . 8  |-  ( ph  ->  ( A Yrm  P )  ||  Q )
1031, 102eqbrtrd 3940 . . . . . . 7  |-  ( ph  ->  C  ||  Q )
1042a1i 12 . . . . . . . 8  |-  ( ph  ->  2  e.  ZZ )
105 dvdscmul 12429 . . . . . . . 8  |-  ( ( C  e.  ZZ  /\  Q  e.  ZZ  /\  2  e.  ZZ )  ->  ( C  ||  Q  ->  (
2  x.  C ) 
||  ( 2  x.  Q ) ) )
1064, 46, 104, 105syl3anc 1187 . . . . . . 7  |-  ( ph  ->  ( C  ||  Q  ->  ( 2  x.  C
)  ||  ( 2  x.  Q ) ) )
107103, 106mpd 16 . . . . . 6  |-  ( ph  ->  ( 2  x.  C
)  ||  ( 2  x.  Q ) )
108 jm2.27a25 . . . . . . . . . 10  |-  ( ph  ->  F  =  ( A Xrm  Q ) )
109 jm2.27a6 . . . . . . . . . . 11  |-  ( ph  ->  F  e.  NN0 )
110109nn0zd 9994 . . . . . . . . . 10  |-  ( ph  ->  F  e.  ZZ )
111108, 110eqeltrrd 2328 . . . . . . . . 9  |-  ( ph  ->  ( A Xrm  Q )  e.  ZZ )
112 frmy 26165 . . . . . . . . . . 11  |- Yrm  : (
( ZZ>= `  2 )  X.  ZZ ) --> ZZ
113112fovcl 5801 . . . . . . . . . 10  |-  ( ( A  e.  ( ZZ>= ` 
2 )  /\  R  e.  ZZ )  ->  ( A Yrm 
R )  e.  ZZ )
11466, 9, 113syl2anc 645 . . . . . . . . 9  |-  ( ph  ->  ( A Yrm  R )  e.  ZZ )
11521, 12eqeltrrd 2328 . . . . . . . . 9  |-  ( ph  ->  ( G Yrm  R )  e.  ZZ )
116 eluzelz 10117 . . . . . . . . . . . . 13  |-  ( A  e.  ( ZZ>= `  2
)  ->  A  e.  ZZ )
11766, 116syl 17 . . . . . . . . . . . 12  |-  ( ph  ->  A  e.  ZZ )
118 jm2.27a16 . . . . . . . . . . . 12  |-  ( ph  ->  F  ||  ( G  -  A ) )
119 congsym 26221 . . . . . . . . . . . 12  |-  ( ( ( F  e.  ZZ  /\  G  e.  ZZ )  /\  ( A  e.  ZZ  /\  F  ||  ( G  -  A
) ) )  ->  F  ||  ( A  -  G ) )
120110, 36, 117, 118, 119syl22anc 1188 . . . . . . . . . . 11  |-  ( ph  ->  F  ||  ( A  -  G ) )
121108, 120eqbrtrrd 3942 . . . . . . . . . 10  |-  ( ph  ->  ( A Xrm  Q )  ||  ( A  -  G
) )
122 jm2.15nn0 26262 . . . . . . . . . . 11  |-  ( ( A  e.  ( ZZ>= ` 
2 )  /\  G  e.  ( ZZ>= `  2 )  /\  R  e.  NN0 )  ->  ( A  -  G )  ||  (
( A Yrm  R )  -  ( G Yrm  R ) ) )
12366, 17, 30, 122syl3anc 1187 . . . . . . . . . 10  |-  ( ph  ->  ( A  -  G
)  ||  ( ( A Yrm 
R )  -  ( G Yrm 
R ) ) )
124117, 36zsubcld 10001 . . . . . . . . . . 11  |-  ( ph  ->  ( A  -  G
)  e.  ZZ )
125114, 115zsubcld 10001 . . . . . . . . . . 11  |-  ( ph  ->  ( ( A Yrm  R )  -  ( G Yrm  R ) )  e.  ZZ )
126 dvdstr 12436 . . . . . . . . . . 11  |-  ( ( ( A Xrm  Q )  e.  ZZ  /\  ( A  -  G )  e.  ZZ  /\  ( ( A Yrm  R )  -  ( G Yrm 
R ) )  e.  ZZ )  ->  (
( ( A Xrm  Q ) 
||  ( A  -  G )  /\  ( A  -  G )  ||  ( ( A Yrm  R )  -  ( G Yrm  R ) ) )  ->  ( A Xrm 
Q )  ||  (
( A Yrm  R )  -  ( G Yrm  R ) ) ) )
127111, 124, 125, 126syl3anc 1187 . . . . . . . . . 10  |-  ( ph  ->  ( ( ( A Xrm  Q )  ||  ( A  -  G )  /\  ( A  -  G
)  ||  ( ( A Yrm 
R )  -  ( G Yrm 
R ) ) )  ->  ( A Xrm  Q ) 
||  ( ( A Yrm  R )  -  ( G Yrm  R ) ) ) )
128121, 123, 127mp2and 663 . . . . . . . . 9  |-  ( ph  ->  ( A Xrm  Q )  ||  ( ( A Yrm  R )  -  ( G Yrm  R ) ) )
129 jm2.27a18 . . . . . . . . . 10  |-  ( ph  ->  F  ||  ( H  -  C ) )
13021, 1oveq12d 5728 . . . . . . . . . 10  |-  ( ph  ->  ( H  -  C
)  =  ( ( G Yrm  R )  -  ( A Yrm 
P ) ) )
131129, 108, 1303brtr3d 3949 . . . . . . . . 9  |-  ( ph  ->  ( A Xrm  Q )  ||  ( ( G Yrm  R )  -  ( A Yrm  P ) ) )
132 congtr 26218 . . . . . . . . 9  |-  ( ( ( ( A Xrm  Q )  e.  ZZ  /\  ( A Yrm 
R )  e.  ZZ )  /\  ( ( G Yrm  R )  e.  ZZ  /\  ( A Yrm  P )  e.  ZZ )  /\  (
( A Xrm  Q )  ||  ( ( A Yrm  R )  -  ( G Yrm  R ) )  /\  ( A Xrm  Q )  ||  ( ( G Yrm  R )  -  ( A Yrm 
P ) ) ) )  ->  ( A Xrm  Q
)  ||  ( ( A Yrm 
R )  -  ( A Yrm 
P ) ) )
133111, 114, 115, 99, 128, 131, 132syl222anc 1203 . . . . . . . 8  |-  ( ph  ->  ( A Xrm  Q )  ||  ( ( A Yrm  R )  -  ( A Yrm  P ) ) )
134133orcd 383 . . . . . . 7  |-  ( ph  ->  ( ( A Xrm  Q ) 
||  ( ( A Yrm  R )  -  ( A Yrm  P ) )  \/  ( A Xrm 
Q )  ||  (
( A Yrm  R )  -  -u ( A Yrm  P ) ) ) )
135 jm2.26 26261 . . . . . . . 8  |-  ( ( ( A  e.  (
ZZ>= `  2 )  /\  Q  e.  NN )  /\  ( R  e.  ZZ  /\  P  e.  ZZ ) )  ->  ( (
( A Xrm  Q )  ||  ( ( A Yrm  R )  -  ( A Yrm  P ) )  \/  ( A Xrm  Q )  ||  ( ( A Yrm  R )  -  -u ( A Yrm 
P ) ) )  <-> 
( ( 2  x.  Q )  ||  ( R  -  P )  \/  ( 2  x.  Q
)  ||  ( R  -  -u P ) ) ) )
13666, 87, 9, 10, 135syl22anc 1188 . . . . . . 7  |-  ( ph  ->  ( ( ( A Xrm  Q )  ||  ( ( A Yrm  R )  -  ( A Yrm 
P ) )  \/  ( A Xrm  Q )  ||  ( ( A Yrm  R )  -  -u ( A Yrm  P ) ) )  <->  ( (
2  x.  Q ) 
||  ( R  -  P )  \/  (
2  x.  Q ) 
||  ( R  -  -u P ) ) ) )
137134, 136mpbid 203 . . . . . 6  |-  ( ph  ->  ( ( 2  x.  Q )  ||  ( R  -  P )  \/  ( 2  x.  Q
)  ||  ( R  -  -u P ) ) )
138 dvdsacongtr 26237 . . . . . 6  |-  ( ( ( ( 2  x.  Q )  e.  ZZ  /\  R  e.  ZZ )  /\  ( P  e.  ZZ  /\  ( 2  x.  C )  e.  ZZ )  /\  (
( 2  x.  C
)  ||  ( 2  x.  Q )  /\  ( ( 2  x.  Q )  ||  ( R  -  P )  \/  ( 2  x.  Q
)  ||  ( R  -  -u P ) ) ) )  ->  (
( 2  x.  C
)  ||  ( R  -  P )  \/  (
2  x.  C ) 
||  ( R  -  -u P ) ) )
13948, 9, 10, 6, 107, 137, 138syl222anc 1203 . . . . 5  |-  ( ph  ->  ( ( 2  x.  C )  ||  ( R  -  P )  \/  ( 2  x.  C
)  ||  ( R  -  -u P ) ) )
140 acongtr 26231 . . . . 5  |-  ( ( ( ( 2  x.  C )  e.  ZZ  /\  B  e.  ZZ )  /\  ( R  e.  ZZ  /\  P  e.  ZZ )  /\  (
( ( 2  x.  C )  ||  ( B  -  R )  \/  ( 2  x.  C
)  ||  ( B  -  -u R ) )  /\  ( ( 2  x.  C )  ||  ( R  -  P
)  \/  ( 2  x.  C )  ||  ( R  -  -u P
) ) ) )  ->  ( ( 2  x.  C )  ||  ( B  -  P
)  \/  ( 2  x.  C )  ||  ( B  -  -u P
) ) )
1416, 8, 9, 10, 45, 139, 140syl222anc 1203 . . . 4  |-  ( ph  ->  ( ( 2  x.  C )  ||  ( B  -  P )  \/  ( 2  x.  C
)  ||  ( B  -  -u P ) ) )
1427nnnn0d 9897 . . . . . 6  |-  ( ph  ->  B  e.  NN0 )
1433nnnn0d 9897 . . . . . 6  |-  ( ph  ->  C  e.  NN0 )
144 jm2.27a20 . . . . . 6  |-  ( ph  ->  B  <_  C )
145 elfz2nn0 10699 . . . . . 6  |-  ( B  e.  ( 0 ... C )  <->  ( B  e.  NN0  /\  C  e. 
NN0  /\  B  <_  C ) )
146142, 143, 144, 145syl3anbrc 1141 . . . . 5  |-  ( ph  ->  B  e.  ( 0 ... C ) )
14795nnnn0d 9897 . . . . . 6  |-  ( ph  ->  P  e.  NN0 )
148 rmygeid 26217 . . . . . . . 8  |-  ( ( A  e.  ( ZZ>= ` 
2 )  /\  P  e.  NN0 )  ->  P  <_  ( A Yrm  P ) )
14966, 147, 148syl2anc 645 . . . . . . 7  |-  ( ph  ->  P  <_  ( A Yrm  P
) )
150149, 1breqtrrd 3946 . . . . . 6  |-  ( ph  ->  P  <_  C )
151 elfz2nn0 10699 . . . . . 6  |-  ( P  e.  ( 0 ... C )  <->  ( P  e.  NN0  /\  C  e. 
NN0  /\  P  <_  C ) )
152147, 143, 150, 151syl3anbrc 1141 . . . . 5  |-  ( ph  ->  P  e.  ( 0 ... C ) )
153 acongeq 26236 . . . . 5  |-  ( ( C  e.  NN  /\  B  e.  ( 0 ... C )  /\  P  e.  ( 0 ... C ) )  ->  ( B  =  P  <->  ( ( 2  x.  C )  ||  ( B  -  P
)  \/  ( 2  x.  C )  ||  ( B  -  -u P
) ) ) )
1543, 146, 152, 153syl3anc 1187 . . . 4  |-  ( ph  ->  ( B  =  P  <-> 
( ( 2  x.  C )  ||  ( B  -  P )  \/  ( 2  x.  C
)  ||  ( B  -  -u P ) ) ) )
155141, 154mpbird 225 . . 3  |-  ( ph  ->  B  =  P )
156155oveq2d 5726 . 2  |-  ( ph  ->  ( A Yrm  B )  =  ( A Yrm  P ) )
1571, 156eqtr4d 2288 1  |-  ( ph  ->  C  =  ( A Yrm  B ) )
Colors of variables: wff set class
Syntax hints:    -> wi 6    <-> wb 178    \/ wo 359    /\ wa 360    = wceq 1619    e. wcel 1621   class class class wbr 3920   ` cfv 4592  (class class class)co 5710   0cc0 8617   1c1 8618    + caddc 8620    x. cmul 8622    < clt 8747    <_ cle 8748    - cmin 8917   -ucneg 8918   NNcn 9626   2c2 9675   NN0cn0 9844   ZZcz 9903   ZZ>=cuz 10109   ...cfz 10660   ^cexp 10982    || cdivides 12405   Xrm crmx 26151   Yrm crmy 26152
This theorem is referenced by:  jm2.27b  26265
This theorem was proved from axioms:  ax-1 7  ax-2 8  ax-3 9  ax-mp 10  ax-5 1533  ax-6 1534  ax-7 1535  ax-gen 1536  ax-8 1623  ax-11 1624  ax-13 1625  ax-14 1626  ax-17 1628  ax-12o 1664  ax-10 1678  ax-9 1684  ax-4 1692  ax-16 1926  ax-ext 2234  ax-rep 4028  ax-sep 4038  ax-nul 4046  ax-pow 4082  ax-pr 4108  ax-un 4403  ax-inf2 7226  ax-cnex 8673  ax-resscn 8674  ax-1cn 8675  ax-icn 8676  ax-addcl 8677  ax-addrcl 8678  ax-mulcl 8679  ax-mulrcl 8680  ax-mulcom 8681  ax-addass 8682  ax-mulass 8683  ax-distr 8684  ax-i2m1 8685  ax-1ne0 8686  ax-1rid 8687  ax-rnegex 8688  ax-rrecex 8689  ax-cnre 8690  ax-pre-lttri 8691  ax-pre-lttrn 8692  ax-pre-ltadd 8693  ax-pre-mulgt0 8694  ax-pre-sup 8695  ax-addf 8696  ax-mulf 8697
This theorem depends on definitions:  df-bi 179  df-or 361  df-an 362  df-3or 940  df-3an 941  df-tru 1315  df-ex 1538  df-nf 1540  df-sb 1883  df-eu 2118  df-mo 2119  df-clab 2240  df-cleq 2246  df-clel 2249  df-nfc 2374  df-ne 2414  df-nel 2415  df-ral 2513  df-rex 2514  df-reu 2515  df-rab 2516  df-v 2729  df-sbc 2922  df-csb 3010  df-dif 3081  df-un 3083  df-in 3085  df-ss 3089  df-pss 3091  df-nul 3363  df-if 3471  df-pw 3532  df-sn 3550  df-pr 3551  df-tp 3552  df-op 3553  df-uni 3728  df-int 3761  df-iun 3805  df-iin 3806  df-br 3921  df-opab 3975  df-mpt 3976  df-tr 4011  df-eprel 4198  df-id 4202  df-po 4207  df-so 4208  df-fr 4245  df-se 4246  df-we 4247  df-ord 4288  df-on 4289  df-lim 4290  df-suc 4291  df-om 4548  df-xp 4594  df-rel 4595  df-cnv 4596  df-co 4597  df-dm 4598  df-rn 4599  df-res 4600  df-ima 4601  df-fun 4602  df-fn 4603  df-f 4604  df-f1 4605  df-fo 4606  df-f1o 4607  df-fv 4608  df-isom 4609  df-ov 5713  df-oprab 5714  df-mpt2 5715  df-of 5930  df-1st 5974  df-2nd 5975  df-iota 6143  df-riota 6190  df-recs 6274  df-rdg 6309  df-1o 6365  df-2o 6366  df-oadd 6369  df-omul 6370  df-er 6546  df-map 6660  df-pm 6661  df-ixp 6704  df-en 6750  df-dom 6751  df-sdom 6752  df-fin 6753  df-fi 7049  df-sup 7078  df-oi 7109  df-card 7456  df-acn 7459  df-cda 7678  df-pnf 8749  df-mnf 8750  df-xr 8751  df-ltxr 8752  df-le 8753  df-sub 8919  df-neg 8920  df-div 9304  df-n 9627  df-2 9684  df-3 9685  df-4 9686  df-5 9687  df-6 9688  df-7 9689  df-8 9690  df-9 9691  df-10 9692  df-n0 9845  df-z 9904  df-dec 10004  df-uz 10110  df-q 10196  df-rp 10234  df-xneg 10331  df-xadd 10332  df-xmul 10333  df-ioo 10538  df-ioc 10539  df-ico 10540  df-icc 10541  df-fz 10661  df-fzo 10749  df-fl 10803  df-mod 10852  df-seq 10925  df-exp 10983  df-fac 11167  df-bc 11194  df-hash 11216  df-shft 11439  df-cj 11461  df-re 11462  df-im 11463  df-sqr 11597  df-abs 11598  df-limsup 11822  df-clim 11839  df-rlim 11840  df-sum 12036  df-ef 12223  df-sin 12225  df-cos 12226  df-pi 12228  df-divides 12406  df-gcd 12560  df-prime 12633  df-numer 12680  df-denom 12681  df-struct 13024  df-ndx 13025  df-slot 13026  df-base 13027  df-sets 13028  df-ress 13029  df-plusg 13095  df-mulr 13096  df-starv 13097  df-sca 13098  df-vsca 13099  df-tset 13101  df-ple 13102  df-ds 13104  df-hom 13106  df-cco 13107  df-rest 13201  df-topn 13202  df-topgen 13218  df-pt 13219  df-prds 13222  df-xrs 13277  df-0g 13278  df-gsum 13279  df-qtop 13284  df-imas 13285  df-xps 13287  df-mre 13361  df-mrc 13362  df-acs 13363  df-mnd 14202  df-submnd 14251  df-mulg 14327  df-cntz 14628  df-cmn 14926  df-xmet 16205  df-met 16206  df-bl 16207  df-mopn 16208  df-cnfld 16210  df-top 16468  df-bases 16470  df-topon 16471  df-topsp 16472  df-cld 16588  df-ntr 16589  df-cls 16590  df-nei 16667  df-lp 16700  df-perf 16701  df-cn 16789  df-cnp 16790  df-haus 16875  df-tx 17089  df-hmeo 17278  df-fbas 17352  df-fg 17353  df-fil 17373  df-fm 17465  df-flim 17466  df-flf 17467  df-xms 17717  df-ms 17718  df-tms 17719  df-cncf 18214  df-limc 19048  df-dv 19049  df-log 19746  df-squarenn 26092  df-pell1qr 26093  df-pell14qr 26094  df-pell1234qr 26095  df-pellfund 26096  df-rmx 26153  df-rmy 26154
  Copyright terms: Public domain W3C validator