let n, n1, n2 be Nat; for x, y being Integer
for a being non trivial Nat st 2 * n < n1 & n1 <= 4 * n & 2 * n < n2 & n2 <= 4 * n & |.x.| = Py (a,n1) & |.y.| = Py (a,n2) & x,y are_congruent_mod Px (a,n) & not n1,n2 are_congruent_mod 2 * n holds
n1, - n2 are_congruent_mod 2 * n
let x, y be Integer; for a being non trivial Nat st 2 * n < n1 & n1 <= 4 * n & 2 * n < n2 & n2 <= 4 * n & |.x.| = Py (a,n1) & |.y.| = Py (a,n2) & x,y are_congruent_mod Px (a,n) & not n1,n2 are_congruent_mod 2 * n holds
n1, - n2 are_congruent_mod 2 * n
let a be non trivial Nat; ( 2 * n < n1 & n1 <= 4 * n & 2 * n < n2 & n2 <= 4 * n & |.x.| = Py (a,n1) & |.y.| = Py (a,n2) & x,y are_congruent_mod Px (a,n) & not n1,n2 are_congruent_mod 2 * n implies n1, - n2 are_congruent_mod 2 * n )
assume that
A1:
( 2 * n < n1 & n1 <= 4 * n & 2 * n < n2 & n2 <= 4 * n )
and
A2:
( |.x.| = Py (a,n1) & |.y.| = Py (a,n2) & x,y are_congruent_mod Px (a,n) )
; ( n1,n2 are_congruent_mod 2 * n or n1, - n2 are_congruent_mod 2 * n )
reconsider m2 = n2 - (2 * n) as Nat by A1, NAT_1:21;
A3:
m2 <= (4 * n) - (2 * n)
by A1, XREAL_1:9;
( m2 > (2 * n) - (2 * n) & n2 > 0 )
by XREAL_1:9, A1;
then A4:
( sgn m2 = 1 & sgn n2 = 1 )
by ABSVALUE:def 2;
y <> 0
by A2, A1;
then
( y > 0 or y < 0 )
;
then
( sgn y = 1 or sgn y = - 1 )
by ABSVALUE:def 2;
then A5:
|.((sgn y) * (- (Py (a,m2)))).| = Py (a,m2)
;
reconsider m1 = n1 - (2 * n) as Nat by A1, NAT_1:21;
A6:
m1 <= (4 * n) - (2 * n)
by A1, XREAL_1:9;
( m1 > (2 * n) - (2 * n) & n1 > 0 )
by XREAL_1:9, A1;
then A7:
( sgn m1 = 1 & sgn n1 = 1 )
by ABSVALUE:def 2;
x <> 0
by A2, A1;
then
( x > 0 or x < 0 )
;
then
( sgn x = 1 or sgn x = - 1 )
by ABSVALUE:def 2;
then A8:
|.((sgn x) * (- (Py (a,m1)))).| = Py (a,m1)
;
(2 * n) + m1 = n1
;
then
(sgn n1) * (Py (a,|.n1.|)), - ((sgn m1) * (Py (a,|.m1.|))) are_congruent_mod Px (a,|.n.|)
by Th30;
then
(sgn x) * (Py (a,|.n1.|)),(sgn x) * (- (Py (a,m1))) are_congruent_mod Px (a,n)
by A7, INT_4:11;
then
x,(sgn x) * (- (Py (a,m1))) are_congruent_mod Px (a,n)
by ABSVALUE:17, A2;
then
(sgn x) * (- (Py (a,m1))),x are_congruent_mod Px (a,n)
by INT_1:14;
then A9:
(sgn x) * (- (Py (a,m1))),y are_congruent_mod Px (a,n)
by INT_1:15, A2;
(2 * n) + m2 = n2
;
then
(sgn n2) * (Py (a,|.n2.|)), - ((sgn m2) * (Py (a,|.m2.|))) are_congruent_mod Px (a,|.n.|)
by Th30;
then
(sgn y) * (Py (a,|.n2.|)),(sgn y) * (- (Py (a,m2))) are_congruent_mod Px (a,n)
by A4, INT_4:11;
then
y,(sgn y) * (- (Py (a,m2))) are_congruent_mod Px (a,n)
by ABSVALUE:17, A2;
then A10:
(sgn x) * (- (Py (a,m1))),(sgn y) * (- (Py (a,m2))) are_congruent_mod Px (a,n)
by A9, INT_1:15;