Details

Time bar (total: 4.3s)

sample63.0ms

Algorithm
intervals
Results
18.0ms48×body10240exit
16.0ms256×body80valid
14.0ms320×body80nan

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.1b

localize8.0ms

Local error

Found 3 expressions with local error:

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

series91.0ms

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

simplify45.0ms

Algorithm
egg-herbie
Counts
57 → 57
Iterations

Useful iterations: 3 (41.0ms)

IterNodesCost
0148324
1412298
21345292
35001290

prune127.0ms

Filtered
57 candidates to 36 candidates (63.2%)
Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 0.1b

localize11.0ms

Local error

Found 4 expressions with local error:

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

rewrite13.0ms

Algorithm
rewrite-expression-head
Rules
24×sqrt-prod
20×add-sqr-sqrt
18×unpow-prod-down *-un-lft-identity
14×add-cube-cbrt
12×pow1
10×pow-unpow pow-pow sqrt-pow1
add-exp-log pow1/2
unpow-prod-up add-cbrt-cube add-log-exp
pow-to-exp sub-neg rem-sqrt-square pow-exp sqrt-pow2 distribute-lft-out-- pow-sub difference-of-squares sqr-pow
Counts
4 → 92
Calls
4 calls:
4.0ms
(pow (sqrt (sqrt (atan2 b b))) (- b a))
4.0ms
(pow (sqrt (sqrt (atan2 b b))) (- b a))
1.0ms
(sqrt (atan2 b b))
1.0ms
(sqrt (atan2 b b))

series77.0ms

Counts
4 → 12
Calls
4 calls:
30.0ms
(pow (sqrt (sqrt (atan2 b b))) (- b a))
26.0ms
(pow (sqrt (sqrt (atan2 b b))) (- b a))
10.0ms
(sqrt (atan2 b b))
10.0ms
(sqrt (atan2 b b))

simplify49.0ms

Algorithm
egg-herbie
Counts
104 → 104
Iterations

Useful iterations: 3 (42.0ms)

IterNodesCost
0160630
1454596
21640588
35002584

prune270.0ms

Filtered
104 candidates to 62 candidates (59.6%)
Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 0.0b

localize13.0ms

Local error

Found 4 expressions with local error:

0.1b
(pow (sqrt (sqrt (atan2 b b))) (- b a))
1.0b
(sqrt (atan2 b b))
1.0b
(sqrt (atan2 b b))
2.7b
(log (pow (sqrt (sqrt (atan2 b b))) (- b a)))

rewrite11.0ms

Algorithm
rewrite-expression-head
Rules
24×sqrt-prod
18×add-sqr-sqrt unpow-prod-down
16×*-un-lft-identity
15×log-prod
14×add-cube-cbrt
pow1
add-exp-log
sqrt-pow1
pow-unpow pow-pow
unpow-prod-up pow1/2 add-cbrt-cube add-log-exp
rem-log-exp
pow-to-exp sub-neg rem-sqrt-square pow-exp pow-sub sqr-pow
log-div log-pow sqrt-pow2 distribute-lft-out-- difference-of-squares
Counts
4 → 86
Calls
4 calls:
5.0ms
(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)))

series132.0ms

Counts
4 → 12
Calls
4 calls:
31.0ms
(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)))

simplify74.0ms

Algorithm
egg-herbie
Counts
98 → 98
Iterations

Useful iterations: 2 (17.0ms)

IterNodesCost
0214664
1636607
22696601
35002601

prune285.0ms

Filtered
98 candidates to 57 candidates (58.2%)
Pruning

3 alts after pruning (3 fresh and 0 done)

Merged error: 0.0b

localize13.0ms

Local error

Found 4 expressions with local error:

1.0b
(sqrt (atan2 b b))
1.0b
(sqrt (atan2 b b))
2.7b
(log (pow (sqrt (sqrt (atan2 b b))) (- b a)))
2.7b
(log (pow (sqrt (sqrt (atan2 b b))) (- b a)))

rewrite10.0ms

Algorithm
rewrite-expression-head
Rules
30×log-prod
24×sqrt-prod
18×unpow-prod-down
16×add-sqr-sqrt
14×add-cube-cbrt *-un-lft-identity
add-exp-log
pow1 rem-log-exp
unpow-prod-up add-cbrt-cube add-log-exp
pow-to-exp sub-neg rem-sqrt-square log-div sqrt-pow1 pow1/2 pow-exp log-pow pow-sub sqr-pow
Counts
4 → 80
Calls
4 calls:
1.0ms
(sqrt (atan2 b b))
1.0ms
(sqrt (atan2 b b))
3.0ms
(log (pow (sqrt (sqrt (atan2 b b))) (- b a)))
3.0ms
(log (pow (sqrt (sqrt (atan2 b b))) (- b a)))

series182.0ms

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

simplify300.0ms

Algorithm
egg-herbie
Counts
92 → 92
Iterations

Useful iterations: 3 (32.0ms)

IterNodesCost
0161698
1334626
21053622
34980614
45002614

prune312.0ms

Filtered
92 candidates to 58 candidates (63.0%)
Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0.0b

regimes46.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
01116

end0.0ms

sample2.1s

Algorithm
intervals
Results
806.0ms1918×body10240exit
464.0ms9919×body80nan
428.0ms7987×body80valid
5.0msbody2560valid
1.0msbody640valid
1.0msbody160valid
1.0msbody1280valid