Fast Computation of the Nth Term of an Algebraic Series over a Finite Prime Field

Size: px
Start display at page:

Download "Fast Computation of the Nth Term of an Algebraic Series over a Finite Prime Field"

Transcription

1 Fast Computation of the Nth Term of an Algebraic Series over a Finite Prime Field Alin Bostan 1 Gilles Christol 2 Philippe Dumas 1 1 Inria (France) 2 Institut de mathématiques de Jussieu (France) Specfun Seminar, June 2016 Bostan, Christol, Dumas Fast Computation of Algebraic Series 41st ISSAC 1 / 24

2 Motivation Ubiquity: combinatorics, number theory, algebraic geometry Bostan, Christol, Dumas Fast Computation of Algebraic Series 41st ISSAC 2 / 24

3 Motivation Ubiquity: combinatorics, number theory, algebraic geometry Confluence of several domains: functional equations automatic sequences complexity theory Bostan, Christol, Dumas Fast Computation of Algebraic Series 41st ISSAC 2 / 24

4 Motivation Ubiquity: combinatorics, number theory, algebraic geometry Confluence of several domains: functional equations automatic sequences complexity theory One of the most difficult questions in modular computations is the complexity of computations mod p for a large prime p of coefficients in the expansion of an algebraic function. D. Chudnovsky & G. Chudnovsky, 1990 Computer Algebra in the Service of Mathematical Physics and Number Theory Bostan, Christol, Dumas Fast Computation of Algebraic Series 41st ISSAC 2 / 24

5 Problem and main result Input: prime field K = F p E(x, y) K[x, y], with E(0, 0) = 0, E y (0, 0) 0 N N Output: the Nth coefficient of the unique solution f(x) K[[x]] of E(x, f(x)) = 0, f(0) = 0 Bostan, Christol, Dumas Fast Computation of Algebraic Series 41st ISSAC 3 / 24

6 Problem and main result Input: prime field K = F p E(x, y) K[x, y], with E(0, 0) = 0, E y (0, 0) 0 N N Output: the Nth coefficient of the unique solution f(x) K[[x]] of E(x, f(x)) = 0, f(0) = 0 Main result: arithmetic complexity linear in log N and almost linear in p Bostan, Christol, Dumas Fast Computation of Algebraic Series 41st ISSAC 3 / 24

7 State of the art First N coefficients complexity at best Θ(N) Chudnovsky + Chudnovsky, 1986 On expansion of algebraic functions in power and Puiseux series, I Bostan, Christol, Dumas Fast Computation of Algebraic Series 41st ISSAC 4 / 24

8 State of the art compute Nth term after precomputation d = deg y E(x, y) Method char. 0 char. p Binary powering (d = 1) O(log 2 N) + O(1) Baby steps Giant steps Õ( N) + O(1) Divide and Conquer O(log p N) Õ(p3d ) Bostan, Christol, Dumas Fast Computation of Algebraic Series 41st ISSAC 5 / 24

9 State of the art compute Nth term after precomputation d = deg y E(x, y) Method char. 0 char. p Binary powering (d = 1) O(log 2 N) + O(1) Baby steps Giant steps Õ( N) + O(1) Divide and Conquer O(log p N) Õ(p3d ) Miller + Brown, 1966 An algorithm for evaluation of remote terms in a linear recurrence sequence Fiduccia, 1985 An efficient formula for linear recurrences Bostan, Christol, Dumas Fast Computation of Algebraic Series 41st ISSAC 5 / 24

10 State of the art compute Nth term after precomputation d = deg y E(x, y) Method char. 0 char. p Binary powering (d = 1) O(log 2 N) + O(1) Baby steps Giant steps Õ( N) + O(1) Divide and Conquer O(log p N) Õ(p3d ) algebraic equation differential equation linear recurrence Chudnovsky + Chudnovsky, 1988 Approximations and complex multiplication according to Ramanujan Bostan, Christol, Dumas Fast Computation of Algebraic Series 41st ISSAC 5 / 24

11 State of the art compute Nth term after precomputation d = deg y E(x, y) Method char. 0 char. p Binary powering (d = 1) O(log 2 N) + O(1) Baby steps Giant steps Õ( N) + O(1) Divide and Conquer O(log p N) Õ(p3d ) algebraic equation Mahler equation DAC recurrence Christol + Kamae + Mendès France + Rauzy, 1980 Suites algébriques, automates et substitutions Allouche + Shallit, 1992 The ring of k-regular sequences Bostan, Christol, Dumas Fast Computation of Algebraic Series 41st ISSAC 5 / 24

12 From algebraic equation to Mahler equation Algebraic equation y = 2x + 2xy + xy 2 + xy 3 1 y y 2 y y 3 y 9 y x x 1+2x 2 +x 3 x 3 1+2x 2 +x 3 +2x 5 +x 6 +x 8 +x 9 +2x 11 +x 12 x 12 p = 3 1+x+2x 2 +x 3 +x 4 x 4 1+x+2x 2 +x 3 +x 4 +2x 5 +2x 6 +2x 7 +x 8 +x 9 +x 10 +2x 11 +x 12 +x 13 x x+2x2 +x 3 x 3 2+2x+x 2 +2x 3 +2x 4 +x 5 +x 6 +x 7 +2x 8 +2x 9 +2x 10 +x 11 +2x 12 x 12 Mahler equation ( 2x 2 + 2x 3 + x 4) f(x) + ( 1 + x 2 + 2x 3 + 2x 4 + x 5 + 2x 6) f(x) 3 + ( 2 + 2x 3 + 2x 5 + x 6 + 2x 9) f(x) 9 + x 9 f(x) 27 = 0 Bostan, Christol, Dumas Fast Computation of Algebraic Series 41st ISSAC 6 / 24

13 From algebraic equation to Mahler equation Algebraic equation y = 2x + 2xy + xy 2 + xy 3 1 y y 2 y y 3 y 9 y x x 1+2x 2 +x 3 x 3 1+2x 2 +x 3 +2x 5 +x 6 +x 8 +x 9 +2x 11 +x 12 x 12 p = 3 1+x+2x 2 +x 3 +x 4 x 4 1+x+2x 2 +x 3 +x 4 +2x 5 +2x 6 +2x 7 +x 8 +x 9 +x 10 +2x 11 +x 12 +x 13 x x+2x2 +x 3 x 3 2+2x+x 2 +2x 3 +2x 4 +x 5 +x 6 +x 7 +2x 8 +2x 9 +2x 10 +x 11 +2x 12 x 12 Mahler equation ( 2x 2 + 2x 3 + x 4) f(x) + ( 1 + x 2 + 2x 3 + 2x 4 + x 5 + 2x 6) f(x 3 ) + ( 2 + 2x 3 + 2x 5 + x 6 + 2x 9) f(x 9 ) + x 9 f(x 27 ) = 0 Frobenius f(x) p = f(x p ) Bostan, Christol, Dumas Fast Computation of Algebraic Series 41st ISSAC 6 / 24

14 From Mahler equation to DAC recurrence Algebraic equation y = 2x + 2xy + xy 2 + xy 3 Mahler equation x s f(x q ) ( 2x 2 + 2x 3 + x 4) f(x) + ( 1 + x 2 + 2x 3 + 2x 4 + x 5 + 2x 6) f(x 3 ) + ( 2 + 2x 3 + 2x 5 + x 6 + 2x 9) f(x 9 ) + x 9 f(x 27 ) = 0 Divide-and-conquer recurrence f n s q 2f n 2 + 2f n 3 + f n 4 + f n + f 3 n 2 + 2f n 3 + 2f n 4 + f n 5 + 2f n f n 9 + 2f n f n f n f n f n 9 27 = 0 f x = 0 if x N 0 Bostan, Christol, Dumas Fast Computation of Algebraic Series 41st ISSAC 7 / 24

15 From Mahler equation to DAC recurrence Algebraic equation y = 2x + 2xy + xy 2 + xy 3 Mahler equation x s f(x q ) ( 2x 2 + 2x 3 + x 4) f(x) + ( 1 + x 2 + 2x 3 + 2x 4 + x 5 + 2x 6) f(x 3 ) + ( 2 + 2x 3 + 2x 5 + x 6 + 2x 9) f(x 9 ) + x 9 f(x 27 ) = 0 Divide-and-conquer recurrence f n s q 2f n 2 + 2f n 3 + f n 4 + f n + f 3 n 2 + 2f n 3 + 2f n 4 + f n 5 + 2f n f n 9 + 2f n f n f n f n f n 9 27 = 0 f x = 0 if x N 0 Bostan, Christol, Dumas Fast Computation of Algebraic Series 41st ISSAC 7 / 24

