Details

Time bar (total: 4.0s)

sample84.0ms

Algorithm
intervals
Results
32.0ms62×body10240exit
15.0ms332×body80nan
14.0ms254×body80valid
1.0msbody1280valid
0.0msbody640valid

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

localize10.0ms

Local error

Found 3 expressions with local error:

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

rewrite20.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))
10.0ms
(sin (pow (sqrt (atan2 b b)) (- b a)))
1.0ms
(sqrt (atan2 b b))

series88.0ms

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

simplify44.0ms

Algorithm
egg-herbie
Counts
57 → 57
Iterations

Useful iterations: 3 (40.0ms)

IterNodesCost
0148324
1412298
21346292
35001290

prune138.0ms

Pruning

3 alts after pruning (3 fresh and 0 done)

Merged error: 0.4b

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

rewrite46.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:
11.0ms
(pow (sqrt (sqrt (atan2 b b))) (- b a))
31.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))

series132.0ms

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

simplify69.0ms

Algorithm
egg-herbie
Counts
78 → 78
Iterations

Useful iterations: 2 (16.0ms)

IterNodesCost
0201521
1574477
22332466
35001466

prune237.0ms

Pruning

5 alts after pruning (4 fresh and 1 done)

Merged error: 0.4b

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

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

series42.0ms

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

simplify86.0ms

Algorithm
egg-herbie
Counts
64 → 64
Iterations

Useful iterations: 7 (27.0ms)

IterNodesCost
022188
125184
228184
333184
452184
5106184
6533184
71765180
85001180

prune246.0ms

Pruning

5 alts after pruning (3 fresh and 2 done)

Merged error: 0.4b

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

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

series44.0ms

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

simplify96.0ms

Algorithm
egg-herbie
Counts
64 → 64
Iterations

Useful iterations: 7 (27.0ms)

IterNodesCost
022192
125188
228188
333188
452188
5106188
6533184
71765180
85001180

prune240.0ms

Pruning

5 alts after pruning (2 fresh and 3 done)

Merged error: 0.4b

regimes53.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
01625
11625

end0.0ms

sample2.2s

Algorithm
intervals
Results
773.0ms1786×body10240exit
462.0ms9625×body80nan
454.0ms7992×body80valid
1.0msbody2560valid
1.0msbody640valid
1.0msbody1280valid
0.0msbody160valid
0.0msbody320valid