Details

Time bar (total: 9.8s)

analyze1.1s

Algorithm
search
Search
TrueOtherFalseIter
0%99.9%0.1%0
0%99.9%0.1%1
0%99.9%0.1%2
0%99.9%0.1%3
0%99.9%0.1%4
25%62.4%12.6%5
25%56.2%18.8%6
28.1%50%22%7
28.1%46.8%25.1%8
29.7%41.4%29%9
29.7%39.4%30.9%10
31.1%35.8%33.1%11
31.1%34.4%34.5%12
31.5%32.9%35.6%13
31.5%32.1%36.4%14

sample199.0ms

Algorithm
intervals
Results
70.0ms122×body1280valid
30.0ms26×body1280nan
19.0ms43×body640valid
18.0ms26×body640nan
14.0ms81×body80overflowed
8.0ms24×body320valid
7.0ms17×body320nan
5.0ms56×body80valid
4.0msbody1280invalid
3.0msbody640invalid
2.0ms11×body160valid
2.0msbody160nan
1.0msbody320invalid
1.0ms20×body80nan
1.0msbody160invalid
1.0msbody80invalid

simplify58.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (56.0ms)

IterNodesCost
0497713
1497713

prune3.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 32.7b

Counts
2 → 1

localize11.0ms

Local error

Found 3 expressions with local error:

0.0b
(pow.f64 (+.f64 x 1.0) (/.f64 1.0 n))
0.0b
(pow.f64 x (/.f64 1.0 n))
2.3b
(-.f64 (pow.f64 (+.f64 x 1.0) (/.f64 1.0 n)) (pow.f64 x (/.f64 1.0 n)))

rewrite23.0ms

Algorithm
rewrite-expression-head
Rules
31×add-sqr-sqrt_binary64
28×*-un-lft-identity_binary64
26×pow-unpow_binary64
19×add-cube-cbrt_binary64
18×times-frac_binary64
17×unpow-prod-down_binary64
difference-of-squares_binary64
sqr-pow_binary64
add-log-exp_binary64 pow1_binary64 add-exp-log_binary64
add-cbrt-cube_binary64 distribute-lft-out--_binary64
pow-to-exp_binary64 distribute-lft-out_binary64 pow-pow_binary64 div-inv_binary64 pow-exp_binary64
sub-neg_binary64 flip3--_binary64 diff-log_binary64 flip--_binary64
Counts
3 → 78
Calls
3 calls:
6.0ms
(pow.f64 (+.f64 x 1.0) (/.f64 1.0 n))
4.0ms
(pow.f64 x (/.f64 1.0 n))
11.0ms
(-.f64 (pow.f64 (+.f64 x 1.0) (/.f64 1.0 n)) (pow.f64 x (/.f64 1.0 n)))

series85.0ms

Counts
3 → 9
Calls
3 calls:
25.0ms
(pow.f64 (+.f64 x 1.0) (/.f64 1.0 n))
13.0ms
(pow.f64 x (/.f64 1.0 n))
47.0ms
(-.f64 (pow.f64 (+.f64 x 1.0) (/.f64 1.0 n)) (pow.f64 x (/.f64 1.0 n)))

simplify45.0ms

Algorithm
egg-herbie
Counts
87 → 87
Iterations

Useful iterations: 0 (35.0ms)

IterNodesCost
051411177

prune122.0ms

Filtered
69 candidates to 87 candidates (-26.1%)
Pruning

5 alts after pruning (5 fresh and 0 done)

PrunedKeptTotal
New82587
Fresh000
Picked101
Done000
Total83588

Merged error: 22.3b

Counts
88 → 5

localize12.0ms

Local error

Found 4 expressions with local error:

0.0b
(sqrt.f64 (+.f64 x 1.0))
0.0b
(pow.f64 x (/.f64 1.0 n))
0.0b
(*.f64 (pow.f64 (sqrt.f64 (+.f64 x 1.0)) (/.f64 1.0 n)) (pow.f64 (sqrt.f64 (+.f64 x 1.0)) (/.f64 1.0 n)))
4.4b
(-.f64 (*.f64 (pow.f64 (sqrt.f64 (+.f64 x 1.0)) (/.f64 1.0 n)) (pow.f64 (sqrt.f64 (+.f64 x 1.0)) (/.f64 1.0 n))) (pow.f64 x (/.f64 1.0 n)))

rewrite43.0ms

