Details

Time bar (total: 4.7s)

sample99.0ms

Algorithm
intervals
Results
36.0ms72×body10240exit
23.0ms330×body80nan
22.0ms256×body80valid

simplify52.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0135
1225
2445
31145
43155
516095
650015

prune3.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 0.0b

localize13.0ms

Local error

Found 3 expressions with local error:

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

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

series98.0ms

Counts
3 → 9
Calls
3 calls:
65.0ms
(sin (pow (sqrt (atan2 b b)) (- b a)))
22.0ms
(pow (sqrt (atan2 b b)) (- b a))
11.0ms
(sqrt (atan2 b b))

simplify48.0ms

Algorithm
egg-herbie
Counts
57 → 57
Iterations

Useful iterations: 3 (43.0ms)

IterNodesCost
0148324
1412298
21345292
35001290

prune130.0ms

Pruning

3 alts after pruning (3 fresh and 0 done)

Merged error: 0.0b

localize9.0ms

Local error

Found 2 expressions with local error:

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

rewrite6.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:
4.0ms
(sin (pow (atan2 b b) (* 1/2 (- b a))))
2.0ms
(pow (atan2 b b) (* 1/2 (- b a)))

series80.0ms

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

simplify57.0ms

Algorithm
egg-herbie
Counts
32 → 32
Iterations

Useful iterations: 3 (54.0ms)

IterNodesCost
0145236
1453212
21900202
35001199

prune74.0ms

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0.0b

localize10.0ms

Local error

Found 4 expressions with local error:

0.0b
(pow (pow (atan2 b b) (- b a)) 3/2)
0.0b
(sin (cbrt (pow (pow (atan2 b b) (- b a)) 3/2)))
0.0b
(pow (atan2 b b) (- b a))
0.0b
(cbrt (pow (pow (atan2 b b) (- b a)) 3/2))

rewrite19.0ms

Algorithm
rewrite-expression-head
Rules
27×unpow-prod-down
14×add-sqr-sqrt *-un-lft-identity
13×cbrt-prod
12×add-cube-cbrt
pow-unpow
add-exp-log
unpow-prod-up
pow1 pow-exp sqr-pow
add-cbrt-cube add-log-exp
pow-to-exp sub-neg
pow-pow
pow1/3 distribute-lft-out-- pow-sub difference-of-squares
Counts
4 → 75
Calls
4 calls:
3.0ms
(pow (pow (atan2 b b) (- b a)) 3/2)
7.0ms
(sin (cbrt (pow (pow (atan2 b b) (- b a)) 3/2)))
3.0ms
(pow (atan2 b b) (- b a))
3.0ms
(cbrt (pow (pow (atan2 b b) (- b a)) 3/2))

series159.0ms

Counts
4 → 12
Calls
4 calls:
43.0ms
(pow (pow (atan2 b b) (- b a)) 3/2)
67.0ms
(sin (cbrt (pow (pow (atan2 b b) (- b a)) 3/2)))
17.0ms
(pow (atan2 b b) (- b a))
32.0ms
(cbrt (pow (pow (atan2 b b) (- b a)) 3/2))

simplify91.0ms

Algorithm
egg-herbie
Counts
87 → 87
Iterations

Useful iterations: 3 (84.0ms)

IterNodesCost
0261631
1756592
23155576
35001551

prune219.0ms

Pruning

2 alts after pruning (1 fresh and 1 done)

Merged error: 0.0b

localize13.0ms

Local error

Found 4 expressions with local error:

0.0b
(pow (atan2 b b) (- b a))
0.0b
(cbrt (pow (pow (pow (atan2 b b) (- b a)) (sqrt 3/2)) (sqrt 3/2)))
0.0b
(pow (pow (atan2 b b) (- b a)) (sqrt 3/2))
0.0b
(pow (pow (pow (atan2 b b) (- b a)) (sqrt 3/2)) (sqrt 3/2))

rewrite26.0ms

Algorithm
rewrite-expression-head
Rules
65×unpow-prod-down
21×add-sqr-sqrt *-un-lft-identity
19×add-cube-cbrt
17×cbrt-prod pow-unpow
14×pow-exp
10×add-exp-log
sqr-pow
unpow-prod-up
pow-to-exp sqrt-prod
pow1
sub-neg add-cbrt-cube add-log-exp
pow-pow
pow1/3 distribute-lft-out-- pow-sub difference-of-squares
Counts
4 → 109
Calls
4 calls:
3.0ms
(pow (atan2 b b) (- b a))
6.0ms
(cbrt (pow (pow (pow (atan2 b b) (- b a)) (sqrt 3/2)) (sqrt 3/2)))
3.0ms
(pow (pow (atan2 b b) (- b a)) (sqrt 3/2))
10.0ms
(pow (pow (pow (atan2 b b) (- b a)) (sqrt 3/2)) (sqrt 3/2))

series450.0ms

Counts
4 → 12
Calls
4 calls:
22.0ms
(pow (atan2 b b) (- b a))
210.0ms
(cbrt (pow (pow (pow (atan2 b b) (- b a)) (sqrt 3/2)) (sqrt 3/2)))
73.0ms
(pow (pow (atan2 b b) (- b a)) (sqrt 3/2))
145.0ms
(pow (pow (pow (atan2 b b) (- b a)) (sqrt 3/2)) (sqrt 3/2))

simplify128.0ms

Algorithm
egg-herbie
Counts
121 → 121
Iterations

Useful iterations: 3 (117.0ms)

IterNodesCost
03631171
110651113
244121058
350011015

prune311.0ms

Pruning

2 alts after pruning (0 fresh and 2 done)

Merged error: 0.0b

regimes26.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
0119

end0.0ms

sample2.6s

Algorithm
intervals
Results
808.0ms1735×body10240exit
705.0ms7992×body80valid
669.0ms9800×body80nan
9.0msbody5120valid
4.0msbody2560valid
0.0msbody640valid
0.0msbody160valid