Details

Time bar (total: 33.8s)

sample404.0ms

Algorithm
intervals
Results
212.0ms93×body1280valid
53.0ms56×body640valid
14.0ms71×body80valid
12.0ms20×body320valid
10.0ms16×body160valid

simplify5.2s

Counts
1 → 1
Iterations

Useful iterations: 0 (3.0ms)

IterNodesCost
01316
12316
23516
36416
413616
531116
6101916
7422316
done500116

prune18.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 12.5b

localize41.0ms

Local error

Found 4 expressions with local error:

0.2b
(/ (sin ky) (sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0))))
0.3b
(pow (sin kx) 2.0)
0.3b
(pow (sin ky) 2.0)
4.3b
(sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))

rewrite132.0ms

Algorithm
rewrite-expression-head
Rules
46×*-un-lft-identity
27×add-sqr-sqrt
26×add-cube-cbrt
25×sqrt-prod
24×times-frac
16×unpow-prod-down
10×distribute-lft-out
add-exp-log associate-/r*
pow1
pow-unpow add-cbrt-cube
sqrt-div add-log-exp
associate-/l*
pow-to-exp pow-pow flip3-+ pow-exp associate-/r/ flip-+ sqr-pow
cbrt-undiv rem-sqrt-square frac-2neg sqrt-pow1 pow1/2 div-exp clear-num div-inv
Counts
4 → 100
Calls
4 calls:
72.0ms
(/ (sin ky) (sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0))))
4.0ms
(pow (sin kx) 2.0)
4.0ms
(pow (sin ky) 2.0)
45.0ms
(sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))

series679.0ms

Counts
4 → 12
Calls
4 calls:
195.0ms
(/ (sin ky) (sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0))))
182.0ms
(pow (sin kx) 2.0)
183.0ms
(pow (sin ky) 2.0)
119.0ms
(sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))

simplify1.9s

Counts
112 → 112
Iterations

Useful iterations: 2 (249.0ms)

IterNodesCost
01701738
13281556
27941503
324191503
done50001503

prune618.0ms

Pruning

18 alts after pruning (18 fresh and 0 done)

Merged error: 10.7b

localize31.0ms

Local error

Found 4 expressions with local error:

0.3b
(pow (sin kx) 2)
0.3b
(pow (sin ky) 2)
0.3b
(* (sqrt (/ 1 (+ (pow (sin kx) 2) (pow (sin ky) 2)))) (sin ky))
4.4b
(sqrt (/ 1 (+ (pow (sin kx) 2) (pow (sin ky) 2))))

rewrite249.0ms

Algorithm
rewrite-expression-head
Rules
54×*-un-lft-identity
45×sqrt-prod
41×add-sqr-sqrt
34×times-frac
28×add-cube-cbrt
24×associate-*l*
18×unpow-prod-down
12×distribute-lft-out
10×pow1
add-exp-log
pow-unpow add-cbrt-cube
associate-/r/ add-log-exp unswap-sqr
rem-sqrt-square sqrt-pow1 associate-*r*
pow-to-exp pow-pow flip3-+ sqrt-div pow-exp flip-+ div-inv unpow2 sqr-pow
pow-flip pow1/2 pow-prod-down associate-*l/ prod-exp *-commutative cbrt-unprod inv-pow
Counts
4 → 115
Calls
4 calls:
8.0ms
(pow (sin kx) 2)
8.0ms
(pow (sin ky) 2)
169.0ms
(* (sqrt (/ 1 (+ (pow (sin kx) 2) (pow (sin ky) 2)))) (sin ky))
54.0ms
(sqrt (/ 1 (+ (pow (sin kx) 2) (pow (sin ky) 2))))

series383.0ms

Counts
4 → 12
Calls
4 calls:
37.0ms
(pow (sin kx) 2)
21.0ms
(pow (sin ky) 2)
183.0ms
(* (sqrt (/ 1 (+ (pow (sin kx) 2) (pow (sin ky) 2)))) (sin ky))
143.0ms
(sqrt (/ 1 (+ (pow (sin kx) 2) (pow (sin ky) 2))))

simplify2.1s

Counts
127 → 127
Iterations

Useful iterations: 3 (849.0ms)

IterNodesCost
01901895
13581664
27941563
323611555
done50001555

prune683.0ms

Pruning

20 alts after pruning (20 fresh and 0 done)

Merged error: 10.7b

localize40.0ms

Local error

Found 4 expressions with local error:

