Details

Time bar (total: 4.1s)

sample70.0ms

Algorithm
intervals
Results
22.0ms53×body10240exit
17.0ms255×body80valid
15.0ms328×body80nan
1.0msbody1280valid

simplify50.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0135
1225
2445
31145
43155
516095
650015

prune2.0ms

Filtered
1 candidates to 0 candidates (0.0%)
Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 0.2b

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

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

series90.0ms

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

IterNodesCost
0148324
1412298
21346292
35001290

prune126.0ms

Filtered
57 candidates to 36 candidates (63.2%)
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.3b
(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:
5.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))

series132.0ms

Counts
4 → 12
Calls
4 calls:
27.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))))
9.0ms
(sqrt (atan2 b b))
10.0ms
(sqrt (atan2 b b))

simplify68.0ms

Algorithm
egg-herbie
Counts
78 → 78
Iterations

Useful iterations: 2 (16.0ms)

IterNodesCost
0201521
1574477
22332466
35001466

prune217.0ms

Filtered
78 candidates to 50 candidates (64.1%)
Pruning

3 alts after pruning (3 fresh and 0 done)

Merged error: 0.2b

localize14.0ms

Local error

Found 4 expressions with local error:

0.3b
(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.9b
(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))
3.0ms
(log (pow (sqrt (sqrt (atan2 b b))) (- b a)))

series186.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))
80.0ms
(log (pow (sqrt (sqrt (atan2 b b))) (- b a)))

simplify55.0ms

Algorithm
egg-herbie
Counts
72 → 72
Iterations

Useful iterations: 2 (13.0ms)

IterNodesCost
0204575
1466508
21757499
35001499

prune231.0ms

Filtered
72 candidates to 48 candidates (66.7%)
Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0.2b

localize19.0ms

Local error

Found 4 expressions with local error:

0.1b
(pow (sqrt (cbrt (atan2 b b))) (- b a))
0.3b
(sin (* (pow (fabs (cbrt (atan2 b b))) (- b a)) (pow (sqrt (cbrt (atan2 b b))) (- b a))))
1.0b
(cbrt (atan2 b b))
1.0b
(cbrt (atan2 b b))

rewrite15.0ms

Algorithm
rewrite-expression-head
Rules
12×add-sqr-sqrt *-un-lft-identity
10×add-cube-cbrt
cbrt-prod unpow-prod-down
pow1 sqrt-prod
add-exp-log pow-unpow
pow-pow add-cbrt-cube add-log-exp
pow1/3
unpow-prod-up sqrt-pow1
pow-to-exp sub-neg pow1/2 pow-exp sqrt-pow2 distribute-lft-out-- pow-sub difference-of-squares sqr-pow
Counts
4 → 61
Calls
4 calls:
4.0ms
(pow (sqrt (cbrt (atan2 b b))) (- b a))
8.0ms
(sin (* (pow (fabs (cbrt (atan2 b b))) (- b a)) (pow (sqrt (cbrt (atan2 b b))) (- b a))))
0.0ms
(cbrt (atan2 b b))
1.0ms
(cbrt (atan2 b b))

series373.0ms

Counts
4 → 12
Calls
4 calls:
27.0ms
(pow (sqrt (cbrt (atan2 b b))) (- b a))
140.0ms
(sin (* (pow (fabs (cbrt (atan2 b b))) (- b a)) (pow (sqrt (cbrt (atan2 b b))) (- b a))))
103.0ms
(cbrt (atan2 b b))
104.0ms
(cbrt (atan2 b b))

simplify60.0ms

Algorithm
egg-herbie
Counts
73 → 73
Iterations

Useful iterations: 3 (54.0ms)

IterNodesCost
0228558
1680505
22419497
35001489

prune225.0ms

Filtered
73 candidates to 51 candidates (69.9%)
Pruning

3 alts after pruning (1 fresh and 2 done)

Merged error: 0.2b

regimes39.0ms

Accuracy

0% (0.0b remaining)

Error of 0.1b against oracle of 0.0b and baseline of 0.1b

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01214
11214

end0.0ms

sample2.0s

Algorithm
intervals
Results
755.0ms1769×body10240exit
463.0ms9746×body80nan
446.0ms7996×body80valid
1.0msbody640valid
1.0msbody1280valid
0.0msbody320valid
0.0msbody160valid