Details

Time bar (total: 20.2s)

sample82.0ms

Algorithm
intervals
Results
31.0ms58×body10240exit
16.0ms321×body80nan
15.0ms255×body80valid
3.0msbody5120valid

simplify5.8s

Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
079
1139
2229
3459
41109
52709
612029
742189
done50009

prune3.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 0.3b

localize9.0ms

Local error

Found 3 expressions with local error:

0.0b
(pow (sqrt (atan2 b b)) (- b a))
0.3b
(sin (pow (sqrt (atan2 b b)) (- b a)))
1.0b
(sqrt (atan2 b b))

rewrite15.0ms

Algorithm
rewrite-expression-head
Rules
16×add-sqr-sqrt
15×*-un-lft-identity
13×add-cube-cbrt
11×unpow-prod-up
prod-diff
pow1 unpow-prod-down sqrt-prod
pow-unpow
add-exp-log
expm1-log1p-u pow-pow add-cbrt-cube log1p-expm1-u add-log-exp
sqrt-pow1 pow1/2
pow-to-exp sub-neg rem-sqrt-square pow-exp sqrt-pow2 distribute-lft-out-- pow-sub difference-of-squares sqr-pow
Counts
3 → 63
Calls
3 calls:
5.0ms
(pow (sqrt (atan2 b b)) (- b a))
7.0ms
(sin (pow (sqrt (atan2 b b)) (- b a)))
1.0ms
(sqrt (atan2 b b))

series106.0ms

Counts
3 → 9
Calls
3 calls:
26.0ms
(pow (sqrt (atan2 b b)) (- b a))
68.0ms
(sin (pow (sqrt (atan2 b b)) (- b a)))
11.0ms
(sqrt (atan2 b b))

simplify2.2s

Counts
72 → 72
Iterations

Useful iterations: 3 (428.0ms)

IterNodesCost
0117962
1260840
2702748
32398710
done5001710

prune166.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 0.2b

localize12.0ms

Local error

Found 4 expressions with local error:

0.0b
(* (pow (sqrt (sqrt (atan2 b b))) (- b a)) (pow (sqrt (sqrt (atan2 b b))) (- b a)))
0.3b
(sin (* (pow (sqrt (sqrt (atan2 b b))) (- b a)) (pow (sqrt (sqrt (atan2 b b))) (- b a))))
1.0b
(sqrt (atan2 b b))
1.0b
(sqrt (atan2 b b))

rewrite67.0ms

Algorithm
rewrite-expression-head
Rules
100×add-sqr-sqrt
84×sqrt-prod
78×unpow-prod-down
48×unpow-prod-up
46×add-cube-cbrt *-un-lft-identity
36×prod-diff
32×swap-sqr
25×unswap-sqr
24×associate-*r* associate-*l*
16×add-exp-log
14×sqr-pow
prod-exp
pow1 pow-to-exp sub-neg pow-exp add-cbrt-cube
expm1-log1p-u log1p-expm1-u pow-sub add-log-exp
rem-sqrt-square sqrt-pow1 pow1/2
pow2 frac-times associate-*r/ pow-prod-down associate-*l/ pow-sqr *-commutative pow-prod-up cbrt-unprod
Counts
4 → 171
Calls
4 calls:
45.0ms
(* (pow (sqrt (sqrt (atan2 b b))) (- b a)) (pow (sqrt (sqrt (atan2 b b))) (- b a)))
9.0ms
(sin (* (pow (sqrt (sqrt (atan2 b b))) (- b a)) (pow (sqrt (sqrt (atan2 b b))) (- b a))))
1.0ms
(sqrt (atan2 b b))
1.0ms
(sqrt (atan2 b b))

series201.0ms

Counts
4 → 12
Calls
4 calls:
44.0ms
(* (pow (sqrt (sqrt (atan2 b b))) (- b a)) (pow (sqrt (sqrt (atan2 b b))) (- b a)))
124.0ms
(sin (* (pow (sqrt (sqrt (atan2 b b))) (- b a)) (pow (sqrt (sqrt (atan2 b b))) (- b a))))
15.0ms
(sqrt (atan2 b b))
17.0ms
(sqrt (atan2 b b))

simplify2.0s

Counts
183 → 183
Iterations

Useful iterations: 2 (177.0ms)

IterNodesCost
02094894
14623407
217973064
done50003064

prune461.0ms

Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 0.2b

localize15.0ms

Local error

Found 4 expressions with local error:

0.0b
(cbrt (pow (sin (pow (sqrt (sqrt (atan2 b b))) (* 2 (- b a)))) 3))
0.0b
(pow (sin (pow (sqrt (sqrt (atan2 b b))) (* 2 (- b a)))) 3)
0.3b
(sin (pow (sqrt (sqrt (atan2 b b))) (* 2 (- b a))))
1.0b
(sqrt (atan2 b b))

