Details

Time bar (total: 5.0s)

analyze1.3s (26.2%)

Algorithm
search
Search
TrueOtherFalseIter
0%100%0%0
0%100%0%1
0%100%0%2
0%100%0%3
0%100%0%4
0%100%0%5
0%100%0%6
0%100%0%7
0%100%0%8
0%100%0%9
0%100%0%10
0%100%0%11
0%100%0%12
0%100%0%13
0%100%0%14
Compiler

Compiled 11 to 9 computations (18.2% saved)

sample1.3s (26.3%)

Results
482.0ms2108×body512valid
434.0ms4610×body128valid
226.0ms1077×body256valid
138.0ms461×body1024valid
Compiler

Compiled 21 to 17 computations (19% saved)

simplify11.0ms (0.2%)

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

prune10.0ms (0.2%)

Pruning

2 alts after pruning (2 fresh and 0 done)

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

Compiled 39 to 31 computations (20.5% saved)

localize5.0ms (0.1%)

Local error

Found 2 expressions with local error:

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

series6.0ms (0.1%)

Counts
2 → 24
Calls

2 calls:

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

rewrite80.0ms (1.6%)

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:

24.0ms
(-.f64 (/.f64 1 (+.f64 x 1)) (/.f64 1 x))
4.0ms
(/.f64 1 (+.f64 x 1))

simplify301.0ms (6%)

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

prune281.0ms (5.6%)

Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New3231324
Fresh000
Picked101
Done000
Total3241325
Error
0.1b
Counts
325 → 1
Alt Table
StatusErrorProgram
0.1b
(/.f64 -1 (fma.f64 x x x))
Compiler

Compiled 11262 to 8573 computations (23.9% saved)

localize4.0ms (0.1%)

Local error

Found 1 expressions with local error:

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

series3.0ms (0.1%)

Counts
1 → 12
Calls

1 calls:

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

rewrite4.0ms (0.1%)

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:

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

simplify79.0ms (1.6%)

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

prune33.0ms (0.7%)

Pruning

6 alts after pruning (5 fresh and 1 done)

PrunedKeptTotal
New47552
Fresh000
Picked011
Done000
Total47653
Error
0.0b
Counts
53 → 6
Alt Table
StatusErrorProgram
1.1b
(*.f64 (*.f64 (cbrt.f64 (/.f64 -1 (fma.f64 x x x))) (cbrt.f64 (/.f64 -1 (fma.f64 x x x)))) (cbrt.f64 (/.f64 -1 (fma.f64 x x x))))
0.1b
(/.f64 -1 (fma.f64 x x x))
11.8b
(/.f64 (/.f64 -1 (sqrt.f64 (fma.f64 x x x))) (sqrt.f64 (fma.f64 x x x)))
1.1b
(/.f64 (/.f64 -1 (*.f64 (cbrt.f64 (fma.f64 x x x)) (cbrt.f64 (fma.f64 x x x)))) (cbrt.f64 (fma.f64 x x x)))
29.3b
(*.f64 (/.f64 1 (hypot.f64 x (sqrt.f64 x))) (/.f64 -1 (hypot.f64 x (sqrt.f64 x))))
31.9b
(cbrt.f64 (/.f64 (*.f64 (*.f64 -1 -1) -1) (*.f64 (*.f64 (fma.f64 x x x) (fma.f64 x x x)) (fma.f64 x x x))))
Compiler

Compiled 840 to 438 computations (47.9% saved)

