Details

Time bar (total: 4.8s)

sample319.0ms

Algorithm
intervals
Results
22.0ms51×body10240exit
16.0ms255×body80valid
14.0ms306×body80nan
1.0msbody1280valid

simplify58.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0135
1225
2445
31145
43215
516275
650015

prune4.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 0.3b

localize11.0ms

Local error

Found 3 expressions with local error:

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

rewrite36.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:
8.0ms
(pow (sqrt (atan2 b b)) (- b a))
12.0ms
(sin (pow (sqrt (atan2 b b)) (- b a)))
4.0ms
(sqrt (atan2 b b))

series94.0ms

Counts
3 → 9
Calls
3 calls:
18.0ms
(pow (sqrt (atan2 b b)) (- b a))
57.0ms
(sin (pow (sqrt (atan2 b b)) (- b a)))
19.0ms
(sqrt (atan2 b b))

simplify82.0ms

Algorithm
egg-herbie
Counts
72 → 72
Iterations

Useful iterations: 3 (70.0ms)

IterNodesCost
0255514
1714433
22703425
35001408

prune149.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))
0.2b
(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))

rewrite42.0ms

Algorithm
rewrite-expression-head
Rules
20×add-sqr-sqrt
18×*-un-lft-identity
16×add-cube-cbrt
15×sqrt-prod
11×unpow-prod-up
pow1 unpow-prod-down prod-diff
sqrt-pow1
add-exp-log pow-unpow pow-pow
expm1-log1p-u pow1/2 add-cbrt-cube log1p-expm1-u add-log-exp
rem-sqrt-square
pow-to-exp sub-neg pow-exp sqrt-pow2 distribute-lft-out-- pow-sub difference-of-squares sqr-pow
Counts
4 → 83
Calls
4 calls:
9.0ms
(pow (sqrt (sqrt (atan2 b b))) (- b a))
27.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))

series129.0ms

Counts
4 → 12
Calls
4 calls:
28.0ms
(pow (sqrt (sqrt (atan2 b b))) (- b a))
79.0ms
(sin (* (pow (sqrt (sqrt (atan2 b b))) (- b a)) (pow (sqrt (sqrt (atan2 b b))) (- b a))))
10.0ms
(sqrt (atan2 b b))
12.0ms
(sqrt (atan2 b b))

simplify113.0ms

Algorithm
egg-herbie
Counts
95 → 95
Iterations

Useful iterations: 3 (106.0ms)

IterNodesCost
0308754
1921651
24085639
35001621

prune250.0ms

Pruning

3 alts after pruning (3 fresh and 0 done)

Merged error: 0.2b

localize14.0ms

Local error

Found 4 expressions with local error:

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

rewrite61.0ms

Algorithm
rewrite-expression-head
Rules
54×cbrt-prod
42×unpow-prod-down
29×add-sqr-sqrt
27×add-cube-cbrt *-un-lft-identity
24×cube-prod sqrt-prod
22×unpow-prod-up
18×prod-diff
pow1
add-exp-log expm1-log1p-u add-cbrt-cube log1p-expm1-u add-log-exp
sqr-pow
sub-neg rem-sqrt-square sqrt-pow1 pow1/2
cube-div cube-mult cbrt-div pow1/3 unpow3 rem-cbrt-cube pow-sub
Counts
4 → 105
Calls
4 calls:
39.0ms
(sin (* (pow (sqrt (sqrt (atan2 b b))) (- b a)) (cbrt (pow (pow (sqrt (sqrt (atan2 b b))) (- b a)) 3))))
14.0ms
(cbrt (pow (pow (sqrt (sqrt (atan2 b b))) (- b a)) 3))
1.0ms
(sqrt (atan2 b b))
1.0ms
(sqrt (atan2 b b))

series128.0ms

Counts
4 → 12
Calls
4 calls:
82.0ms
(sin (* (pow (sqrt (sqrt (atan2 b b))) (- b a)) (cbrt (pow (pow (sqrt (sqrt (atan2 b b))) (- b a)) 3))))
27.0ms
(cbrt (pow (pow (sqrt (sqrt (atan2 b b))) (- b a)) 3))
9.0ms
(sqrt (atan2 b b))
10.0ms
(sqrt (atan2 b b))

simplify47.0ms

Algorithm
egg-herbie
Counts
117 → 117
Iterations

Useful iterations: 2 (35.0ms)

IterNodesCost
04991200
116281037
250011031

prune280.0ms

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0.2b

localize17.0ms

Local error

Found 4 expressions with local error:

0.0b
(pow (sqrt (sqrt (atan2 b b))) (- b a))
0.1b
(pow (sqrt (sqrt (atan2 b b))) (sqrt (- b a)))
1.0b
(sqrt (atan2 b b))
1.0b
(sqrt (atan2 b b))

rewrite23.0ms

Algorithm
rewrite-expression-head
Rules
29×sqrt-prod
27×add-sqr-sqrt
25×*-un-lft-identity
21×add-cube-cbrt
18×unpow-prod-down
13×pow-unpow
12×pow1
11×unpow-prod-up
10×pow-pow sqrt-pow1
prod-diff
add-exp-log pow1/2
expm1-log1p-u add-cbrt-cube log1p-expm1-u add-log-exp
pow-to-exp rem-sqrt-square pow-exp sqrt-pow2 distribute-lft-out-- difference-of-squares sqr-pow
sub-neg pow-sub
Counts
4 → 109
Calls
4 calls:
9.0ms
(pow (sqrt (sqrt (atan2 b b))) (- b a))
8.0ms
(pow (sqrt (sqrt (atan2 b b))) (sqrt (- b a)))
1.0ms
(sqrt (atan2 b b))
1.0ms
(sqrt (atan2 b b))

series249.0ms

Counts
4 → 12
Calls
4 calls:
26.0ms
(pow (sqrt (sqrt (atan2 b b))) (- b a))
204.0ms
(pow (sqrt (sqrt (atan2 b b))) (sqrt (- b a)))
9.0ms
(sqrt (atan2 b b))
10.0ms
(sqrt (atan2 b b))

simplify44.0ms

Algorithm
egg-herbie
Counts
121 → 121
Iterations

Useful iterations: 2 (34.0ms)

IterNodesCost
0449989
11443883
25001842

prune346.0ms

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0.2b

regimes44.0ms

Accuracy

0% (0.0b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01314
11314

end0.0ms

sample2.2s

Algorithm
intervals
Results
779.0ms1896×body10240exit
490.0ms9745×body80nan
451.0ms7993×body80valid
3.0msbody5120valid
1.0msbody1280valid
1.0msbody2560valid
0.0msbody320valid
0.0msbody160valid