Details

Time bar (total: 5.8s)

analyze43.0ms (0.7%)

Algorithm
search
Search
TrueOtherFalseIter
0%100%0%0
0%100%0%1
0%100%0%2
50%50%0%3
62.5%37.5%0%4
81.2%18.7%0%5
90.6%9.4%0%6
95.3%4.7%0%7
97.6%2.3%0%8
98.8%1.2%0%9
99.4%0.6%0%10
99.7%0.3%0%11
99.8%0.1%0%12
99.9%0.1%0%13
99.9%0%0%14
Compiler

Compiled 11 to 9 computations (18.2% saved)

sample35.0ms (0.6%)

Algorithm
intervals
Results
9.0ms57×body512valid
9.0ms151×body128valid
5.0ms36×body256valid
3.0ms12×body1024valid
Compiler

Compiled 22 to 18 computations (18.2% saved)

simplify21.0ms (0.4%)

Algorithm
egg-herbie
Rules
39×fma-def_binary64
32×fma-neg_binary64
14×cancel-sign-sub-inv_binary64
12×sub-neg_binary64
10×distribute-rgt-in_binary64
Counts
1 → 2
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0713
11213
21813
32613
43413
55213
67713
79413
811113
912113
1012513
1112713
1211313

prune5.0ms (0.1%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New112
Fresh011
Picked000
Done000
Total123
Error
13.1b
Counts
3 → 1
Alt Table
StatusErrorProgram
13.1b
(-.f64 (/.f64 1 (+.f64 x 1)) (/.f64 1 x))
Compiler

Compiled 39 to 31 computations (20.5% saved)

localize10.0ms (0.2%)

Local error

Found 2 expressions with local error:

NewErrorProgram
0.0b
(/.f64 1 (+.f64 x 1))
3.6b
(-.f64 (/.f64 1 (+.f64 x 1)) (/.f64 1 x))

series10.0ms (0.2%)

Counts
2 → 24
Calls

2 calls:

5.0ms
(/.f64 1 (+.f64 x 1))
5.0ms
(-.f64 (/.f64 1 (+.f64 x 1)) (/.f64 1 x))

rewrite136.0ms (2.3%)

Algorithm
rewrite-expression-head
Rules
377×*-un-lft-identity_binary64
375×times-frac_binary64
284×add-sqr-sqrt_binary64
260×add-cube-cbrt_binary64
234×prod-diff_binary64
Counts
2 → 337
Calls

2 calls:

38.0ms
(-.f64 (/.f64 1 (+.f64 x 1)) (/.f64 1 x))
8.0ms
(/.f64 1 (+.f64 x 1))

simplify595.0ms (10.3%)

Algorithm
egg-herbie
Rules
781×fma-def_binary64
395×sub-neg_binary64
340×times-frac_binary64
306×div-sub_binary64
297×associate-*l*_binary64
Counts
361 → 324
Iterations

Useful iterations: 5 (0.0ms)

IterNodesCost
018311806
13806831
210405351
337265350
441765350
544255342
648035342

prune727.0ms (12.5%)

Pruning

2 alts after pruning (1 fresh and 1 done)

PrunedKeptTotal
New3231324
Fresh000
Picked011
Done000
Total3232325
Error
0.2b
Counts
325 → 2
Alt Table
StatusErrorProgram
0.2b
(/.f64 -1 (fma.f64 x x x))
13.1b
(-.f64 (/.f64 1 (+.f64 x 1)) (/.f64 1 x))
Compiler

Compiled 11272 to 8581 computations (23.9% saved)

localize7.0ms (0.1%)

Local error

Found 1 expressions with local error:

NewErrorProgram
0.2b
(/.f64 -1 (fma.f64 x x x))

series5.0ms (0.1%)

Counts
1 → 12
Calls

1 calls:

5.0ms
(/.f64 -1 (fma.f64 x x x))

rewrite13.0ms (0.2%)

Algorithm
rewrite-expression-head
Rules
*-un-lft-identity_binary64
times-frac_binary64
add-sqr-sqrt_binary64
add-cube-cbrt_binary64
associate-/r*_binary64
Counts
1 → 29
Calls

1 calls:

4.0ms
(/.f64 -1 (fma.f64 x x x))

simplify129.0ms (2.2%)

Algorithm
egg-herbie
Rules
888×fma-neg_binary64
327×distribute-rgt-out_binary64
306×unswap-sqr_binary64
201×sub-neg_binary64
188×cancel-sign-sub-inv_binary64
Counts
41 → 52
Iterations

Useful iterations: 5 (0.0ms)

IterNodesCost
078654
1148618
2308611
3680611
42297611
54211603
64978603
74914603

prune123.0ms (2.1%)

Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New50252
Fresh000
Picked011
Done011
Total50454
Error
0.0b
Counts
54 → 4
Alt Table
StatusErrorProgram
32.6b
(*.f64 (/.f64 1 (hypot.f64 x (sqrt.f64 x))) (/.f64 -1 (hypot.f64 x (sqrt.f64 x))))
15.4b
(/.f64 (/.f64 -1 (sqrt.f64 (fma.f64 x x x))) (sqrt.f64 (fma.f64 x x x)))
0.2b
(/.f64 -1 (fma.f64 x x x))
13.1b
(-.f64 (/.f64 1 (+.f64 x 1)) (/.f64 1 x))
Compiler

Compiled 718 to 384 computations (46.5% saved)

localize11.0ms (0.2%)

Local error

Found 3 expressions with local error:

NewErrorProgram
0.1b
(/.f64 -1 (sqrt.f64 (fma.f64 x x x)))
0.1b
(/.f64 (/.f64 -1 (sqrt.f64 (fma.f64 x x x))) (sqrt.f64 (fma.f64 x x x)))
16.6b
(sqrt.f64 (fma.f64 x x x))

series33.0ms (0.6%)

Counts
3 → 28
Calls

3 calls:

16.0ms
(sqrt.f64 (fma.f64 x x x))
12.0ms
(/.f64 -1 (sqrt.f64 (fma.f64 x x x)))
5.0ms
(/.f64 (/.f64 -1 (sqrt.f64 (fma.f64 x x x))) (sqrt.f64 (fma.f64 x x x)))

rewrite126.0ms (2.2%)

Algorithm
rewrite-expression-head
Rules
276×times-frac_binary64
157×add-sqr-sqrt_binary64
156×*-un-lft-identity_binary64
156×add-cube-cbrt_binary64
147×sqrt-prod_binary64
Counts
3 → 233
Calls

3 calls:

26.0ms
(/.f64 (/.f64 -1 (sqrt.f64 (fma.f64 x x x))) (sqrt.f64 (fma.f64 x x x)))
6.0ms
(/.f64 -1 (sqrt.f64 (fma.f64 x x x)))
2.0ms
(sqrt.f64 (fma.f64 x x x))

simplify547.0ms (9.4%)

Algorithm
egg-herbie
Rules
462×associate-/l/_binary64
429×fma-def_binary64
311×times-frac_binary64
294×associate-/r*_binary64
230×fma-neg_binary64
Counts
261 → 339
Iterations

Useful iterations: 4 (0.0ms)

IterNodesCost
02648068
15907401
211636523
328596418
446966408
549976408
649076408

prune467.0ms (8.1%)

Pruning

5 alts after pruning (2 fresh and 3 done)

PrunedKeptTotal
New3752377
Fresh101
Picked011
Done022
Total3765381
Error
0b
Counts
381 → 5
Alt Table
StatusErrorProgram
15.9b
(*.f64 (/.f64 (*.f64 (cbrt.f64 (/.f64 -1 (sqrt.f64 (fma.f64 x x x)))) (cbrt.f64 (/.f64 -1 (sqrt.f64 (fma.f64 x x x))))) (sqrt.f64 (*.f64 (cbrt.f64 (fma.f64 x x x)) (cbrt.f64 (fma.f64 x x x))))) (/.f64 (cbrt.f64 (/.f64 -1 (sqrt.f64 (fma.f64 x x x)))) (sqrt.f64 (cbrt.f64 (fma.f64 x x x)))))
0.2b
(/.f64 -1 (fma.f64 x x x))
32.5b
(/.f64 (/.f64 1 (hypot.f64 x (sqrt.f64 x))) (neg.f64 (hypot.f64 x (sqrt.f64 x))))
13.1b
(-.f64 (/.f64 1 (+.f64 x 1)) (/.f64 1 x))
15.4b
(/.f64 (/.f64 -1 (sqrt.f64 (fma.f64 x x x))) (sqrt.f64 (fma.f64 x x x)))
Compiler

Compiled 8903 to 3130 computations (64.8% saved)

localize34.0ms (0.6%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.5b
(cbrt.f64 (/.f64 -1 (sqrt.f64 (fma.f64 x x x))))
9.9b
(sqrt.f64 (*.f64 (cbrt.f64 (fma.f64 x x x)) (cbrt.f64 (fma.f64 x x x))))
16.6b
(sqrt.f64 (fma.f64 x x x))
17.4b
(cbrt.f64 (fma.f64 x x x))

series75.0ms (1.3%)

Counts
3 → 36
Calls

3 calls:

45.0ms
(cbrt.f64 (/.f64 -1 (sqrt.f64 (fma.f64 x x x))))
18.0ms
(sqrt.f64 (*.f64 (cbrt.f64 (fma.f64 x x x)) (cbrt.f64 (fma.f64 x x x))))
12.0ms
(cbrt.f64 (fma.f64 x x x))

rewrite20.0ms (0.3%)

Algorithm
rewrite-expression-head
Rules
25×cbrt-prod_binary64
18×times-frac_binary64
17×*-un-lft-identity_binary64
17×add-sqr-sqrt_binary64
17×add-cube-cbrt_binary64
Counts
3 → 67
Calls

3 calls:

5.0ms
(sqrt.f64 (*.f64 (cbrt.f64 (fma.f64 x x x)) (cbrt.f64 (fma.f64 x x x))))
5.0ms
(cbrt.f64 (/.f64 -1 (sqrt.f64 (fma.f64 x x x))))
1.0ms
(cbrt.f64 (fma.f64 x x x))

simplify186.0ms (3.2%)

Algorithm
egg-herbie
Rules
769×fma-neg_binary64
370×fma-def_binary64
243×cancel-sign-sub-inv_binary64
242×distribute-rgt-neg-in_binary64
230×distribute-lft-neg-in_binary64
Counts
103 → 133
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
01992041
14201990
29691881
324951857
447361857
549411857
649851857
749281857

prune585.0ms (10.1%)

Pruning

5 alts after pruning (1 fresh and 4 done)

PrunedKeptTotal
New4610461
Fresh011
Picked011
Done033
Total4615466
Error
0b
Counts
466 → 5
Alt Table
StatusErrorProgram
15.9b
(*.f64 (/.f64 (*.f64 (cbrt.f64 (/.f64 -1 (sqrt.f64 (fma.f64 x x x)))) (cbrt.f64 (/.f64 -1 (sqrt.f64 (fma.f64 x x x))))) (sqrt.f64 (*.f64 (cbrt.f64 (fma.f64 x x x)) (cbrt.f64 (fma.f64 x x x))))) (/.f64 (cbrt.f64 (/.f64 -1 (sqrt.f64 (fma.f64 x x x)))) (sqrt.f64 (cbrt.f64 (fma.f64 x x x)))))
0.2b
(/.f64 -1 (fma.f64 x x x))
32.5b
(/.f64 (/.f64 1 (hypot.f64 x (sqrt.f64 x))) (neg.f64 (hypot.f64 x (sqrt.f64 x))))
13.1b
(-.f64 (/.f64 1 (+.f64 x 1)) (/.f64 1 x))
15.4b
(/.f64 (/.f64 -1 (sqrt.f64 (fma.f64 x x x))) (sqrt.f64 (fma.f64 x x x)))
Compiler

Compiled 25088 to 9285 computations (63% saved)

regimes602.0ms (10.4%)

Accuracy

Total 0.2b remaining (60.4%)

Threshold costs 0.2b (60.4%)

Counts
129 → 1
Compiler

Compiled 7312 to 3832 computations (47.6% saved)

simplify3.0ms (0.1%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
058
158

end1.0ms (0%)

Compiler

Compiled 7 to 4 computations (42.9% saved)

sample1.2s (21.5%)

Algorithm
intervals
Results
348.0ms1940×body512valid
294.0ms4638×body128valid
103.0ms999×body256valid
85.0ms423×body1024valid
0.0msbody128invalid
Compiler

Compiled 110 to 59 computations (46.4% saved)

Profiling

Loading profile data...