Details

Time bar (total: 4.4s)

sample83.0ms

Algorithm
intervals
Results
37.0ms61×body10240exit
14.0ms255×body80valid
13.0ms300×body80nan
0.0msbody320valid

simplify52.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0135
1225
2445
31145
43155
516095
650015

prune2.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 0.3b

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

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

series84.0ms

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

simplify45.0ms

Algorithm
egg-herbie
Counts
57 → 57
Iterations

Useful iterations: 3 (41.0ms)

IterNodesCost
0148324
1412298
21346292
35001290

prune124.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 0.2b

localize13.0ms

Local error

Found 4 expressions with local error:

0.6b
(cbrt (- b a))
0.6b
(cbrt (- b a))
0.6b
(cbrt (- b a))
1.0b
(sqrt (atan2 b b))

rewrite15.0ms

Algorithm
rewrite-expression-head
Rules
15×cbrt-prod add-sqr-sqrt
14×*-un-lft-identity
add-cube-cbrt
cbrt-div
pow1
add-exp-log add-cbrt-cube add-log-exp
flip3-- pow1/3 sqrt-prod flip-- distribute-lft-out-- difference-of-squares
rem-sqrt-square sqrt-pow1 pow1/2
Counts
4 → 58
Calls
4 calls:
4.0ms
(cbrt (- b a))
4.0ms
(cbrt (- b a))
4.0ms
(cbrt (- b a))
1.0ms
(sqrt (atan2 b b))

series414.0ms

Counts
4 → 12
Calls
4 calls:
133.0ms
(cbrt (- b a))
132.0ms
(cbrt (- b a))
139.0ms
(cbrt (- b a))
10.0ms
(sqrt (atan2 b b))

simplify118.0ms

Algorithm
egg-herbie
Counts
70 → 70
Iterations

Useful iterations: 4 (108.0ms)

IterNodesCost
0161368
1327352
2871343
32911324
45001318

prune244.0ms

Pruning

2 alts after pruning (1 fresh and 1 done)

Merged error: 0.2b

localize11.0ms

Local error

Found 4 expressions with local error:

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

rewrite42.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:
8.0ms
(pow (sqrt (sqrt (atan2 b b))) (- b a))
30.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))

series278.0ms

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

simplify69.0ms

Algorithm
egg-herbie
Counts
78 → 78
Iterations

Useful iterations: 2 (16.0ms)

IterNodesCost
0201521
1574477
22332466
35001466

prune207.0ms

Pruning

2 alts after pruning (1 fresh and 1 done)

Merged error: 0.2b

localize20.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
(sqrt (atan2 b b))

rewrite5.0ms

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

series38.0ms

Counts
4 → 12
Calls
4 calls:
9.0ms
(sqrt (atan2 b b))
9.0ms
(sqrt (atan2 b b))
10.0ms
(sqrt (atan2 b b))
10.0ms
(sqrt (atan2 b b))

simplify97.0ms

Algorithm
egg-herbie
Counts
64 → 64
Iterations

Useful iterations: 7 (28.0ms)

IterNodesCost
022188
125184
228184
333184
452184
5106184
6533184
71765180
85001180

prune206.0ms

Pruning

2 alts after pruning (0 fresh and 2 done)

Merged error: 0.2b

regimes29.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
01012

end0.0ms

sample2.1s

Algorithm
intervals
Results
728.0ms1808×body10240exit
467.0ms10031×body80nan
442.0ms7991×body80valid
3.0msbody5120valid
1.0msbody1280valid
1.0msbody640valid
0.0msbody320valid
0.0msbody160valid