Details

Time bar (total: 5.7s)

sample381.0ms

Algorithm
intervals
Results
59.0ms61×body5120exit
21.0ms254×body80valid
20.0ms298×body80nan
1.0msbody2560valid
1.0msbody640valid

simplify60.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0135
1225
2445
31145
43155
516095
650015

prune17.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.5b

Counts
2 → 1

localize11.0ms

Local error

Found 3 expressions with local error:

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

series103.0ms

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

simplify47.0ms

Algorithm
egg-herbie
Counts
57 → 57
Iterations

Useful iterations: 3 (42.0ms)

IterNodesCost
0148324
1412298
21346292
35001290

prune108.0ms

Filtered
57 candidates to 36 candidates (63.2%)
Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New54357
Fresh000
Picked101
Done000
Total55358

Merged error: 0.5b

Counts
58 → 3

localize13.0ms

Local error

Found 4 expressions with local error:

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

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

series131.0ms

Counts
4 → 12
Calls
4 calls:
26.0ms
(pow (sqrt (sqrt (atan2 b b))) (- b a))
85.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))

simplify71.0ms

Algorithm
egg-herbie
Counts
78 → 78
Iterations

Useful iterations: 2 (17.0ms)

IterNodesCost
0201521
1574477
22332466
35001466

prune185.0ms

Filtered
78 candidates to 50 candidates (64.1%)
Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New74478
Fresh202
Picked101
Done000
Total77481

Merged error: 0.4b

Counts
81 → 4

localize15.0ms

Local error

Found 4 expressions with local error:

0.0b
(pow (sqrt (sqrt (atan2 b b))) (- b a))
0.0b
(pow (atan2 b b) (* 1/4 (- b a)))
0.5b
(sin (* (pow (sqrt (sqrt (atan2 b b))) (- b a)) (pow (atan2 b b) (* 1/4 (- b a)))))
1.0b
(sqrt (atan2 b b))

rewrite17.0ms

Algorithm
rewrite-expression-head
Rules
13×add-sqr-sqrt
12×unpow-prod-down *-un-lft-identity sqrt-prod
10×add-cube-cbrt
pow1
unpow-prod-up add-exp-log pow-unpow pow-pow
sqrt-pow1
add-cbrt-cube add-log-exp
sub-neg pow1/2
distribute-rgt-in pow-to-exp distribute-lft-in pow-exp sqr-pow
rem-sqrt-square sqrt-pow2 distribute-lft-out-- pow-sub difference-of-squares
Counts
4 → 72
Calls
4 calls:
6.0ms
(pow (sqrt (sqrt (atan2 b b))) (- b a))
3.0ms
(pow (atan2 b b) (* 1/4 (- b a)))
3.0ms
(sin (* (pow (sqrt (sqrt (atan2 b b))) (- b a)) (pow (atan2 b b) (* 1/4 (- b a)))))
2.0ms
(sqrt (atan2 b b))

series181.0ms

Counts
4 → 12
Calls
4 calls:
26.0ms
(pow (sqrt (sqrt (atan2 b b))) (- b a))
19.0ms
(pow (atan2 b b) (* 1/4 (- b a)))
127.0ms
(sin (* (pow (sqrt (sqrt (atan2 b b))) (- b a)) (pow (atan2 b b) (* 1/4 (- b a)))))
10.0ms
(sqrt (atan2 b b))

simplify112.0ms

Algorithm
egg-herbie
Counts
84 → 84
Iterations

Useful iterations: 3 (102.0ms)

IterNodesCost
0306637
11071586
24394564
35003530

prune180.0ms

Filtered
84 candidates to 54 candidates (64.3%)
Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New84084
Fresh033
Picked011
Done000
Total84488

Merged error: 0.4b

Counts
88 → 4

localize16.0ms

Local error

Found 4 expressions with local error:

0.0b
(pow (sin (* (pow (sqrt (sqrt (atan2 b b))) (- b a)) (pow (sqrt (sqrt (atan2 b b))) (- b a)))) 3)
0.5b
(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
11×add-sqr-sqrt
add-cube-cbrt *-un-lft-identity
pow1
sqrt-prod
add-exp-log add-cbrt-cube
add-log-exp
unpow-prod-down pow-unpow cube-prod
rem-sqrt-square sqrt-pow1 pow1/2
cube-mult pow-to-exp pow-pow unpow3 pow-exp rem-cube-cbrt sqr-pow
Counts
4 → 56
Calls
4 calls:
5.0ms
(pow (sin (* (pow (sqrt (sqrt (atan2 b b))) (- b a)) (pow (sqrt (sqrt (atan2 b b))) (- b a)))) 3)
4.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))

series232.0ms

Counts
4 → 12
Calls
4 calls:
126.0ms
(pow (sin (* (pow (sqrt (sqrt (atan2 b b))) (- b a)) (pow (sqrt (sqrt (atan2 b b))) (- b a)))) 3)
86.0ms
(sin (* (pow (sqrt (sqrt (atan2 b b))) (- b a)) (pow (sqrt (sqrt (atan2 b b))) (- b a))))
9.0ms
(sqrt (atan2 b b))
10.0ms
(sqrt (atan2 b b))

simplify208.0ms

Algorithm
egg-herbie
Counts
68 → 68
Iterations

Useful iterations: 2 (28.0ms)

IterNodesCost
0194688
1727611
24932598
35002598

prune166.0ms

Filtered
68 candidates to 42 candidates (61.8%)
Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New66268
Fresh112
Picked101
Done011
Total68472

Merged error: 0.4b

Counts
72 → 4

regimes54.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
01411
11411

end0.0ms

sample3.3s

Algorithm
intervals
Results
1.8s1767×body5120exit
641.0ms7993×body80valid
573.0ms9737×body80nan
1.0msbody2560valid
1.0msbody640valid
1.0msbody1280valid
1.0msbody320valid
0.0msbody160valid

Profiling

Loading profile data...