Details

Time bar (total: 4.2s)

sample76.0ms

Algorithm
intervals
Results
24.0ms52×body10240exit
18.0ms302×body80nan
18.0ms255×body80valid
0.0msbody320valid

simplify50.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

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

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

series89.0ms

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

IterNodesCost
0148324
1412298
21346292
35001290

prune123.0ms

Pruning

3 alts after pruning (3 fresh and 0 done)

Merged error: 0.2b

localize9.0ms

Local error

Found 2 expressions with local error:

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

series80.0ms

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

simplify55.0ms

Algorithm
egg-herbie
Counts
32 → 32
Iterations

Useful iterations: 3 (52.0ms)

IterNodesCost
0145236
1453212
21901202
35001199

prune72.0ms

Pruning

3 alts after pruning (2 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))

rewrite16.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:
4.0ms
(pow (sqrt (sqrt (atan2 b b))) (- b a))
8.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))

series136.0ms

Counts
4 → 12
Calls
4 calls:
31.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))

simplify67.0ms

Algorithm
egg-herbie
Counts
78 → 78
Iterations

Useful iterations: 2 (16.0ms)

IterNodesCost
0201521
1574477
22332466
35001466

prune209.0ms

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0.2b

localize13.0ms

Local error

Found 4 expressions with local error:

0.2b
(sin (* (pow (sqrt (sqrt (atan2 b b))) (- b a)) (exp (log (pow (sqrt (sqrt (atan2 b b))) (- b a))))))
1.0b
(sqrt (atan2 b b))
1.0b
(sqrt (atan2 b b))
4.3b
(log (pow (sqrt (sqrt (atan2 b b))) (- b a)))

rewrite20.0ms

Algorithm
rewrite-expression-head
Rules
15×log-prod sqrt-prod
12×add-sqr-sqrt
10×add-cube-cbrt *-un-lft-identity
unpow-prod-down
pow1 add-exp-log
add-cbrt-cube add-log-exp
rem-log-exp
unpow-prod-up rem-sqrt-square sqrt-pow1 pow1/2
pow-to-exp sub-neg log-div pow-exp log-pow pow-sub sqr-pow
Counts
4 → 60
Calls
4 calls:
14.0ms
(sin (* (pow (sqrt (sqrt (atan2 b b))) (- b a)) (exp (log (pow (sqrt (sqrt (atan2 b b))) (- b a))))))
1.0ms
(sqrt (atan2 b b))
1.0ms
(sqrt (atan2 b b))
4.0ms
(log (pow (sqrt (sqrt (atan2 b b))) (- b a)))

series188.0ms

Counts
4 → 12
Calls
4 calls:
87.0ms
(sin (* (pow (sqrt (sqrt (atan2 b b))) (- b a)) (exp (log (pow (sqrt (sqrt (atan2 b b))) (- b a))))))
10.0ms
(sqrt (atan2 b b))
10.0ms
(sqrt (atan2 b b))
81.0ms
(log (pow (sqrt (sqrt (atan2 b b))) (- b a)))

simplify54.0ms

Algorithm
egg-herbie
Counts
72 → 72
Iterations

Useful iterations: 2 (13.0ms)

IterNodesCost
0204575
1466508
21757499
35001499

prune223.0ms

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0.2b

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

end0.0ms

sample2.6s

Algorithm
intervals
Results
991.0ms1864×body10240exit
612.0ms9960×body80nan
580.0ms7992×body80valid
9.0msbody5120valid
1.0msbody2560valid
1.0msbody1280valid
1.0msbody320valid
0.0msbody160valid