localize7.0ms (0.1%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.1b
(/.f64 -1 (fma.f64 x x x))
0.3b
(*.f64 (*.f64 (cbrt.f64 (/.f64 -1 (fma.f64 x x x))) (cbrt.f64 (/.f64 -1 (fma.f64 x x x)))) (cbrt.f64 (/.f64 -1 (fma.f64 x x x))))
0.5b
(*.f64 (cbrt.f64 (/.f64 -1 (fma.f64 x x x))) (cbrt.f64 (/.f64 -1 (fma.f64 x x x))))
14.3b
(cbrt.f64 (/.f64 -1 (fma.f64 x x x)))

series78.0ms (1.6%)

Counts
3 → 36
Calls

3 calls:

38.0ms
(*.f64 (cbrt.f64 (/.f64 -1 (fma.f64 x x x))) (cbrt.f64 (/.f64 -1 (fma.f64 x x x))))
28.0ms
(cbrt.f64 (/.f64 -1 (fma.f64 x x x)))
13.0ms
(*.f64 (*.f64 (cbrt.f64 (/.f64 -1 (fma.f64 x x x))) (cbrt.f64 (/.f64 -1 (fma.f64 x x x)))) (cbrt.f64 (/.f64 -1 (fma.f64 x x x))))

rewrite45.0ms (0.9%)

Algorithm
rewrite-expression-head
Rules
92×cbrt-prod_binary64
78×add-sqr-sqrt_binary64
61×times-frac_binary64
50×*-un-lft-identity_binary64
50×add-cube-cbrt_binary64
Counts
3 → 160
Calls

3 calls:

13.0ms
(*.f64 (*.f64 (cbrt.f64 (/.f64 -1 (fma.f64 x x x))) (cbrt.f64 (/.f64 -1 (fma.f64 x x x)))) (cbrt.f64 (/.f64 -1 (fma.f64 x x x))))
11.0ms
(*.f64 (cbrt.f64 (/.f64 -1 (fma.f64 x x x))) (cbrt.f64 (/.f64 -1 (fma.f64 x x x))))
2.0ms
(cbrt.f64 (/.f64 -1 (fma.f64 x x x)))

simplify151.0ms (3%)

Algorithm
egg-herbie
Rules
688×fma-neg_binary64
406×fma-def_binary64
279×cancel-sign-sub-inv_binary64
226×associate-/l*_binary64
221×associate-*l*_binary64
Counts
196 → 275
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
02725284
15875046
217394578
345544570
450274570

prune439.0ms (8.7%)

Pruning

6 alts after pruning (5 fresh and 1 done)

PrunedKeptTotal
New5252527
Fresh134
Picked101
Done011
Total5276533
Error
0.0b
Counts
533 → 6
Alt Table
StatusErrorProgram
11.8b
(/.f64 (/.f64 -1 (sqrt.f64 (fma.f64 x x x))) (sqrt.f64 (fma.f64 x x x)))
1.0b
(pow.f64 (cbrt.f64 (/.f64 -1 (fma.f64 x x x))) 3)
0.1b
(/.f64 -1 (fma.f64 x x x))
1.0b
(/.f64 (*.f64 (*.f64 (cbrt.f64 -1) (cbrt.f64 (/.f64 -1 (fma.f64 x x x)))) (cbrt.f64 (/.f64 -1 (fma.f64 x x x)))) (cbrt.f64 (fma.f64 x x x)))
1.1b
(/.f64 (/.f64 -1 (*.f64 (cbrt.f64 (fma.f64 x x x)) (cbrt.f64 (fma.f64 x x x)))) (cbrt.f64 (fma.f64 x x x)))
29.3b
(*.f64 (/.f64 1 (hypot.f64 x (sqrt.f64 x))) (/.f64 -1 (hypot.f64 x (sqrt.f64 x))))
Compiler

Compiled 16625 to 9203 computations (44.6% saved)

localize10.0ms (0.2%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.3b
(/.f64 (*.f64 (*.f64 (cbrt.f64 -1) (cbrt.f64 (/.f64 -1 (fma.f64 x x x)))) (cbrt.f64 (/.f64 -1 (fma.f64 x x x)))) (cbrt.f64 (fma.f64 x x x)))
0.5b
(*.f64 (*.f64 (cbrt.f64 -1) (cbrt.f64 (/.f64 -1 (fma.f64 x x x)))) (cbrt.f64 (/.f64 -1 (fma.f64 x x x))))
14.3b
(cbrt.f64 (/.f64 -1 (fma.f64 x x x)))
14.5b
(cbrt.f64 (fma.f64 x x x))

series45.0ms (0.9%)

Counts
3 → 36
Calls

3 calls:

22.0ms
(*.f64 (*.f64 (cbrt.f64 -1) (cbrt.f64 (/.f64 -1 (fma.f64 x x x)))) (cbrt.f64 (/.f64 -1 (fma.f64 x x x))))
11.0ms
(cbrt.f64 (fma.f64 x x x))
11.0ms
(/.f64 (*.f64 (*.f64 (cbrt.f64 -1) (cbrt.f64 (/.f64 -1 (fma.f64 x x x)))) (cbrt.f64 (/.f64 -1 (fma.f64 x x x)))) (cbrt.f64 (fma.f64 x x x)))

rewrite28.0ms (0.5%)

Algorithm
rewrite-expression-head
Rules
22×cbrt-prod_binary64
17×add-exp-log_binary64
16×associate-*r*_binary64
16×*-un-lft-identity_binary64
16×add-sqr-sqrt_binary64
Counts
3 → 84
Calls

3 calls:

10.0ms
(/.f64 (*.f64 (*.f64 (cbrt.f64 -1) (cbrt.f64 (/.f64 -1 (fma.f64 x x x)))) (cbrt.f64 (/.f64 -1 (fma.f64 x x x)))) (cbrt.f64 (fma.f64 x x x)))
9.0ms
(*.f64 (*.f64 (cbrt.f64 -1) (cbrt.f64 (/.f64 -1 (fma.f64 x x x)))) (cbrt.f64 (/.f64 -1 (fma.f64 x x x))))
1.0ms
(cbrt.f64 (fma.f64 x x x))

simplify124.0ms (2.5%)

Algorithm
egg-herbie
Rules
724×fma-def_binary64
423×associate-*l/_binary64
409×associate-/l/_binary64
299×*-commutative_binary64
269×associate-/r*_binary64
Counts
120 → 166
Iterations

Useful iterations: 4 (0.0ms)

IterNodesCost
02053474
15103117
216813039
341102963
448122955
550422955

prune214.0ms (4.2%)

Pruning

6 alts after pruning (5 fresh and 1 done)

PrunedKeptTotal
New2602262
Fresh134
Picked101
Done011
Total2626268
Error
0.0b
Counts
268 → 6
Alt Table
StatusErrorProgram
11.8b
(/.f64 (/.f64 -1 (sqrt.f64 (fma.f64 x x x))) (sqrt.f64 (fma.f64 x x x)))
1.0b
(pow.f64 (cbrt.f64 (/.f64 -1 (fma.f64 x x x))) 3)
29.3b
(*.f64 (/.f64 1 (hypot.f64 x (sqrt.f64 x))) (/.f64 -1 (hypot.f64 x (sqrt.f64 x))))
0.9b
(/.f64 (*.f64 (cbrt.f64 -1) (cbrt.f64 (/.f64 -1 (fma.f64 x x x)))) (/.f64 (cbrt.f64 (fma.f64 x x x)) (cbrt.f64 (/.f64 -1 (fma.f64 x x x)))))
0.1b
(/.f64 -1 (fma.f64 x x x))
1.0b
(/.f64 (*.f64 (*.f64 (cbrt.f64 -1) (cbrt.f64 (/.f64 -1 (fma.f64 x x x)))) (cbrt.f64 (/.f64 -1 (fma.f64 x x x)))) (cbrt.f64 (*.f64 (*.f64 (cbrt.f64 (fma.f64 x x x)) (cbrt.f64 (fma.f64 x x x))) (cbrt.f64 (fma.f64 x x x)))))
Compiler

Compiled 8403 to 4537 computations (46% saved)

regimes345.0ms (6.9%)

Accuracy

Total 0.3b remaining (59.3%)

Threshold costs 0.3b (59.3%)

Counts
150 → 1
Compiler

Compiled 7958 to 5008 computations (37.1% saved)

simplify2.0ms (0%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
058
158

end87.0ms (1.7%)

Compiler

Compiled 122 to 64 computations (47.5% saved)

Profiling

Loading profile data...