Details

Time bar (total: 1.9s)

analyze5.0ms (0.2%)

Algorithm
search
Search
TrueOtherFalseIter
0%100%0%0
0%100%0%1
0%100%0%2
50%50%0%3
50%25%25%4
62.5%12.5%25%5
68.7%6.2%25%6
71.8%3.1%25%7
73.4%1.6%25%8
74.2%0.8%25%9
74.6%0.4%25%10
74.8%0.2%25%11
74.9%0.1%25%12
74.9%0%25.1%13
74.9%0%25.1%14
Compiler

Compiled 15 to 12 computations (20% saved)

sample927.0ms (48%)

Results
840.0ms8256×body128valid
0.0msbody128invalid
Compiler

Compiled 44 to 35 computations (20.5% saved)

simplify59.0ms (3.1%)

Algorithm
egg-herbie
Rules
972×fma-def_binary64
722×fma-neg_binary64
154×cancel-sign-sub-inv_binary64
107×distribute-rgt-in_binary64
83×associate-*r*_binary64
Counts
1 → 2
Iterations

Useful iterations: 4 (0.0ms)

IterNodesCost
01119
13214
26912
316012
42989
54189
66669
79609
812629
914739
1015319
1115309
1215369
1315369
1414019

prune3.0ms (0.2%)

Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New022
Fresh011
Picked000
Done000
Total033
Error
0.0b
Counts
3 → 2
Alt Table
StatusErrorProgram
0.1b
(fma.f64 x (fma.f64 x 9 -12) 3)
0.1b
(*.f64 3 (+.f64 (-.f64 (*.f64 (*.f64 x 3) x) (*.f64 x 4)) 1))
Compiler

Compiled 65 to 50 computations (23.1% saved)

localize4.0ms (0.2%)

Local error

Found 2 expressions with local error:

NewErrorProgram
0.0b
(fma.f64 x 9 -12)
0.1b
(fma.f64 x (fma.f64 x 9 -12) 3)

series4.0ms (0.2%)

Counts
2 → 24
Calls

2 calls:

2.0ms
(fma.f64 x (fma.f64 x 9 -12) 3)
1.0ms
(fma.f64 x 9 -12)

rewrite3.0ms (0.2%)

Algorithm
rewrite-expression-head
Rules
*-un-lft-identity_binary64
add-sqr-sqrt_binary64
add-cube-cbrt_binary64
add-cbrt-cube_binary64
add-exp-log_binary64
Counts
2 → 20
Calls

2 calls:

2.0ms
(fma.f64 x (fma.f64 x 9 -12) 3)
0.0ms
(fma.f64 x 9 -12)

simplify60.0ms (3.1%)

Algorithm
egg-herbie
Rules
785×associate-+l+_binary64
415×fma-neg_binary64
321×distribute-lft-in_binary64
321×distribute-rgt-in_binary64
225×distribute-rgt-out_binary64
Counts
44 → 37
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
038431
163344
2120342
3378342
41764342
54979342
65271342

prune32.0ms (1.7%)

Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New34337
Fresh011
Picked011
Done000
Total34539
Error
0b
Counts
39 → 5
Alt Table
StatusErrorProgram
0.1b
(-.f64 (+.f64 3 (*.f64 9 (pow.f64 x 2))) (*.f64 12 x))
0.1b
(fma.f64 x (fma.f64 x 9 -12) 3)
0.5b
(*.f64 (*.f64 (cbrt.f64 (fma.f64 x (fma.f64 x 9 -12) 3)) (cbrt.f64 (fma.f64 x (fma.f64 x 9 -12) 3))) (cbrt.f64 (fma.f64 x (fma.f64 x 9 -12) 3)))
0.8b
(*.f64 (sqrt.f64 (fma.f64 x (fma.f64 x 9 -12) 3)) (sqrt.f64 (fma.f64 x (fma.f64 x 9 -12) 3)))
0.1b
(*.f64 3 (+.f64 (-.f64 (*.f64 (*.f64 x 3) x) (*.f64 x 4)) 1))
Compiler

Compiled 509 to 392 computations (23% saved)

localize7.0ms (0.4%)

Local error

Found 3 expressions with local error:

NewErrorProgram
0.0b
(+.f64 3 (*.f64 9 (pow.f64 x 2)))
0.0b
(-.f64 (+.f64 3 (*.f64 9 (pow.f64 x 2))) (*.f64 12 x))
0.2b
(*.f64 9 (pow.f64 x 2))