Algorithm
rewrite-expression-head
Rules
56×unpow-prod-down_binary64 add-sqr-sqrt_binary64
41×*-un-lft-identity_binary64
34×sqrt-prod_binary64
25×add-cube-cbrt_binary64
17×add-exp-log_binary64
16×unswap-sqr_binary64
15×swap-sqr_binary64
14×sqr-pow_binary64
13×pow-unpow_binary64
11×associate-*r*_binary64 associate-*l*_binary64
prod-exp_binary64 times-frac_binary64
pow-to-exp_binary64 distribute-lft-out_binary64 pow-exp_binary64
add-log-exp_binary64 pow1_binary64 add-cbrt-cube_binary64
difference-of-squares_binary64
sqrt-div_binary64
pow-prod-down_binary64 flip3-+_binary64 sub-neg_binary64 pow1/2_binary64 flip3--_binary64 diff-log_binary64 cbrt-unprod_binary64 pow-prod-up_binary64 pow-pow_binary64 sqrt-pow1_binary64 rem-sqrt-square_binary64 div-inv_binary64 pow-sqr_binary64 flip--_binary64 flip-+_binary64 pow2_binary64 *-commutative_binary64
Counts
4 → 132
Calls
4 calls:
3.0ms
(sqrt.f64 (+.f64 x 1.0))
4.0ms
(pow.f64 x (/.f64 1.0 n))
16.0ms
(*.f64 (pow.f64 (sqrt.f64 (+.f64 x 1.0)) (/.f64 1.0 n)) (pow.f64 (sqrt.f64 (+.f64 x 1.0)) (/.f64 1.0 n)))
15.0ms
(-.f64 (*.f64 (pow.f64 (sqrt.f64 (+.f64 x 1.0)) (/.f64 1.0 n)) (pow.f64 (sqrt.f64 (+.f64 x 1.0)) (/.f64 1.0 n))) (pow.f64 x (/.f64 1.0 n)))

series205.0ms

Counts
4 → 12
Calls
4 calls:
5.0ms
(sqrt.f64 (+.f64 x 1.0))
13.0ms
(pow.f64 x (/.f64 1.0 n))
77.0ms
(*.f64 (pow.f64 (sqrt.f64 (+.f64 x 1.0)) (/.f64 1.0 n)) (pow.f64 (sqrt.f64 (+.f64 x 1.0)) (/.f64 1.0 n)))
110.0ms
(-.f64 (*.f64 (pow.f64 (sqrt.f64 (+.f64 x 1.0)) (/.f64 1.0 n)) (pow.f64 (sqrt.f64 (+.f64 x 1.0)) (/.f64 1.0 n))) (pow.f64 x (/.f64 1.0 n)))

simplify73.0ms

Algorithm
egg-herbie
Counts
144 → 144
Iterations

Useful iterations: 0 (54.0ms)

IterNodesCost
049602253
149602253

prune158.0ms

Filtered
88 candidates to 144 candidates (-63.6%)
Pruning

5 alts after pruning (5 fresh and 0 done)

PrunedKeptTotal
New1431144
Fresh044
Picked101
Done000
Total1445149

Merged error: 22.3b

Counts
149 → 5

localize10.0ms

Local error

Found 4 expressions with local error:

0.0b
(pow.f64 x (/.f64 1.0 n))
0.0b
(pow.f64 (+.f64 x 1.0) (/.f64 1.0 n))
2.2b
(log.f64 (exp.f64 (-.f64 (pow.f64 (+.f64 x 1.0) (/.f64 1.0 n)) (pow.f64 x (/.f64 1.0 n)))))
2.3b
(-.f64 (pow.f64 (+.f64 x 1.0) (/.f64 1.0 n)) (pow.f64 x (/.f64 1.0 n)))

rewrite37.0ms

Algorithm
rewrite-expression-head
Rules
46×add-sqr-sqrt_binary64
38×*-un-lft-identity_binary64
27×unpow-prod-down_binary64
26×pow-unpow_binary64
22×add-cube-cbrt_binary64
18×difference-of-squares_binary64 times-frac_binary64
16×log-pow_binary64
15×exp-prod_binary64
14×sqr-pow_binary64
pow1_binary64
add-log-exp_binary64 add-exp-log_binary64 distribute-lft-out--_binary64
log-prod_binary64 add-cbrt-cube_binary64
distribute-lft-out_binary64
pow-to-exp_binary64 sub-neg_binary64 pow-pow_binary64 div-inv_binary64 pow-exp_binary64
flip3--_binary64 diff-log_binary64 rem-log-exp_binary64 exp-diff_binary64 exp-sum_binary64 log-div_binary64 flip--_binary64
Counts
4 → 107
Calls
4 calls:
4.0ms
(pow.f64 x (/.f64 1.0 n))
6.0ms
(pow.f64 (+.f64 x 1.0) (/.f64 1.0 n))
12.0ms
(log.f64 (exp.f64 (-.f64 (pow.f64 (+.f64 x 1.0) (/.f64 1.0 n)) (pow.f64 x (/.f64 1.0 n)))))
11.0ms
(-.f64 (pow.f64 (+.f64 x 1.0) (/.f64 1.0 n)) (pow.f64 x (/.f64 1.0 n)))

series126.0ms

Counts
4 → 12
Calls
4 calls:
13.0ms
(pow.f64 x (/.f64 1.0 n))
21.0ms
(pow.f64 (+.f64 x 1.0) (/.f64 1.0 n))
45.0ms
(log.f64 (exp.f64 (-.f64 (pow.f64 (+.f64 x 1.0) (/.f64 1.0 n)) (pow.f64 x (/.f64 1.0 n)))))
47.0ms
(-.f64 (pow.f64 (+.f64 x 1.0) (/.f64 1.0 n)) (pow.f64 x (/.f64 1.0 n)))

