counting basic irreducible factors mod p k in
play

Counting Basic-Irreducible Factors Mod p k in Deterministic Poly-Time - PowerPoint PPT Presentation

Counting Basic-Irreducible Factors Mod p k in Deterministic Poly-Time and p -Adic Applications Ashish Dwivedi IIT Kanpur, India Joint work with Rajat Mittal ( IIT Kanpur, India) and Nitin Saxena (IIT Kanpur, India) 34TH COMPUTATIONAL COMPLEXITY


  1. Introduction First issue : Multiplicity > 1? Hensel lifting fails! It requires co-prime factors, otherwise non-unique lift or no lift at all. Eg. f = x 2 + p and so f ≡ x 2 mod p . Root 0 doesn’t lift mod p 2 . The hard case is- f ( x ) ≡ ( x − a ) e mod p ! Second issue : The coefficient ring Z / � p k � is not a unique factorization domain! Ashish Dwivedi (IIT Kanpur) Root counting modulo prime powers 5 / 33

  2. Introduction First issue : Multiplicity > 1? Hensel lifting fails! It requires co-prime factors, otherwise non-unique lift or no lift at all. Eg. f = x 2 + p and so f ≡ x 2 mod p . Root 0 doesn’t lift mod p 2 . The hard case is- f ( x ) ≡ ( x − a ) e mod p ! Second issue : The coefficient ring Z / � p k � is not a unique factorization domain! Exponentially many factors. Ashish Dwivedi (IIT Kanpur) Root counting modulo prime powers 5 / 33

  3. Introduction First issue : Multiplicity > 1? Hensel lifting fails! It requires co-prime factors, otherwise non-unique lift or no lift at all. Eg. f = x 2 + p and so f ≡ x 2 mod p . Root 0 doesn’t lift mod p 2 . The hard case is- f ( x ) ≡ ( x − a ) e mod p ! Second issue : The coefficient ring Z / � p k � is not a unique factorization domain! Exponentially many factors. Eg. x 2 + px mod p 2 . Ashish Dwivedi (IIT Kanpur) Root counting modulo prime powers 5 / 33

  4. Introduction First issue : Multiplicity > 1? Hensel lifting fails! It requires co-prime factors, otherwise non-unique lift or no lift at all. Eg. f = x 2 + p and so f ≡ x 2 mod p . Root 0 doesn’t lift mod p 2 . The hard case is- f ( x ) ≡ ( x − a ) e mod p ! Second issue : The coefficient ring Z / � p k � is not a unique factorization domain! Exponentially many factors. Eg. x 2 + px mod p 2 . ( x + p α ) is a factor for all α ∈ F p . Ashish Dwivedi (IIT Kanpur) Root counting modulo prime powers 5 / 33

  5. Introduction First issue : Multiplicity > 1? Hensel lifting fails! It requires co-prime factors, otherwise non-unique lift or no lift at all. Eg. f = x 2 + p and so f ≡ x 2 mod p . Root 0 doesn’t lift mod p 2 . The hard case is- f ( x ) ≡ ( x − a ) e mod p ! Second issue : The coefficient ring Z / � p k � is not a unique factorization domain! Exponentially many factors. Eg. x 2 + px mod p 2 . ( x + p α ) is a factor for all α ∈ F p . Due to this, the search space could be exponential at every stage of lifting! Ashish Dwivedi (IIT Kanpur) Root counting modulo prime powers 5 / 33

  6. Introduction First issue : Multiplicity > 1? Hensel lifting fails! It requires co-prime factors, otherwise non-unique lift or no lift at all. Eg. f = x 2 + p and so f ≡ x 2 mod p . Root 0 doesn’t lift mod p 2 . The hard case is- f ( x ) ≡ ( x − a ) e mod p ! Second issue : The coefficient ring Z / � p k � is not a unique factorization domain! Exponentially many factors. Eg. x 2 + px mod p 2 . ( x + p α ) is a factor for all α ∈ F p . Due to this, the search space could be exponential at every stage of lifting! It becomes non-trivial to find or even count all the factors. Ashish Dwivedi (IIT Kanpur) Root counting modulo prime powers 5 / 33

  7. Introduction Gathen and Hartlieb [1996] showed that when k is large, factorizations are nicely connected with unique p -adic factorization. Ashish Dwivedi (IIT Kanpur) Root counting modulo prime powers 6 / 33

  8. Introduction Gathen and Hartlieb [1996] showed that when k is large, factorizations are nicely connected with unique p -adic factorization. They also gave example that factors are not always nicely connected. Ashish Dwivedi (IIT Kanpur) Root counting modulo prime powers 6 / 33

  9. Introduction Gathen and Hartlieb [1996] showed that when k is large, factorizations are nicely connected with unique p -adic factorization. They also gave example that factors are not always nicely connected. Eg. Let f = x 4 + 249 x 2 + 1458 and p k = 3 6 . Ashish Dwivedi (IIT Kanpur) Root counting modulo prime powers 6 / 33

  10. Introduction Gathen and Hartlieb [1996] showed that when k is large, factorizations are nicely connected with unique p -adic factorization. They also gave example that factors are not always nicely connected. Eg. Let f = x 4 + 249 x 2 + 1458 and p k = 3 6 . So f ≡ x 4 mod 3 Hard Case! Ashish Dwivedi (IIT Kanpur) Root counting modulo prime powers 6 / 33

  11. Introduction Gathen and Hartlieb [1996] showed that when k is large, factorizations are nicely connected with unique p -adic factorization. They also gave example that factors are not always nicely connected. Eg. Let f = x 4 + 249 x 2 + 1458 and p k = 3 6 . So f ≡ x 4 mod 3 Hard Case! f =( x 2 + 243) ( x 2 + 6) mod 3 6 an irreducible factorization. Ashish Dwivedi (IIT Kanpur) Root counting modulo prime powers 6 / 33

  12. Introduction Gathen and Hartlieb [1996] showed that when k is large, factorizations are nicely connected with unique p -adic factorization. They also gave example that factors are not always nicely connected. Eg. Let f = x 4 + 249 x 2 + 1458 and p k = 3 6 . So f ≡ x 4 mod 3 Hard Case! f =( x 2 + 243) ( x 2 + 6) mod 3 6 an irreducible factorization. A completely unrelated irreducible factorization: Ashish Dwivedi (IIT Kanpur) Root counting modulo prime powers 6 / 33

  13. Introduction Gathen and Hartlieb [1996] showed that when k is large, factorizations are nicely connected with unique p -adic factorization. They also gave example that factors are not always nicely connected. Eg. Let f = x 4 + 249 x 2 + 1458 and p k = 3 6 . So f ≡ x 4 mod 3 Hard Case! f =( x 2 + 243) ( x 2 + 6) mod 3 6 an irreducible factorization. A completely unrelated irreducible factorization: f =( x + 351) ( x + 135) ( x 2 + 243 x + 249) mod 3 6 . Ashish Dwivedi (IIT Kanpur) Root counting modulo prime powers 6 / 33

  14. Overview Introduction 1 The Problem 2 Randomized Algorithm 3 Challenges in Derandomization 4 A Deterministic Algorithm 5 Conclusion and Open Questions 6 Ashish Dwivedi (IIT Kanpur) Root counting modulo prime powers 7 / 33

  15. The Problem Input: a univariate f ( x ) ∈ Z [ x ] and a prime power p k (in bits). Ashish Dwivedi (IIT Kanpur) Root counting modulo prime powers 8 / 33

  16. The Problem Input: a univariate f ( x ) ∈ Z [ x ] and a prime power p k (in bits). Output: Find and count exactly the roots of f mod p k . Ashish Dwivedi (IIT Kanpur) Root counting modulo prime powers 8 / 33

  17. The Problem Input: a univariate f ( x ) ∈ Z [ x ] and a prime power p k (in bits). Output: Find and count exactly the roots of f mod p k . There could be p k many roots of f mod p k ; exponential in input size. Ashish Dwivedi (IIT Kanpur) Root counting modulo prime powers 8 / 33

  18. The Problem Input: a univariate f ( x ) ∈ Z [ x ] and a prime power p k (in bits). Output: Find and count exactly the roots of f mod p k . There could be p k many roots of f mod p k ; exponential in input size. Berthomieu, Lecerf and Quintin [BLQ 2013] gave a randomized poly-time algorithm to find and count exactly the roots of f mod p k . Ashish Dwivedi (IIT Kanpur) Root counting modulo prime powers 8 / 33

  19. The Problem Input: a univariate f ( x ) ∈ Z [ x ] and a prime power p k (in bits). Output: Find and count exactly the roots of f mod p k . There could be p k many roots of f mod p k ; exponential in input size. Berthomieu, Lecerf and Quintin [BLQ 2013] gave a randomized poly-time algorithm to find and count exactly the roots of f mod p k . Open : A deterministic polynomial time algorithm to exactly count the roots of f mod p k ? Ashish Dwivedi (IIT Kanpur) Root counting modulo prime powers 8 / 33

  20. The Problem Input: a univariate f ( x ) ∈ Z [ x ] and a prime power p k (in bits). Output: Find and count exactly the roots of f mod p k . There could be p k many roots of f mod p k ; exponential in input size. Berthomieu, Lecerf and Quintin [BLQ 2013] gave a randomized poly-time algorithm to find and count exactly the roots of f mod p k . Open : A deterministic polynomial time algorithm to exactly count the roots of f mod p k ? Counting roots is stronger than just showing the existence of a root. Ashish Dwivedi (IIT Kanpur) Root counting modulo prime powers 8 / 33

  21. The Problem Input: a univariate f ( x ) ∈ Z [ x ] and a prime power p k (in bits). Output: Find and count exactly the roots of f mod p k . There could be p k many roots of f mod p k ; exponential in input size. Berthomieu, Lecerf and Quintin [BLQ 2013] gave a randomized poly-time algorithm to find and count exactly the roots of f mod p k . Open : A deterministic polynomial time algorithm to exactly count the roots of f mod p k ? Counting roots is stronger than just showing the existence of a root. Extension to count irreducible factors will give an irreducibility criteria. Ashish Dwivedi (IIT Kanpur) Root counting modulo prime powers 8 / 33

  22. Our Results Derandomization is a holy-grail in computational complexity. Ashish Dwivedi (IIT Kanpur) Root counting modulo prime powers 9 / 33

  23. Our Results Derandomization is a holy-grail in computational complexity. It is interesting to know how we can search deterministically in an exponential space. Ashish Dwivedi (IIT Kanpur) Root counting modulo prime powers 9 / 33

  24. Our Results Derandomization is a holy-grail in computational complexity. It is interesting to know how we can search deterministically in an exponential space. We give a deterministic poly-time algorithm to exactly count roots . Ashish Dwivedi (IIT Kanpur) Root counting modulo prime powers 9 / 33

  25. Our Results Derandomization is a holy-grail in computational complexity. It is interesting to know how we can search deterministically in an exponential space. We give a deterministic poly-time algorithm to exactly count roots . We will do more- Ashish Dwivedi (IIT Kanpur) Root counting modulo prime powers 9 / 33

  26. Our Results Derandomization is a holy-grail in computational complexity. It is interesting to know how we can search deterministically in an exponential space. We give a deterministic poly-time algorithm to exactly count roots . We will do more- A Structural Result. Ashish Dwivedi (IIT Kanpur) Root counting modulo prime powers 9 / 33

  27. Our Results Derandomization is a holy-grail in computational complexity. It is interesting to know how we can search deterministically in an exponential space. We give a deterministic poly-time algorithm to exactly count roots . We will do more- A Structural Result. The root set partitions into at most deg( f ) many subsets of easily computable size. Ashish Dwivedi (IIT Kanpur) Root counting modulo prime powers 9 / 33

  28. Our Results Derandomization is a holy-grail in computational complexity. It is interesting to know how we can search deterministically in an exponential space. We give a deterministic poly-time algorithm to exactly count roots . We will do more- A Structural Result. The root set partitions into at most deg( f ) many subsets of easily computable size. It is similar to the property shown by a univariate over fields. Ashish Dwivedi (IIT Kanpur) Root counting modulo prime powers 9 / 33

  29. Our Results Derandomization is a holy-grail in computational complexity. It is interesting to know how we can search deterministically in an exponential space. We give a deterministic poly-time algorithm to exactly count roots . We will do more- A Structural Result. The root set partitions into at most deg( f ) many subsets of easily computable size. It is similar to the property shown by a univariate over fields. Our result extends to count exactly the basic-irreducible factors of f mod p k as well. Ashish Dwivedi (IIT Kanpur) Root counting modulo prime powers 9 / 33

  30. Efficiently Partitioning the Root Set To get exponentially many roots efficiently, the real challenge is to first find a compact representation of the root set of f mod p k . Ashish Dwivedi (IIT Kanpur) Root counting modulo prime powers 10 / 33

  31. Efficiently Partitioning the Root Set To get exponentially many roots efficiently, the real challenge is to first find a compact representation of the root set of f mod p k . This was first achieved by Berthomieu, Lecerf and Quintin (2013) in randomized setting. Ashish Dwivedi (IIT Kanpur) Root counting modulo prime powers 10 / 33

  32. Efficiently Partitioning the Root Set To get exponentially many roots efficiently, the real challenge is to first find a compact representation of the root set of f mod p k . This was first achieved by Berthomieu, Lecerf and Quintin (2013) in randomized setting. By efficiently partitioning the root set of f mod p k , [BLQ 13] gave the first randomized poly-time algorithm to find (& count) exactly the roots of f mod p k . Ashish Dwivedi (IIT Kanpur) Root counting modulo prime powers 10 / 33

  33. Efficiently Partitioning the Root Set To get exponentially many roots efficiently, the real challenge is to first find a compact representation of the root set of f mod p k . This was first achieved by Berthomieu, Lecerf and Quintin (2013) in randomized setting. By efficiently partitioning the root set of f mod p k , [BLQ 13] gave the first randomized poly-time algorithm to find (& count) exactly the roots of f mod p k . We give a simple exposition of [BLQ 13] which helps understand our deterministic algorithm. Ashish Dwivedi (IIT Kanpur) Root counting modulo prime powers 10 / 33

  34. Overview Introduction 1 The Problem 2 Randomized Algorithm 3 Challenges in Derandomization 4 A Deterministic Algorithm 5 Conclusion and Open Questions 6 Ashish Dwivedi (IIT Kanpur) Root counting modulo prime powers 11 / 33

  35. Randomized Algorithm: Framework [BLQ’ 13] uses randomized algorithm mod p repeatedly as a black-box (eg. Cantor-Zassenhaus CZ). Ashish Dwivedi (IIT Kanpur) Root counting modulo prime powers 12 / 33

  36. Randomized Algorithm: Framework [BLQ’ 13] uses randomized algorithm mod p repeatedly as a black-box (eg. Cantor-Zassenhaus CZ). Fact: any root mod p k is a lift of some root mod p ℓ for all ℓ ≤ k . Ashish Dwivedi (IIT Kanpur) Root counting modulo prime powers 12 / 33

  37. Randomized Algorithm: Framework [BLQ’ 13] uses randomized algorithm mod p repeatedly as a black-box (eg. Cantor-Zassenhaus CZ). Fact: any root mod p k is a lift of some root mod p ℓ for all ℓ ≤ k . r = r 0 + pr 1 + . . . + p k − 1 r k − 1 Ashish Dwivedi (IIT Kanpur) Root counting modulo prime powers 12 / 33

  38. Randomized Algorithm: Framework [BLQ’ 13] uses randomized algorithm mod p repeatedly as a black-box (eg. Cantor-Zassenhaus CZ). Fact: any root mod p k is a lift of some root mod p ℓ for all ℓ ≤ k . r = r 0 + pr 1 + . . . + p k − 1 r k − 1 r is a lift of r 0 mod p , Ashish Dwivedi (IIT Kanpur) Root counting modulo prime powers 12 / 33

  39. Randomized Algorithm: Framework [BLQ’ 13] uses randomized algorithm mod p repeatedly as a black-box (eg. Cantor-Zassenhaus CZ). Fact: any root mod p k is a lift of some root mod p ℓ for all ℓ ≤ k . r = r 0 + pr 1 + . . . + p k − 1 r k − 1 r 0 + pr 1 mod p 2 and so on. r is a lift of r 0 mod p , Ashish Dwivedi (IIT Kanpur) Root counting modulo prime powers 12 / 33

  40. Randomized Algorithm: Framework [BLQ’ 13] uses randomized algorithm mod p repeatedly as a black-box (eg. Cantor-Zassenhaus CZ). Fact: any root mod p k is a lift of some root mod p ℓ for all ℓ ≤ k . r = r 0 + pr 1 + . . . + p k − 1 r k − 1 r 0 + pr 1 mod p 2 and so on. r is a lift of r 0 mod p , Idea : Find each r i one by one using the CZ algorithm to incrementally build up the lifts of r 0 with higher and higher precision leading up to r . Ashish Dwivedi (IIT Kanpur) Root counting modulo prime powers 12 / 33

  41. Randomized Algorithm: Notation If p α | f ( x ) mod p k then any root r = r 0 + pr 1 + . . . + p k − 1 r k − 1 is independent of r k − α and beyond. Ashish Dwivedi (IIT Kanpur) Root counting modulo prime powers 13 / 33

  42. Randomized Algorithm: Notation If p α | f ( x ) mod p k then any root r = r 0 + pr 1 + . . . + p k − 1 r k − 1 is independent of r k − α and beyond. In other words, r = r 0 + pr 1 + . . . + p k − α − 1 r k − α − 1 + p k − α ∗ + . . . + p k − 1 ∗ , where ∗ denotes everything in F p . Ashish Dwivedi (IIT Kanpur) Root counting modulo prime powers 13 / 33

  43. Randomized Algorithm: Notation If p α | f ( x ) mod p k then any root r = r 0 + pr 1 + . . . + p k − 1 r k − 1 is independent of r k − α and beyond. In other words, r = r 0 + pr 1 + . . . + p k − α − 1 r k − α − 1 + p k − α ∗ + . . . + p k − 1 ∗ , where ∗ denotes everything in F p . In short, we write r = r 0 + pr 1 + . . . + p k − α ∗ where r is called a representative root representing p α ‘distinct’ roots of f mod p k . Ashish Dwivedi (IIT Kanpur) Root counting modulo prime powers 13 / 33

  44. Randomized Algorithm: Notation If p α | f ( x ) mod p k then any root r = r 0 + pr 1 + . . . + p k − 1 r k − 1 is independent of r k − α and beyond. In other words, r = r 0 + pr 1 + . . . + p k − α − 1 r k − α − 1 + p k − α ∗ + . . . + p k − 1 ∗ , where ∗ denotes everything in F p . In short, we write r = r 0 + pr 1 + . . . + p k − α ∗ where r is called a representative root representing p α ‘distinct’ roots of f mod p k . The randomized algorithm will return all the roots in representative form- at most deg( f ) many! Ashish Dwivedi (IIT Kanpur) Root counting modulo prime powers 13 / 33

  45. Randomized Algorithm Recall: Incrementally build up r by finding co-ordinates r i one by one. Ashish Dwivedi (IIT Kanpur) Root counting modulo prime powers 14 / 33

  46. Randomized Algorithm Recall: Incrementally build up r by finding co-ordinates r i one by one. To get candidates for r 0 apply CZ on f ( x ) mod p . Ashish Dwivedi (IIT Kanpur) Root counting modulo prime powers 14 / 33

  47. Randomized Algorithm Recall: Incrementally build up r by finding co-ordinates r i one by one. To get candidates for r 0 apply CZ on f ( x ) mod p . For every r 0 obtained do the following: { Ashish Dwivedi (IIT Kanpur) Root counting modulo prime powers 14 / 33

  48. Randomized Algorithm Recall: Incrementally build up r by finding co-ordinates r i one by one. To get candidates for r 0 apply CZ on f ( x ) mod p . For every r 0 obtained do the following: { Shift : f ( x ) �→ f ( r 0 + px ), Ashish Dwivedi (IIT Kanpur) Root counting modulo prime powers 14 / 33

  49. Randomized Algorithm Recall: Incrementally build up r by finding co-ordinates r i one by one. To get candidates for r 0 apply CZ on f ( x ) mod p . For every r 0 obtained do the following: { Shift : f ( x ) �→ f ( r 0 + px ), Divide : Get g ( x ) = f ( r 0 + px ) / p α mod p k − α where p α || f ( r 0 + px ). Ashish Dwivedi (IIT Kanpur) Root counting modulo prime powers 14 / 33

  50. Randomized Algorithm Recall: Incrementally build up r by finding co-ordinates r i one by one. To get candidates for r 0 apply CZ on f ( x ) mod p . For every r 0 obtained do the following: { Shift : f ( x ) �→ f ( r 0 + px ), Divide : Get g ( x ) = f ( r 0 + px ) / p α mod p k − α where p α || f ( r 0 + px ). Repeat the Shift-Divide cycle on g ( x ) mod p k − α to get corresponding r 1 s and so on. } Ashish Dwivedi (IIT Kanpur) Root counting modulo prime powers 14 / 33

  51. Randomized Algorithm: Correctness Recall g ( x ) = f ( r 0 + px ) / p α mod p k − α . Ashish Dwivedi (IIT Kanpur) Root counting modulo prime powers 15 / 33

  52. Randomized Algorithm: Correctness Recall g ( x ) = f ( r 0 + px ) / p α mod p k − α . Essentially every iteration reduces finding roots of f ( x ) mod p k , which are lifts of r 0 , to roots of g ( x ) mod p k − α . Ashish Dwivedi (IIT Kanpur) Root counting modulo prime powers 15 / 33

  53. Randomized Algorithm: Correctness Recall g ( x ) = f ( r 0 + px ) / p α mod p k − α . Essentially every iteration reduces finding roots of f ( x ) mod p k , which are lifts of r 0 , to roots of g ( x ) mod p k − α . For any root r ′ of g mod p k − α the corresponding roots of f mod p k are: r 0 + p ( r ′ + p k − α ∗ ) Ashish Dwivedi (IIT Kanpur) Root counting modulo prime powers 15 / 33

  54. Randomized Algorithm: Correctness Recall g ( x ) = f ( r 0 + px ) / p α mod p k − α . Essentially every iteration reduces finding roots of f ( x ) mod p k , which are lifts of r 0 , to roots of g ( x ) mod p k − α . For any root r ′ of g mod p k − α the corresponding roots of f mod p k are: r 0 + p ( r ′ + p k − α ∗ ) Always α ≥ 1, so the process stops in at most k iterations. Ashish Dwivedi (IIT Kanpur) Root counting modulo prime powers 15 / 33

  55. Randomized Algorithm: Time Complexity The time taken could be very high? Ashish Dwivedi (IIT Kanpur) Root counting modulo prime powers 16 / 33

  56. Randomized Algorithm: Time Complexity The time taken could be very high? deg( f ) k many roots in the end? Ashish Dwivedi (IIT Kanpur) Root counting modulo prime powers 16 / 33

  57. Randomized Algorithm: Time Complexity The time taken could be very high? deg( f ) k many roots in the end? The algorithm forms a virtual tree of roots: Ashish Dwivedi (IIT Kanpur) Root counting modulo prime powers 16 / 33

  58. Randomized Algorithm: Time Complexity The time taken could be very high? deg( f ) k many roots in the end? The algorithm forms a virtual tree of roots: f ( x ) r 0 , 0 r 0 , 2 r 0 , 1 g r 0 , 0 g r 0 , 1 g r 0 , 2 r 1 , 2 r 1 , 0 r 1 , 1 g r 1 , 2 ∗ ∗ D r 2 , 0 r 2 , 1 ∗ ∗ Ashish Dwivedi (IIT Kanpur) Root counting modulo prime powers 16 / 33

  59. Randomized Algorithm: Time Complexity The time taken could be very high? deg( f ) k many roots in the end? The algorithm forms a virtual tree of roots: f ( x ) r 0 , 0 r 0 , 2 r 0 , 1 g r 0 , 0 g r 0 , 1 g r 0 , 2 r 1 , 2 r 1 , 0 r 1 , 1 g r 1 , 2 ∗ ∗ D r 2 , 0 r 2 , 1 ∗ ∗ Roots are: r 0 , 1 + pr 1 , 0 + p 2 ∗ , Ashish Dwivedi (IIT Kanpur) Root counting modulo prime powers 16 / 33

  60. Randomized Algorithm: Time Complexity The time taken could be very high? deg( f ) k many roots in the end? The algorithm forms a virtual tree of roots: f ( x ) r 0 , 0 r 0 , 2 r 0 , 1 g r 0 , 0 g r 0 , 1 g r 0 , 2 r 1 , 2 r 1 , 0 r 1 , 1 g r 1 , 2 ∗ ∗ D r 2 , 0 r 2 , 1 ∗ ∗ Roots are: r 0 , 1 + pr 1 , 0 + p 2 ∗ , r 0 , 2 + pr 1 , 1 + p 2 ∗ , Ashish Dwivedi (IIT Kanpur) Root counting modulo prime powers 16 / 33

  61. Randomized Algorithm: Time Complexity The time taken could be very high? deg( f ) k many roots in the end? The algorithm forms a virtual tree of roots: f ( x ) r 0 , 0 r 0 , 2 r 0 , 1 g r 0 , 0 g r 0 , 1 g r 0 , 2 r 1 , 2 r 1 , 0 r 1 , 1 g r 1 , 2 ∗ ∗ D r 2 , 0 r 2 , 1 ∗ ∗ Roots are: r 0 , 1 + pr 1 , 0 + p 2 ∗ , r 0 , 2 + pr 1 , 1 + p 2 ∗ , r 0 , 2 + pr 1 , 2 + p 2 r 2 , 0 + p 3 ∗ , Ashish Dwivedi (IIT Kanpur) Root counting modulo prime powers 16 / 33

  62. Randomized Algorithm: Time Complexity The time taken could be very high? deg( f ) k many roots in the end? The algorithm forms a virtual tree of roots: f ( x ) r 0 , 0 r 0 , 2 r 0 , 1 g r 0 , 0 g r 0 , 1 g r 0 , 2 r 1 , 2 r 1 , 0 r 1 , 1 g r 1 , 2 ∗ ∗ D r 2 , 0 r 2 , 1 ∗ ∗ Roots are: r 0 , 1 + pr 1 , 0 + p 2 ∗ , r 0 , 2 + pr 1 , 1 + p 2 ∗ , r 0 , 2 + pr 1 , 2 + p 2 r 2 , 0 + p 3 ∗ , r 0 , 2 + pr 1 , 2 + p 2 r 2 , 1 + p 3 ∗ Ashish Dwivedi (IIT Kanpur) Root counting modulo prime powers 16 / 33

  63. Randomized Algorithm: Time Complexity The time taken could be very high? deg( f ) k many roots in the end? The algorithm forms a virtual tree of roots: f ( x ) r 0 , 0 r 0 , 1 r 0 , 2 g r 0 , 0 g r 0 , 1 g r 0 , 2 r 1 , 2 r 1 , 1 r 1 , 0 g r 1 , 2 ∗ ∗ D r 2 , 0 r 2 , 1 ∗ ∗ Partitioning the root-set : A path from root to a leaf denotes a representative-root of f . The tree has at most d leaves. Ashish Dwivedi (IIT Kanpur) Root counting modulo prime powers 17 / 33

  64. Randomized Algorithm: Time Complexity The time taken could be very high? deg( f ) k many roots in the end? The algorithm forms a virtual tree of roots: f ( x ) r 0 , 0 r 0 , 1 r 0 , 2 g r 0 , 0 g r 0 , 1 g r 0 , 2 r 1 , 2 r 1 , 1 r 1 , 0 g r 1 , 2 ∗ ∗ D r 2 , 0 r 2 , 1 ∗ ∗ Claim : The degree of a node distributes to its children. Ashish Dwivedi (IIT Kanpur) Root counting modulo prime powers 18 / 33

  65. Randomized Algorithm: Time Complexity The time taken could be very high? deg( f ) k many roots in the end? The algorithm forms a virtual tree of roots: f ( x ) r 0 , 0 r 0 , 2 r 0 , 1 g r 0 , 0 g r 0 , 1 g r 0 , 2 r 1 , 2 r 1 , 0 r 1 , 1 g r 1 , 2 ∗ ∗ D r 2 , 0 r 2 , 1 ∗ ∗ Multiplicity Property : Ashish Dwivedi (IIT Kanpur) Root counting modulo prime powers 19 / 33

  66. Randomized Algorithm: Time Complexity The time taken could be very high? deg( f ) k many roots in the end? The algorithm forms a virtual tree of roots: f ( x ) r 0 , 0 r 0 , 2 r 0 , 1 g r 0 , 0 g r 0 , 1 g r 0 , 2 r 1 , 2 r 1 , 0 r 1 , 1 g r 1 , 2 ∗ ∗ D r 2 , 0 r 2 , 1 ∗ ∗ Multiplicity Property : Let r 0 be a root of multiplicity m of f ( x ) mod p then the degree of children corresponding to r 0 is at most m . Ashish Dwivedi (IIT Kanpur) Root counting modulo prime powers 19 / 33

  67. Randomized Algorithm: Time Complexity The time taken could be very high? deg( f ) k many roots in the end? The algorithm forms a virtual tree of roots: f ( x ) r 0 , 0 r 0 , 2 r 0 , 1 g r 0 , 0 g r 0 , 1 g r 0 , 2 r 1 , 2 r 1 , 0 r 1 , 1 g r 1 , 2 ∗ ∗ D r 2 , 0 r 2 , 1 ∗ ∗ So, the size of tree is polynomial in input size and the algorithm runs in randomized poly(deg( f ) , k log p ) time. Ashish Dwivedi (IIT Kanpur) Root counting modulo prime powers 20 / 33

  68. Overview Introduction 1 The Problem 2 Randomized Algorithm 3 Challenges in Derandomization 4 A Deterministic Algorithm 5 Conclusion and Open Questions 6 Ashish Dwivedi (IIT Kanpur) Root counting modulo prime powers 21 / 33

Download Presentation
Download Policy: The content available on the website is offered to you 'AS IS' for your personal information and use only. It cannot be commercialized, licensed, or distributed on other websites without prior consent from the author. To download a presentation, simply click this link. If you encounter any difficulties during the download process, it's possible that the publisher has removed the file from their server.

Recommend


More recommend