series8.0ms (0.4%)

Counts
3 → 9
Calls

3 calls:

3.0ms
(*.f64 9 (pow.f64 x 2))
2.0ms
(-.f64 (+.f64 3 (*.f64 9 (pow.f64 x 2))) (*.f64 12 x))
2.0ms
(+.f64 3 (*.f64 9 (pow.f64 x 2)))

rewrite14.0ms (0.7%)

Algorithm
rewrite-expression-head
Rules
15×add-sqr-sqrt_binary64
10×add-log-exp_binary64
*-un-lft-identity_binary64
add-cube-cbrt_binary64
associate-*r*_binary64
Counts
3 → 67
Calls

3 calls:

5.0ms
(*.f64 9 (pow.f64 x 2))
4.0ms
(-.f64 (+.f64 3 (*.f64 9 (pow.f64 x 2))) (*.f64 12 x))
2.0ms
(+.f64 3 (*.f64 9 (pow.f64 x 2)))

simplify98.0ms (5.1%)

Algorithm
egg-herbie
Rules
623×fma-neg_binary64
529×associate-*l*_binary64
486×associate-*r*_binary64
351×fma-def_binary64
239×unswap-sqr_binary64
Counts
76 → 113
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
01151070
1266827
2737754
33362728
44410728
54885728
64829728

prune96.0ms (5%)

Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New1112113
Fresh303
Picked011
Done011
Total1144118
Error
0b
Counts
118 → 4
Alt Table
StatusErrorProgram
0.1b
(-.f64 (+.f64 3 (*.f64 9 (pow.f64 x 2))) (*.f64 12 x))
0.1b
(fma.f64 x (fma.f64 x 9 -12) 3)
0.2b
(-.f64 (+.f64 3 (*.f64 (*.f64 3 x) (*.f64 3 x))) (*.f64 12 x))
0.1b
(-.f64 (+.f64 3 (*.f64 (*.f64 (cbrt.f64 9) (cbrt.f64 9)) (*.f64 (cbrt.f64 9) (pow.f64 x 2)))) (*.f64 12 x))
Compiler

Compiled 2003 to 1612 computations (19.5% saved)