16 +5x From x algebraic x 129 +x x equation x x x to DAC x 123 +x recurrence 122 +x x x x x x x x x x x x x x x x x x x x 102 +x x x 99 +3x 98 +4x 97 +5x 71 +4x 69 +2x 68 +2x 67 +4x 66 +5x 65 +3x 64 +x 62 +2x 57 +3x 55 +3x 54 +3x 53 +6x 52 +4x 51 +5x 50 +4x 48 +2x 46 +4x 45 +3x 44 +x 43 +6x 42 +5x 41 +2x 40 +5x 39 +3x 38 +6x 37 +3x 36 +2x 35 +x 34 +4x 33 +3x 32 +6x 31 +5x 30 +3x 29 +4x 28 +x 27 +3x 26 +6x 25 +5x 24 +5x 23 +5x 22 +2x 21 +4x 20 +x 18 +2x 17 +5x 16 +5x 15 +3x 14 +4x 13 +6x 12 +2x 11 +4x 10 +2x 9 +x 8 +2x 7 +5x 6 +5x 4 +3x 3 +4x 2 +1)f(x 7 ) +(6x x x x x x x x x x x x 147 +x x x x x x 139 +x x x 135 +x x x x x x x x x x x x x x x x x x x 113 +x x x x x 102 +x x x 98 +2x 71 +3x 69 +x 67 +2x 66 +5x 65 +5x 64 +3x 63 +4x 62 +5x 57 +4x 55 +5x 53 +3x 52 +4x 51 +x 49 +5x 46 +3x 45 +4x 44 +6x 43 +x 42 +2x 41 +5x 39 +3x 38 +4x 37 +5x 36 +x 35 +4x 34 +3x 32 +6x 31 +x 30 +6x 29 +2x 28 +2x 27 +2x 25 +4x 24 +3x 23 +6x 21 +6x 18 +5x 17 +2x 16 +2x 15 +4x 14 +3x 13 +2x 8 +3x 6 +2x 4 +4x 3 +3x 2 +6)f(x 49 ) +(x x x x x x x x x x x 149 +x 147 )f(x 343 )=0 O(log p N) p 3d Bostan, Christol, Dumas Fast Computation of Algebraic Series 41st ISSAC 8 / 24

17 Nth coefficient using section operators Section operators f(x) = n 0 f n x n K[[x]] S r f(x) = k 0 f pk+r x k, 0 r < p Bostan, Christol, Dumas Fast Computation of Algebraic Series 41st ISSAC 9 / 24

18 Nth coefficient using section operators Section operators f(x) = n 0 f n x n K[[x]] S r f(x) = k 0 f pk+r x k, 0 r < p Lemma Let f = n 0 f n x n be in K[[x]] and let N = (N l N 1 N 0 ) p be the radix p expansion of N. Then f N = (S Nl S N1 S N0 f)(0). Bostan, Christol, Dumas Fast Computation of Algebraic Series 41st ISSAC 9 / 24

19 Nth coefficient using section operators N = p = 7 = = (5, 6, 4, 3, 5, 5) 7 f(x) = f 0 + f 1 x + f 2 x 2 + f 3 x 3 + f 4 x 4 + f 5 x 5 + S 5 f(x) = f 5 + f 12 x + f 19 x 2 + f 26 x 3 + f 33 x 4 + f 40 x 5 + S 5 S 5 f(x) = f 40 + f 89 x + f 138 x 2 + f 187 x 3 + f 236 x 4 + f 285 x 5 + S 3 S 5 S 5 f(x) = f f 530 x + f 873 x 2 + f 1216 x 3 + f 1559 x 4 + f 1902 x 5 + S 4 S 3 S 5 S 5 f(x) = f f 3960 x + f 6361 x 2 + f 8762 x 3 + f x 4 + S 6 S 4 S 3 S 5 S 5 f(x) = f f x + f x 2 + f x 3 + f x 4 + S 5 S 6 S 4 S 3 S 5 S 5 f(x) = f f x + f x 2 + f x 3 + S 5 S 6 S 4 S 3 S 5 S 5 f(0) = f Bostan, Christol, Dumas Fast Computation of Algebraic Series 41st ISSAC 10 / 24

20 Diagonal (forward) F (x, y) = y(1 5xy xy2 3xy 3 ) 1 2x 5xy 4xy 2 xy 3 = p = 7 y + 2xy + 3xy 3 + 5xy 4 + 4x 2 y + 3x 2 y 2 + 6x 2 y 4 + 2x 2 y 5 + 2x 2 y 6 + 5x 2 y 7 + x 3 y + 5x 3 y 2 + 3x 3 y 3 + 2x 3 y 5 + 3x 3 y 6 + 6x 3 y 7 + x 3 y 9 + 5x 3 y x 4 y + x 4 y 2 + x 4 y 4 + 5x 4 y 6 + 2x 4 y 8 + x 4 y 9 + 5x 4 y x 5 y + 5x 5 y 2 + 6x 5 y 3 + x 5 y 4 + 6x 5 y 5 + 5x 5 y 7 + 3x 5 y 8 + 3x 5 y 9 + 6x 5 y x 6 y x 5 y x 6 y 12 + x 7 y x 5 y 14 + x 6 y + 2x 6 y 2 + 4x 6 y 3 + 4x 6 y 5 + 5x 6 y 6 + 2x 6 y 8 + 6x 6 y 9 + 5x 6 y x 7 y + 2x 7 y 2 + x 7 y 3 + x 7 y 4 + 5x 7 y 5 + 6x 7 y 6 + 6x 7 y 7 + 6x 7 y 9 + 3x 7 y x 9 y 13 + x 10 y x 9 y x 10 y x 5 y 15 + x 6 y x 7 y 15 + x 8 y x 9 y x 10 y x 5 y x 6 y x 7 y x 8 y + 6x 8 y 3 + 3x 8 y 4 + x 8 y 10 + x 9 y + 6x 9 y 2 + 3x 10 y 2 + 5x 9 y 4 + 4x 9 y 5 + 4x 10 y 5 + 4x 9 y 6 + 6x 10 y 6 + 3x 9 y 7 + 5x 10 y 7 + 3x 8 y 8 + 6x 9 y 8 + 5x 10 y 8 + x 9 y 9 + x 4 y 11 + x 5 y x 6 y x 7 y x 8 y x 9 y 11 + f(x) = DF (x) = 2x + 3x 2 + 3x 3 + x 4 + 6x 5 + 5x 6 + 6x 7 + 3x 8 + x 9 + 4x x 10 y + 6x 10 y 3 + 6x 10 y 9 + 4x 10 y x 9 y x 10 y x 9 y x 10 y 16 Bostan, Christol, Dumas Fast Computation of Algebraic Series 41st ISSAC 11 / 24

21 Diagonal (backward) Theorem (Furstenberg s theorem) Every algebraic series is the diagonal of a bivariate rational function. E(x, f(x)) = 0, f(0) = 0, E y (0, 0) 0 f(x) = D a b with a(x, y) = ye y (xy, y), b(x, y) = E(xy, y)/y Furstenberg, 1967, Algebraic functions over finite fields Bostan, Christol, Dumas Fast Computation of Algebraic Series 41st ISSAC 12 / 24

22 Sections are diagonals univariate sections S r : action on algebraic formal series S r f Bostan, Christol, Dumas Fast Computation of Algebraic Series 41st ISSAC 13 / 24

23 Sections are diagonals univariate sections S r : action on algebraic formal series S r f = S r D a b diagonal Bostan, Christol, Dumas Fast Computation of Algebraic Series 41st ISSAC 13 / 24

24 Sections are diagonals univariate sections S r : action on algebraic formal series S r f = S r D a b diagonal bivariate sections S r : action on bivariate rational functions Bostan, Christol, Dumas Fast Computation of Algebraic Series 41st ISSAC 13 / 24

25 Sections are diagonals univariate sections S r : action on algebraic formal series S r f = S r D a b diagonal bivariate sections S r : action on bivariate rational functions S r D a b = DS a r commutation rule b Bostan, Christol, Dumas Fast Computation of Algebraic Series 41st ISSAC 13 / 24

