Details

Time bar (total: 3.7s)

sample72.0ms

Algorithm
intervals
Results
27.0ms80×body10240exit
15.0ms360×body80nan
14.0ms256×body80valid

simplify51.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0135
1225
2445
31145
43155
516095
650015

prune3.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 0.0b

localize8.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))

rewrite11.0ms

Algorithm
rewrite-expression-head
Rules
10×add-sqr-sqrt
*-un-lft-identity
add-cube-cbrt
pow1 unpow-prod-down sqrt-prod
pow-unpow
add-exp-log
pow-pow add-cbrt-cube add-log-exp
unpow-prod-up 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 → 48
Calls
3 calls:
3.0ms
(sin (pow (sqrt (atan2 b b)) (- b a)))
5.0ms
(pow (sqrt (atan2 b b)) (- b a))
2.0ms
(sqrt (atan2 b b))

series89.0ms

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

simplify46.0ms

Algorithm
egg-herbie
Counts
57 → 57
Iterations

Useful iterations: 3 (41.0ms)

IterNodesCost
0148324
1412298
21345292
35001290

prune124.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 0.0b

localize11.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))

rewrite17.0ms

Algorithm
rewrite-expression-head
Rules
24×sqrt-prod
20×add-sqr-sqrt
18×unpow-prod-down *-un-lft-identity
14×add-cube-cbrt
12×pow1
10×pow-unpow pow-pow sqrt-pow1
add-exp-log pow1/2
unpow-prod-up add-cbrt-cube 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 → 92
Calls
4 calls:
6.0ms
(pow (sqrt (sqrt (atan2 b b))) (- b a))
6.0ms
(pow (sqrt (sqrt (atan2 b b))) (- b a))
1.0ms
(sqrt (atan2 b b))
2.0ms
(sqrt (atan2 b b))

series77.0ms

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

simplify50.0ms

Algorithm
egg-herbie
Counts
104 → 104
Iterations

Useful iterations: 3 (42.0ms)

IterNodesCost
0160630
1454596
21640588
35002584

prune251.0ms

Pruning

2 alts after pruning (1 fresh and 1 done)

Merged error: 0.0b

localize13.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))

rewrite19.0ms

Algorithm
rewrite-expression-head
Rules
42×unpow-prod-down
36×cbrt-prod
33×sqrt-prod
23×add-sqr-sqrt
21×*-un-lft-identity
19×add-cube-cbrt
15×cube-prod
pow1
unpow-prod-up sqrt-pow1
add-exp-log pow-unpow pow-pow
pow1/2 add-cbrt-cube 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 → 105
Calls
4 calls:
6.0ms
(pow (sqrt (sqrt (atan2 b b))) (- b a))
7.0ms
(cbrt (pow (pow (sqrt (sqrt (atan2 b b))) (- b a)) 3))
1.0ms
(sqrt (atan2 b b))
2.0ms
(sqrt (atan2 b b))

series76.0ms

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

simplify93.0ms

Algorithm
egg-herbie
Counts
117 → 117
Iterations

Useful iterations: 2 (25.0ms)

IterNodesCost
0309860
11090829
23922821
35001821

prune278.0ms

Pruning

2 alts after pruning (1 fresh and 1 done)

Merged error: 0.0b

localize16.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))

rewrite13.0ms

Algorithm
rewrite-expression-head
Rules
24×unpow-prod-down
19×cbrt-prod
18×sqrt-prod
15×add-sqr-sqrt
12×add-cube-cbrt *-un-lft-identity
pow1
add-exp-log add-cbrt-cube add-log-exp
rem-sqrt-square sqrt-pow1 pow1/2
unpow-prod-up sqr-pow
sub-neg pow1/3
Counts
4 → 66
Calls
4 calls:
6.0ms
(cbrt (pow (pow (sqrt (sqrt (atan2 b b))) (- b a)) 3/2))
1.0ms
(sqrt (atan2 b b))
2.0ms
(sqrt (atan2 b b))
1.0ms
(sqrt (atan2 b b))

series75.0ms

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

simplify45.0ms

Algorithm
egg-herbie
Counts
78 → 78
Iterations

Useful iterations: 3 (38.0ms)

IterNodesCost
0207535
1416505
21291497
35001492

prune264.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 0.0b

regimes38.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

sample1.9s

Algorithm
intervals
Results
782.0ms1824×body10240exit
447.0ms7990×body80valid
350.0ms9775×body80nan
6.0msbody5120valid
1.0msbody2560valid
1.0msbody320valid
0.0msbody160valid
0.0msbody640valid