localize11.0ms (0.6%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(+.f64 3 (*.f64 (*.f64 (cbrt.f64 9) (cbrt.f64 9)) (*.f64 (cbrt.f64 9) (pow.f64 x 2))))
0.0b
(-.f64 (+.f64 3 (*.f64 (*.f64 (cbrt.f64 9) (cbrt.f64 9)) (*.f64 (cbrt.f64 9) (pow.f64 x 2)))) (*.f64 12 x))
0.2b
(*.f64 (cbrt.f64 9) (pow.f64 x 2))
0.3b
(*.f64 (*.f64 (cbrt.f64 9) (cbrt.f64 9)) (*.f64 (cbrt.f64 9) (pow.f64 x 2)))

series35.0ms (1.8%)

Counts
4 → 36
Calls

4 calls:

13.0ms
(*.f64 (*.f64 (cbrt.f64 9) (cbrt.f64 9)) (*.f64 (cbrt.f64 9) (pow.f64 x 2)))
10.0ms
(+.f64 3 (*.f64 (*.f64 (cbrt.f64 9) (cbrt.f64 9)) (*.f64 (cbrt.f64 9) (pow.f64 x 2))))
6.0ms
(-.f64 (+.f64 3 (*.f64 (*.f64 (cbrt.f64 9) (cbrt.f64 9)) (*.f64 (cbrt.f64 9) (pow.f64 x 2)))) (*.f64 12 x))
5.0ms
(*.f64 (cbrt.f64 9) (pow.f64 x 2))

rewrite26.0ms (1.4%)

Algorithm
rewrite-expression-head
Rules
33×add-exp-log_binary64
23×add-sqr-sqrt_binary64
21×prod-exp_binary64
11×*-un-lft-identity_binary64
11×add-cube-cbrt_binary64
Counts
4 → 100
Calls

4 calls:

8.0ms
(*.f64 (*.f64 (cbrt.f64 9) (cbrt.f64 9)) (*.f64 (cbrt.f64 9) (pow.f64 x 2)))
7.0ms
(*.f64 (cbrt.f64 9) (pow.f64 x 2))
5.0ms
(-.f64 (+.f64 3 (*.f64 (*.f64 (cbrt.f64 9) (cbrt.f64 9)) (*.f64 (cbrt.f64 9) (pow.f64 x 2)))) (*.f64 12 x))
3.0ms
(+.f64 3 (*.f64 (*.f64 (cbrt.f64 9) (cbrt.f64 9)) (*.f64 (cbrt.f64 9) (pow.f64 x 2))))

simplify98.0ms (5.1%)

Algorithm
egg-herbie
Rules
516×fma-def_binary64
482×fma-neg_binary64
360×*-commutative_binary64
344×cancel-sign-sub-inv_binary64
303×distribute-rgt-neg-in_binary64
Counts
136 → 159
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
01521711
13341461
211221360
332001328
445211328
550241328

prune140.0ms (7.3%)

Pruning

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New1581159
Fresh101
Picked011
Done112
Total1603163
Error
0b
Counts
163 → 3
Alt Table
StatusErrorProgram
0.1b
(-.f64 (fma.f64 9 (*.f64 x x) 3) (*.f64 12 x))
0.1b
(-.f64 (+.f64 3 (*.f64 (*.f64 (cbrt.f64 9) (cbrt.f64 9)) (*.f64 (cbrt.f64 9) (pow.f64 x 2)))) (*.f64 12 x))
0.1b
(fma.f64 x (fma.f64 x 9 -12) 3)
Compiler

Compiled 3832 to 3285 computations (14.3% saved)

localize5.0ms (0.3%)

Local error

Found 2 expressions with local error:

NewErrorProgram
0.0b
(-.f64 (fma.f64 9 (*.f64 x x) 3) (*.f64 12 x))
0.1b
(fma.f64 9 (*.f64 x x) 3)

series5.0ms (0.2%)

Counts
2 → 24
Calls

2 calls:

2.0ms
(fma.f64 9 (*.f64 x x) 3)
2.0ms
(-.f64 (fma.f64 9 (*.f64 x x) 3) (*.f64 12 x))

rewrite5.0ms (0.2%)

Algorithm
rewrite-expression-head
Rules
*-un-lft-identity_binary64
add-sqr-sqrt_binary64
add-cube-cbrt_binary64
add-log-exp_binary64
fma-neg_binary64
Counts
2 → 31
Calls

2 calls:

2.0ms
(-.f64 (fma.f64 9 (*.f64 x x) 3) (*.f64 12 x))
1.0ms
(fma.f64 9 (*.f64 x x) 3)

simplify56.0ms (2.9%)

Algorithm
egg-herbie
Rules
507×associate-+l+_binary64
506×associate-+r+_binary64
382×fma-neg_binary64
353×*-commutative_binary64
305×cancel-sign-sub-inv_binary64
Counts
55 → 58
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
058731
1126656
2372548
31682545
43333545
54822545

prune38.0ms (2%)

Pruning

3 alts after pruning (0 fresh and 3 done)

PrunedKeptTotal
New58058
Fresh000
Picked011
Done022
Total58361
Error
0b
Counts
61 → 3
Alt Table
StatusErrorProgram
0.1b
(-.f64 (fma.f64 9 (*.f64 x x) 3) (*.f64 12 x))
0.1b
(-.f64 (+.f64 3 (*.f64 (*.f64 (cbrt.f64 9) (cbrt.f64 9)) (*.f64 (cbrt.f64 9) (pow.f64 x 2)))) (*.f64 12 x))
0.1b
(fma.f64 x (fma.f64 x 9 -12) 3)
Compiler

Compiled 952 to 641 computations (32.7% saved)

regimes133.0ms (6.9%)

Accuracy

Total 0.1b remaining (76.7%)

Threshold costs 0.1b (76.7%)

Counts
36 → 1
Compiler

Compiled 1748 to 1377 computations (21.2% saved)

simplify3.0ms (0.1%)

Algorithm
egg-herbie
Rules
+-commutative_binary64
*-commutative_binary64
sub-neg_binary64
distribute-lft-neg-in_binary64
distribute-rgt-neg-in_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0914
11614
22414
32814
43114
53214
63114

end56.0ms (2.9%)

Compiler

Compiled 60 to 47 computations (21.7% saved)

Profiling

Loading profile data...