Details

Time bar (total: 4.0s)

sample75.0ms

Algorithm
intervals
Results
28.0ms80×body10240exit
16.0ms360×body80nan
14.0ms256×body80valid

simplify51.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0135
1225
2445
31145
43215
516275
650015

prune3.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 0.0b

localize9.0ms

Local error

Found 3 expressions with local error:

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

rewrite14.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
(sin (pow (sqrt (atan2 b b)) (- b a)))
6.0ms
(pow (sqrt (atan2 b b)) (- b a))
2.0ms
(sqrt (atan2 b b))

series92.0ms

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

simplify73.0ms

Algorithm
egg-herbie
Counts
72 → 72
Iterations

Useful iterations: 3 (67.0ms)

IterNodesCost
0255514
1714433
22702425
35002408

prune154.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 0.0b

localize12.0ms

Local error

Found 4 expressions with local error:

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

rewrite23.0ms

Algorithm
rewrite-expression-head
Rules
32×add-sqr-sqrt
30×*-un-lft-identity
26×add-cube-cbrt
24×sqrt-prod
22×unpow-prod-up
18×unpow-prod-down prod-diff
12×pow1
10×pow-unpow pow-pow sqrt-pow1
add-exp-log pow1/2
expm1-log1p-u add-cbrt-cube log1p-expm1-u add-log-exp
pow-to-exp sub-neg rem-sqrt-square pow-exp sqrt-pow2 distribute-lft-out-- pow-sub difference-of-squares sqr-pow
Counts
4 → 118
Calls
4 calls:
7.0ms
(pow (sqrt (sqrt (atan2 b b))) (- b a))
7.0ms
(pow (sqrt (sqrt (atan2 b b))) (- b a))
1.0ms
(sqrt (atan2 b b))
2.0ms
(sqrt (atan2 b b))

series76.0ms

Counts
4 → 12
Calls
4 calls:
28.0ms
(pow (sqrt (sqrt (atan2 b b))) (- b a))
27.0ms
(pow (sqrt (sqrt (atan2 b b))) (- b a))
10.0ms
(sqrt (atan2 b b))
11.0ms
(sqrt (atan2 b b))

simplify81.0ms

Algorithm
egg-herbie
Counts
130 → 130
Iterations

Useful iterations: 3 (71.0ms)

IterNodesCost
02641026
1731882
22885870
35002838

prune308.0ms

Pruning

2 alts after pruning (1 fresh and 1 done)

Merged error: 0.0b

localize18.0ms

Local error

Found 4 expressions with local error:

0.0b
(pow (sqrt (sqrt (atan2 b b))) (- b a))
0.0b
(cbrt (pow (pow (sqrt (sqrt (atan2 b b))) (- b a)) 3))
1.0b
(sqrt (atan2 b b))
1.0b
(sqrt (atan2 b b))

rewrite25.0ms

Algorithm
rewrite-expression-head
Rules
54×cbrt-prod
51×unpow-prod-down
41×add-sqr-sqrt
39×*-un-lft-identity
37×add-cube-cbrt
33×unpow-prod-up sqrt-prod
27×prod-diff
24×cube-prod
pow1
sqrt-pow1
add-exp-log pow-unpow pow-pow
expm1-log1p-u pow1/2 add-cbrt-cube log1p-expm1-u add-log-exp sqr-pow
sub-neg
rem-sqrt-square pow-sub
cube-div cube-mult pow-to-exp cbrt-div pow1/3 unpow3 pow-exp sqrt-pow2 rem-cbrt-cube distribute-lft-out-- difference-of-squares
Counts
4 → 140
Calls
4 calls:
7.0ms
(pow (sqrt (sqrt (atan2 b b))) (- b a))
10.0ms
(cbrt (pow (pow (sqrt (sqrt (atan2 b b))) (- b a)) 3))
2.0ms
(sqrt (atan2 b b))
2.0ms
(sqrt (atan2 b b))

series80.0ms

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

simplify45.0ms

Algorithm
egg-herbie
Counts
152 → 152
Iterations

Useful iterations: 2 (32.0ms)

IterNodesCost
04981436
116781241
250011232

prune354.0ms

Pruning

2 alts after pruning (1 fresh and 1 done)

Merged error: 0.0b

localize17.0ms

Local error

Found 4 expressions with local error:

0.5b
(cbrt (pow (pow (sqrt (sqrt (atan2 b b))) (- b a)) 3/2))
1.0b
(sqrt (atan2 b b))
1.0b
(sqrt (atan2 b b))
1.0b
(sqrt (atan2 b b))

rewrite16.0ms

Algorithm
rewrite-expression-head
Rules
33×unpow-prod-down
28×cbrt-prod
21×add-sqr-sqrt
18×add-cube-cbrt *-un-lft-identity sqrt-prod
11×unpow-prod-up
prod-diff
pow1
add-exp-log expm1-log1p-u add-cbrt-cube log1p-expm1-u add-log-exp
rem-sqrt-square sqrt-pow1 pow1/2
sqr-pow
sub-neg pow1/3
Counts
4 → 83
Calls
4 calls:
8.0ms
(cbrt (pow (pow (sqrt (sqrt (atan2 b b))) (- b a)) 3/2))
2.0ms
(sqrt (atan2 b b))
2.0ms
(sqrt (atan2 b b))
2.0ms
(sqrt (atan2 b b))

series79.0ms

Counts
4 → 12
Calls
4 calls:
48.0ms
(cbrt (pow (pow (sqrt (sqrt (atan2 b b))) (- b a)) 3/2))
10.0ms
(sqrt (atan2 b b))
10.0ms
(sqrt (atan2 b b))
11.0ms
(sqrt (atan2 b b))

simplify68.0ms

Algorithm
egg-herbie
Counts
95 → 95
Iterations

Useful iterations: 3 (60.0ms)

IterNodesCost
0361785
1779700
22494693
35001669

prune328.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 0.0b

regimes39.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
02339
12339

end0.0ms

sample2.0s

Algorithm
intervals
Results
806.0ms1824×body10240exit
446.0ms7990×body80valid
374.0ms9775×body80nan
6.0msbody5120valid
1.0msbody2560valid
1.0msbody320valid
0.0msbody160valid
0.0msbody640valid