26 Sections are diagonals univariate sections S r : action on algebraic formal series S r f = S r D a b diagonal bivariate sections S r : action on bivariate rational functions S r D a b = DS a r commutation rule b pseudo-sections T r : action on bivariate polynomials Bostan, Christol, Dumas Fast Computation of Algebraic Series 41st ISSAC 13 / 24

27 Sections are diagonals univariate sections S r : action on algebraic formal series S r f = S r D a b diagonal bivariate sections S r : action on bivariate rational functions S r D a b = DS a r commutation rule b pseudo-sections T r : action on bivariate polynomials a S r f = DS r Frobenius b = D S rab p 1 b Bostan, Christol, Dumas Fast Computation of Algebraic Series 41st ISSAC 13 / 24

28 Sections are diagonals univariate sections S r : action on algebraic formal series S r f = S r D a b diagonal bivariate sections S r : action on bivariate rational functions S r D a b = DS a r commutation rule b pseudo-sections T r : action on bivariate polynomials a S r f = DS r b = D S rab p 1 b = D T ra b Frobenius T r v = S r vb p 1 Bostan, Christol, Dumas Fast Computation of Algebraic Series 41st ISSAC 13 / 24

29 Sections are diagonals univariate sections S r : action on algebraic formal series S r f = S r D a b diagonal bivariate sections S r : action on bivariate rational functions S r D a b = DS a r commutation rule b pseudo-sections T r : action on bivariate polynomials a S r f = DS r b = D S rab p 1 b Christol, 1979, Ensembles presque périodiques k-reconnaissables = D T ra b Frobenius T r v = S r vb p 1 Bostan, Christol, Dumas Fast Computation of Algebraic Series 41st ISSAC 13 / 24

30 Nth coefficient using pseudo-section operators univariate sections S r : action on formal series f N = (S Nl S N1 S N0 f)(0) bivariate sections S r : action on bivariate rational functions pseudo-sections T r : action on bivariate polynomials f N = (T N l T N1 T N0 a)(0, 0) b(0, 0) Bostan, Christol, Dumas Fast Computation of Algebraic Series 41st ISSAC 14 / 24

31 Nth coefficient using pseudo-section operators univariate sections S r : action on formal series f N = (S Nl S N1 S N0 f)(0) bivariate sections S r : action on bivariate rational functions pseudo-sections T r : action on bivariate polynomials f N = (T N l T N1 T N0 a)(0, 0) b(0, 0) Bostan, Christol, Dumas Fast Computation of Algebraic Series 41st ISSAC 14 / 24

32 Finite dimensional stable subspace T r v = S r vb p 1 B = b p 1 Bostan, Christol, Dumas Fast Computation of Algebraic Series 41st ISSAC 15 / 24

33 Finite dimensional stable subspace T r v = S r vb p 1 B = b p 1 d x = max(deg x a, deg x b), d y = max(deg y a, deg y b) T r F p [x, y] dx,d y F p [x, y] F p [x, y] v vb p 1 = vb S r vb = T r v Bostan, Christol, Dumas Fast Computation of Algebraic Series 41st ISSAC 15 / 24

34 Finite dimensional stable subspace T r v = S r vb p 1 B = b p 1 d x = max(deg x a, deg x b), d y = max(deg y a, deg y b) T r F p [x, y] dx,d y F p [x, y] F p [x, y] v vb p 1 = vb S r vb = T r v F p [x, y] dx,d y stable by the T r Bostan, Christol, Dumas Fast Computation of Algebraic Series 41st ISSAC 15 / 24

35 A geometrical evidence T r F p [x, y] dx,d y F p [x, y] pdx,pd y F p [x, y] dx,d y v vb p 1 = vb S r vb = T r v p = 11 E = (1 + x)(x y) + x 2 y 2 + (1 + x)y 3 + y 4 a = y xy 2 + 3y 3 + 4y 4 + 3xy 4 + 2x 2 y 4 b = 1+x xy+y 2 +x 2 y+y 3 +xy 3 +x 2 y 3 d x = 2, d y = 4 small box [0, d x] [0, d y] Bostan, Christol, Dumas Fast Computation of Algebraic Series 41st ISSAC 16 / 24

36 A geometrical evidence T r F p [x, y] dx,d y F p [x, y] pdx,pd y F p [x, y] dx,d y v vb p 1 = vb S r vb = T r v dilation with ratio p 1 large box [0, (p 1)d x] [0, (p 1)d y] B = b p 1 Bostan, Christol, Dumas Fast Computation of Algebraic Series 41st ISSAC 16 / 24

37 A geometrical evidence T r F p [x, y] dx,d y F p [x, y] pdx,pd y F p [x, y] dx,d y v vb p 1 = vb S r vb = T r v v = xy 3 in the canonical basis translation by (1, 3) very large box [0, pd x] [0, pd y] xy 3 B Bostan, Christol, Dumas Fast Computation of Algebraic Series 41st ISSAC 16 / 24

38 A geometrical evidence T r F p [x, y] dx,d y F p [x, y] pdx,pd y F p [x, y] dx,d y v vb p 1 = vb S r vb = T r v filter r = 3 xy 3 B Bostan, Christol, Dumas Fast Computation of Algebraic Series 41st ISSAC 16 / 24

39 A geometrical evidence T r F p [x, y] dx,d y F p [x, y] pdx,pd y F p [x, y] dx,d y v vb p 1 = vb S r vb = T r v contraction small box [0, d x] [0, d y] T 3 xy 3 = S 3 xy 3 B Bostan, Christol, Dumas Fast Computation of Algebraic Series 41st ISSAC 16 / 24

40 A geometrical evidence T r F p [x, y] dx,d y F p [x, y] pdx,pd y F p [x, y] dx,d y v vb p 1 = vb S r vb = T r v We can compute f N in O((d x d y ) 2 log N) if we know the matrices A 0, A 1,..., A p 1 of T 0, T 1,..., T p 1 in the canonical basis (x n y m ) of F p [x, y] dx,d y. Bostan, Christol, Dumas Fast Computation of Algebraic Series 41st ISSAC 16 / 24

41 Precomputation of A 0, A 1,..., A p 1 All information is in B = b p 1. matrix A r : x n y m x n y m B S r x n y m B translation selection No computation in K = F p, except raising b to the power p 1 Cost: Õ(p 2 ) (binary powering, Kronecker substitution, FFT) Theorem The Nth coefficient can be computed in time Õ(p 2 ) + O(log p N). Bostan, Christol, Dumas Fast Computation of Algebraic Series 41st ISSAC 17 / 24

42 Precomputation of A 0, A 1,..., A p 1 All information is in B = b p 1. matrix A r : x n y m x n y m B S r x n y m B translation selection No computation in K = F p, except raising b to the power p 1 Cost: Õ(p 2 ) (binary powering, Kronecker substitution, FFT) Theorem The Nth coefficient can be computed in time Õ(p 2 ) + O(log p N). To be compared with Õ(p 3d ) O(log p N) Bostan, Christol, Dumas Fast Computation of Algebraic Series 41st ISSAC 17 / 24

