Details

Time bar (total: 4.6s)

sample123.0ms

Algorithm
intervals
Results
65.0ms63×body5120exit
22.0ms255×body80valid
19.0ms347×body80nan
0.0msbody320valid

simplify54.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0135
1225
2445
31145
43215
516275
650015

prune3.0ms

Filtered
1 candidates to 0 candidates (0.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 0.2b

Counts
2 → 1

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

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:
6.0ms
(pow (sqrt (atan2 b b)) (- b a))
5.0ms
(sin (pow (sqrt (atan2 b b)) (- b a)))
1.0ms
(sqrt (atan2 b b))

series93.0ms

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

simplify77.0ms

Algorithm
egg-herbie
Counts
72 → 72
Iterations

Useful iterations: 3 (71.0ms)

IterNodesCost
0255514
1714433
22703425
35001408

prune126.0ms

Filtered
72 candidates to 43 candidates (59.7%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New70272
Fresh000
Picked101
Done000
Total71273

Merged error: 0.2b

Counts
73 → 2

localize13.0ms

Local error

Found 4 expressions with local error:

1.0b
(sqrt (atan2 b b))
1.0b
(sqrt (atan2 b b))
1.0b
(sqrt (atan2 b b))
1.0b
(* (cbrt (sqrt (atan2 b b))) (cbrt (sqrt (atan2 b b))))

rewrite16.0ms

Algorithm
rewrite-expression-head
Rules
44×add-sqr-sqrt
40×cbrt-prod
29×sqrt-prod
19×add-cube-cbrt *-un-lft-identity
14×pow1
11×swap-sqr
associate-*r* associate-*l* unswap-sqr
add-exp-log pow1/3
expm1-log1p-u add-cbrt-cube log1p-expm1-u add-log-exp
rem-sqrt-square sqrt-pow1 pow1/2
pow-prod-down pow-sqr pow-prod-up
pow2 pow-plus prod-exp *-commutative cbrt-unprod
Counts
4 → 103
Calls
4 calls:
2.0ms
(sqrt (atan2 b b))
2.0ms
(sqrt (atan2 b b))
2.0ms
(sqrt (atan2 b b))
8.0ms
(* (cbrt (sqrt (atan2 b b))) (cbrt (sqrt (atan2 b b))))

series140.0ms

Counts
4 → 12
Calls
4 calls:
10.0ms
(sqrt (atan2 b b))
10.0ms
(sqrt (atan2 b b))
10.0ms
(sqrt (atan2 b b))
110.0ms
(* (cbrt (sqrt (atan2 b b))) (cbrt (sqrt (atan2 b b))))

simplify121.0ms

Algorithm
egg-herbie
Counts
115 → 115
Iterations

Useful iterations: 4 (112.0ms)

IterNodesCost
0103742
1354703
21192651
33474614
45001598

prune235.0ms

Filtered
115 candidates to 67 candidates (58.3%)
Pruning

2 alts after pruning (1 fresh and 1 done)

PrunedKeptTotal
New1150115
Fresh011
Picked011
Done000
Total1152117

Merged error: 0.2b

Counts
117 → 2

localize13.0ms

Local error

Found 3 expressions with local error:

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

rewrite17.0ms

Algorithm
rewrite-expression-head
Rules
17×add-sqr-sqrt
16×*-un-lft-identity
14×add-cube-cbrt
11×unpow-prod-up
10×unpow-prod-down
prod-diff
log-pow
pow1 exp-prod sqrt-prod
pow-unpow
add-exp-log
expm1-log1p-u add-cbrt-cube log1p-expm1-u add-log-exp
pow-to-exp sub-neg rem-sqrt-square pow-pow sqrt-pow1 pow1/2 pow-exp distribute-lft-out-- pow-sub difference-of-squares sqr-pow
Counts
3 → 64
Calls
3 calls:
7.0ms
(pow (log (exp (sqrt (atan2 b b)))) (- b a))
6.0ms
(sin (pow (log (exp (sqrt (atan2 b b)))) (- b a)))
2.0ms
(sqrt (atan2 b b))

series92.0ms

Counts
3 → 9
Calls
3 calls:
19.0ms
(pow (log (exp (sqrt (atan2 b b)))) (- b a))
61.0ms
(sin (pow (log (exp (sqrt (atan2 b b)))) (- b a)))
11.0ms
(sqrt (atan2 b b))

simplify76.0ms

Algorithm
egg-herbie
Counts
73 → 73
Iterations

Useful iterations: 3 (69.0ms)

IterNodesCost
0286650
1755540
22683523
35002506

prune145.0ms

Filtered
73 candidates to 46 candidates (63.0%)
Pruning

2 alts after pruning (0 fresh and 2 done)

PrunedKeptTotal
New73073
Fresh000
Picked011
Done011
Total73275

Merged error: 0.2b

Counts
75 → 2

regimes30.0ms

Accuracy

0% (0.0b 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
01114
11114

end0.0ms

sample3.2s

Algorithm
intervals
Results
1.7s1704×body5120exit
614.0ms7987×body80valid
551.0ms9664×body80nan
3.0msbody2560valid
2.0msbody640valid
1.0msbody320valid
1.0msbody160valid
1.0msbody1280valid

Profiling

Loading profile data...