Details

Time bar (total: 5.9s)

sample334.0ms

Algorithm
intervals
Results
26.0ms52×body10240exit
20.0ms302×body80nan
18.0ms255×body80valid
0.0msbody320valid

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

localize10.0ms

Local error

Found 3 expressions with local error:

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

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

series103.0ms

Counts
3 → 9
Calls
3 calls:
25.0ms
(pow (sqrt (atan2 b b)) (- b a))
61.0ms
(sin (pow (sqrt (atan2 b b)) (- b a)))
17.0ms
(sqrt (atan2 b b))

simplify68.0ms

Algorithm
egg-herbie
Counts
72 → 72
Iterations

Useful iterations: 3 (62.0ms)

IterNodesCost
0255515
1727433
22663425
35001408

prune150.0ms

Pruning

3 alts after pruning (3 fresh and 0 done)

Merged error: 0.2b

localize9.0ms

Local error

Found 2 expressions with local error:

0.0b
(pow (atan2 b b) (/ (- b a) 2))
0.2b
(sin (pow (atan2 b b) (/ (- b a) 2)))

rewrite9.0ms

Algorithm
rewrite-expression-head
Rules
19×pow-unpow
18×add-sqr-sqrt *-un-lft-identity
15×times-frac
12×add-cube-cbrt
pow1 add-exp-log unpow-prod-down distribute-lft-out-- difference-of-squares
expm1-log1p-u add-cbrt-cube log1p-expm1-u add-log-exp
pow-to-exp pow-pow div-sub pow-exp div-inv pow-sub sqr-pow
Counts
2 → 45
Calls
2 calls:
4.0ms
(pow (atan2 b b) (/ (- b a) 2))
3.0ms
(sin (pow (atan2 b b) (/ (- b a) 2)))

series81.0ms

Counts
2 → 6
Calls
2 calls:
20.0ms
(pow (atan2 b b) (/ (- b a) 2))
61.0ms
(sin (pow (atan2 b b) (/ (- b a) 2)))

simplify75.0ms

Algorithm
egg-herbie
Counts
51 → 51
Iterations

Useful iterations: 3 (70.0ms)

IterNodesCost
0238341
1772323
23169307
35001304

prune131.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 0.2b

localize14.0ms

Local error

Found 4 expressions with local error:

0.5b
(* (cbrt (- b a)) (cbrt (- b a)))
0.6b
(cbrt (- b a))
0.6b
(cbrt (- b a))
0.6b
(cbrt (- b a))

rewrite30.0ms

Algorithm
rewrite-expression-head
Rules
43×cbrt-prod
37×add-sqr-sqrt
35×*-un-lft-identity
18×cbrt-div
15×add-cube-cbrt
11×pow1
10×swap-sqr
flip3-- pow1/3 flip-- distribute-lft-out--
associate-*r* associate-*l*
difference-of-squares
add-exp-log
expm1-log1p-u frac-times add-cbrt-cube log1p-expm1-u add-log-exp unswap-sqr
associate-*r/ pow-prod-down associate-*l/ pow-sqr pow-prod-up
pow2 pow-plus prod-exp *-commutative cbrt-unprod
Counts
4 → 109
Calls
4 calls:
20.0ms
(* (cbrt (- b a)) (cbrt (- b a)))
2.0ms
(cbrt (- b a))
2.0ms
(cbrt (- b a))
2.0ms
(cbrt (- b a))

series565.0ms

Counts
4 → 12
Calls
4 calls:
125.0ms
(* (cbrt (- b a)) (cbrt (- b a)))
143.0ms
(cbrt (- b a))
147.0ms
(cbrt (- b a))
149.0ms
(cbrt (- b a))

simplify159.0ms

Algorithm
egg-herbie
Counts
121 → 121
Iterations

Useful iterations: 3 (150.0ms)

IterNodesCost
0270790
1950753
24633700
35001694

prune407.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 0.2b

localize20.0ms

Local error

Found 4 expressions with local error:

0.6b
(cbrt (- b a))
0.6b
(cbrt (- b a))
0.6b
(cbrt (- b a))
3.0b
(expm1 (log1p (cbrt (- b a))))

rewrite8.0ms

Algorithm
rewrite-expression-head
Rules
15×cbrt-prod
13×add-sqr-sqrt *-un-lft-identity
add-cube-cbrt
cbrt-div
pow1 add-exp-log expm1-log1p-u add-cbrt-cube log1p-expm1-u add-log-exp
flip3-- pow1/3 flip-- distribute-lft-out-- difference-of-squares
expm1-log1p expm1-udef
Counts
4 → 62
Calls
4 calls:
2.0ms
(cbrt (- b a))
2.0ms
(cbrt (- b a))
2.0ms
(cbrt (- b a))
0.0ms
(expm1 (log1p (cbrt (- b a))))

series624.0ms

Counts
4 → 12
Calls
4 calls:
144.0ms
(cbrt (- b a))
142.0ms
(cbrt (- b a))
145.0ms
(cbrt (- b a))
193.0ms
(expm1 (log1p (cbrt (- b a))))

simplify111.0ms

Algorithm
egg-herbie
Counts
74 → 74
Iterations

Useful iterations: 4 (105.0ms)

IterNodesCost
0162411
1344391
2945379
33167351
45001341

prune308.0ms

Pruning

2 alts after pruning (1 fresh and 1 done)

Merged error: 0.2b

regimes37.0ms

Accuracy

0% (0.1b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01715
11715

end0.0ms

sample2.6s

Algorithm
intervals
Results
989.0ms1864×body10240exit
595.0ms9960×body80nan
560.0ms7992×body80valid
9.0msbody5120valid
1.0msbody2560valid
1.0msbody1280valid
1.0msbody320valid
0.0msbody160valid