simplify50.0ms

Algorithm
egg-herbie
Counts
119 → 119
Iterations

Useful iterations: 0 (36.0ms)

IterNodesCost
052981665

prune148.0ms

Filtered
94 candidates to 119 candidates (-26.6%)
Pruning

6 alts after pruning (5 fresh and 1 done)

PrunedKeptTotal
New1181119
Fresh044
Picked011
Done000
Total1186124

Merged error: 22.3b

Counts
124 → 6

localize14.0ms

Local error

Found 4 expressions with local error:

2.3b
(-.f64 (pow.f64 (+.f64 x 1.0) (/.f64 1.0 n)) (pow.f64 x (/.f64 1.0 n)))
2.3b
(-.f64 (pow.f64 (+.f64 x 1.0) (/.f64 1.0 n)) (pow.f64 x (/.f64 1.0 n)))
2.3b
(log.f64 (cbrt.f64 (exp.f64 (-.f64 (pow.f64 (+.f64 x 1.0) (/.f64 1.0 n)) (pow.f64 x (/.f64 1.0 n))))))
2.3b
(log.f64 (cbrt.f64 (exp.f64 (-.f64 (pow.f64 (+.f64 x 1.0) (/.f64 1.0 n)) (pow.f64 x (/.f64 1.0 n))))))

rewrite46.0ms

Algorithm
rewrite-expression-head
Rules
32×add-sqr-sqrt_binary64
22×*-un-lft-identity_binary64
20×unpow-prod-down_binary64
18×difference-of-squares_binary64
14×log-prod_binary64
12×sqr-pow_binary64
add-log-exp_binary64 add-cube-cbrt_binary64 cbrt-prod_binary64
pow1_binary64 add-exp-log_binary64 distribute-lft-out--_binary64
sub-neg_binary64 log-pow_binary64 add-cbrt-cube_binary64
cbrt-div_binary64 flip3--_binary64 diff-log_binary64 distribute-lft-out_binary64 rem-log-exp_binary64 pow1/3_binary64 exp-diff_binary64 exp-sum_binary64 log-div_binary64 flip--_binary64
Counts
4 → 82
Calls
4 calls:
11.0ms
(-.f64 (pow.f64 (+.f64 x 1.0) (/.f64 1.0 n)) (pow.f64 x (/.f64 1.0 n)))
10.0ms
(-.f64 (pow.f64 (+.f64 x 1.0) (/.f64 1.0 n)) (pow.f64 x (/.f64 1.0 n)))
11.0ms
(log.f64 (cbrt.f64 (exp.f64 (-.f64 (pow.f64 (+.f64 x 1.0) (/.f64 1.0 n)) (pow.f64 x (/.f64 1.0 n))))))
11.0ms
(log.f64 (cbrt.f64 (exp.f64 (-.f64 (pow.f64 (+.f64 x 1.0) (/.f64 1.0 n)) (pow.f64 x (/.f64 1.0 n))))))

series340.0ms

Counts
4 → 12
Calls
4 calls:
45.0ms
(-.f64 (pow.f64 (+.f64 x 1.0) (/.f64 1.0 n)) (pow.f64 x (/.f64 1.0 n)))
46.0ms
(-.f64 (pow.f64 (+.f64 x 1.0) (/.f64 1.0 n)) (pow.f64 x (/.f64 1.0 n)))
123.0ms
(log.f64 (cbrt.f64 (exp.f64 (-.f64 (pow.f64 (+.f64 x 1.0) (/.f64 1.0 n)) (pow.f64 x (/.f64 1.0 n))))))
125.0ms
(log.f64 (cbrt.f64 (exp.f64 (-.f64 (pow.f64 (+.f64 x 1.0) (/.f64 1.0 n)) (pow.f64 x (/.f64 1.0 n))))))

simplify55.0ms

Algorithm
egg-herbie
Counts
94 → 94
Iterations

Useful iterations: 0 (41.0ms)

IterNodesCost
049582100
149582100

prune189.0ms

Filtered
82 candidates to 94 candidates (-14.6%)
Pruning

8 alts after pruning (7 fresh and 1 done)

PrunedKeptTotal
New91394
Fresh044
Picked101
Done011
Total928100

Merged error: 22.1b

Counts
100 → 8

regimes316.0ms

Accuracy

84.8% (1.7b remaining)

Error of 23.5b against oracle of 21.8b and baseline of 32.8b

bsearch1.0ms

simplify5.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (3.0ms)

IterNodesCost
018480
118480

end0.0ms

sample6.4s

Algorithm
intervals
Results
2.1s3774×body1280valid
1.1s1069×body1280nan
665.0ms956×body640nan
642.0ms1488×body640valid
467.0ms2654×body80overflowed
224.0ms753×body320valid
175.0ms259×body640invalid
175.0ms423×body320nan
146.0ms1635×body80valid
119.0ms95×body1280invalid
67.0ms350×body160valid
60.0ms153×body320invalid
48.0ms212×body160nan
30.0ms513×body80nan
27.0ms219×body80invalid
18.0ms74×body160invalid

Profiling

Loading profile data...