43 Only a small part of B = b p 1 is enough Task: Computation of A 0, A 1,..., A p 1 row index i = (k, l) column index j = (n, m) B = α,β c α,β x α y β x n y m x n y m B S r x n y m B translation selection x n y m α,β c α,β x n+α y m+β α,β (C) c α,β x k y l { n + α = pk + r (C) m + β = pl + r = β = α + p(l k) + n m Bostan, Christol, Dumas Fast Computation of Algebraic Series 41st ISSAC 18 / 24

44 Only a small part of B = b p 1 is enough p = 11 p = 109 Bostan, Christol, Dumas Fast Computation of Algebraic Series 41st ISSAC 19 / 24

45 Improved precomputation B(x/t, t) = α,β c α,β x α t β α = δ π δ (x)t δ Bostan, Christol, Dumas Fast Computation of Algebraic Series 41st ISSAC 20 / 24

46 Improved precomputation B(x/t, t) = α,β c α,β x α t β α = δ π δ (x)t δ Frobenius B(x/t, t) = b(x/t, t) p 1 b(x/t, t)p = b(x/t, t) = 1 b(x/t, t) b(xp /t p, t p ) Bostan, Christol, Dumas Fast Computation of Algebraic Series 41st ISSAC 20 / 24

47 Improved precomputation B(x/t, t) = α,β c α,β x α t β α = δ π δ (x)t δ B(x/t, t) = b(x/t, t) p 1 = b(x/t, t)p b(x/t, t) = 1 b(x/t, t) b(xp /t p, t p ) 1 b(x/t, t) = u c u (x)t u rational series Bostan, Christol, Dumas Fast Computation of Algebraic Series 41st ISSAC 20 / 24

48 Improved precomputation B(x/t, t) = α,β c α,β x α t β α = δ π δ (x)t δ B(x/t, t) = b(x/t, t) p 1 = b(x/t, t)p b(x/t, t) = 1 b(x/t, t) b(xp /t p, t p ) 1 b(x/t, t) = u c u (x)t u b(x p /t p, t p ) = v b v(x p )t pv rational series for free Bostan, Christol, Dumas Fast Computation of Algebraic Series 41st ISSAC 20 / 24

49 Improved precomputation B(x/t, t) = α,β c α,β x α t β α = δ π δ (x)t δ B(x/t, t) = b(x/t, t) p 1 = b(x/t, t)p b(x/t, t) = 1 b(x/t, t) b(xp /t p, t p ) 1 b(x/t, t) = u c u (x)t u b(x p /t p, t p ) = v b v(x p )t pv rational series for free π δ (x) = c u (x)b v (x p ) u+pv=δ Bostan, Christol, Dumas Fast Computation of Algebraic Series 41st ISSAC 20 / 24

50 Improved precomputation δ = β α = intercept of the strips with the vertical axis big leaps from one strip to the next Õ(p): Kronecker substitution FFT Newton iteration Bostan, Christol, Dumas Fast Computation of Algebraic Series 41st ISSAC 21 / 24

51 Main result Theorem Let E be in F p [x, y] h,d satisfy E(0, 0) = 0 and E y (0, 0) 0, and let f F p [[x]] be its unique root with f(0) = 0. One can compute the coefficient f N of f in operations in F p. Õ(h(d + h) 5 p) + O(h 2 (d + h) 2 log p N) Bostan, Christol, Dumas Fast Computation of Algebraic Series 41st ISSAC 22 / 24

52 Timings Maple implementation; timings on Intel Core i5, 2.8 GHz, 3MB. running time for N in s. (log scale) p = 9001 d = N (log-log scale) log running time(n) = log log N + C Bostan, Christol, Dumas Fast Computation of Algebraic Series 41st ISSAC 23 / 24

53 Timings Maple implementation; timings on Intel Core i5, 2.8 GHz, 3MB. running time for N in s. (log scale) p = 9001 d = N (log-log scale) log running time(n) = log log N + C running time(n) = K log N Bostan, Christol, Dumas Fast Computation of Algebraic Series 41st ISSAC 23 / 24

54 Timings Maple implementation; timings on Intel Core i5, 2.8 GHz, 3MB. running time for N in s. (log scale) p = 9001 d = N (log-log scale) precomputation time for p in s.(log scale) p (log scale) running time(n) = K log N precomputation time(p) = Kp Bostan, Christol, Dumas Fast Computation of Algebraic Series 41st ISSAC 23 / 24

55 Timings Maple implementation; timings on Intel Core i5, 2.8 GHz, 3MB. running time for N in s. (log scale) p = 9001 d = N (log-log scale) precomputation time for p in s.(log scale) d = p (log scale) running time(n) = K log N precomputation time(p) = Kp log p Bostan, Christol, Dumas Fast Computation of Algebraic Series 41st ISSAC 23 / 24

56 Timings Maple implementation; timings on Intel Core i5, 2.8 GHz, 3MB. running time for N in s. (log scale) p = 9001 d = N (log-log scale) precomputation time for p in s.(log scale) d = p (log scale) O(log N) Õ(p) Bostan, Christol, Dumas Fast Computation of Algebraic Series 41st ISSAC 23 / 24

57 Theorem Let E be in F p [x, y] h,d satisfy E(0, 0) = 0 and E y (0, 0) 0, and let f F p [[x]] be its unique root with f(0) = 0. One can compute the coefficient f N of f in operations in F p. Õ(h(d + h) 5 p) + O(h 2 (d + h) 2 log p N) Thanks for your attention! Bostan, Christol, Dumas Fast Computation of Algebraic Series 41st ISSAC 24 / 24

Diagonals and Walks. Alin Bostan 1 Louis Dumont 1 Bruno Salvy 2. November 4, Introduction Diagonals Walks. 1 INRIA, SpecFun.

Diagonals and Walks. Alin Bostan 1 Louis Dumont 1 Bruno Salvy 2. November 4, Introduction Diagonals Walks. 1 INRIA, SpecFun. and Alin Bostan 1 Louis Dumont 1 Bruno Salvy 2 1 INRIA, SpecFun 2 INRIA, AriC November 4, 2014 1/16 Louis Dumont and 2/16 Louis Dumont and Motivations In combinatorics: Lattice walks w i,j : number of

More information

On the N th linear complexity of p-automatic sequences over F p

On the N th linear complexity of p-automatic sequences over F p On the N th linear complexity of p-automatic sequences over F p László Mérai and Arne Winterhof Johann Radon Institute for Computational and Applied Mathematics Austrian Academy of Sciences Altenbergerstr.

More information

Algorithmic Tools for the Asymptotics of Diagonals

Algorithmic Tools for the Asymptotics of Diagonals Algorithmic Tools for the Asymptotics of Diagonals Bruno Salvy Inria & ENS de Lyon Lattice walks at the Interface of Algebra, Analysis and Combinatorics September 19, 2017 Asymptotics & Univariate Generating

More information

Diagonals: Combinatorics, Asymptotics and Computer Algebra

Diagonals: Combinatorics, Asymptotics and Computer Algebra Diagonals: Combinatorics, Asymptotics and Computer Algebra Bruno Salvy Inria & ENS de Lyon Families of Generating Functions (a n ) 7! A(z) := X n 0 a n z n counts the number of objects of size n captures

More information

Algorithmic Tools for the Asymptotics of Linear Recurrences

Algorithmic Tools for the Asymptotics of Linear Recurrences Algorithmic Tools for the Asymptotics of Linear Recurrences Bruno Salvy Inria & ENS de Lyon Computer Algebra in Combinatorics, Schrödinger Institute, Vienna, Nov. 2017 Motivation p 0 (n)a n+k + + p k (n)a

More information

arxiv: v3 [math.nt] 15 Mar 2017

arxiv: v3 [math.nt] 15 Mar 2017 Noname manuscript No. (will be inserted by the editor) On a two-valued sequence and related continued fractions in power series fields Bill Allombert, Nicolas Brisebarre and Alain Lasjaunias arxiv:1607.07235v3

More information

Algorithmic Tools for the Asymptotics of Linear Recurrences

Algorithmic Tools for the Asymptotics of Linear Recurrences Algorithmic Tools for the Asymptotics of Linear Recurrences Bruno Salvy Inria & ENS de Lyon aaacuxicbvhlbtraejw1r2beg+aghxhrsgitvjycahkhcc7cskqsibs2vunxez3jpjyznsli+rf4bq7wbfwknz6f8torzenli5wqutvtxvklhcmo+juirl2/cfpwxu3wzt179x8mnx9+cqa2hkbcsgmpm+zacg1tfcjhsllavcbhidt+3+khn8e6yfq+litifvtouqjo0fpz4epelmacmfmvbkzgpnfwes2hw9ekwhw9cujzslxz9ofeb0li7nxz8dxjda8vaossotelowrthlkuxeibjhih/m96gwwtijzhqcixbjtxevdtmnqoksap2qjmhmqmwkxn2cpds0eeymlhrh8a6yr9d6rhyrmlynynyli6da0j/6fnaixep43qvy2geb+oqcvfq7tt0vxy4cixhjbuhbdcecks4+gpgiywnjxyoxtt+yveftkurjby1kzq19wcksgxfx1/m/3sef2o/q5rucybdln2pk1pxjyvctd9lapqmhbugrxfjtf7cdp0g52v0ccyr+d1fuxftt5m4j2f5dvs1wz5qp6r5yqm22shfcc7zeo4+uk+ke/kr/a2yiiyoopbg8h5zcnyqql3bxdu3c8=

More information

Automata and Number Theory

Automata and Number Theory PROCEEDINGS OF THE ROMAN NUMBER THEORY ASSOCIATION Volume, Number, March 26, pages 23 27 Christian Mauduit Automata and Number Theory written by Valerio Dose Many natural questions in number theory arise

More information

On Newton-Raphson iteration for multiplicative inverses modulo prime powers

On Newton-Raphson iteration for multiplicative inverses modulo prime powers On Newton-Raphson iteration for multiplicative inverses modulo prime powers Jean-Guillaume Dumas To cite this version: Jean-Guillaume Dumas. On Newton-Raphson iteration for multiplicative inverses modulo

More information

Congruences for algebraic sequences

Congruences for algebraic sequences Congruences for algebraic sequences Eric Rowland 1 Reem Yassawi 2 1 Université du Québec à Montréal 2 Trent University 2013 September 27 Eric Rowland (UQAM) Congruences for algebraic sequences 2013 September

More information

Computing Characteristic Polynomials of Matrices of Structured Polynomials

Computing Characteristic Polynomials of Matrices of Structured Polynomials Computing Characteristic Polynomials of Matrices of Structured Polynomials Marshall Law and Michael Monagan Department of Mathematics Simon Fraser University Burnaby, British Columbia, Canada mylaw@sfu.ca

More information

arxiv: v1 [cs.sc] 15 Oct 2015

arxiv: v1 [cs.sc] 15 Oct 2015 ALGEBRAIC DIAGONALS AND WALKS: ALGORITHMS, BOUNDS, COMPLEXITY ALIN BOSTAN, LOUIS DUMONT, AND BRUNO SALVY arxiv:1510.04526v1 [cs.sc] 15 Oct 2015 Abstract. The diagonal of a multivariate power series F is

More information

Intro to Rings, Fields, Polynomials: Hardware Modeling by Modulo Arithmetic

Intro to Rings, Fields, Polynomials: Hardware Modeling by Modulo Arithmetic Intro to Rings, Fields, Polynomials: Hardware Modeling by Modulo Arithmetic Priyank Kalla Associate Professor Electrical and Computer Engineering, University of Utah kalla@ece.utah.edu http://www.ece.utah.edu/~kalla

More information

Arturo Carpi 1 and Cristiano Maggi 2

Arturo Carpi 1 and Cristiano Maggi 2 Theoretical Informatics and Applications Theoret. Informatics Appl. 35 (2001) 513 524 ON SYNCHRONIZED SEQUENCES AND THEIR SEPARATORS Arturo Carpi 1 and Cristiano Maggi 2 Abstract. We introduce the notion

More information

A New Algorithm to Compute Terms in Special Types of Characteristic Sequences

A New Algorithm to Compute Terms in Special Types of Characteristic Sequences A New Algorithm to Compute Terms in Special Types of Characteristic Sequences Kenneth J. Giuliani 1 and Guang Gong 2 1 Dept. of Mathematical and Computational Sciences University of Toronto at Mississauga

More information

Mathematical Olympiad Training Polynomials

Mathematical Olympiad Training Polynomials Mathematical Olympiad Training Polynomials Definition A polynomial over a ring R(Z, Q, R, C) in x is an expression of the form p(x) = a n x n + a n 1 x n 1 + + a 1 x + a 0, a i R, for 0 i n. If a n 0,

More information

Congruences for combinatorial sequences

Congruences for combinatorial sequences Congruences for combinatorial sequences Eric Rowland Reem Yassawi 2014 February 12 Eric Rowland Congruences for combinatorial sequences 2014 February 12 1 / 36 Outline 1 Algebraic sequences 2 Automatic

More information

Public-key Cryptography: Theory and Practice

Public-key Cryptography: Theory and Practice Public-key Cryptography Theory and Practice Department of Computer Science and Engineering Indian Institute of Technology Kharagpur Chapter 2: Mathematical Concepts Divisibility Congruence Quadratic Residues

More information

Regular Sequences. Eric Rowland. School of Computer Science University of Waterloo, Ontario, Canada. September 5 & 8, 2011

Regular Sequences. Eric Rowland. School of Computer Science University of Waterloo, Ontario, Canada. September 5 & 8, 2011 Regular Sequences Eric Rowland School of Computer Science University of Waterloo, Ontario, Canada September 5 & 8, 2011 Eric Rowland (University of Waterloo) Regular Sequences September 5 & 8, 2011 1 /

More information

Linear Differential Equations as a Data-Structure

Linear Differential Equations as a Data-Structure Linear Differential Equations as a Data-Structure Bruno Salvy Inria & ENS de Lyon FoCM, July 14, 2017 Computer Algebra Effective mathematics: what can we compute exactly? And complexity: how fast? (also,

More information

Lecture I: Introduction to Tropical Geometry David Speyer

Lecture I: Introduction to Tropical Geometry David Speyer Lecture I: Introduction to Tropical Geometry David Speyer The field of Puiseux series C[[t]] is the ring of formal power series a 0 + a 1 t + and C((t)) is the field of formal Laurent series: a N t N +

More information

Exact Arithmetic on a Computer

Exact Arithmetic on a Computer Exact Arithmetic on a Computer Symbolic Computation and Computer Algebra William J. Turner Department of Mathematics & Computer Science Wabash College Crawfordsville, IN 47933 Tuesday 21 September 2010

More information

Computing L-series of geometrically hyperelliptic curves of genus three. David Harvey, Maike Massierer, Andrew V. Sutherland

Computing L-series of geometrically hyperelliptic curves of genus three. David Harvey, Maike Massierer, Andrew V. Sutherland Computing L-series of geometrically hyperelliptic curves of genus three David Harvey, Maike Massierer, Andrew V. Sutherland The zeta function Let C/Q be a smooth projective curve of genus 3 p be a prime

More information

Chapter 6: Rational Expr., Eq., and Functions Lecture notes Math 1010

Chapter 6: Rational Expr., Eq., and Functions Lecture notes Math 1010 Section 6.1: Rational Expressions and Functions Definition of a rational expression Let u and v be polynomials. The algebraic expression u v is a rational expression. The domain of this rational expression

More information

Arithmétique et Cryptographie Asymétrique

Arithmétique et Cryptographie Asymétrique Arithmétique et Cryptographie Asymétrique Laurent Imbert CNRS, LIRMM, Université Montpellier 2 Journée d inauguration groupe Sécurité 23 mars 2010 This talk is about public-key cryptography Why did mathematicians

More information

Change of Ordering for Regular Chains in Positive Dimension

Change of Ordering for Regular Chains in Positive Dimension Change of Ordering for Regular Chains in Positive Dimension X. Dahan, X. Jin, M. Moreno Maza, É. Schost University of Western Ontario, London, Ontario, Canada. École polytechnique, 91128 Palaiseau, France.

More information

arithmetic properties of weighted catalan numbers

arithmetic properties of weighted catalan numbers arithmetic properties of weighted catalan numbers Jason Chen Mentor: Dmitry Kubrak May 20, 2017 MIT PRIMES Conference background: catalan numbers Definition The Catalan numbers are the sequence of integers

More information

NOTES IN COMMUTATIVE ALGEBRA: PART 2

NOTES IN COMMUTATIVE ALGEBRA: PART 2 NOTES IN COMMUTATIVE ALGEBRA: PART 2 KELLER VANDEBOGERT 1. Completion of a Ring/Module Here we shall consider two seemingly different constructions for the completion of a module and show that indeed they

More information

Towards High Performance Multivariate Factorization. Michael Monagan. This is joint work with Baris Tuncer.

Towards High Performance Multivariate Factorization. Michael Monagan. This is joint work with Baris Tuncer. Towards High Performance Multivariate Factorization Michael Monagan Center for Experimental and Constructive Mathematics Simon Fraser University British Columbia This is joint work with Baris Tuncer. To

More information

INTRODUCTION TO LIE ALGEBRAS. LECTURE 1.

INTRODUCTION TO LIE ALGEBRAS. LECTURE 1. INTRODUCTION TO LIE ALGEBRAS. LECTURE 1. 1. Algebras. Derivations. Definition of Lie algebra 1.1. Algebras. Let k be a field. An algebra over k (or k-algebra) is a vector space A endowed with a bilinear

More information

1. Let r, s, t, v be the homogeneous relations defined on the set M = {2, 3, 4, 5, 6} by

1. Let r, s, t, v be the homogeneous relations defined on the set M = {2, 3, 4, 5, 6} by Seminar 1 1. Which ones of the usual symbols of addition, subtraction, multiplication and division define an operation (composition law) on the numerical sets N, Z, Q, R, C? 2. Let A = {a 1, a 2, a 3 }.

More information

NON-REGULARITY OF α + log k n. Eric S. Rowland Mathematics Department, Tulane University, New Orleans, LA

NON-REGULARITY OF α + log k n. Eric S. Rowland Mathematics Department, Tulane University, New Orleans, LA #A03 INTEGERS 0 (200), 9-23 NON-REGULARITY OF α + log k n Eric S. Rowland Mathematics Department, Tulane University, New Orleans, LA erowland@tulane.edu Received: 6/2/09, Revised: 0//09, Accepted: //09,

More information

Towards High Performance Multivariate Factorization. Michael Monagan. This is joint work with Baris Tuncer.

Towards High Performance Multivariate Factorization. Michael Monagan. This is joint work with Baris Tuncer. Towards High Performance Multivariate Factorization Michael Monagan Center for Experimental and Constructive Mathematics Simon Fraser University British Columbia This is joint work with Baris Tuncer. The

More information

Multiplication of Polynomials

Multiplication of Polynomials Summary 391 Chapter 5 SUMMARY Section 5.1 A polynomial in x is defined by a finite sum of terms of the form ax n, where a is a real number and n is a whole number. a is the coefficient of the term. n is

More information

Binomial coefficients and k-regular sequences

Binomial coefficients and k-regular sequences Binomial coefficients and k-regular sequences Eric Rowland Hofstra University New York Combinatorics Seminar CUNY Graduate Center, 2017 12 22 Eric Rowland Binomial coefficients and k-regular sequences

More information

Computing the Monodromy Group of a Plane Algebraic Curve Using a New Numerical-modular Newton-Puiseux Algorithm

Computing the Monodromy Group of a Plane Algebraic Curve Using a New Numerical-modular Newton-Puiseux Algorithm Computing the Monodromy Group of a Plane Algebraic Curve Using a New Numerical-modular Newton-Puiseux Algorithm Poteaux Adrien XLIM-DMI UMR CNRS 6172 Université de Limoges, France SNC'07 University of

More information

SCORE BOOSTER JAMB PREPARATION SERIES II

SCORE BOOSTER JAMB PREPARATION SERIES II BOOST YOUR JAMB SCORE WITH PAST Polynomials QUESTIONS Part II ALGEBRA by H. O. Aliu J. K. Adewole, PhD (Editor) 1) If 9x 2 + 6xy + 4y 2 is a factor of 27x 3 8y 3, find the other factor. (UTME 2014) 3x

More information

Fast Polynomial Multiplication

Fast Polynomial Multiplication Fast Polynomial Multiplication Marc Moreno Maza CS 9652, October 4, 2017 Plan Primitive roots of unity The discrete Fourier transform Convolution of polynomials The fast Fourier transform Fast convolution

More information

Solving Sparse Rational Linear Systems. Pascal Giorgi. University of Waterloo (Canada) / University of Perpignan (France) joint work with

Solving Sparse Rational Linear Systems. Pascal Giorgi. University of Waterloo (Canada) / University of Perpignan (France) joint work with Solving Sparse Rational Linear Systems Pascal Giorgi University of Waterloo (Canada) / University of Perpignan (France) joint work with A. Storjohann, M. Giesbrecht (University of Waterloo), W. Eberly

More information

Transcendence and the CarlitzGoss Gamma Function

Transcendence and the CarlitzGoss Gamma Function ournal of number theory 63, 396402 (1997) article no. NT972104 Transcendence and the CarlitzGoss Gamma Function Michel Mende s France* and Jia-yan Yao - De partement de Mathe matiques, Universite Bordeaux

More information

SOLUTIONS FOR PROBLEMS 1-30

SOLUTIONS FOR PROBLEMS 1-30 . Answer: 5 Evaluate x x + 9 for x SOLUTIONS FOR PROBLEMS - 0 When substituting x in x be sure to do the exponent before the multiplication by to get (). + 9 5 + When multiplying ( ) so that ( 7) ( ).

More information

Sect Polynomial and Rational Inequalities

Sect Polynomial and Rational Inequalities 158 Sect 10.2 - Polynomial and Rational Inequalities Concept #1 Solving Inequalities Graphically Definition A Quadratic Inequality is an inequality that can be written in one of the following forms: ax

More information

WRONSKIANS AND LINEAR INDEPENDENCE... f (n 1)

WRONSKIANS AND LINEAR INDEPENDENCE... f (n 1) WRONSKIANS AND LINEAR INDEPENDENCE ALIN BOSTAN AND PHILIPPE DUMAS Abstract We give a new and simple proof of the fact that a finite family of analytic functions has a zero Wronskian only if it is linearly

More information

Functions and Equations

Functions and Equations Canadian Mathematics Competition An activity of the Centre for Education in Mathematics and Computing, University of Waterloo, Waterloo, Ontario Euclid eworkshop # Functions and Equations c 006 CANADIAN

More information

Polynomial evaluation and interpolation on special sets of points

Polynomial evaluation and interpolation on special sets of points Polynomial evaluation and interpolation on special sets of points Alin Bostan and Éric Schost Laboratoire STIX, École polytechnique, 91128 Palaiseau, France Abstract We give complexity estimates for the

More information

correlated to the Washington D.C. Public Schools Learning Standards Algebra II

correlated to the Washington D.C. Public Schools Learning Standards Algebra II correlated to the Washington D.C. Public Schools Learning Standards Algebra II McDougal Littell Algebra 2 2007 correlated to the Washington DC Public Schools Learning Standards Algebra II NUMBER SENSE

More information

TEST CODE: MMA (Objective type) 2015 SYLLABUS

TEST CODE: MMA (Objective type) 2015 SYLLABUS TEST CODE: MMA (Objective type) 2015 SYLLABUS Analytical Reasoning Algebra Arithmetic, geometric and harmonic progression. Continued fractions. Elementary combinatorics: Permutations and combinations,

More information

On a Homoclinic Group that is not Isomorphic to the Character Group *

On a Homoclinic Group that is not Isomorphic to the Character Group * QUALITATIVE THEORY OF DYNAMICAL SYSTEMS, 1 6 () ARTICLE NO. HA-00000 On a Homoclinic Group that is not Isomorphic to the Character Group * Alex Clark University of North Texas Department of Mathematics

More information

Prentice Hall Mathematics, Algebra Correlated to: Achieve American Diploma Project Algebra II End-of-Course Exam Content Standards

Prentice Hall Mathematics, Algebra Correlated to: Achieve American Diploma Project Algebra II End-of-Course Exam Content Standards Core: Operations on Numbers and Expressions Priority: 15% Successful students will be able to perform operations with rational, real, and complex numbers, using both numeric and algebraic expressions,

More information

Dense Arithmetic over Finite Fields with CUMODP

Dense Arithmetic over Finite Fields with CUMODP Dense Arithmetic over Finite Fields with CUMODP Sardar Anisul Haque 1 Xin Li 2 Farnam Mansouri 1 Marc Moreno Maza 1 Wei Pan 3 Ning Xie 1 1 University of Western Ontario, Canada 2 Universidad Carlos III,

More information

QUARTIC POWER SERIES IN F 3 ((T 1 )) WITH BOUNDED PARTIAL QUOTIENTS. Alain Lasjaunias

QUARTIC POWER SERIES IN F 3 ((T 1 )) WITH BOUNDED PARTIAL QUOTIENTS. Alain Lasjaunias QUARTIC POWER SERIES IN F 3 ((T 1 )) WITH BOUNDED PARTIAL QUOTIENTS Alain Lasjaunias 1991 Mathematics Subject Classification: 11J61, 11J70. 1. Introduction. We are concerned with diophantine approximation

More information

Algebra Review 2. 1 Fields. A field is an extension of the concept of a group.

Algebra Review 2. 1 Fields. A field is an extension of the concept of a group. Algebra Review 2 1 Fields A field is an extension of the concept of a group. Definition 1. A field (F, +,, 0 F, 1 F ) is a set F together with two binary operations (+, ) on F such that the following conditions

More information

Modern Computer Algebra

Modern Computer Algebra Modern Computer Algebra JOACHIM VON ZUR GATHEN and JURGEN GERHARD Universitat Paderborn CAMBRIDGE UNIVERSITY PRESS Contents Introduction 1 1 Cyclohexane, cryptography, codes, and computer algebra 9 1.1

More information

Math 192r, Problem Set #3: Solutions

Math 192r, Problem Set #3: Solutions Math 192r Problem Set #3: Solutions 1. Let F n be the nth Fibonacci number as Wilf indexes them (with F 0 F 1 1 F 2 2 etc.). Give a simple homogeneous linear recurrence relation satisfied by the sequence

More information

Bon anniversaire Marc!

Bon anniversaire Marc! Bon anniversaire Marc! The full counting function of Gessel walks is algebraic Alin Bostan (INRIA) joint work with Manuel Kauers (INRIA/RISC) Journées GECKO/TERA 2008 Context: restricted lattice walks

More information

MTH310 EXAM 2 REVIEW

MTH310 EXAM 2 REVIEW MTH310 EXAM 2 REVIEW SA LI 4.1 Polynomial Arithmetic and the Division Algorithm A. Polynomial Arithmetic *Polynomial Rings If R is a ring, then there exists a ring T containing an element x that is not

More information

Fast reversion of formal power series

Fast reversion of formal power series Fast reversion of formal power series Fredrik Johansson LFANT, INRIA Bordeaux RAIM, 2016-06-29, Banyuls-sur-mer 1 / 30 Reversion of power series F = exp(x) 1 = x + x 2 2! + x 3 3! + x 4 G = log(1 + x)

More information

over a field F with char F 2: we define

over a field F with char F 2: we define Chapter 3 Involutions In this chapter, we define the standard involution (also called conjugation) on a quaternion algebra. In this way, we characterize division quaternion algebras as noncommutative division

More information

MIT Algebraic techniques and semidefinite optimization February 16, Lecture 4

MIT Algebraic techniques and semidefinite optimization February 16, Lecture 4 MIT 6.972 Algebraic techniques and semidefinite optimization February 16, 2006 Lecture 4 Lecturer: Pablo A. Parrilo Scribe: Pablo A. Parrilo In this lecture we will review some basic elements of abstract

More information

8.3 Partial Fraction Decomposition

8.3 Partial Fraction Decomposition 8.3 partial fraction decomposition 575 8.3 Partial Fraction Decomposition Rational functions (polynomials divided by polynomials) and their integrals play important roles in mathematics and applications,

More information

An introduction to the algorithmic of p-adic numbers

An introduction to the algorithmic of p-adic numbers An introduction to the algorithmic of p-adic numbers David Lubicz 1 1 Universté de Rennes 1, Campus de Beaulieu, 35042 Rennes Cedex, France Outline Introduction 1 Introduction 2 3 4 5 6 7 8 When do we

More information

Finite Fields. Mike Reiter

Finite Fields. Mike Reiter 1 Finite Fields Mike Reiter reiter@cs.unc.edu Based on Chapter 4 of: W. Stallings. Cryptography and Network Security, Principles and Practices. 3 rd Edition, 2003. Groups 2 A group G, is a set G of elements

More information

The Berlekamp algorithm

The Berlekamp algorithm The Berlekamp algorithm John Kerl University of Arizona Department of Mathematics 29 Integration Workshop August 6, 29 Abstract Integer factorization is a Hard Problem. Some cryptosystems, such as RSA,

More information

ABSTRACT NONSINGULAR CURVES

ABSTRACT NONSINGULAR CURVES ABSTRACT NONSINGULAR CURVES Affine Varieties Notation. Let k be a field, such as the rational numbers Q or the complex numbers C. We call affine n-space the collection A n k of points P = a 1, a,..., a

More information

Symbolic-Numeric Tools for Multivariate Asymptotics

Symbolic-Numeric Tools for Multivariate Asymptotics Symbolic-Numeric Tools for Multivariate Asymptotics Bruno Salvy Joint work with Stephen Melczer to appear in Proc. ISSAC 2016 FastRelax meeting May 25, 2016 Combinatorics, Randomness and Analysis From

More information

Hankel Matrices for the Period-Doubling Sequence

Hankel Matrices for the Period-Doubling Sequence Hankel Matrices for the Period-Doubling Sequence arxiv:1511.06569v1 [math.co 20 Nov 2015 Robbert J. Fokkink and Cor Kraaikamp Applied Mathematics TU Delft Mekelweg 4 2628 CD Delft Netherlands r.j.fokkink@ewi.tudelft.nl

More information

Calcul d indice et courbes algébriques : de meilleures récoltes

Calcul d indice et courbes algébriques : de meilleures récoltes Calcul d indice et courbes algébriques : de meilleures récoltes Alexandre Wallet ENS de Lyon, Laboratoire LIP, Equipe AriC Alexandre Wallet De meilleures récoltes dans le calcul d indice 1 / 35 Today:

More information

Computing with polynomials: Hensel constructions

Computing with polynomials: Hensel constructions Course Polynomials: Their Power and How to Use Them, JASS 07 Computing with polynomials: Hensel constructions Lukas Bulwahn March 28, 2007 Abstract To solve GCD calculations and factorization of polynomials

More information

Fast computation of normal forms of polynomial matrices

Fast computation of normal forms of polynomial matrices 1/25 Fast computation of normal forms of polynomial matrices Vincent Neiger Inria AriC, École Normale Supérieure de Lyon, France University of Waterloo, Ontario, Canada Partially supported by the mobility

More information

Algebraic function fields

Algebraic function fields Algebraic function fields 1 Places Definition An algebraic function field F/K of one variable over K is an extension field F K such that F is a finite algebraic extension of K(x) for some element x F which

More information

arxiv:math/ v1 [math.co] 8 Aug 2003

arxiv:math/ v1 [math.co] 8 Aug 2003 CANTORIAN TABLEAUX AND PERMANENTS SREČKO BRLEK, MICHEL MENDÈS FRANCE, JOHN MICHAEL ROBSON, AND MARTIN RUBEY arxiv:math/0308081v1 [math.co] 8 Aug 2003 Abstract. This article could be called theme and variations

More information

P-adic numbers. Rich Schwartz. October 24, 2014

P-adic numbers. Rich Schwartz. October 24, 2014 P-adic numbers Rich Schwartz October 24, 2014 1 The Arithmetic of Remainders In class we have talked a fair amount about doing arithmetic with remainders and now I m going to explain what it means in a

More information

Symbolic-Algebraic Methods for Linear Partial Differential Operators (LPDOs) RISC Research Institute for Symbolic Computation

Symbolic-Algebraic Methods for Linear Partial Differential Operators (LPDOs) RISC Research Institute for Symbolic Computation Symbolic-Algebraic Methods for Linear Partial Differential Operators (LPDOs) Franz Winkler joint with Ekaterina Shemyakova RISC Research Institute for Symbolic Computation Johannes Kepler Universität.

More information

Course MA2C02, Hilary Term 2013 Section 9: Introduction to Number Theory and Cryptography

Course MA2C02, Hilary Term 2013 Section 9: Introduction to Number Theory and Cryptography Course MA2C02, Hilary Term 2013 Section 9: Introduction to Number Theory and Cryptography David R. Wilkins Copyright c David R. Wilkins 2000 2013 Contents 9 Introduction to Number Theory 63 9.1 Subgroups

More information

Solution of Matrix Eigenvalue Problem

Solution of Matrix Eigenvalue Problem Outlines October 12, 2004 Outlines Part I: Review of Previous Lecture Part II: Review of Previous Lecture Outlines Part I: Review of Previous Lecture Part II: Standard Matrix Eigenvalue Problem Other Forms

More information

Course 311: Michaelmas Term 2005 Part III: Topics in Commutative Algebra

Course 311: Michaelmas Term 2005 Part III: Topics in Commutative Algebra Course 311: Michaelmas Term 2005 Part III: Topics in Commutative Algebra D. R. Wilkins Contents 3 Topics in Commutative Algebra 2 3.1 Rings and Fields......................... 2 3.2 Ideals...............................

More information

MA257: INTRODUCTION TO NUMBER THEORY LECTURE NOTES

MA257: INTRODUCTION TO NUMBER THEORY LECTURE NOTES MA257: INTRODUCTION TO NUMBER THEORY LECTURE NOTES 2018 57 5. p-adic Numbers 5.1. Motivating examples. We all know that 2 is irrational, so that 2 is not a square in the rational field Q, but that we can

More information

IMPLICIT FUNCTION THEOREM FOR FORMAL POWER SERIES

IMPLICIT FUNCTION THEOREM FOR FORMAL POWER SERIES #A9 INTEGERS 8A (208) IMPLICIT FUNCTION THEOREM FOR FORMAL POWER SERIES ining Hu School of Matheatics and Statistics, Huazhong University of Science and Technology, Wuhan, PR China huyining@protonail.co

More information

Basic elements of number theory

Basic elements of number theory Cryptography Basic elements of number theory Marius Zimand By default all the variables, such as a, b, k, etc., denote integer numbers. Divisibility a 0 divides b if b = a k for some integer k. Notation

More information

Basic elements of number theory

Basic elements of number theory Cryptography Basic elements of number theory Marius Zimand 1 Divisibility, prime numbers By default all the variables, such as a, b, k, etc., denote integer numbers. Divisibility a 0 divides b if b = a

More information

Algebra 1 Khan Academy Video Correlations By SpringBoard Activity and Learning Target

Algebra 1 Khan Academy Video Correlations By SpringBoard Activity and Learning Target Algebra 1 Khan Academy Video Correlations By SpringBoard Activity and Learning Target SB Activity Activity 1 Investigating Patterns 1-1 Learning Targets: Identify patterns in data. Use tables, graphs,

More information

Coding Theory ( Mathematical Background I)

Coding Theory ( Mathematical Background I) N.L.Manev, Lectures on Coding Theory (Maths I) p. 1/18 Coding Theory ( Mathematical Background I) Lector: Nikolai L. Manev Institute of Mathematics and Informatics, Sofia, Bulgaria N.L.Manev, Lectures

More information

SQUARE ROOTS OF 2x2 MATRICES 1. Sam Northshield SUNY-Plattsburgh

SQUARE ROOTS OF 2x2 MATRICES 1. Sam Northshield SUNY-Plattsburgh SQUARE ROOTS OF x MATRICES Sam Northshield SUNY-Plattsburgh INTRODUCTION A B What is the square root of a matrix such as? It is not, in general, A B C D C D This is easy to see since the upper left entry

More information

Smooth morphisms. Peter Bruin 21 February 2007

Smooth morphisms. Peter Bruin 21 February 2007 Smooth morphisms Peter Bruin 21 February 2007 Introduction The goal of this talk is to define smooth morphisms of schemes, which are one of the main ingredients in Néron s fundamental theorem [BLR, 1.3,

More information

CS 4424 GCD, XGCD

CS 4424 GCD, XGCD CS 4424 GCD, XGCD eschost@uwo.ca GCD of polynomials First definition Let A and B be in k[x]. k[x] is the ring of polynomials with coefficients in k A Greatest Common Divisor of A and B is a polynomial

More information

Algebra 1. Correlated to the Texas Essential Knowledge and Skills. TEKS Units Lessons

Algebra 1. Correlated to the Texas Essential Knowledge and Skills. TEKS Units Lessons Algebra 1 Correlated to the Texas Essential Knowledge and Skills TEKS Units Lessons A1.1 Mathematical Process Standards The student uses mathematical processes to acquire and demonstrate mathematical understanding.

More information

Fast reversion of power series

Fast reversion of power series Fast reversion of power series Fredrik Johansson November 2011 Overview Fast power series arithmetic Fast composition and reversion (Brent and Kung, 1978) A new algorithm for reversion Implementation results

More information

A SURPRISING FACT ABOUT D-MODULES IN CHARACTERISTIC p > Introduction

A SURPRISING FACT ABOUT D-MODULES IN CHARACTERISTIC p > Introduction A SUPISING FACT ABOUT D-MODULES IN CHAACTEISTIC p > 0 JOSEP ÀLVAEZ MONTANE AND GENNADY LYUBEZNIK Abstract. Let = k[x,..., x d ] be the polynomial ring in d independent variables, where k is a field of

More information

ALLEN PARK HIGH SCHOOL F i r s t S e m e s t e r A s s e s s m e n t R e v i e w

ALLEN PARK HIGH SCHOOL F i r s t S e m e s t e r A s s e s s m e n t R e v i e w Algebra First Semester Assessment Review Winter 0 ALLEN PARK HIGH SCHOOL F i r s t S e m e s t e r A s s e s s m e n t R e v i e w A lgeb ra Page Winter 0 Mr. Brown Algebra First Semester Assessment Review

More information

Advanced code-based cryptography. Daniel J. Bernstein University of Illinois at Chicago & Technische Universiteit Eindhoven

Advanced code-based cryptography. Daniel J. Bernstein University of Illinois at Chicago & Technische Universiteit Eindhoven Advanced code-based cryptography Daniel J. Bernstein University of Illinois at Chicago & Technische Universiteit Eindhoven Lattice-basis reduction Define L = (0; 24)Z + (1; 17)Z = {(b; 24a + 17b) : a;

More information

GENERATION OF RANDOM PICARD CURVES FOR CRYPTOGRAPHY. 1. Introduction

GENERATION OF RANDOM PICARD CURVES FOR CRYPTOGRAPHY. 1. Introduction GENERATION OF RANDOM PICARD CURVES FOR CRYPTOGRAPHY ANNEGRET WENG Abstract. Combining the ideas in [BTW] [GS], we give a efficient, low memory algorithm for computing the number of points on the Jacobian

More information

Divisibility Sequences for Elliptic Curves with Complex Multiplication

Divisibility Sequences for Elliptic Curves with Complex Multiplication Divisibility Sequences for Elliptic Curves with Complex Multiplication Master s thesis, Universiteit Utrecht supervisor: Gunther Cornelissen Universiteit Leiden Journées Arithmétiques, Edinburgh, July

More information

2. If the discriminant of a quadratic equation is zero, then there (A) are 2 imaginary roots (B) is 1 rational root

2. If the discriminant of a quadratic equation is zero, then there (A) are 2 imaginary roots (B) is 1 rational root Academic Algebra II 1 st Semester Exam Mr. Pleacher Name I. Multiple Choice 1. Which is the solution of x 1 3x + 7? (A) x -4 (B) x 4 (C) x -4 (D) x 4. If the discriminant of a quadratic equation is zero,

More information

Algorithms for exact (dense) linear algebra

Algorithms for exact (dense) linear algebra Algorithms for exact (dense) linear algebra Gilles Villard CNRS, Laboratoire LIP ENS Lyon Montagnac-Montpezat, June 3, 2005 Introduction Problem: Study of complexity estimates for basic problems in exact

More information

Algebra vocabulary CARD SETS Frame Clip Art by Pixels & Ice Cream

Algebra vocabulary CARD SETS Frame Clip Art by Pixels & Ice Cream Algebra vocabulary CARD SETS 1-7 www.lisatilmon.blogspot.com Frame Clip Art by Pixels & Ice Cream Algebra vocabulary Game Materials: one deck of Who has cards Objective: to match Who has words with definitions

More information

Toward High Performance Matrix Multiplication for Exact Computation

Toward High Performance Matrix Multiplication for Exact Computation Toward High Performance Matrix Multiplication for Exact Computation Pascal Giorgi Joint work with Romain Lebreton (U. Waterloo) Funded by the French ANR project HPAC Séminaire CASYS - LJK, April 2014 Motivations

More information

arxiv: v5 [cs.sc] 15 May 2018

arxiv: v5 [cs.sc] 15 May 2018 On Newton-Raphson iteration for multiplicative inverses modulo prime powers arxiv:109.666v5 [cs.sc] 15 May 018 Jean-Guillaume Dumas May 16, 018 Abstract We study algorithms for the fast computation of

More information

SYMMETRY AND SPECIALIZABILITY IN THE CONTINUED FRACTION EXPANSIONS OF SOME INFINITE PRODUCTS

SYMMETRY AND SPECIALIZABILITY IN THE CONTINUED FRACTION EXPANSIONS OF SOME INFINITE PRODUCTS SYMMETRY AND SPECIALIZABILITY IN THE CONTINUED FRACTION EXPANSIONS OF SOME INFINITE PRODUCTS J MC LAUGHLIN Abstract Let fx Z[x] Set f 0x = x and for n 1 define f nx = ff n 1x We describe several infinite

More information

Linear recurrences with polynomial coefficients and application to integer factorization and Cartier-Manin operator

Linear recurrences with polynomial coefficients and application to integer factorization and Cartier-Manin operator Linear recurrences with polynomial coefficients and application to integer factorization and Cartier-Manin operator Alin Bostan, Pierrick Gaudry, Éric Schost September 12, 2006 Abstract We study the complexity

More information

1 h 9 e $ s i n t h e o r y, a p p l i c a t i a n

1 h 9 e $ s i n t h e o r y, a p p l i c a t i a n T : 99 9 \ E \ : \ 4 7 8 \ \ \ \ - \ \ T \ \ \ : \ 99 9 T : 99-9 9 E : 4 7 8 / T V 9 \ E \ \ : 4 \ 7 8 / T \ V \ 9 T - w - - V w w - T w w \ T \ \ \ w \ w \ - \ w \ \ w \ \ \ T \ w \ w \ w \ w \ \ w \

More information