AA:
for X1, X2, X3 being non empty set
for x being Element of [:X1,X2,X3:] holds x = [(x `1_3),(x `2_3),(x `3_3)]
;
Lm1:
for p being Prime
for a being Element of (GF p) holds (power (GF p)) . (a,1) = a
by GROUP_1:50;
Lm2:
for p being Prime
for a being Element of (GF p) holds (power (GF p)) . (a,2) = a * a
by GROUP_1:51;
Lm3:
for n1, n2 being Nat
for p being Prime
for a being Element of (GF p) holds (a |^ n1) * (a |^ n2) = a |^ (n1 + n2)
by BINOM:10;
Lm4:
for n1, n2 being Nat
for p being Prime
for a being Element of (GF p) holds (a |^ n1) |^ n2 = a |^ (n1 * n2)
by BINOM:11;
definition
let p be
Prime;
let a,
b be
Element of
(GF p);
existence
ex b1 being Function of [: the carrier of (GF p), the carrier of (GF p), the carrier of (GF p):],(GF p) st
for P being Element of [: the carrier of (GF p), the carrier of (GF p), the carrier of (GF p):] holds b1 . P = (((P `2_3) |^ 2) * (P `3_3)) - ((((P `1_3) |^ 3) + ((a * (P `1_3)) * ((P `3_3) |^ 2))) + (b * ((P `3_3) |^ 3)))
uniqueness
for b1, b2 being Function of [: the carrier of (GF p), the carrier of (GF p), the carrier of (GF p):],(GF p) st ( for P being Element of [: the carrier of (GF p), the carrier of (GF p), the carrier of (GF p):] holds b1 . P = (((P `2_3) |^ 2) * (P `3_3)) - ((((P `1_3) |^ 3) + ((a * (P `1_3)) * ((P `3_3) |^ 2))) + (b * ((P `3_3) |^ 3))) ) & ( for P being Element of [: the carrier of (GF p), the carrier of (GF p), the carrier of (GF p):] holds b2 . P = (((P `2_3) |^ 2) * (P `3_3)) - ((((P `1_3) |^ 3) + ((a * (P `1_3)) * ((P `3_3) |^ 2))) + (b * ((P `3_3) |^ 3))) ) holds
b1 = b2
end;
Lm5:
for p being Prime
for a, b being Element of (GF p) holds
( [0,1,0] is Element of ProjCo (GF p) & (EC_WEqProjCo (a,b,p)) . [0,1,0] = 0. (GF p) )
Lm6:
for p being Prime
for d, Y being Element of (GF p) holds [d,Y,1] is Element of ProjCo (GF p)
theorem Th45:
for
p being
Prime for
a,
b being
Element of
(GF p) for
P,
Q being
Element of
[: the carrier of (GF p), the carrier of (GF p), the carrier of (GF p):] for
d being
Element of
(GF p) st
p > 3 &
Disc (
a,
b,
p)
<> 0. (GF p) &
P in EC_SetProjCo (
a,
b,
p) &
d <> 0. (GF p) &
Q `1_3 = d * (P `1_3) &
Q `2_3 = d * (P `2_3) &
Q `3_3 = d * (P `3_3) holds
Q in EC_SetProjCo (
a,
b,
p)
theorem Th47:
for
p being
Prime for
a,
b being
Element of
(GF p) for
P,
Q being
Element of
ProjCo (GF p) st
Disc (
a,
b,
p)
<> 0. (GF p) &
P in EC_SetProjCo (
a,
b,
p) &
Q in EC_SetProjCo (
a,
b,
p) holds
(
P _EQ_ Q iff
[P,Q] in R_EllCur (
a,
b,
p) )
theorem Th50:
for
p being
Prime for
a,
b being
Element of
(GF p) for
x being
set st
p > 3 &
Disc (
a,
b,
p)
<> 0. (GF p) &
x in Class (R_EllCur (a,b,p)) & ( for
P being
Element of
ProjCo (GF p) holds
( not
P in EC_SetProjCo (
a,
b,
p) or not
P = [0,1,0] or not
x = Class (
(R_EllCur (a,b,p)),
P) ) ) holds
ex
P being
Element of
ProjCo (GF p) ex
X,
Y being
Element of
(GF p) st
(
P in EC_SetProjCo (
a,
b,
p) &
P = [X,Y,1] &
x = Class (
(R_EllCur (a,b,p)),
P) )
theorem Th51:
for
p being
Prime for
a,
b being
Element of
(GF p) st
p > 3 &
Disc (
a,
b,
p)
<> 0. (GF p) holds
Class (R_EllCur (a,b,p)) = {(Class ((R_EllCur (a,b,p)),[0,1,0]))} \/ { (Class ((R_EllCur (a,b,p)),P)) where P is Element of ProjCo (GF p) : ( P in EC_SetProjCo (a,b,p) & ex X, Y being Element of (GF p) st P = [X,Y,1] ) }
theorem Th52:
for
p being
Prime for
a,
b,
d1,
Y1,
d2,
Y2 being
Element of
(GF p) st
p > 3 &
Disc (
a,
b,
p)
<> 0. (GF p) &
[d1,Y1,1] in EC_SetProjCo (
a,
b,
p) &
[d2,Y2,1] in EC_SetProjCo (
a,
b,
p) holds
(
Class (
(R_EllCur (a,b,p)),
[d1,Y1,1])
= Class (
(R_EllCur (a,b,p)),
[d2,Y2,1]) iff (
d1 = d2 &
Y1 = Y2 ) )
theorem Th53:
for
p being
Prime for
a,
b being
Element of
(GF p) for
F1,
F2 being
set st
p > 3 &
Disc (
a,
b,
p)
<> 0. (GF p) &
F1 = {(Class ((R_EllCur (a,b,p)),[0,1,0]))} &
F2 = { (Class ((R_EllCur (a,b,p)),P)) where P is Element of ProjCo (GF p) : ( P in EC_SetProjCo (a,b,p) & ex X, Y being Element of (GF p) st P = [X,Y,1] ) } holds
F1 misses F2
theorem Th58:
for
p being
Prime for
a,
b,
d being
Element of
(GF p) for
F,
G being
set st
p > 3 &
Disc (
a,
b,
p)
<> 0. (GF p) &
F = { Y where Y is Element of (GF p) : Y |^ 2 = ((d |^ 3) + (a * d)) + b } &
F <> {} &
G = { (Class ((R_EllCur (a,b,p)),[d,Y,1])) where Y is Element of (GF p) : [d,Y,1] in EC_SetProjCo (a,b,p) } holds
ex
I being
Function of
F,
G st
(
I is
onto &
I is
one-to-one )
theorem Th59:
for
p being
Prime for
a,
b,
d being
Element of
(GF p) st
p > 3 &
Disc (
a,
b,
p)
<> 0. (GF p) holds
card { (Class ((R_EllCur (a,b,p)),[d,Y,1])) where Y is Element of (GF p) : [d,Y,1] in EC_SetProjCo (a,b,p) } = 1
+ (Lege_p (((d |^ 3) + (a * d)) + b))
Lm7:
for p being Prime
for n being Nat st n in Seg p holds
n - 1 is Element of (GF p)
Lm8:
for p being Prime
for a, b, c, d being Element of (GF p) st p > 3 & Disc (a,b,p) <> 0. (GF p) holds
ex S being Function st
( dom S = Seg p & ( for n being Nat st n in dom S holds
S . n = { (Class ((R_EllCur (a,b,p)),[(n - 1),Y,1])) where Y is Element of (GF p) : [(n - 1),Y,1] in EC_SetProjCo (a,b,p) } ) & S is disjoint_valued & ( for n being Nat st n in dom S holds
S . n is finite ) & Union S = { (Class ((R_EllCur (a,b,p)),P)) where P is Element of ProjCo (GF p) : ( P in EC_SetProjCo (a,b,p) & ex X, Y being Element of (GF p) st P = [X,Y,1] ) } )
theorem Th60:
for
p being
Prime for
a,
b being
Element of
(GF p) st
p > 3 &
Disc (
a,
b,
p)
<> 0. (GF p) holds
ex
F being
FinSequence of
NAT st
(
len F = p & ( for
n being
Nat st
n in Seg p holds
ex
d being
Element of
(GF p) st
(
d = n - 1 &
F . n = 1
+ (Lege_p (((d |^ 3) + (a * d)) + b)) ) ) &
card { (Class ((R_EllCur (a,b,p)),P)) where P is Element of ProjCo (GF p) : ( P in EC_SetProjCo (a,b,p) & ex X, Y being Element of (GF p) st P = [X,Y,1] ) } = Sum F )
reconsider jj = 1 as Element of REAL by XREAL_0:def 1;