请输入您要查询的百科知识:

 

词条 Schwartz–Zippel lemma
释义

  1. Statement of the lemma

      Algebraic form    Determinant of a matrix with polynomial entries  

  2. Applications

      Comparison of two polynomials    Primality testing    Perfect matching  

  3. Notes

  4. References

  5. External links

In mathematics, the Schwartz–Zippel lemma (also called the DeMillo-Lipton-Schwartz–Zippel lemma) is a tool commonly used in probabilistic polynomial identity testing, i.e. in the problem of determining whether a given multivariate polynomial is the

0-polynomial (or identically equal to 0). It was discovered independently by Jack Schwartz,[1] Richard Zippel,[2] and Richard DeMillo and Richard J. Lipton, although DeMillo and Lipton's version was shown a year prior to Schwartz and Zippel's result.[3] The finite field version of this bound was proved by Øystein Ore in 1922.[4]

Statement of the lemma

The input to the problem is an n-variable polynomial over a field F. It can occur in the following forms:

Algebraic form

For example, is

To solve this, we can multiply it out and check that all the coefficients are 0. However, this takes exponential time. In general, a polynomial can be algebraically represented by an arithmetic formula or circuit.

Determinant of a matrix with polynomial entries

Let

be the determinant of the polynomial matrix.

Currently, there is no known sub-exponential time algorithm that can solve this problem deterministically. However, there are randomized polynomial algorithms for testing polynomial identities. Their analysis usually requires a bound on the probability that a non-zero polynomial will have roots at randomly selected test points. The Schwartz–Zippel lemma provides this as follows:

Theorem 1 (Schwartz, Zippel). Let

be a non-zero polynomial of total degree {{math|1=d ≥ 0}} over a field F. Let S be a finite subset of F and let {{math|r1r2, ..., rn}} be selected at random independently and uniformly from S. Then

In the single variable case, this follows directly from the fact that a polynomial of degree d can have no more than d roots. It seems logical, then, to think that a similar statement would hold for multivariable polynomials. This is, in fact, the case.

Proof. The proof is by mathematical induction on n. For {{math|1=n = 1}}, as was mentioned before, P can have at most d roots. This gives us the base case.

Now, assume that the theorem holds for all polynomials in {{math|n − 1}} variables. We can then consider P to be a polynomial in x1 by writing it as

Since {{mvar|P}} is not identically 0, there is some {{mvar|i}} such that is not identically 0. Take the largest such {{mvar|i}}. Then , since the degree of is at most d.

Now we randomly pick from {{mvar|S}}. By the induction hypothesis,

If , then is of degree {{mvar|i}} (and thus not identically zero) so

If we denote the event by {{mvar|A}}, the event by {{mvar|B}}, and the complement of {{mvar|B}} by , we have

Applications

The importance of the Schwartz–Zippel Theorem and Testing Polynomial Identities follows

from algorithms which are obtained to problems that can be reduced to the problem

of polynomial identity testing.

Comparison of two polynomials

Given a pair of polynomials and , is

?

This problem can be solved by reducing it to the problem of polynomial identity testing. It is equivalent to checking if

Hence if we can determine that

where

then we can determine whether the two polynomials are equivalent.

Comparison of polynomials has applications for branching programs (also called binary decision diagrams). A read-once branching program can be represented by a multilinear polynomial which computes (over any field) on {0,1}-inputs the same Boolean function as the branching program, and two branching programs compute the same function if and only if the corresponding polynomials are equal. Thus, identity of Boolean functions computed by read-once branching programs can be reduced to polynomial identity testing.

Comparison of two polynomials (and therefore testing polynomial identities) also has

applications in 2D-compression, where the problem of finding the equality of two

2D-texts A and B is reduced to the problem

of comparing equality of two polynomials and .

Primality testing

Given , is a prime number?

A simple randomized algorithm developed by Manindra Agrawal and Somenath Biswas can determine probabilistically

whether is prime and uses polynomial identity testing to do so.

They propose that all prime numbers n (and only prime numbers) satisfy the following

polynomial identity:

This is a consequence of the Frobenius endomorphism.

Let

Then iff n is prime. The proof can be found in [4]. However,

since this polynomial has degree , and since may or may not be a prime,

the Schwartz–Zippel method would not work. Agrawal and Biswas use a more sophisticated technique, which divides

by a random monic polynomial of small degree.

Prime numbers are used in a number of applications such as hash table sizing, pseudorandom number

generators and in key generation for cryptography. Therefore, finding very large prime numbers

(on the order of (at least) ) becomes very important and efficient primality testing algorithms

are required.

Perfect matching

Let be a graph of {{math|n}} vertices where {{math|n}} is even. Does {{math|G}} contain a perfect matching?Theorem 2 {{harv|Tutte|1947}}: A Tutte matrix determinant is not a {{math|0}}-polynomial if and only if there exists a perfect matching.

A subset {{math|D}} of {{math|E}} is called a matching if each vertex in {{math|V}} is incident with at most one edge in {{math|D}}. A matching is perfect if each vertex in {{math|V}} has exactly one edge that is incident to it in {{math|D}}. Create a Tutte matrix {{math|A}} in the following way:

where

