Details

Time bar (total: 4.9s)

sample317.0ms

Algorithm
intervals
Results
16.0ms47×body10240exit
15.0ms295×body80nan
14.0ms256×body80valid

simplify56.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.0b

localize10.0ms

Local error

Found 2 expressions with local error:

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

rewrite10.0ms

Algorithm
rewrite-expression-head
Rules
15×add-sqr-sqrt
14×*-un-lft-identity
12×add-cube-cbrt
11×unpow-prod-up
prod-diff
unpow-prod-down sqrt-prod
pow1 pow-unpow
add-exp-log pow-pow
expm1-log1p-u sqrt-pow1 pow1/2 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
2 → 54
Calls
2 calls:
5.0ms
(pow (sqrt (atan2 b b)) (- b a))
3.0ms
(sqrt (atan2 b b))

series50.0ms

Counts
2 → 6
Calls
2 calls:
33.0ms
(pow (sqrt (atan2 b b)) (- b a))
17.0ms
(sqrt (atan2 b b))

simplify64.0ms

Algorithm
egg-herbie
Counts
60 → 60
Iterations

Useful iterations: 3 (58.0ms)

IterNodesCost
0224417
1632348
22275345
35001329

prune119.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)) (pow (sqrt (sqrt (atan2 b b))) (- b a)))
1.0b
(sqrt (atan2 b b))
1.0b
(sqrt (atan2 b b))

rewrite60.0ms

Algorithm
rewrite-expression-head
Rules
112×add-sqr-sqrt
93×sqrt-prod
87×unpow-prod-down
59×unpow-prod-up
58×*-un-lft-identity
56×add-cube-cbrt
45×prod-diff
32×swap-sqr
25×unswap-sqr
24×associate-*r* associate-*l*
17×add-exp-log
15×sqr-pow
pow1 prod-exp
pow-to-exp sub-neg pow-exp
sqrt-pow1 add-cbrt-cube
pow-unpow pow-pow pow-sub
expm1-log1p-u pow1/2 log1p-expm1-u add-log-exp
rem-sqrt-square
pow2 frac-times associate-*r/ pow-prod-down associate-*l/ pow-sqr *-commutative pow-prod-up sqrt-pow2 cbrt-unprod distribute-lft-out-- difference-of-squares
Counts
4 → 206
Calls
4 calls:
6.0ms
(pow (sqrt (sqrt (atan2 b b))) (- b a))
43.0ms
(* (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))

series89.0ms

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

simplify65.0ms

Algorithm
egg-herbie
Counts
218 → 218
Iterations

Useful iterations: 2 (44.0ms)

IterNodesCost
04612468
120322166
250022132

prune489.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 0.0b

localize18.0ms

Local error

Found 4 expressions with local error:

0.6b
(cbrt (- b a))
0.6b
(cbrt (- b a))
1.0b
(sqrt (atan2 b b))
1.0b
(sqrt (atan2 b b))

rewrite7.0ms

Algorithm
rewrite-expression-head
Rules
14×add-sqr-sqrt
12×*-un-lft-identity
10×cbrt-prod
add-cube-cbrt
pow1 sqrt-prod
add-exp-log expm1-log1p-u cbrt-div add-cbrt-cube log1p-expm1-u add-log-exp
rem-sqrt-square flip3-- sqrt-pow1 pow1/2 pow1/3 flip-- distribute-lft-out-- difference-of-squares
Counts
4 → 64
Calls
4 calls:
2.0ms
(cbrt (- b a))
2.0ms
(cbrt (- b a))
1.0ms
(sqrt (atan2 b b))
1.0ms
(sqrt (atan2 b b))

series319.0ms

Counts
4 → 12
Calls
4 calls:
148.0ms
(cbrt (- b a))
151.0ms
(cbrt (- b a))
10.0ms
(sqrt (atan2 b b))
10.0ms
(sqrt (atan2 b b))

simplify112.0ms

Algorithm
egg-herbie
Counts
76 → 76
Iterations

Useful iterations: 4 (107.0ms)

IterNodesCost
0169332
1352320
2962314
33198298
45002292

prune307.0ms

Pruning

2 alts after pruning (1 fresh and 1 done)

Merged error: 0.0b

localize26.0ms

Local error

Found 4 expressions with local error:

0.6b
(cbrt (* (cbrt (- b a)) (cbrt (- b a))))
0.6b
(cbrt (cbrt (- b a)))
1.0b
(sqrt (atan2 b b))
1.0b
(sqrt (atan2 b b))

rewrite13.0ms

Algorithm
rewrite-expression-head
Rules
24×cbrt-div
14×cbrt-prod
12×add-sqr-sqrt
10×*-un-lft-identity
add-cube-cbrt
flip3-- flip--
pow1 sqrt-prod
add-exp-log expm1-log1p-u frac-times add-cbrt-cube log1p-expm1-u add-log-exp
rem-sqrt-square sqrt-pow1 pow1/2 pow1/3 associate-*r/ associate-*l/
distribute-lft-out-- difference-of-squares
Counts
4 → 69
Calls
4 calls:
7.0ms
(cbrt (* (cbrt (- b a)) (cbrt (- b a))))
2.0ms
(cbrt (cbrt (- b a)))
1.0ms
(sqrt (atan2 b b))
1.0ms
(sqrt (atan2 b b))

series299.0ms

Counts
4 → 12
Calls
4 calls:
126.0ms
(cbrt (* (cbrt (- b a)) (cbrt (- b a))))
152.0ms
(cbrt (cbrt (- b a)))
10.0ms
(sqrt (atan2 b b))
11.0ms
(sqrt (atan2 b b))

simplify58.0ms

Algorithm
egg-herbie
Counts
81 → 81
Iterations

Useful iterations: 3 (51.0ms)

IterNodesCost
0270509
1631487
21972482
35002474

prune386.0ms

Pruning

2 alts after pruning (0 fresh and 2 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
01419
11419

end0.0ms

sample2.0s

Algorithm
intervals
Results
731.0ms1767×body10240exit
462.0ms9759×body80nan
436.0ms7992×body80valid
3.0msbody2560valid
3.0msbody5120valid
1.0msbody1280valid
1.0msbody320valid