0.3b
(* (/ 1 (sqrt (sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0))))) (/ (sin ky) (sqrt (sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0))))))
0.4b
(/ (sin ky) (sqrt (sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))))
4.3b
(sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))
4.3b
(sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))

rewrite442.0ms

Algorithm
rewrite-expression-head
Rules
185×sqrt-prod
163×add-sqr-sqrt
144×times-frac
132×*-un-lft-identity
72×add-cube-cbrt
39×associate-*r* associate-*l*
28×add-exp-log unswap-sqr
24×unpow-prod-down distribute-lft-out
18×add-cbrt-cube
16×sqrt-div
11×associate-/r*
div-exp
pow1 prod-exp
associate-/r/
cbrt-undiv flip3-+ flip-+
cbrt-unprod add-log-exp
div-inv associate-/l*
rem-sqrt-square rec-exp sqrt-pow1 pow1/2 1-exp
frac-times frac-2neg associate-*r/ pow-prod-down associate-*l/ clear-num *-commutative
Counts
4 → 225
Calls
4 calls:
249.0ms
(* (/ 1 (sqrt (sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0))))) (/ (sin ky) (sqrt (sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0))))))
84.0ms
(/ (sin ky) (sqrt (sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))))
37.0ms
(sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))
51.0ms
(sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))

series700.0ms

Counts
4 → 12
Calls
4 calls:
176.0ms
(* (/ 1 (sqrt (sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0))))) (/ (sin ky) (sqrt (sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0))))))
236.0ms
(/ (sin ky) (sqrt (sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))))
134.0ms
(sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))
153.0ms
(sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))

simplify2.7s

Counts
237 → 237
Iterations

Useful iterations: done (2.7s)

IterNodesCost
02597250
16296550
218105634
done50005632

prune1.3s

Pruning

20 alts after pruning (20 fresh and 0 done)

Merged error: 10.7b

localize54.0ms

Local error

Found 4 expressions with local error:

0.3b
(/ (sqrt (sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))) (sin ky))
0.3b
(* (/ 1 (sqrt (sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0))))) (/ 1 (/ (sqrt (sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))) (sin ky))))
4.3b
(sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))
4.3b
(sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))

rewrite589.0ms

Algorithm
rewrite-expression-head
Rules
428×times-frac
377×add-sqr-sqrt
314×sqrt-prod
279×*-un-lft-identity
152×add-cube-cbrt
116×associate-*r*
89×add-exp-log
63×unswap-sqr
43×div-exp
39×associate-*l*
36×unpow-prod-down distribute-lft-out
28×prod-exp
27×add-cbrt-cube
15×rec-exp 1-exp
12×sqrt-div
11×associate-/l*
10×pow1 cbrt-undiv
cbrt-unprod div-inv
flip3-+ flip-+ add-log-exp
pow-prod-down associate-/r* associate-/r/
rem-sqrt-square pow-flip sqrt-pow1 pow1/2 associate-/l/ inv-pow
frac-times frac-2neg associate-*r/ associate-*l/ clear-num un-div-inv *-commutative
Counts
4 → 362
Calls
4 calls:
82.0ms
(/ (sqrt (sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))) (sin ky))
404.0ms
(* (/ 1 (sqrt (sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0))))) (/ 1 (/ (sqrt (sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))) (sin ky))))
40.0ms
(sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))
29.0ms
(sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))

series571.0ms

Counts
4 → 12
Calls
4 calls:
188.0ms
(/ (sqrt (sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))) (sin ky))
185.0ms
(* (/ 1 (sqrt (sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0))))) (/ 1 (/ (sqrt (sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))) (sin ky))))
94.0ms
(sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))
103.0ms
(sqrt (+ (pow (sin kx) 2.0) (pow (sin ky) 2.0)))

simplify3.0s

Counts
374 → 374
Iterations

Useful iterations: done (3.0s)

IterNodesCost
043813435
1116811570
2232210108
done50009914

prune1.5s

Pruning

20 alts after pruning (19 fresh and 1 done)

Merged error: 10.7b

regimes1.4s

Accuracy

68.1% (0.5b remaining)

Error of 11.4b against oracle of 10.9b and baseline of 12.5b

bsearch6.0ms

simplify4.0ms

Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
02859
13559
done3559

end0.0ms

sample9.0s

Algorithm
intervals
Results
5.2s2778×body1280valid
1.7s1749×body640valid
597.0ms804×body320valid
583.0ms380×body160valid
537.0ms2289×body80valid