Details

Time bar (total: 5.4s)

sample411.0ms

Algorithm
intervals
Results
50.0ms51×body5120exit
20.0ms256×body80valid
18.0ms273×body80nan

simplify55.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0135
1225
2445
31145
43155
516095
650015

prune6.0ms

Filtered
1 candidates to 0 candidates (100.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 0.1b

Counts
2 → 1

localize11.0ms

Local error

Found 3 expressions with local error:

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

rewrite14.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))
4.0ms
(sqrt (atan2 b b))

series41.0ms

Counts
3 → 9
Calls
3 calls:
20.0ms
(sin (pow (sqrt (atan2 b b)) (- b a)))
11.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

prune145.0ms

Filtered
57 candidates to 36 candidates (36.8%)
Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New54357
Fresh000
Picked101
Done000
Total55358

Merged error: 0.1b

Counts
58 → 3

localize14.0ms

Local error

Found 4 expressions with local error:

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

rewrite13.0ms

Algorithm
rewrite-expression-head
Rules
15×sqrt-prod
14×add-sqr-sqrt
12×*-un-lft-identity
10×add-cube-cbrt
pow1 unpow-prod-down
sqrt-pow1
add-exp-log pow-unpow pow-pow
pow1/2 add-cbrt-cube add-log-exp
unpow-prod-up rem-sqrt-square
pow-to-exp sub-neg pow-exp sqrt-pow2 distribute-lft-out-- pow-sub difference-of-squares sqr-pow
Counts
4 → 66
Calls
4 calls:
6.0ms
(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))
1.0ms
(sqrt (atan2 b b))

series52.0ms

Counts
4 → 12
Calls
4 calls:
12.0ms
(pow (sqrt (sqrt (atan2 b b))) (- b a))
33.0ms
(sin (* (pow (sqrt (sqrt (atan2 b b))) (- b a)) (pow (sqrt (sqrt (atan2 b b))) (- b a))))
3.0ms
(sqrt (atan2 b b))
3.0ms
(sqrt (atan2 b b))

simplify70.0ms

Algorithm
egg-herbie
Counts
78 → 78
Iterations

Useful iterations: 2 (16.0ms)

IterNodesCost
0201521
1574477
22332466
35001466

prune269.0ms

Filtered
78 candidates to 50 candidates (35.9%)
Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New75378
Fresh112
Picked101
Done000
Total77481

Merged error: 0.0b

Counts
81 → 4

localize14.0ms

Local error

Found 4 expressions with local error:

0.0b
(pow (pow (sqrt (sqrt (atan2 b b))) (- b a)) 3)
0.0b
(sin (* (pow (sqrt (sqrt (atan2 b b))) (- b a)) (cbrt (pow (pow (sqrt (sqrt (atan2 b b))) (- b a)) 3))))
1.0b
(sqrt (atan2 b b))
1.0b
(sqrt (atan2 b b))

rewrite15.0ms

Algorithm
rewrite-expression-head
Rules
33×unpow-prod-down
24×sqrt-prod
17×add-sqr-sqrt
15×add-cube-cbrt *-un-lft-identity cube-prod
pow1 add-exp-log
add-cbrt-cube
unpow-prod-up pow-exp add-log-exp
pow-unpow sqr-pow
pow-to-exp sub-neg rem-sqrt-square sqrt-pow1 pow1/2
cube-div cube-mult pow-pow unpow3 pow-sub rem-cube-cbrt
Counts
4 → 83
Calls
4 calls:
6.0ms
(pow (pow (sqrt (sqrt (atan2 b b))) (- b a)) 3)
4.0ms
(sin (* (pow (sqrt (sqrt (atan2 b b))) (- b a)) (cbrt (pow (pow (sqrt (sqrt (atan2 b b))) (- b a)) 3))))
1.0ms
(sqrt (atan2 b b))
2.0ms
(sqrt (atan2 b b))

series64.0ms

Counts
4 → 12
Calls
4 calls:
25.0ms
(pow (pow (sqrt (sqrt (atan2 b b))) (- b a)) 3)
33.0ms
(sin (* (pow (sqrt (sqrt (atan2 b b))) (- b a)) (cbrt (pow (pow (sqrt (sqrt (atan2 b b))) (- b a)) 3))))
3.0ms
(sqrt (atan2 b b))
3.0ms
(sqrt (atan2 b b))

simplify40.0ms

Algorithm
egg-herbie
Counts
95 → 95
Iterations

Useful iterations: 2 (31.0ms)

IterNodesCost
0321816
11055757
25001744

prune370.0ms

Filtered
95 candidates to 51 candidates (46.3%)
Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New94195
Fresh033
Picked101
Done000
Total95499

Merged error: 0.0b

Counts
99 → 4

localize9.0ms

Local error

Found 2 expressions with local error:

0.0b
(sin (pow (atan2 b b) (* 1/2 (- b a))))
0.1b
(pow (atan2 b b) (* 1/2 (- b a)))

rewrite7.0ms

Algorithm
rewrite-expression-head
Rules
unpow-prod-up
pow1 add-exp-log add-sqr-sqrt add-cube-cbrt unpow-prod-down *-un-lft-identity
distribute-rgt-in sub-neg distribute-lft-in add-cbrt-cube add-log-exp
pow-to-exp pow-unpow pow-pow pow-exp sqr-pow
Counts
2 → 26
Calls
2 calls:
3.0ms
(sin (pow (atan2 b b) (* 1/2 (- b a))))
3.0ms
(pow (atan2 b b) (* 1/2 (- b a)))

series26.0ms

Counts
2 → 6
Calls
2 calls:
18.0ms
(sin (pow (atan2 b b) (* 1/2 (- b a))))
8.0ms
(pow (atan2 b b) (* 1/2 (- b a)))

simplify58.0ms

Algorithm
egg-herbie
Counts
32 → 32
Iterations

Useful iterations: 3 (54.0ms)

IterNodesCost
0145236
1453212
21900202
35001195

prune54.0ms

Filtered
32 candidates to 21 candidates (34.4%)
Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New32032
Fresh033
Picked011
Done000
Total32436

Merged error: 0.0b

Counts
36 → 4

regimes98.0ms

Accuracy

0% (0.0b remaining)

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

bsearch0.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
095
195

end0.0ms

sample3.5s

Algorithm
intervals
Results
1.8s1821×body5120exit
597.0ms7990×body80valid
539.0ms9639×body80nan
1.0msbody2560valid
1.0msbody1280valid
1.0msbody640valid
1.0msbody160valid
1.0msbody320valid

Profiling

Loading profile data...