The Tutte matrix determinant (in the variables xij, {{tmath|iA and is non-zero (as polynomial) if and only if a perfect matching exists.

One can then use polynomial identity testing to find whether {{math|G}} contains a perfect matching. There exists a deterministic black-box algorithm for graphs with polynomially bounded permanents (Grigoriev & Karpinski 1987).[5]

In the special case of a balanced bipartite graph on vertices this matrix takes the form of a block matrix

if the first m rows (resp. columns) are indexed with the first subset of the bipartition and the last m rows with the complementary subset. In this case the pfaffian coincides with the usual determinant of the m × m matrix X (up to sign). Here X is the Edmonds matrix.

Notes

1. ^{{harv|Schwartz|1980}}
2. ^{{harv|Zippel|1979}}
3. ^{{harv|DeMillo & Lipton|1978}}
4. ^Ö. Ore, Über höhere Kongruenzen. Norsk Mat. Forenings Skrifter Ser. I (1922), no. 7, 15 pages.
5. ^{{harv|Grigoriev & Karpinski|1987}}

References

{{refbegin|colwidth=25em}}
  • {{cite journal

|url= http://ieeexplore.ieee.org/iel5/6604/17631/00814592.pdf
|title= Primality and Identity Testing via Chinese Remaindering
|accessdate= 2008-06-15
|last1=Agrawal|first1=Manindra
|last2=Biswas | first2=Somenath
|date= 2003-02-21
|journal= Journal of the ACM
|volume= 50
|issue= 4
|ref=harv
|pages=429–443
|doi=10.1145/792538.792540
}}
  • {{cite journal

|url= http://www.egr.unlv.edu/~larmore/Research/pattern.ps.gz
|title= On the Complexity of Pattern Matching for Highly Compressed Two-Dimensional Texts
|accessdate= 2008-06-15
|last1=Berman | first1=Piotr
|last2=Karpinski | first2=Marek | authorlink2=Marek Karpinski
|last3=Larmore | first3=Lawrence L.
|last4=Plandowski | first4=Wojciech
|last5=Rytter | first5=Wojciech | author5-link = Wojciech Rytter
|format= ps
|journal= Journal of Computer and System Sciences
|volume=65
|issue= 2
|pages=332–350
|doi= 10.1006/jcss.2002.1852
|ref=harv
|year= 2002
}}
  • {{cite book|last2=Karpinski|first2=Marek|first1=Dima|last1=Grigoriev|title=The matching problem for bipartite graphs with polynomially bounded permanents is in NC|journal=Proceedings of the Annual Symposium on Foundations of Computer Science|year=1987|pages=166–172|doi=10.1109/SFCS.1987.56|ref=harv|isbn=978-0-8186-0807-0}}
  • Moshkovitz, Dana (2010). An Alternative Proof of The Schwartz-Zippel Lemma. {{ECCC|2010|10|096}}
  • {{cite journal

|url= http://www.sciencedirect.com/science/article/pii/0020019078900674
|title= A probabilistic remark on algebraic program testing
|accessdate= 2014-05-13
|last1= DeMillo | first1=Richard A. | authorlink1=Richard DeMillo
|last2= Lipton | first2=Richard J. | authorlink2 = Richard Lipton
|journal = Information Processing Letters
|volume = 7
|number = 4
|year = 1978
|pages = 193–195
|doi = 10.1016/0020-0190(78)90067-4
|ref = DeMilloLipton1978
}}
  • {{cite book

|last=Rudich
|first=Steven
|editor=AMS
|title=Computational Complexity Theory
|series= IAS/Park City Mathematics Series
|volume=10
|isbn= 978-0-8218-2872-4
|ref=harv
|year=2004}}
  • {{cite journal

|url= http://delivery.acm.org/10.1145/330000/322225/p701-schwartz.pdf
|title= Fast probabilistic algorithms for verification of polynomial identities
|accessdate= 2008-06-15
|last=Schwartz |first=Jack
|authorlink=Jack Schwartz
|date=October 1980
|journal= Journal of the ACM
|pages=701–717
|ref=harv
|doi= 10.1145/322217.322225
|volume= 27
|issue= 4
|citeseerx= 10.1.1.391.1254
}}
  • {{cite journal

|url= http://jlms.oxfordjournals.org/cgi/reprint/s1-22/2/107.pdf
|title= The factorization of linear graphs
|accessdate= 2008-06-15
|last=Tutte |first=W.T.
|authorlink=W. T. Tutte
|date=April 1947
|volume=22
|issue= 2
|journal=J. London Math. Soc.
|ref=harv
|pages=107–111
|doi=10.1112/jlms/s1-22.2.107
}}
  • {{cite book

|title= Probabilistic algorithms for sparse polynomials
|first= Richard
|last=Zippel
|year=1979
|ref=harv
|doi=10.1007/3-540-09519-5_73
|journal=Lecture Notes in Computer Science
|volume= 72
|pages=216–226
|isbn= 978-3-540-09519-4
}}
  • {{cite web

|url=http://historical.ncstrl.org/tr/ps/cornellcs/TR89-965.ps
|title= An Explicit Separation of Relativised Random Polynomial Time and Relativised Deterministic Polynomial Time
|accessdate= 2008-06-15
|first= Richard
|last=Zippel
|date=February 1989
|ref=harv
|format= ps
}}
  • {{cite book

|last=Zippel
|first=Richard
|editor=Springer
|title=Effective Polynomial Computation
|url=https://www.springer.com/computer/mathematics/book/978-0-7923-9375-7
|edition=
|series=The Springer International Series in Engineering and Computer Science
|volume=241
|ref=harv
|isbn= 978-0-7923-9375-7
|year=1993}}{{refend}}

External links

  • The Curious History of the Schwartz–Zippel Lemma, by Richard J. Lipton
{{DEFAULTSORT:Schwartz-Zippel lemma}}

4 : Polynomials|Computer algebra|Lemmas|Mathematical theorems in theoretical computer science

随便看

 

开放百科全书收录14589846条英语、德语、日语等多语种百科知识,基本涵盖了大多数领域的百科知识,是一部内容自由、开放的电子版国际百科全书。

 

Copyright © 2023 OENC.NET All Rights Reserved
京ICP备2021023879号 更新时间:2024/9/25 4:39:48