Iteration of Polynomials
Emil Lerner
∗
Faulty of Computational Mathematis and Cybernetis,
Mosow State University
Marh 30, 2015
Abstrat
Consideraolletion
f
ofpolynomialsf
i
(
x
)
,i
= 1
, . . . , s
,withintegeroeients suh that polynomialsf
i(
x
)
−
f
i(0)
,i
= 1
, . . . , s
, arelinearly independent. Denote byD
m
the disrepany for the set of pointsf
1
(
x
) mod
m
m
, . . . ,
f
s
(
x
) mod
m
p
n
for all
x
∈ {
0
,
1
, . . . , m
}
, wherem
=
p
n
,
n
∈
N
, andp
is a prime number. We prove thatD
m
→
0
asn
→ ∞
, andD
m
< c
1
(log log
m
)
−
c
2
, where
c
1
andc
2
arepositive onstants that depend only on the olletion off
i
. As a orollary, we obtain an analogous result for iterations of any polynomial (with integer oeients) whosedegree exeeds 1. Certain results on the uniform distribution were known earlier
onlyfor some lasses ofpolynomials with
s
6
3
.1 Introdution
The onstrution of pseudorandom generators (PRG) is one of most important
ryp-tographi problems; they have many various pratial appliations. We assume that a
PRG onsistsof
•
a transitionfuntionf
dening the state of the PRG by the formulau
i
+1
=
f
(
u
i)
,where
u
i
isitsstateatthetimemomenti
(therefore,thestateatthetimemomenti
isdenedasan
i
-folditerationof thefuntionf
ofthe initialstate,i.e.,u
i
=
f
(
i
)
(
u
0
)
);∗
•
anoutput funtionF
that denes the outputof the PRG atthe time momenti
asafuntion of itsurrent state,i.e.,
z
i
=
F
(
u
i)
;•
the initialstateu
0
(inwhat follows weassume that itis hosen randomly).In this paper we study the ability of ertain funtions
f
, namely, polynomials, toensurethedesiredpropertyofthesequeneofinternalstates(inotherwords,theabilityto
playthe roleofthe funtion
f
). Weassumethatalulationsare performedmodulosomenumber
m
. Forthesakeofuniformityorreasoningwithvariousm
,weonsiderthenumberu
i
/m
; evidently, it belongs to the interval from 0 to 1. In order to demonstrate thatonsequent valuesare ¾independent¿ofpreviousones,westudy theset formedbypoints,
whose oordinates are equal to several suññessive values of
u
i
/m
in a multidimensionalunit hyperube.
Withxed
m
the numberof pointsif nite and not greaterthanm
, beausethe nextstate is uniquely dened by the previous one. Therefore, by tending
m
to innity, oneobtainsthe desiredassertions for this ase. Below, as arule,
m
takesthe form ofp
n
with
some prime
p
and naturaln
.It is well known that for polynomials of degree 1 the measure of the losure of the
mentioned set equals 0, and with
n
tendingtoinnityall pointsbelong toseveralhyper-planes [2, P. 117℄ inside the unit hyperube. In [4℄ one proves that the measure of the
losure of the orresponding set equals either 0 or 1 for any ompatible funtion
f
, inpartiular, forpolynomialsof any degree (see Theorem 1).
For pratial appliations, along with the unit measure of the losure (i.e., the fat
thatthe
s
-dimensionalubeisoveredbythesetunderonsideration),itisalsoimportantthat the rate (with
n
tending to innity), at whih the ube is being overed by thesepoints, should be the same at all regions of the ube. More formally, we say that the
projetion of the funtion
f
(
x
)
is uniformly distributed in thes
-dimensional ube, if foreah parallelepiped
J
inside the ube the ratio of the number of pointsinJ
to the totalnumber of points with
n
→ ∞
equals the ratio of thes
-dimensional volume ofJ
to thetotal volume of the ube, i.e., to one. See [1℄,[6℄ for denitions of the uniformity for an
arbitraryset of points.
In papers [7℄, [8℄, [9℄oneprovesthe uniformityofthe orrespondingsets forquadrati
polynomials for the number of iterationsof 2 and 3. Moreover, in the mentioned papers
one obtainsonditions under whih the set of pairsof onseutive outputsof aquadrati
generator almost satises the repeated logarithm law [3℄, namely, the prinipal term of
the asymptotis of the disrepany equals
m
−
1
/
2
. In [5℄ these bounds are improved for
the ase of
m
= 2
k
than 2 with integer oeients and an arbitrary number of iterations with
m
=
p
n
,
where
n
tends to innity, andp
is an arbitrary prime number. The proof is based onthe following evident property: a suiently long random sequene neessarily ontains
any onrete subsequene; moreover, one an hoose the length of the sequene so large
as to make the probability of the opposite event very small. This fat is used in the
indution step. Assumingthe uniformityof the olletion
(
x, x
2
, . . . , x
s
−
1
)
,we xertain
subsequenes in the number
x
so as to make the major digits of eah funtion of theolletion
(
x, x
2
, . . . , x
s
)
modulo
p
n
easily preditable.
2 Basi notions
In this paper we apply tehniques of the
p
-adi analysis for nding funtions thatan be used for onstruting PRG; see, e.g., [10℄ for the neessary denitions. We use
the denitions of the ring of integer
p
-adi numbers and thep
-adi normk · k
p
andonsider funtions
f
fromZ
p
toZ
p
. Reall [4℄ that a funtion fromZ
p
toZ
p
is said tobe ompatible, if
k
f
(
x
1
)
−
f
(
x
2
)
k
p
6
k
x
1
−
x
2
k
p
for anyx
1
, x
2
∈
Z
p
. In other words,a funtion is ompatible, if for eah
x
1
, x
2
∈
Z
p
, for whih the minork
digits in thep
-adi notation oinide, the minor
k
digits in thep
-adi notation off
(
x
1
)
andf
(
x
2
)
alsooinide.
For a ompatible funtion
f
(
x
)
and a natural numbers
>
2
the set of points in theform
x
p
n
,
f
(
x
) mod
p
n
p
n
,
f
(2)
(
x
) mod
p
n
p
n
, . . . ,
f
(
s
−
1)
(
x
) mod
p
n
p
n
exists for all
n
∈
N
, x
∈ {
0
,
1
, . . . , p
n
−
1
}
(hereinafter the denotation
f
(
i
)
(
x
)
means the
i
th iterationof the funtionf
). We all this set (note that we onsider the union for alln
) thes
-dimensionalprojetion of the ompatible funtionf
.Consider a funtion
f
having a omplete yle and the orresponding sequene ofstates
u
i
=
f
(
u
i
−
1
)
. The set of points inthe formu
i
mod
p
n
p
n
,
u
i
+1
mod
p
n
p
n
,
u
i
+2
(
x
) mod
p
n
p
n
, . . . ,
u
i
+
s
−
1
(
x
) mod
p
n
p
n
oinides with the set desribed above, beause by the denition of a omplete yle
u
i
runs overall values of
x
.Inthispaper,insteadofiterationsofonefuntion
f
,asarule,weonsideranarbitraryolletionof ompatible funtions
f
1
(
x
)
, f
2
(
x
)
, . . . , f
s(
x
)
. Let usgeneralize the denitionLet
s
ompatible funtionsf
1
(
x
)
, f
2
(
x
)
, . . . , f
s(
x
)
be given. We onsider the set ofpoints inthe form
f
1
(
x
) mod
p
n
p
n
,
f
2
(
x
) mod
p
n
p
n
, . . . ,
f
s
(
x
) mod
p
n
p
n
forall
x
∈ {
0
,
1
, . . . , p
n
−
1
}
. Forgiven
f
1
, . . . , f
s
andxedn
wedenotethemultisetunderonsideration by
P
f
1
,...,f
s
(
n
)
. We allthe union of suh sets for alln
the joint projetion of funtionsf
1
(
x
)
, f
2
(
x
)
, . . . , f
s
(
x
)
.Inwhat follows weomit subsriptsindiatingolletionsof funtions,ifthey are lear
fromthe ontext.
In [4℄one proves the followingkey theorem:
Theorem 1 (the 0-1 rule). For any ompatible funtion
f
the measure of the losure ofits two-dimensional projetion equals either 0 or 1.
One an easily generalize the mentioned theorem for the ase of arbitrary
s
and anarbitraryolletionof ompatible funtions
f
1
, f
2
, . . . , f
s
.Let usnow give amore formaldenition of the projetion uniformity. Let
J
be someparallelepipedinthe ube
[0
,
1)
s
. Let
F
n
(
J
)
denotethe ratioofthe numberofpointsthatbelongto
P
f
1
,... f
s
(
n
)
and lieinJ
tothetotal numberofpointsp
n
. Let
V
(
J
)
stand forthes
-dimensional volume ofJ
.Denition 1. The joint projetion of a olletion of ompatible funtions
f
1
, . . . , f
s
issaid to have a uniform distribution,if
lim
n
→∞
sup
J
|
V
(
J
)
−
F
n(
J
)
| →
0
,
where the supremum is alulated overall possible parallelepipeds
J
.In the ase, when as a olletion
f
1
, . . . , f
s
one hooses the set of iterations of someompatible funtion
f
(i.e., the setx, f
(
x
)
, f
(2)
(
x
)
, . . . , f
(
s
−
1)
(
x
)
), we say that the
s
-dimensional projetion funtion
f
has a uniform distribution.Evidently, the uniformity of the projetion implies that the measure of the losure
equals 1. In this paperwe study the uniformityof projetions of polynomialfuntions
f
.Considering the supremum for onrete
n
, we obtain the disrepanyD
p
n
. Instead of estimating this value, it is more onvenient to study the lower bound for the digitapaity,beginningwithwhihtheboundfortheuniformityoftheonsideredsetofpoints
is guaranteed. In this paper we use various denitions of the uniformity (measurable in
terms of various errors
ε
); as a result, they beome onneted with eah other and formfor studyingthe rate of onvergene to0 inDenition 1.
The uniformity of the projetion of a olletion of ompatible funtions means that
for any positive
ε
there existsN
f
1
,...,f
s
(
ε
)
suh that for any
n > N
f
1
,...,f
s
(
ε
)
it holds
|
F
n
(
J
)
−
V
(
J
)
|
< ε
.In what follows, when using the denotation
N
f
1
,f
2
,...,f
s
(
k, ε
) =
g
(
k, ε
)
, we take into
aount the fat that this funtion
g
satises onditions stated in the previous denition,but the minimum of the estimate isnot guaranteed.
Let
k
be some xed number,a
1
, a
2
, . . . , a
s
∈ {
0
,
1
, . . . , p
k
−
1
}
. Denote by
J
k
(
a
1
, a
2
, . . . , a
s
)
the hyperubein[0
,
1)
s
dened by inequalities
a
1
p
k
6
z
1
<
a
1
+ 1
p
k
a
2
p
k
6
z
2
<
a
2
+ 1
p
k
. . .
a
s
p
k
6
z
s
<
a
s
+ 1
p
k
,
where
(
z
1
, z
2
, . . . , z
s)
are oordinates of a point from[0
,
1)
s
.
Let us slightly modify Denition 1 (f. [1℄; the equivalene of denitions 1 and 2 is
proved inTheorem 2). Namely,
Denition 2. The joint projetion is alled uniformly distributed, if for any number
ε >
0
and for any naturalk
there exists naturalN
f
1
,...,f
s
0
(
k, ε
)
suh that for eahn >
N
f
1
,...,f
s
0
(
k, ε
)
and for alla
1
, a
2
, . . . , a
s
suh thata
1
, a
2
, . . . , a
s
∈ {
0
,
1
, . . . , p
k
−
1
}
itholds
F
n(
J
k(
a
1
, a
2
, . . . , a
s))
V
(
J
k(
a
1
, a
2
, . . . , a
s))
−
1
6
ε,
where
V
(
J
k
(
a
1
, a
2
, . . . , a
s
)) =
p
−
sk
is the
s
-dimensional volume of the mentionedparal-lelepiped.
Weomit parameters in denotations
N
f
1
,...,f
s
0
(
k, ε
)
,if they are lear fromthe ontext.Analogously to the ase of
N
f
1
,...,f
s
(
k, ε
)
, using the denotation
N
f
1
,...,f
s
0
(
k, ε
) =
g
(
k, ε
)
,we mean that the given funtion
g
satises onditions imposed on it in Denition 2, butthe minimum of the estimate is not guaranteed.
3 The d-uniformity
In essene, the error mentioned in Denition 1 is absolute for any parallelepiped,
hyperubes; this property implies the followingassertion.
Theorem 2. For a olletion of ompatible funtions
f
1
, f
2
, . . . , f
s
Denition 1 isequiv-alent to Denition 2, and
N
(
ε
) =
N
0
(
k, ε
′
)
, where
k
=
−
log
p
(
ε/
4
s
)
, ε
′
= 1
/
2
ε
.Proof. Letonditions of Denition 2 befullled. Let usprovethat
∀
ε >
0 :
∃
N
(
ε
)
∀
n > N,
∀
J
:
|
V
(
J
)
−
F
n(
J
)
|
< ε.
Choose
k
=
−
log
p
(
ε/
4
s
)
, ε
′
= 1
/
2
ε
. Let us prove that the numberN
=
N
0
(
k, ε
′
)
is the
desiredone.
Let
J
be some parallelepiped in[0
,
1)
s
. Wedenote by
J
+
k
the union of hyperubes inthe form
J
k(
a
1
, . . . , a
s)
whih have at least one ommon point withJ
and we do byJ
−
k
the union of hyperubes whih entirelylie inside
J
.Evidently,
J
+
k
forms aparallelepiped and sodoesJ
−
k
.Note that
0
6
V
(
J
+
k
)
−
V
(
J
k
−
)
6
ε/
2
. Really, ineah ofs
measurements there existnomorethan two ¾layers¿ of the lattiethat liein
J
+
k
,but donot lieinJ
−
k
. Thevolumeof eah of them does not exeed
1
/p
k
. Therefore, the total dierene does not exeed
2
s/p
k
=
ε/
2
.
Let usnow write the ondition of Denition 2in the form
V
(
J
k
(
a
1
, . . . , a
s
))(1
−
ε
′
)
6
F
n
(
J
k
(
a
1
, . . . , a
s
))
6
V
(
J
k
(
a
1
, . . . , a
s
))(1 +
ε
′
)
and alulatethe sum foreah of sets
J
+
k
, J
k
−
. We obtainV
(
J
k
+
)(1
−
ε
′
)
6
F
n(
J
k
+
)
6
V
(
J
k
+
)(1 +
ε
′
)
V
(
J
k
−
)(1
−
ε
′
)
6
F
n(
J
k
−
)
6
V
(
J
k
−
)(1 +
ε
′
)
.
It is also evident that
V
(
J
−
k
)
6
V
(
J
)
6
V
(
J
k
+
)
. In addition,F
n(
J
−
k
)
6
F
(
J
)
6
F
n(
J
k
+
)
,beause these values are proportional to the number of points of the projetion that lie
inside the orresponding parallelepiped. Then we write
F
n(
J
)
−
V
(
J
)
6
F
n(
J
k
+
)
−
V
(
J
k
−
)
6
V
(
J
k
+
)(1 +
ε
′
)
−
V
(
J
k
−
)
6
V
(
J
k
+
)
ε
′
+
ε/
2
.
Sine
J
+
k
lies inside the unit ube, we haveV
(
J
+
k
)
6
1
, and this means that the latterexpression does not exeed
ε
(beauseε
′
=
ε/
2
). Analogously,
|
F
n(
J
)
−
V
(
J
)
|
6
ε
for anarbitrary parallelepiped
J
.The proof of the onverse assertion is performed with the help of an analogous
esti-mation.
Letusstrengthen Denition2,xing the residue
x
of thedivision byp
d
fornatural
d
.Let
d
∈
N
, β
∈ {
0
,
1
, . . . , p
d
−
1
}
. Denote by
P
(
n, d, β
)
, n
>
d
the multiset of pointsf
1
(
x
) mod
p
n
p
n
,
f
2
(
x
) mod
p
n
p
n
, . . . ,
f
s(
x
) mod
p
n
p
n
for all
x
∈ {
0
,
1
, . . . , p
n
−
1
}
, x
mod
p
d
=
β
. Let
F
d,β
n
(
J
)
be the ratio of the number ofpoints from
P
(
n, d, β
)
that lieinJ
tothe ardinal number ofP
(
n, d, β
)
,i.e., top
n
−
d
.
Denition 3. The joint projetion of ompatible funtions
f
1
, . . . , f
s
is said to bed
-uniformlydistributed,if forany number
ε >
0
andforanynaturalk, d
thereexists naturalN
=
N
f
1
,...,f
s
d
(
k, ε
)
suh that for eahn > N
, for anyβ
∈ {
0
,
1
, . . . , p
d
−
1
}
, and for all
a
1
, a
2
, . . . , a
s
∈ {
0
,
1
, . . . , p
k
−
1
}
it holdsF
d,β
n
(
J
k(
a
1
, a
2
, . . . , a
s))
V
(
J
k(
a
1
, a
2
, . . . , a
s))
−
1
6
ε.
In other words, the
d
-uniformity is the uniformity in eahp
-adi ball, whose volumeequals
p
d
.
For
N
f
1
,...,f
s
d
(
k, ε
)
we use assumptions analogous to above ones forN
andN
0
(see theend part of Setion2).
Note that the number
N
d
indiated in the denition is independent ofβ
; it dependsonly on its
p
-adi length, i.e., ond
. This ondition does not strengthen the denition.Really,sinefor xed
d
thenumberof possiblevalues ofβ
isnite,one ouldhavehosenN
d
as the maximum of the orresponding numbers for eahβ
. Nevertheless, it is moreonvenient touse just this statement, i.e., the uniformitywith respet to
β
.Evidently, the
d
-uniformityimpliesthe uniformityinthesenseofDenition2,namely,it sues to put
d
= 0
. In what follows, when speaking of the uniformity, we mean thed
-uniformity, if this leads tono ambiguity.Let
n
∈
N
, n
>
k, x
1
, x
2
, . . . , x
s
∈ {
0
,
1
, . . . , p
n
−
1
}
. Note that the point
x
1
p
n
,
x
2
p
n
, . . . ,
x
p
n
s
belongs to
J
k(
a
1
, a
2
, . . . , a
s)
if and only if the prex of the lengthk
inp
-adi notation ofx
i
onsists of exatlyn
digits, while thep
-adi notationofa
i
onsistsof exatly
k
digits independently of the presene of leadingzeros).One an alsoeasilysee thatthe ondition
x
mod
p
d
=
β
is equivalenttothe fat that
the latter
d p
-adi digitsofx
ontain the notation ofβ
.4 The oin toss
In this setion we prove some orollaries of the
d
-uniformity whih we need in theindution step in the proofof the main theorem.
Let
d, r
∈
N
, d < r, β
∈ {
0
,
1
, . . . , p
d
−
1
}
. Denote by
Ω(
r, d, β
)
the set of allx
∈
{
0
,
1
, . . . , p
r
−
1
}
suh that
x
mod
p
d
=
β
.
Speaking informally, the
d
-uniformity of the joint projetion of the olletionf
1
(
x
)
, f
2
(
x
)
, . . . , f
s(
x
)
means that with xedd, β
and xed suiently larger
, under theequiprobable hoie of
x
fromΩ(
r, d, β
)
,the probabilitythat the pointf
1
(
x
) mod
p
r
p
r
,
f
2
(
x
) mod
p
r
p
r
, . . . ,
f
s(
x
) mod
p
r
p
r
belongs to
J
k(
a
1
, a
2
, . . . , a
s)
equals approximatelyV
(
J
k(
a
1
, a
2
, . . . , a
s))
. In the followinglemmaweprovethatiffor
x
wehooseasuientlylongstring,thentheprobabilitythatthis event takesplae with at least one
r
an bearbitrarily lose to1.More formally, let
k
∈
N
, a
1
, a
2
, . . . , a
s
∈ {
0
,
1
, . . . , p
k
−
1
}
be given. Fix
n
∈
N
, n
>
d, n
>
k
. We say thatx
is suitable, if there existsr
∈
N
, d
+
k
6
r
6
n
suh thatf
1
(
x
) mod
p
r
p
r
,
f
2
(
x
) mod
p
r
p
r
, . . . ,
f
s(
x
) mod
p
r
p
r
∈
J
k
(
a
1
, a
2
, . . . , a
s
)
.
Lemma 1. Assume that the joint projetion of a olletion of funtions
f
1
(
x
)
, f
2
(
x
)
, . . . , f
s
(
x
)
has ad
-uniform distribution, a valueε >
0
and numbersk, d
∈
N
are given. Then there existsL
=
L
f
1
,...,f
s
(
k, ε, d
)
suh that for anyn > L
and anyβ
∈ {
0
,
1
, . . . , p
d
−
1
}
,
a
1
, a
2
, . . . , a
s
∈ {
0
,
1
, . . . , p
k
−
1
}
the ratio of the number of
suitable
x
to|
Ω(
n, d, β
)
|
isat least1
−
ε
.Proof. The proof of the lemmais based onasimple idea. Letus have a biasedoin suh
that the probabilityof the head is bounded from belowby somenonzero onstant. Then
by tossing the oin suiently many times one an make the probability of getting at
leastone head arbitrarilyloseto1. One¾oin toss¿onsists inobtaininganew value of
n
,namely,N
d(
k, ε
)
,whered
isthepreviousvalueofn
. Theindependeneofoin¾tosses¿probability of the head is provided by the
d
-uniformity of the olletionf
1
, . . . , f
s
. Justinthis lemmaand in the next one we needDenition 3 that strengthens Denition2.
Put
L
(0)
=
d
. Construt a sequene
L
(
i
)
, i >
0
,
as follows: let
L
(
i
)
be equal to
N
f
1
,...,f
s
L
(
i
−
1)
+
k
(
k,
1
/
2)
. Letγ
i
be the ratio of the number of unsuitablex
to|
Ω(
L
(
i
)
, d, β
)
|
.
Evidently,
γ
0
6
1
. Letus estimateγ
i
. Thedenition of the uniformityand the denitionof
L
(
i
)
imply that
F
L
(
i
−
1)
,β
L
(
i
)
(
J
k(
a
1
, a
2
, . . . , a
s))
>
V
(
J
k(
a
1
, a
2
, . . . , a
s))
/
2 =
1
2
p
sk
for anyβ
: 0
6
β
6
p
L
(
i
−
1)
−
1
. Denote the latter numberbyε
′
(itorresponds tothe probability
ofgettingthe headinone toss). Therefore, for eah
β
∈ {
0
,
1
, . . . , p
L
(
i
−
1)
−
1
}
there existsat least
ε
′
p
L
(
i
)
−
L
(
i
−
1)
ways to ll
L
(
i
)
−
L
(
i
−
1)
major positions so as to make obtained
x
suitablefor
n
=
L
(
i
)
(independently of theontentof
L
(
i
−
1)
latterpositions). Thismeans
that the ratio of the numberof ways toll these positionsmaking
x
unsuitable does notexeed
1
−
ε
′
. Evidently, if
x
is unsuitable forn
=
L
(
i
)
, then it is also unsuitable for all
lesser
n
,inpartiular,forn
=
L
(
i
−
1)
. Thenumberofwaystollthe latter
L
(
i
−
1)
positions
making
x
unsuitable forn
=
L
(
i
−
1)
by denition equals
γ
i
−
1
. Therefore, the ombinedshare
γ
i
6
(1
−
ε
′
)
γ
i
−
1
, beause in order to makex
unsuitable, one has to ll the minorL
(
i
−
1)
positions in any of
γ
i
−
1
p
L
(
i
−
1)
ways; for eah of them there exists no more than
(1
−
ε
′
)
p
L
(
i
)
−
L
(
i
−
1)
ways to ll the major
L
(
i
)
−
L
(
i
−
1)
positions. Sine
γ
0
6
1
, we obtainγ
i
6
(1
−
ε
′
)
i
. The latterexpression is a geometri progression with the ratio1
−
ε
′
<
1
,
whih meansthat
γ
i
< ε
withi >
log
1
−
ε
′
ε
. The orrespondingnumberL
(
i
)
isthe desired
value of
L
, beause, evidently, the ratio of suitablex
doesnot derease with the growthof
n
.For
L
f
1
,...,f
s
(
k, ε, d
)
we also use onditions analogous to those desribed earlier forN
andN
0
(see the end part of Setion1).Note that the proof of the lemma also allows us to alulate
L
f
1
,...,f
s
(
k, ε, d
)
. It sues to onstrut the sequeneL
(0)
=
d
,
L
(
i
)
=
N
f
1
,...,f
s
L
(
i
−
1)
+
k
(
k,
1
/
2)
, i >
0
and to putL
f
1
,...,f
s
(
k, ε, d
) =
L
(
⌈
log
1
−
1
/
(2
psk
)
ε
⌉
)
.
Let usgeneralize the latter lemma for the ase of several olletions
a
i
. The previouslemma guarantees that one an ¾trunate¿ a suiently long sequene
x
(i.e., alulatemodulo
p
r
) so as to make the major
k
positions off
i(
x
) mod
p
r
oinide with some
arbitraryxedolletion
a
i
. Nowweare goingtoprovethateven ifwehavem
olletionsa
(
i
j
)
∈ {
0
,
1
, . . . , p
k
−
1
}
,
1
6
i
6
s,
1
6
j
6
m
, then for eah olletion of numbers there
exists its own
r
(
j
)
, i.e., the way to ¾trunate¿
x
andf
i
(
x
)
so as to make the majork
positions among
r
(
j
)
positions of the number
f
i(
x
)
form the numbera
(
j
)
i
. In addition,we want distint
r
(
j
)
to be not too lose, therefore we additionally impose the ondition
r
(
j
)
−
r
(
j
−
1)
>
∆
Let
k, d,
∆
∈
N
begiven. Assumealsothatnaturalm
isgiven, aswellasm
olletionsof
s
numbers suh that for eahj
, where1
6
j
6
m
, the olletion of numbersa
(
j
)
i
∈
{
0
,
1
, . . . , p
k
−
1
}
,
1
6
i
6
s,
is dened. We say that
x
∈ {
0
,
1
, . . . , p
n
−
1
}
isonurrently
suitable, if the followingonditions are fullled:
•
x
issuitablefork, d, a
i
=
a
(
j
)
i
foreahxedj
. Wedenotetheorrespondingnumbersr
byr
(
j
)
.
•
r
(
j
)
> r
(
j
−
1)
+
k
+ ∆
for
1
< j
6
m
.The parameter
∆
has the following sense: it is neessary that neighboring segments ofpositionsorrespondingtodegrees of
p
,whosevaluesvaryfromr
(
j
)
−
k
to
r
(
j
)
−
1
,should
not be too lose; namely, we require that their diereneshould exeed some xed
∆
.Lemma 2. Assume that the joint projetion of a olletion of funtions
f
1
(
x
)
, f
2
(
x
)
, . . . , f
s(
x
)
has ad
-uniform distribution, and numbersε
>
0
andk, d,
∆
, m
∈
N
are given. Then there existsL
e
=
L
e
f
1
,...,f
s
(
k, ε, d,
∆
, m
)
suh that for anyn >
L
e
, anyβ
∈ {
0
,
1
, . . . , p
d
−
1
}
, and any
m
olletions ofs
numbersa
(
i
j
)
∈ {
0
,
1
, . . . , p
k
−
1
}
,
1
6
i
6
s,
1
6
j
6
m,
the ratio of the number of
x
, whih areonurrently suitable for
a
(
j
)
i
, to|
Ω(
n, d, β
)
|
is at least1
−
ε
.Proof. Put
ε
′′
= 1
−
√
m
1
−
ε
. LetL
e
(0)
=
d
. Construt a sequene
L
e
(1)
,
L
e
(2)
, . . . ,
L
e
(
s
)
as follows:
L
e
(
j
)
equals
L
f
1
,...,f
s
(
k, ε,
L
e
(
j
−
1)
+ ∆)
whih was obtained in aordane with
Lemma 1. Let
γ
(
j
)
be the ratio of admissible
x
forn
=
L
e
(
j
)
whih are onurrently
suitablefor
m
=
j
and forj
rst olletionsa
i
(i.e.,forwhihthereexistr
(1)
, r
(2)
, . . . , r
(
j
)
satisfying the above orrelations). Then, taking into aount the denition of
L
e
(
i
)
, we
onlude that
γ
(
j
)
>
γ
(
j
−
1)
(1
−
ε
′′
)
. Hene and from the fat that
γ
(0)
= 1
(sine for
j
= 1
no onditions are imposed onx
, exept its belonging toΩ(
n, d, β
)
) it follows thatγ
(
m
)
>
(1
−
ε
′
)
m
= 1
−
ε
, whih means that
L
e
=
L
e
(
m
)
is the desiredvalue.
For
L
e
f
1
,...,f
s
(
k, ε, d,
∆
, m
)
wealsomakeassumptionsanalogoustothosedesribedabove forN
andN
0
(see the end part of Setion 1).The proof of Lemma 2 alsoallows us to alulate
L
e
f
1
,...,f
s
(
k, ε, d,
∆
, m
)
. It sues to onstrut the sequeneL
e
(0)
=
d
,
L
e
(
j
)
=
L
f
1
,...,f
s
(
k, ε,
L
e
(
j
−
1)
+ ∆)
with
j >
0
and to pute
L
f
1
,...,f
s
(
k, ε, d,
∆
, m
) =
L
e
(
m
)
.
5 Game protools for the uniformity
For proving the uniformity of joint projetions of monomialswe need tosimplify and
by us, are preeded by the existential quantier, while those, whose values are being
hosen by our ompetitor, are preeded by the generality quantier.
Letompatiblefuntions
f
1
(
x
)
, f
2
(
x
)
, . . . , f
s(
x
)
begiven. Consider thefollowinggameof two players, Goodand Evil. The gamehas the followingsheme:
1. Evil hooses numbers
k, d
∈
N
andε
1
, ε
2
>
0
.2. Good hooses the number
N
e
=
N
e
f
1
,...,f
s
d
(
k, ε
1
, ε
2
)
∈
N
.3. Evilhoosesnumbers
n >
N , β
e
∈ {
0
,
1
, . . . , p
d
−
1
}
anddrawsonaboard
n
suessiveempty ells (positions); inwhat follows we lleah of themwith a number ranging
from 0 to
p
−
1
. We immediately ll the latterd
ells with the notation of thenumber
β
.4. Good hooses an arbitrary set of empty positions and desribes some set of
admis-sible ways to ll these positions. The ratio of the ardinal number of the latter
set to the total number of ways toll the hosen positions should be not less than
1
−
ε
1
. Inotherwords,ifGoodhashosenl
positions,thenthenumberofadmissiblevariantsshould be atleast
(1
−
ε
1
)
p
l
.
5. Evil llspositions hosen atthe previous step inone of admissibleways.
6. Good olorsan arbitraryset of empty positions. Let their numberequal
m
.7. Evil absolutely arbitrarily lls all empty unolored positions and hooses
a
1
, a
2
, . . . , a
s
∈ {
0
,
1
, . . . , p
k
−
1
}
.
8. Good desribes
(1
−
ε
2
)
p
m
−
sk
ways toll olored positions so that for the number
x
∈ {
0
,
1
, . . . , p
n
−
1
}
, whose
p
-adi notationiswritten onthe board, the pointf
1
(
x
) mod
p
n
p
n
,
f
2
(
x
) mod
p
n
p
n
,
f
3
(
x
) mod
p
n
p
n
, . . . ,
f
s(
x
) mod
p
n
p
n
should belong to
J
k(
a
1
, a
2
, . . . , a
s)
. If Good sueeds in doing this, it is said to bethe winner,otherwise Evilbeomes the winner.
Alongwiththe aboverequirements,thestrategyofGoodshouldbedeterminate. This
meansthat if there are two variantsof the behaviorof Evil suhthat the latter performs
the same ations on several rst steps of the game, Good also must perform the same
have desribed the neessary number of ways to ll them, while Good ould have
inde-pendently onsideredallpossible variantsoflling positionswhose oloringwouldnot be
neessary. Nevertheless, for struturing the proof, it is onvenient to ¾separate roles¿ as
was desribed onsteps 6-7.
For
N
e
f
1
,...,f
s
d
(
k, ε
1
, ε
2
)
∈
N
we make assumptions analogous to those desribed earlierfor
N
andN
0
(see the end part of Setion 1).Lemma 3. If Good always wins in the desribed game, then the joint projetion of
f
1
, . . . , f
s
has a uniform distribution, whileN
d(
k, ε
) =
N
e
d(
k, ε
′
, ε
′
)
, where
ε
′
=
ε/
(2
p
sk
)
.
Proof. Denote
˜
F
n
d,β
(
J
k(
a
1
, a
2
, . . . , a
s)) =
F
n
d,β
(
J
k(
a
1
, a
2
, . . . , a
s))
p
n
−
d
.
Therefore,
F
˜
d,β
n
(
J
k
(
a
1
, a
2
, . . . , a
s
)
is the number of points fromP
d,β
n
that belong toJ
k(
a
1
, a
2
, . . . , a
s)
.Let
k, d, a
1
, a
2
, . . . , a
s
be xed. Rewritethe onditionF
d,β
n
(
J
k(
a
1
, a
2
, . . . , a
s))
V
(
J
k(
a
1
, a
2
, . . . , a
s))
−
1
6
ε
as
(1
−
ε
)
p
−
sk
6
F
n
d,β
(
J
k(
a
1
, a
2
, . . . , a
s))
6
(1 +
ε
)
p
−
sk
or,alternately,
(1
−
ε
)
p
n
−
d
−
sk
6
F
˜
n
d,β
(
J
k(
a
1
, a
2
, . . . , a
s))
6
(1 +
ε
)
p
n
−
d
−
sk
.
Fix some admissible way to ll
l
positions hosen on Step 4. Calulating the sum of allpossible ways to ll
n
−
l
−
d
−
m
unolored positions on Step 7, we obtain that thequantity of values of
x
,for whih the orrespondingpointsbelong toJ
k(
a
1
, a
2
, . . . , a
s)
,isno less than
p
n
−
l
−
d
−
m
·
(1
−
ε
2
)
p
m
−
sk
= (1
−
ε
2
)
p
n
−
l
−
d
−
sk
. Now by summing this valueoverall admissibleways to ll
l
positionshosen onStep 4, weobtain that their amountis no less than
(1
−
ε
1
)
p
l
. This means that there exist at least
(1
−
ε
1
)(1
−
ε
2
)
p
n
−
d
−
sk
valuesof
x
,eahofwhihsatisesonditionsdesribedonStep8. Thefulllmentoftheseonditions meansthat apointbelongs to
J
k(
a
1
, a
2
, . . . , a
s)
, whih givesthe inequalityJ
k(
a
1
, a
2
, . . . , a
s)
and toJ
k(
a
′
1
, a
′
2
, . . . , a
′
s
)
with(
a
1
, a
2
, . . . , a
s)
6
= (
a
′
1
, a
′
2
, . . . , a
′
s
)
.There-fore,
˜
F
n
d,β
(
J
k(
a
1
, a
2
, . . . , a
s))
6
p
n
−
d
−
X
(
a
′
1
,...,a
′
s
):(
a
′
i
)
6
=(
a
i
)
˜
F
n
d,β
(
J
k(
a
1
′
, a
′
2
, . . . , a
′
s
))
6
6
p
n
−
d
−
(
p
sk
−
1)(1
−
ε
1
)(1
−
ε
2
)
p
n
−
d
−
sk
=
= (1
−
(1
−
ε
1
)(1
−
ε
2
))
p
n
−
d
+ (1
−
ε
1
)(1
−
ε
2
)
p
n
−
d
−
sk
6
6
(
ε
1
+
ε
2
)
p
n
−
d
+
p
n
−
d
−
sk
Put
ε
1
=
ε
2
= min(1
−
√
1
−
ε, ε/
2
p
sk
)
. Thenweget
(1
−
ε
1
)(1
−
ε
2
)
p
n
−
d
−
sk
>
(1
−
ε
)
p
n
−
d
−
sk
,
and
(
ε
1
+
ε
2
)
p
n
−
d
+
p
n
−
d
−
sk
6
(1 +
ε
)
p
n
−
d
−
sk
.
This means that inequalities
(1
−
ε
1
)(1
−
ε
2
)
p
n
−
d
−
sk
6
F
˜
n
d,β
(
J
k(
a
1
, a
2
, . . . , a
s))
,
whih were obtained above,and
˜
F
n
d,β
(
J
k
(
a
1
, a
2
, . . . , a
s
))
6
(
ε
1
+
ε
2
)
p
n
−
d
+
p
n
−
d
−
sk
lead tothe desiredorrelations
(1
−
ε
)
p
n
−
d
−
sk
6
F
˜
n
d,β
(
J
k(
a
1
, a
2
, . . . , a
s))
6
(1 +
ε
)
p
n
−
d
−
sk
.
Note that
1
−
√
1
−
ε > ε/
2
withε >
0
. Therefore, withs, k
∈
N
, p
>
2
it holdsmin(1
−
√
1
−
ε, ε/
(2
p
sk
)) =
ε/
(2
p
sk
)
, whih means that in aordane with the said
above,
N
d(
k, ε
) =
N
e
d(
k, ε/
(2
p
sk
)
, ε/
(2
p
sk
))
.
Consider the following modiation of the game desribed above:
0. Good xes some natural onstant
c
0
=
c
f
1
,...,f
s
0
.1. Evil xes
k, d
∈
N
andε
1
>
0
.2. Good hooses the number
N
b
=
N
b
f
1
,...,f
s
3. Evilhoosesnumbers
n >
N , β
b
∈ {
0
,
1
, . . . , p
d
−
1
}
anddrawsonaboard
n
sequentialemptyells-positions,eahofwhihinwhatfollowswillbelledwithanumberfrom
0to
p
−
1
. Thelatterd
ellsare immediatelylledwith thenotationofthe numberβ
.4. Goodhooses anarbitraryset ofempty positionsanddenes someset ofadmissible
ways tollthese positions. The ratioofthe ardinalnumberofthe latterset tothe
total number of ways toll the hosen positions should be atleast
1
−
ε
1
.5. Evil llspositions hosen onthe previousstep in one of admissibleways.
6. Good olors an arbitrary set of positions whih are not lled yet. Denote their
number by
m
.7. Evil absolutelyarbitrarily llsall empty positions exept olored ones and hooses
a
1
, a
2
, . . . , a
s
∈ {
0
,
1
, . . . , p
k
−
1
}
.8. Gooddenes
p
m
−
sk
ways tolloloredpositionssoastosatisfythefollowing
ondi-tion. Denoteby
x
∈ {
0
,
1
, . . . , p
n
−
1
}
thenumber,whose
p
-adinotationwillbewrit-ten on the board;
x
1
=
f
1
(
x
) mod
p
n
, x
2
=
f
2
(
x
) mod
p
n
, . . . , x
n
=
f
n(
x
) mod
p
n
.Denoteby
b
i
numbers, whosep
-adinotationis theprex ofthe lengthk
oftherowonsisting of
n
symbols of thep
-adi notation ofx
i
(i.e.,b
i
=
⌊
x
i
/p
n
−
k
⌋
). Require
that
b
i
shoulddierfroma
i
nomorethan byc
0
(hereinafter intheondition ¾dierno more than by
c
0
¿ imposed onp
-adi numbers of the lengthk
, the dierene isunderstoodastheminimumoftwodierenes alulatedmodulo
p
k
;inotherwords,
0and
p
k
−
1
aretreatedasdierent by1). In thease, whenGoodan dene
p
m
−
sk
ways to ll the olored positions, eah of whih satises the above requirement,
Good issaid to be the winner,otherwise Evilis said to win.
Let us impose one additional requirement to the tehniques proposed by Good;
namely,for two distint olletions
a
1
, a
2
, . . . , a
s
, assuming that the rest ations ofEvilare the same, sets of tehniques proposed by Goodshouldbe non-interseting.
As above, the strategy of Good isassumed tobedeterminate.
For
N
b
f
1
,...,f
s
d
(
k, ε
1
)
we makeassumptionsanalogoustothosemadeaboveforN
andN
0
(see the end part of Setion 1).
Lemma 4. In the ase, when Good always wins in the modied game, it an also be the
winner in the initial game, and
N
e
d(
k, ε
1
, ε
2
) =
N
b
d(
k
2
, ε
1
)
, wherek
2
=
k
+ log
p
2
sc
f
1
,...,fs
0
ε
2
winning strategy for Good in the modied game. Let us desribe the strategy for a
mediatorthat uses this orale, whihis winningfor the non-modiedgame.
Assume that on the rst step the orale gives a number
c
0
. After obtainingk
themediatoralulates
k
2
=
k
+ log
p
2
sc
ε
2
0
. Note that
(
p
k
2
−
k
−
2
c
0
)
s
p
(
k
2
−
k
)
s
>
(1
−
ε
2
)
.
Really, for
0
< ε
2
<
1
we have(1
−
ε
2
)
1
/s
6
1
−
ε
2
s
,
thereforewith
k
2
=
k
−
log
p
2
ε
sc
2
0
it holds
p
k
2
−
k
−
2
c
0
p
k
2
−
k
s
=
1
−
2
c
0
p
k
2
−
k
s
=
1
−
ε
2
s
s
>
1
−
ε
2
.
Furthermore,themediatorwillonurrentlyuse
(
p
k
2
−
k
−
2
c
0
)
s
oraleswhihimplementthewinningstrategyforthe modiedgame. Onsteps1-6hesendsthedataobtained from
oralestoEvilanddoesthe datagivenbyEviltooralesunhanged, exeptthe fatthat
on Step 1 he sends to the orales
k
2
instead ofk
. Sine the orales are determinate,the data produed by them oinide. Having obtained onStep 7 numbers
a
1
, a
2
, . . . , a
s
,the mediator use them to form olletions
a
1
p
k
2
−
k
+
b
1
, a
2
p
k
2
−
k
+
b
2
, . . . , a
s
p
k
2
−
k
+
b
s
for all possible ombinations of
b
i
∈ {
c
0
, c
0
+ 1
, . . . , p
k
2
−
k
−
c
0
−
1
}
. Therefore he gets(
p
k
2
−
k
−
2
c
0
)
s
olletions of numbers, eah of whih belongs to{
0
,
1
, . . . , p
k
2
−
1
}
. Then
he sendsthese olletionstothe orales as
a
1
, a
2
, . . . , a
s
. Onean easilysee that ifany ofthe sent numbers varies nomore than by
c
0
, then their rstk
digits remain equalinitiala
1
, a
2
, . . . , a
s
. Therefore, the tehniques for llingm
olored positions dened by oralessatisfy requirements imposed on Step 8 of the non-modied game. Eah orale denes
p
m
−
k
2
s
tehniques, therefore, their total number is
p
m
−
k
2
s
(
p
k
2
−
k
−
2
c
0
)
s
. The additionalrequirement desribed on Step 8 guarantees that no tehnique is ounted twie. The
inequality
p
m
−
k
2
s
(
p
k
2
−
k
−
2
c
0
)
s
p
m
−
ks
>
p
m
−
k
2
s
(1
−
ε
2
)(
p
k
2
−
k
)
s
p
m
−
ks
= 1
−
ε
2
ompletes the proof of the lemma.
6 The uniformity of the joint projetion of monomials
Let us rst prove one simple assertionwhih willallow us to restritthe variation of