Details

Time bar (total: 5.2s)

sample112.0ms

Algorithm
intervals
Results
50.0ms49×body5120exit
23.0ms328×body80nan
22.0ms255×body80valid
0.0msbody160valid

simplify53.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0135
1225
2445
31145
43155
516095
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.3b

Counts
2 → 1

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

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

series93.0ms

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

simplify48.0ms

Algorithm
egg-herbie
Counts
57 → 57
Iterations

Useful iterations: 3 (43.0ms)

IterNodesCost
0148324
1412298
21346292
35001290

prune116.0ms

Filtered
57 candidates to 36 candidates (63.2%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New55257
Fresh000
Picked101
Done000
Total56258

Merged error: 0.2b

Counts
58 → 2

localize13.0ms

Local error

Found 3 expressions with local error:

0.1b
(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))

rewrite14.0ms

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

series91.0ms

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

simplify44.0ms

Algorithm
egg-herbie
Counts
58 → 58
Iterations

Useful iterations: 3 (39.0ms)

IterNodesCost
0179416
1454374
21379364
35002358

prune128.0ms

Filtered
58 candidates to 38 candidates (65.5%)
Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New57158
Fresh011
Picked011
Done000
Total57360

Merged error: 0.2b

Counts
60 → 3

localize12.0ms

Local error

Found 4 expressions with local error:

0.0b
(* (pow (sqrt (sqrt (atan2 b b))) (- b a)) (pow (sqrt (sqrt (atan2 b b))) (- b a)))
0.2b
(sin (* (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))

rewrite32.0ms

Algorithm
rewrite-expression-head
Rules
84×sqrt-prod
78×unpow-prod-down
76×add-sqr-sqrt
25×unswap-sqr
23×swap-sqr
22×add-cube-cbrt *-un-lft-identity
16×add-exp-log
15×associate-*r* associate-*l*
14×sqr-pow
12×unpow-prod-up
prod-exp
pow1 pow-to-exp sub-neg pow-exp add-cbrt-cube
pow-sub add-log-exp
rem-sqrt-square sqrt-pow1 pow1/2
pow2 frac-times associate-*r/ pow-prod-down associate-*l/ pow-sqr *-commutative pow-prod-up cbrt-unprod
Counts
4 → 136
Calls
4 calls:
18.0ms
(* (pow (sqrt (sqrt (atan2 b b))) (- b a)) (pow (sqrt (sqrt (atan2 b b))) (- b a)))
3.0ms
(sin (* (pow (sqrt (sqrt (atan2 b b))) (- b a)) (pow (sqrt (sqrt (atan2 b b))) (- b a))))
1.0ms
(sqrt (atan2 b b))
2.0ms
(sqrt (atan2 b b))

series148.0ms

Counts
4 → 12
Calls
4 calls:
38.0ms
(* (pow (sqrt (sqrt (atan2 b b))) (- b a)) (pow (sqrt (sqrt (atan2 b b))) (- b a)))
90.0ms
(sin (* (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))

simplify50.0ms

Algorithm
egg-herbie
Counts
148 → 148
Iterations

Useful iterations: 2 (34.0ms)

IterNodesCost
02801645
111691507
250011483

prune257.0ms

Filtered
148 candidates to 71 candidates (48.0%)
Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New1462148
Fresh011
Picked101
Done011
Total1474151

Merged error: 0.2b

Counts
151 → 4

localize16.0ms

Local error

Found 4 expressions with local error:

0.2b
(sin (* (pow (cbrt (pow (sqrt (sqrt (atan2 b b))) (- b a))) 4) (* (cbrt (pow (sqrt (sqrt (atan2 b b))) (- b a))) (cbrt (pow (sqrt (sqrt (atan2 b b))) (- b a))))))
1.0b
(sqrt (atan2 b b))
1.0b
(sqrt (atan2 b b))
1.0b
(sqrt (atan2 b b))

rewrite14.0ms

Algorithm
rewrite-expression-head
Rules
10×add-sqr-sqrt
sqrt-prod
pow1 add-cube-cbrt *-un-lft-identity
add-exp-log add-cbrt-cube add-log-exp
rem-sqrt-square sqrt-pow1 pow1/2
Counts
4 → 46
Calls
4 calls:
9.0ms
(sin (* (pow (cbrt (pow (sqrt (sqrt (atan2 b b))) (- b a))) 4) (* (cbrt (pow (sqrt (sqrt (atan2 b b))) (- b a))) (cbrt (pow (sqrt (sqrt (atan2 b b))) (- b a))))))
1.0ms
(sqrt (atan2 b b))
1.0ms
(sqrt (atan2 b b))
2.0ms
(sqrt (atan2 b b))

series122.0ms

Counts
4 → 12
Calls
4 calls:
92.0ms
(sin (* (pow (cbrt (pow (sqrt (sqrt (atan2 b b))) (- b a))) 4) (* (cbrt (pow (sqrt (sqrt (atan2 b b))) (- b a))) (cbrt (pow (sqrt (sqrt (atan2 b b))) (- b a))))))
10.0ms
(sqrt (atan2 b b))
10.0ms
(sqrt (atan2 b b))
10.0ms
(sqrt (atan2 b b))

simplify51.0ms

Algorithm
egg-herbie
Counts
58 → 58
Iterations

Useful iterations: 3 (46.0ms)

IterNodesCost
095400
1268352
21138345
35002342

prune177.0ms

Filtered
58 candidates to 39 candidates (67.2%)
Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New58058
Fresh022
Picked011
Done011
Total58462

Merged error: 0.2b

Counts
62 → 4

regimes47.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
097

end0.0ms

sample3.6s

Algorithm
intervals
Results
1.8s1744×body5120exit
685.0ms7988×body80valid
654.0ms9709×body80nan
6.0msbody5120valid
3.0msbody2560valid
1.0msbody1280valid
1.0msbody160valid
0.0msbody640valid
0.0msbody320valid

Profiling

Loading profile data...