rewrite46.0ms

Algorithm
rewrite-expression-head
Rules
12×cbrt-prod add-sqr-sqrt
11×add-cube-cbrt *-un-lft-identity
pow1 unpow-prod-down cube-prod
add-exp-log add-cbrt-cube
expm1-log1p-u log1p-expm1-u add-log-exp
pow-unpow sqrt-prod
cube-mult unpow3 sqr-pow
pow-to-exp rem-sqrt-square pow-pow sqrt-pow1 pow1/2 pow1/3 pow-exp rem-cbrt-cube rem-cube-cbrt
Counts
4 → 72
Calls
4 calls:
14.0ms
(cbrt (pow (sin (pow (sqrt (sqrt (atan2 b b))) (* 2 (- b a)))) 3))
16.0ms
(pow (sin (pow (sqrt (sqrt (atan2 b b))) (* 2 (- b a)))) 3)
13.0ms
(sin (pow (sqrt (sqrt (atan2 b b))) (* 2 (- b a))))
1.0ms
(sqrt (atan2 b b))

series390.0ms

Counts
4 → 12
Calls
4 calls:
82.0ms
(cbrt (pow (sin (pow (sqrt (sqrt (atan2 b b))) (* 2 (- b a)))) 3))
173.0ms
(pow (sin (pow (sqrt (sqrt (atan2 b b))) (* 2 (- b a)))) 3)
122.0ms
(sin (pow (sqrt (sqrt (atan2 b b))) (* 2 (- b a))))
13.0ms
(sqrt (atan2 b b))

simplify2.9s

Counts
84 → 84
Iterations

Useful iterations: done (2.9s)

IterNodesCost
01071571
12321363
27641216
344231168
done50001164

prune240.0ms

Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 0.2b

localize18.0ms

Local error

Found 4 expressions with local error:

0.0b
(cbrt (pow (sin (pow (sqrt (sqrt (atan2 b b))) (* 2 (- b a)))) 3))
0.0b
(pow (sin (pow (sqrt (sqrt (atan2 b b))) (* 2 (- b a)))) 3)
0.3b
(sin (pow (sqrt (sqrt (atan2 b b))) (* 2 (- b a))))
1.0b
(sqrt (atan2 b b))

rewrite43.0ms

Algorithm
rewrite-expression-head
Rules
12×cbrt-prod add-sqr-sqrt
11×add-cube-cbrt *-un-lft-identity
pow1 unpow-prod-down cube-prod
add-exp-log add-cbrt-cube
expm1-log1p-u log1p-expm1-u add-log-exp
pow-unpow sqrt-prod
cube-mult unpow3 sqr-pow
pow-to-exp rem-sqrt-square pow-pow sqrt-pow1 pow1/2 pow1/3 pow-exp rem-cbrt-cube rem-cube-cbrt
Counts
4 → 72
Calls
4 calls:
13.0ms
(cbrt (pow (sin (pow (sqrt (sqrt (atan2 b b))) (* 2 (- b a)))) 3))
14.0ms
(pow (sin (pow (sqrt (sqrt (atan2 b b))) (* 2 (- b a)))) 3)
13.0ms
(sin (pow (sqrt (sqrt (atan2 b b))) (* 2 (- b a))))
1.0ms
(sqrt (atan2 b b))

series313.0ms

Counts
4 → 12
Calls
4 calls:
76.0ms
(cbrt (pow (sin (pow (sqrt (sqrt (atan2 b b))) (* 2 (- b a)))) 3))
147.0ms
(pow (sin (pow (sqrt (sqrt (atan2 b b))) (* 2 (- b a)))) 3)
78.0ms
(sin (pow (sqrt (sqrt (atan2 b b))) (* 2 (- b a))))
11.0ms
(sqrt (atan2 b b))

simplify2.6s

Counts
84 → 84
Iterations

Useful iterations: done (2.6s)

IterNodesCost
01071571
12321363
27641216
344231168
done50001164

prune246.0ms

Pruning

4 alts after pruning (2 fresh and 2 done)

Merged error: 0.2b

regimes48.0ms

Accuracy

0% (0.0b remaining)

Error of 0.1b against oracle of 0.0b and baseline of 0.1b

bsearch0.0ms

simplify1.0ms

Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0920
done920

end0.0ms

sample2.2s

Algorithm
intervals
Results
849.0ms1866×body10240exit
502.0ms10105×body80nan
477.0ms7995×body80valid
7.0msbody5120valid
0.0msbody640valid
0.0msbody320valid
0.0msbody160valid