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

Theorem jm2.27a 30551
Description: Lemma for jm2.27 30554. 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 10892 . . . . . 6  |-  2  e.  ZZ
3 jm2.27a3 . . . . . . 7  |-  ( ph  ->  C  e.  NN )
43nnzd 10961 . . . . . 6  |-  ( ph  ->  C  e.  ZZ )
5 zmulcl 10907 . . . . . 6  |-  ( ( 2  e.  ZZ  /\  C  e.  ZZ )  ->  ( 2  x.  C
)  e.  ZZ )
62, 4, 5sylancr 663 . . . . 5  |-  ( ph  ->  ( 2  x.  C
)  e.  ZZ )
7 jm2.27a2 . . . . . 6  |-  ( ph  ->  B  e.  NN )
87nnzd 10961 . . . . 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 10960 . . . . . . 7  |-  ( ph  ->  H  e.  ZZ )
13 jm2.27a19 . . . . . . . 8  |-  ( ph  ->  ( 2  x.  C
)  ||  ( H  -  B ) )
14 congsym 30510 . . . . . . . 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 1229 . . . . . . 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 10851 . . . . . . . . . . . . 13  |-  ( ph  ->  0  <_  H )
19 rmy0 30469 . . . . . . . . . . . . . 14  |-  ( G  e.  ( ZZ>= `  2
)  ->  ( G Yrm  0 )  =  0 )
2017, 19syl 16 . . . . . . . . . . . . 13  |-  ( ph  ->  ( G Yrm  0 )  =  0 )
21 jm2.27a29 . . . . . . . . . . . . . 14  |-  ( ph  ->  H  =  ( G Yrm  R ) )
2221eqcomd 2475 . . . . . . . . . . . . 13  |-  ( ph  ->  ( G Yrm  R )  =  H )
2318, 20, 223brtr4d 4477 . . . . . . . . . . . 12  |-  ( ph  ->  ( G Yrm  0 )  <_ 
( G Yrm  R ) )
24 0zd 10872 . . . . . . . . . . . . 13  |-  ( ph  ->  0  e.  ZZ )
25 lermy 30497 . . . . . . . . . . . . 13  |-  ( ( G  e.  ( ZZ>= ` 
2 )  /\  0  e.  ZZ  /\  R  e.  ZZ )  ->  (
0  <_  R  <->  ( G Yrm  0 )  <_  ( G Yrm  R
) ) )
2617, 24, 9, 25syl3anc 1228 . . . . . . . . . . . 12  |-  ( ph  ->  ( 0  <_  R  <->  ( G Yrm  0 )  <_  ( G Yrm 
R ) ) )
2723, 26mpbird 232 . . . . . . . . . . 11  |-  ( ph  ->  0  <_  R )
28 elnn0z 10873 . . . . . . . . . . 11  |-  ( R  e.  NN0  <->  ( R  e.  ZZ  /\  0  <_  R ) )
299, 27, 28sylanbrc 664 . . . . . . . . . 10  |-  ( ph  ->  R  e.  NN0 )
30 jm2.16nn0 30550 . . . . . . . . . 10  |-  ( ( G  e.  ( ZZ>= ` 
2 )  /\  R  e.  NN0 )  ->  ( G  -  1 ) 
||  ( ( G Yrm  R )  -  R ) )
3117, 29, 30syl2anc 661 . . . . . . . . 9  |-  ( ph  ->  ( G  -  1 )  ||  ( ( G Yrm  R )  -  R
) )
3221oveq1d 6297 . . . . . . . . 9  |-  ( ph  ->  ( H  -  R
)  =  ( ( G Yrm  R )  -  R
) )
3331, 32breqtrrd 4473 . . . . . . . 8  |-  ( ph  ->  ( G  -  1 )  ||  ( H  -  R ) )
34 jm2.27a7 . . . . . . . . . . 11  |-  ( ph  ->  G  e.  NN0 )
3534nn0zd 10960 . . . . . . . . . 10  |-  ( ph  ->  G  e.  ZZ )
36 peano2zm 10902 . . . . . . . . . 10  |-  ( G  e.  ZZ  ->  ( G  -  1 )  e.  ZZ )
3735, 36syl 16 . . . . . . . . 9  |-  ( ph  ->  ( G  -  1 )  e.  ZZ )
3812, 9zsubcld 10967 . . . . . . . . 9  |-  ( ph  ->  ( H  -  R
)  e.  ZZ )
39 dvdstr 13874 . . . . . . . . 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 ) ) )
406, 37, 38, 39syl3anc 1228 . . . . . . . 8  |-  ( ph  ->  ( ( ( 2  x.  C )  ||  ( G  -  1
)  /\  ( G  -  1 )  ||  ( H  -  R
) )  ->  (
2  x.  C ) 
||  ( H  -  R ) ) )
4116, 33, 40mp2and 679 . . . . . . 7  |-  ( ph  ->  ( 2  x.  C
)  ||  ( H  -  R ) )
42 congtr 30507 . . . . . . 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 )
)
436, 8, 12, 9, 15, 41, 42syl222anc 1244 . . . . . 6  |-  ( ph  ->  ( 2  x.  C
)  ||  ( B  -  R ) )
4443orcd 392 . . . . 5  |-  ( ph  ->  ( ( 2  x.  C )  ||  ( B  -  R )  \/  ( 2  x.  C
)  ||  ( B  -  -u R ) ) )
45 jm2.27a24 . . . . . . 7  |-  ( ph  ->  Q  e.  ZZ )
46 zmulcl 10907 . . . . . . 7  |-  ( ( 2  e.  ZZ  /\  Q  e.  ZZ )  ->  ( 2  x.  Q
)  e.  ZZ )
472, 45, 46sylancr 663 . . . . . 6  |-  ( ph  ->  ( 2  x.  Q
)  e.  ZZ )
48 zsqcl 12202 . . . . . . . . . . . . . 14  |-  ( C  e.  ZZ  ->  ( C ^ 2 )  e.  ZZ )
494, 48syl 16 . . . . . . . . . . . . 13  |-  ( ph  ->  ( C ^ 2 )  e.  ZZ )
50 dvdsmul2 13863 . . . . . . . . . . . . 13  |-  ( ( 2  e.  ZZ  /\  ( C ^ 2 )  e.  ZZ )  -> 
( C ^ 2 )  ||  ( 2  x.  ( C ^
2 ) ) )
512, 49, 50sylancr 663 . . . . . . . . . . . 12  |-  ( ph  ->  ( C ^ 2 )  ||  ( 2  x.  ( C ^
2 ) ) )
52 jm2.27a10 . . . . . . . . . . . . . . 15  |-  ( ph  ->  J  e.  NN0 )
5352nn0zd 10960 . . . . . . . . . . . . . 14  |-  ( ph  ->  J  e.  ZZ )
5453peano2zd 10965 . . . . . . . . . . . . 13  |-  ( ph  ->  ( J  +  1 )  e.  ZZ )
55 zmulcl 10907 . . . . . . . . . . . . . 14  |-  ( ( 2  e.  ZZ  /\  ( C ^ 2 )  e.  ZZ )  -> 
( 2  x.  ( C ^ 2 ) )  e.  ZZ )
562, 49, 55sylancr 663 . . . . . . . . . . . . 13  |-  ( ph  ->  ( 2  x.  ( C ^ 2 ) )  e.  ZZ )
57 dvdsmultr2 13876 . . . . . . . . . . . . 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 ) ) ) ) )
5849, 54, 56, 57syl3anc 1228 . . . . . . . . . . . 12  |-  ( ph  ->  ( ( C ^
2 )  ||  (
2  x.  ( C ^ 2 ) )  ->  ( C ^
2 )  ||  (
( J  +  1 )  x.  ( 2  x.  ( C ^
2 ) ) ) ) )
5951, 58mpd 15 . . . . . . . . . . 11  |-  ( ph  ->  ( C ^ 2 )  ||  ( ( J  +  1 )  x.  ( 2  x.  ( C ^ 2 ) ) ) )
601oveq1d 6297 . . . . . . . . . . 11  |-  ( ph  ->  ( C ^ 2 )  =  ( ( A Yrm  P ) ^ 2 ) )
61 jm2.27a15 . . . . . . . . . . . 12  |-  ( ph  ->  E  =  ( ( J  +  1 )  x.  ( 2  x.  ( C ^ 2 ) ) ) )
62 jm2.27a26 . . . . . . . . . . . 12  |-  ( ph  ->  E  =  ( A Yrm  Q ) )
6361, 62eqtr3d 2510 . . . . . . . . . . 11  |-  ( ph  ->  ( ( J  + 
1 )  x.  (
2  x.  ( C ^ 2 ) ) )  =  ( A Yrm  Q ) )
6459, 60, 633brtr3d 4476 . . . . . . . . . 10  |-  ( ph  ->  ( ( A Yrm  P ) ^ 2 )  ||  ( A Yrm  Q ) )
65 jm2.27a1 . . . . . . . . . . 11  |-  ( ph  ->  A  e.  ( ZZ>= ` 
2 ) )
6654zred 10962 . . . . . . . . . . . . . . . 16  |-  ( ph  ->  ( J  +  1 )  e.  RR )
6756zred 10962 . . . . . . . . . . . . . . . 16  |-  ( ph  ->  ( 2  x.  ( C ^ 2 ) )  e.  RR )
68 nn0p1nn 10831 . . . . . . . . . . . . . . . . . 18  |-  ( J  e.  NN0  ->  ( J  +  1 )  e.  NN )
6952, 68syl 16 . . . . . . . . . . . . . . . . 17  |-  ( ph  ->  ( J  +  1 )  e.  NN )
7069nngt0d 10575 . . . . . . . . . . . . . . . 16  |-  ( ph  ->  0  <  ( J  +  1 ) )
71 2nn 10689 . . . . . . . . . . . . . . . . . 18  |-  2  e.  NN
723nnsqcld 12294 . . . . . . . . . . . . . . . . . 18  |-  ( ph  ->  ( C ^ 2 )  e.  NN )
73 nnmulcl 10555 . . . . . . . . . . . . . . . . . 18  |-  ( ( 2  e.  NN  /\  ( C ^ 2 )  e.  NN )  -> 
( 2  x.  ( C ^ 2 ) )  e.  NN )
7471, 72, 73sylancr 663 . . . . . . . . . . . . . . . . 17  |-  ( ph  ->  ( 2  x.  ( C ^ 2 ) )  e.  NN )
7574nngt0d 10575 . . . . . . . . . . . . . . . 16  |-  ( ph  ->  0  <  ( 2  x.  ( C ^
2 ) ) )
7666, 67, 70, 75mulgt0d 9732 . . . . . . . . . . . . . . 15  |-  ( ph  ->  0  <  ( ( J  +  1 )  x.  ( 2  x.  ( C ^ 2 ) ) ) )
7776, 61breqtrrd 4473 . . . . . . . . . . . . . 14  |-  ( ph  ->  0  <  E )
78 rmy0 30469 . . . . . . . . . . . . . . 15  |-  ( A  e.  ( ZZ>= `  2
)  ->  ( A Yrm  0 )  =  0 )
7965, 78syl 16 . . . . . . . . . . . . . 14  |-  ( ph  ->  ( A Yrm  0 )  =  0 )
8062eqcomd 2475 . . . . . . . . . . . . . 14  |-  ( ph  ->  ( A Yrm  Q )  =  E )
8177, 79, 803brtr4d 4477 . . . . . . . . . . . . 13  |-  ( ph  ->  ( A Yrm  0 )  < 
( A Yrm  Q ) )
82 ltrmy 30494 . . . . . . . . . . . . . 14  |-  ( ( A  e.  ( ZZ>= ` 
2 )  /\  0  e.  ZZ  /\  Q  e.  ZZ )  ->  (
0  <  Q  <->  ( A Yrm  0 )  <  ( A Yrm  Q ) ) )
8365, 24, 45, 82syl3anc 1228 . . . . . . . . . . . . 13  |-  ( ph  ->  ( 0  <  Q  <->  ( A Yrm  0 )  <  ( A Yrm 
Q ) ) )
8481, 83mpbird 232 . . . . . . . . . . . 12  |-  ( ph  ->  0  <  Q )
85 elnnz 10870 . . . . . . . . . . . 12  |-  ( Q  e.  NN  <->  ( Q  e.  ZZ  /\  0  < 
Q ) )
8645, 84, 85sylanbrc 664 . . . . . . . . . . 11  |-  ( ph  ->  Q  e.  NN )
873nngt0d 10575 . . . . . . . . . . . . . 14  |-  ( ph  ->  0  <  C )
881eqcomd 2475 . . . . . . . . . . . . . 14  |-  ( ph  ->  ( A Yrm  P )  =  C )
8987, 79, 883brtr4d 4477 . . . . . . . . . . . . 13  |-  ( ph  ->  ( A Yrm  0 )  < 
( A Yrm  P ) )
90 ltrmy 30494 . . . . . . . . . . . . . 14  |-  ( ( A  e.  ( ZZ>= ` 
2 )  /\  0  e.  ZZ  /\  P  e.  ZZ )  ->  (
0  <  P  <->  ( A Yrm  0 )  <  ( A Yrm  P ) ) )
9165, 24, 10, 90syl3anc 1228 . . . . . . . . . . . . 13  |-  ( ph  ->  ( 0  <  P  <->  ( A Yrm  0 )  <  ( A Yrm 
P ) ) )
9289, 91mpbird 232 . . . . . . . . . . . 12  |-  ( ph  ->  0  <  P )
93 elnnz 10870 . . . . . . . . . . . 12  |-  ( P  e.  NN  <->  ( P  e.  ZZ  /\  0  < 
P ) )
9410, 92, 93sylanbrc 664 . . . . . . . . . . 11  |-  ( ph  ->  P  e.  NN )
95 jm2.20nn 30543 . . . . . . . . . . 11  |-  ( ( A  e.  ( ZZ>= ` 
2 )  /\  Q  e.  NN  /\  P  e.  NN )  ->  (
( ( A Yrm  P ) ^ 2 )  ||  ( A Yrm  Q )  <->  ( P  x.  ( A Yrm  P ) ) 
||  Q ) )
9665, 86, 94, 95syl3anc 1228 . . . . . . . . . 10  |-  ( ph  ->  ( ( ( A Yrm  P ) ^ 2 ) 
||  ( A Yrm  Q )  <-> 
( P  x.  ( A Yrm 
P ) )  ||  Q ) )
9764, 96mpbid 210 . . . . . . . . 9  |-  ( ph  ->  ( P  x.  ( A Yrm 
P ) )  ||  Q )
981, 4eqeltrrd 2556 . . . . . . . . . 10  |-  ( ph  ->  ( A Yrm  P )  e.  ZZ )
99 muldvds2 13866 . . . . . . . . . 10  |-  ( ( P  e.  ZZ  /\  ( A Yrm  P )  e.  ZZ  /\  Q  e.  ZZ )  ->  (
( P  x.  ( A Yrm 
P ) )  ||  Q  ->  ( A Yrm  P ) 
||  Q ) )
10010, 98, 45, 99syl3anc 1228 . . . . . . . . 9  |-  ( ph  ->  ( ( P  x.  ( A Yrm  P ) ) 
||  Q  ->  ( A Yrm 
P )  ||  Q
) )
10197, 100mpd 15 . . . . . . . 8  |-  ( ph  ->  ( A Yrm  P )  ||  Q )
1021, 101eqbrtrd 4467 . . . . . . 7  |-  ( ph  ->  C  ||  Q )
1032a1i 11 . . . . . . . 8  |-  ( ph  ->  2  e.  ZZ )
104 dvdscmul 13867 . . . . . . . 8  |-  ( ( C  e.  ZZ  /\  Q  e.  ZZ  /\  2  e.  ZZ )  ->  ( C  ||  Q  ->  (
2  x.  C ) 
||  ( 2  x.  Q ) ) )
1054, 45, 103, 104syl3anc 1228 . . . . . . 7  |-  ( ph  ->  ( C  ||  Q  ->  ( 2  x.  C
)  ||  ( 2  x.  Q ) ) )
106102, 105mpd 15 . . . . . 6  |-  ( ph  ->  ( 2  x.  C
)  ||  ( 2  x.  Q ) )
107 jm2.27a25 . . . . . . . . . 10  |-  ( ph  ->  F  =  ( A Xrm  Q ) )
108 jm2.27a6 . . . . . . . . . . 11  |-  ( ph  ->  F  e.  NN0 )
109108nn0zd 10960 . . . . . . . . . 10  |-  ( ph  ->  F  e.  ZZ )
110107, 109eqeltrrd 2556 . . . . . . . . 9  |-  ( ph  ->  ( A Xrm  Q )  e.  ZZ )
111 frmy 30454 . . . . . . . . . . 11  |- Yrm  : (
( ZZ>= `  2 )  X.  ZZ ) --> ZZ
112111fovcl 6389 . . . . . . . . . 10  |-  ( ( A  e.  ( ZZ>= ` 
2 )  /\  R  e.  ZZ )  ->  ( A Yrm 
R )  e.  ZZ )
11365, 9, 112syl2anc 661 . . . . . . . . 9  |-  ( ph  ->  ( A Yrm  R )  e.  ZZ )
11421, 12eqeltrrd 2556 . . . . . . . . 9  |-  ( ph  ->  ( G Yrm  R )  e.  ZZ )
115 eluzelz 11087 . . . . . . . . . . . . 13  |-  ( A  e.  ( ZZ>= `  2
)  ->  A  e.  ZZ )
11665, 115syl 16 . . . . . . . . . . . 12  |-  ( ph  ->  A  e.  ZZ )
117 jm2.27a16 . . . . . . . . . . . 12  |-  ( ph  ->  F  ||  ( G  -  A ) )
118 congsym 30510 . . . . . . . . . . . 12  |-  ( ( ( F  e.  ZZ  /\  G  e.  ZZ )  /\  ( A  e.  ZZ  /\  F  ||  ( G  -  A
) ) )  ->  F  ||  ( A  -  G ) )
119109, 35, 116, 117, 118syl22anc 1229 . . . . . . . . . . 11  |-  ( ph  ->  F  ||  ( A  -  G ) )
120107, 119eqbrtrrd 4469 . . . . . . . . . 10  |-  ( ph  ->  ( A Xrm  Q )  ||  ( A  -  G
) )
121 jm2.15nn0 30549 . . . . . . . . . . 11  |-  ( ( A  e.  ( ZZ>= ` 
2 )  /\  G  e.  ( ZZ>= `  2 )  /\  R  e.  NN0 )  ->  ( A  -  G )  ||  (
( A Yrm  R )  -  ( G Yrm  R ) ) )
12265, 17, 29, 121syl3anc 1228 . . . . . . . . . 10  |-  ( ph  ->  ( A  -  G
)  ||  ( ( A Yrm 
R )  -  ( G Yrm 
R ) ) )
123116, 35zsubcld 10967 . . . . . . . . . . 11  |-  ( ph  ->  ( A  -  G
)  e.  ZZ )
124113, 114zsubcld 10967 . . . . . . . . . . 11  |-  ( ph  ->  ( ( A Yrm  R )  -  ( G Yrm  R ) )  e.  ZZ )
125 dvdstr 13874 . . . . . . . . . . 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 ) ) ) )
126110, 123, 124, 125syl3anc 1228 . . . . . . . . . 10  |-  ( ph  ->  ( ( ( A Xrm  Q )  ||  ( A  -  G )  /\  ( A  -  G
)  ||  ( ( A Yrm 
R )  -  ( G Yrm 
R ) ) )  ->  ( A Xrm  Q ) 
||  ( ( A Yrm  R )  -  ( G Yrm  R ) ) ) )
127120, 122, 126mp2and 679 . . . . . . . . 9  |-  ( ph  ->  ( A Xrm  Q )  ||  ( ( A Yrm  R )  -  ( G Yrm  R ) ) )
128 jm2.27a18 . . . . . . . . . 10  |-  ( ph  ->  F  ||  ( H  -  C ) )
12921, 1oveq12d 6300 . . . . . . . . . 10  |-  ( ph  ->  ( H  -  C
)  =  ( ( G Yrm  R )  -  ( A Yrm 
P ) ) )
130128, 107, 1293brtr3d 4476 . . . . . . . . 9  |-  ( ph  ->  ( A Xrm  Q )  ||  ( ( G Yrm  R )  -  ( A Yrm  P ) ) )
131 congtr 30507 . . . . . . . . 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 ) ) )
132110, 113, 114, 98, 127, 130, 131syl222anc 1244 . . . . . . . 8  |-  ( ph  ->  ( A Xrm  Q )  ||  ( ( A Yrm  R )  -  ( A Yrm  P ) ) )
133132orcd 392 . . . . . . 7  |-  ( ph  ->  ( ( A Xrm  Q ) 
||  ( ( A Yrm  R )  -  ( A Yrm  P ) )  \/  ( A Xrm 
Q )  ||  (
( A Yrm  R )  -  -u ( A Yrm  P ) ) ) )
134 jm2.26 30548 . . . . . . . 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 ) ) ) )
13565, 86, 9, 10, 134syl22anc 1229 . . . . . . 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 ) ) ) )
136133, 135mpbid 210 . . . . . 6  |-  ( ph  ->  ( ( 2  x.  Q )  ||  ( R  -  P )  \/  ( 2  x.  Q
)  ||  ( R  -  -u P ) ) )
137 dvdsacongtr 30526 . . . . . 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 ) ) )
13847, 9, 10, 6, 106, 136, 137syl222anc 1244 . . . . 5  |-  ( ph  ->  ( ( 2  x.  C )  ||  ( R  -  P )  \/  ( 2  x.  C
)  ||  ( R  -  -u P ) ) )
139 acongtr 30520 . . . . 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
) ) )
1406, 8, 9, 10, 44, 138, 139syl222anc 1244 . . . 4  |-  ( ph  ->  ( ( 2  x.  C )  ||  ( B  -  P )  \/  ( 2  x.  C
)  ||  ( B  -  -u P ) ) )
1417nnnn0d 10848 . . . . . 6  |-  ( ph  ->  B  e.  NN0 )
1423nnnn0d 10848 . . . . . 6  |-  ( ph  ->  C  e.  NN0 )
143 jm2.27a20 . . . . . 6  |-  ( ph  ->  B  <_  C )
144 elfz2nn0 11764 . . . . . 6  |-  ( B  e.  ( 0 ... C )  <->  ( B  e.  NN0  /\  C  e. 
NN0  /\  B  <_  C ) )
145141, 142, 143, 144syl3anbrc 1180 . . . . 5  |-  ( ph  ->  B  e.  ( 0 ... C ) )
14694nnnn0d 10848 . . . . . 6  |-  ( ph  ->  P  e.  NN0 )
147 rmygeid 30506 . . . . . . . 8  |-  ( ( A  e.  ( ZZ>= ` 
2 )  /\  P  e.  NN0 )  ->  P  <_  ( A Yrm  P ) )
14865, 146, 147syl2anc 661 . . . . . . 7  |-  ( ph  ->  P  <_  ( A Yrm  P
) )
149148, 1breqtrrd 4473 . . . . . 6  |-  ( ph  ->  P  <_  C )
150 elfz2nn0 11764 . . . . . 6  |-  ( P  e.  ( 0 ... C )  <->  ( P  e.  NN0  /\  C  e. 
NN0  /\  P  <_  C ) )
151146, 142, 149, 150syl3anbrc 1180 . . . . 5  |-  ( ph  ->  P  e.  ( 0 ... C ) )
152 acongeq 30525 . . . . 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
) ) ) )
1533, 145, 151, 152syl3anc 1228 . . . 4  |-  ( ph  ->  ( B  =  P  <-> 
( ( 2  x.  C )  ||  ( B  -  P )  \/  ( 2  x.  C
)  ||  ( B  -  -u P ) ) ) )
154140, 153mpbird 232 . . 3  |-  ( ph  ->  B  =  P )
155154oveq2d 6298 . 2  |-  ( ph  ->  ( A Yrm  B )  =  ( A Yrm  P ) )
1561, 155eqtr4d 2511 1  |-  ( ph  ->  C  =  ( A Yrm  B ) )
Colors of variables: wff setvar class
Syntax hints:    -> wi 4    <-> wb 184    \/ wo 368    /\ wa 369    = wceq 1379    e. wcel 1767   class class class wbr 4447   ` cfv 5586  (class class class)co 6282   0cc0 9488   1c1 9489    + caddc 9491    x. cmul 9493    < clt 9624    <_ cle 9625    - cmin 9801   -ucneg 9802   NNcn 10532   2c2 10581   NN0cn0 10791   ZZcz 10860   ZZ>=cuz 11078   ...cfz 11668   ^cexp 12130    || cdivides 13843   Xrm crmx 30440   Yrm crmy 30441
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1601  ax-4 1612  ax-5 1680  ax-6 1719  ax-7 1739  ax-8 1769  ax-9 1771  ax-10 1786  ax-11 1791  ax-12 1803  ax-13 1968  ax-ext 2445  ax-rep 4558  ax-sep 4568  ax-nul 4576  ax-pow 4625  ax-pr 4686  ax-un 6574  ax-inf2 8054  ax-cnex 9544  ax-resscn 9545  ax-1cn 9546  ax-icn 9547  ax-addcl 9548  ax-addrcl 9549  ax-mulcl 9550  ax-mulrcl 9551  ax-mulcom 9552  ax-addass 9553  ax-mulass 9554  ax-distr 9555  ax-i2m1 9556  ax-1ne0 9557  ax-1rid 9558  ax-rnegex 9559  ax-rrecex 9560  ax-cnre 9561  ax-pre-lttri 9562  ax-pre-lttrn 9563  ax-pre-ltadd 9564  ax-pre-mulgt0 9565  ax-pre-sup 9566  ax-addf 9567  ax-mulf 9568
This theorem depends on definitions:  df-bi 185  df-or 370  df-an 371  df-3or 974  df-3an 975  df-tru 1382  df-fal 1385  df-ex 1597  df-nf 1600  df-sb 1712  df-eu 2279  df-mo 2280  df-clab 2453  df-cleq 2459  df-clel 2462  df-nfc 2617  df-ne 2664  df-nel 2665  df-ral 2819  df-rex 2820  df-reu 2821  df-rmo 2822  df-rab 2823  df-v 3115  df-sbc 3332  df-csb 3436  df-dif 3479  df-un 3481  df-in 3483  df-ss 3490  df-pss 3492  df-nul 3786  df-if 3940  df-pw 4012  df-sn 4028  df-pr 4030  df-tp 4032  df-op 4034  df-uni 4246  df-int 4283  df-iun 4327  df-iin 4328  df-br 4448  df-opab 4506  df-mpt 4507  df-tr 4541  df-eprel 4791  df-id 4795  df-po 4800  df-so 4801  df-fr 4838  df-se 4839  df-we 4840  df-ord 4881  df-on 4882  df-lim 4883  df-suc 4884  df-xp 5005  df-rel 5006  df-cnv 5007  df-co 5008  df-dm 5009  df-rn 5010  df-res 5011  df-ima 5012  df-iota 5549  df-fun 5588  df-fn 5589  df-f 5590  df-f1 5591  df-fo 5592  df-f1o 5593  df-fv 5594  df-isom 5595  df-riota 6243  df-ov 6285  df-oprab 6286  df-mpt2 6287  df-of 6522  df-om 6679  df-1st 6781  df-2nd 6782  df-supp 6899  df-recs 7039  df-rdg 7073  df-1o 7127  df-2o 7128  df-oadd 7131  df-omul 7132  df-er 7308  df-map 7419  df-pm 7420  df-ixp 7467  df-en 7514  df-dom 7515  df-sdom 7516  df-fin 7517  df-fsupp 7826  df-fi 7867  df-sup 7897  df-oi 7931  df-card 8316  df-acn 8319  df-cda 8544  df-pnf 9626  df-mnf 9627  df-xr 9628  df-ltxr 9629  df-le 9630  df-sub 9803  df-neg 9804  df-div 10203  df-nn 10533  df-2 10590  df-3 10591  df-4 10592  df-5 10593  df-6 10594  df-7 10595  df-8 10596  df-9 10597  df-10 10598  df-n0 10792  df-z 10861  df-dec 10973  df-uz 11079  df-q 11179  df-rp 11217  df-xneg 11314  df-xadd 11315  df-xmul 11316  df-ioo 11529  df-ioc 11530  df-ico 11531  df-icc 11532  df-fz 11669  df-fzo 11789  df-fl 11893  df-mod 11961  df-seq 12072  df-exp 12131  df-fac 12318  df-bc 12345  df-hash 12370  df-shft 12859  df-cj 12891  df-re 12892  df-im 12893  df-sqrt 13027  df-abs 13028  df-limsup 13253  df-clim 13270  df-rlim 13271  df-sum 13468  df-ef 13661  df-sin 13663  df-cos 13664  df-pi 13666  df-dvds 13844  df-gcd 14000  df-prm 14073  df-numer 14123  df-denom 14124  df-struct 14488  df-ndx 14489  df-slot 14490  df-base 14491  df-sets 14492  df-ress 14493  df-plusg 14564  df-mulr 14565  df-starv 14566  df-sca 14567  df-vsca 14568  df-ip 14569  df-tset 14570  df-ple 14571  df-ds 14573  df-unif 14574  df-hom 14575  df-cco 14576  df-rest 14674  df-topn 14675  df-0g 14693  df-gsum 14694  df-topgen 14695  df-pt 14696  df-prds 14699  df-xrs 14753  df-qtop 14758  df-imas 14759  df-xps 14761  df-mre 14837  df-mrc 14838  df-acs 14840  df-mnd 15728  df-submnd 15778  df-mulg 15861  df-cntz 16150  df-cmn 16596  df-psmet 18182  df-xmet 18183  df-met 18184  df-bl 18185  df-mopn 18186  df-fbas 18187  df-fg 18188  df-cnfld 18192  df-top 19166  df-bases 19168  df-topon 19169  df-topsp 19170  df-cld 19286  df-ntr 19287  df-cls 19288  df-nei 19365  df-lp 19403  df-perf 19404  df-cn 19494  df-cnp 19495  df-haus 19582  df-tx 19798  df-hmeo 19991  df-fil 20082  df-fm 20174  df-flim 20175  df-flf 20176  df-xms 20558  df-ms 20559  df-tms 20560  df-cncf 21117  df-limc 22005  df-dv 22006  df-log 22672  df-squarenn 30381  df-pell1qr 30382  df-pell14qr 30383  df-pell1234qr 30384  df-pellfund 30385  df-rmx 30442  df-rmy 30443
This theorem is referenced by:  jm2.27b  30552
  Copyright terms: Public domain W3C validator