Details

Time bar (total: 2.0s)

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)

sample961.0ms (48.2%)

Results
850.0ms8256×body128valid
0.0msbody128invalid
Compiler

Compiled 44 to 35 computations (20.5% saved)

simplify63.0ms (3.2%)

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

prune4.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.2b
(*.f64 3 (+.f64 (-.f64 (*.f64 (*.f64 x 3) x) (*.f64 x 4)) 1))
0.1b
(fma.f64 x (fma.f64 x 9 -12) 3)
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)

rewrite1.0ms (0.1%)

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:

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

simplify60.0ms (3%)

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.6%)

Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New34337
Fresh101
Picked101
Done000
Total36339
Error
0.0b
Counts
39 → 3
Alt Table
StatusErrorProgram
0.1b
(fma.f64 x (+.f64 (*.f64 x 9) -12) 3)
0.1b
(-.f64 (+.f64 3 (*.f64 9 (pow.f64 x 2))) (*.f64 12 x))
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)))
Compiler

Compiled 455 to 350 computations (23.1% saved)

localize7.0ms (0.3%)

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 (+.f64 3 (*.f64 9 (pow.f64 x 2))) (*.f64 12 x))
3.0ms
(*.f64 9 (pow.f64 x 2))
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)))

simplify96.0ms (4.8%)

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

prune138.0ms (6.9%)

Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New1103113
Fresh112
Picked101
Done000
Total1124116
Error
0b
Counts
116 → 4
Alt Table
StatusErrorProgram
0.1b
(+.f64 (fma.f64 1 (+.f64 3 (*.f64 9 (pow.f64 x 2))) (neg.f64 (*.f64 x 12))) (fma.f64 (neg.f64 x) 12 (*.f64 x 12)))
0.4b
(-.f64 (+.f64 3 (*.f64 (*.f64 9 (*.f64 x (cbrt.f64 x))) (pow.f64 (cbrt.f64 x) 2))) (*.f64 12 x))
0.1b
(-.f64 (+.f64 3 (*.f64 (sqrt.f64 9) (*.f64 3 (*.f64 x x)))) (*.f64 12 x))
0.1b
(fma.f64 x (+.f64 (*.f64 x 9) -12) 3)
Compiler

Compiled 2045 to 1640 computations (19.8% saved)

localize13.0ms (0.7%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(+.f64 3 (*.f64 9 (pow.f64 x 2)))
0.0b
(fma.f64 1 (+.f64 3 (*.f64 9 (pow.f64 x 2))) (neg.f64 (*.f64 x 12)))
0.2b
(*.f64 9 (pow.f64 x 2))
36.8b
(fma.f64 (neg.f64 x) 12 (*.f64 x 12))

series7.0ms (0.3%)

Counts
2 → 24
Calls

2 calls:

4.0ms
(fma.f64 1 (+.f64 3 (*.f64 9 (pow.f64 x 2))) (neg.f64 (*.f64 x 12)))
3.0ms
(fma.f64 (neg.f64 x) 12 (*.f64 x 12))

rewrite1.0ms (0.1%)

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:

0.0ms
(fma.f64 (neg.f64 x) 12 (*.f64 x 12))
0.0ms
(fma.f64 1 (+.f64 3 (*.f64 9 (pow.f64 x 2))) (neg.f64 (*.f64 x 12)))

simplify63.0ms (3.2%)

Algorithm
egg-herbie
Rules
672×distribute-rgt-in_binary64
647×distribute-lft-in_binary64
440×associate-*l*_binary64
381×unsub-neg_binary64
365×associate-*r*_binary64
Counts
44 → 46
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
040457
175372
2164307
3594255
43141255
54739255
64838255

prune125.0ms (6.3%)

Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New1150115
Fresh033
Picked011
Done000
Total1154119
Error
0b
Counts
119 → 4
Alt Table
StatusErrorProgram
0.1b
(+.f64 (fma.f64 1 (+.f64 3 (*.f64 9 (pow.f64 x 2))) (neg.f64 (*.f64 x 12))) (fma.f64 (neg.f64 x) 12 (*.f64 x 12)))
0.4b
(-.f64 (+.f64 3 (*.f64 (*.f64 9 (*.f64 x (cbrt.f64 x))) (pow.f64 (cbrt.f64 x) 2))) (*.f64 12 x))
0.1b
(-.f64 (+.f64 3 (*.f64 (sqrt.f64 9) (*.f64 3 (*.f64 x x)))) (*.f64 12 x))
0.1b
(fma.f64 x (+.f64 (*.f64 x 9) -12) 3)
Compiler

Compiled 2968 to 2267 computations (23.6% saved)

localize4.0ms (0.2%)

Local error

Found 1 expressions with local error:

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

series3.0ms (0.1%)

Counts
1 → 12
Calls

1 calls:

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

rewrite1.0ms (0%)

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
1 → 10
Calls

1 calls:

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

simplify37.0ms (1.8%)

Algorithm
egg-herbie
Rules
724×associate-+r+_binary64
700×associate-+l+_binary64
271×distribute-lft-in_binary64
271×distribute-rgt-in_binary64
174×distribute-rgt-out_binary64
Counts
22 → 27
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
027289
157213
291211
3299211
41476211
55477211

prune23.0ms (1.2%)

Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New27027
Fresh022
Picked011
Done011
Total27431
Error
0b
Counts
31 → 4
Alt Table
StatusErrorProgram
0.1b
(+.f64 (fma.f64 1 (+.f64 3 (*.f64 9 (pow.f64 x 2))) (neg.f64 (*.f64 x 12))) (fma.f64 (neg.f64 x) 12 (*.f64 x 12)))
0.4b
(-.f64 (+.f64 3 (*.f64 (*.f64 9 (*.f64 x (cbrt.f64 x))) (pow.f64 (cbrt.f64 x) 2))) (*.f64 12 x))
0.1b
(-.f64 (+.f64 3 (*.f64 (sqrt.f64 9) (*.f64 3 (*.f64 x x)))) (*.f64 12 x))
0.1b
(fma.f64 x (+.f64 (*.f64 x 9) -12) 3)
Compiler

Compiled 359 to 280 computations (22% saved)

regimes239.0ms (12%)

Accuracy

Total 0.1b remaining (81%)

Threshold costs 0.1b (81%)

Counts
66 → 1
Compiler

Compiled 3856 to 3133 computations (18.8% saved)

simplify3.0ms (0.1%)

Algorithm
egg-herbie
Rules
+-commutative_binary64
*-commutative_binary64
distribute-lft-neg-in_binary64
distribute-rgt-neg-in_binary64
cancel-sign-sub-inv_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01326
12726
23326
33526
43426

end81.0ms (4%)

Compiler

Compiled 102 to 78 computations (23.5% saved)

Profiling

Loading profile data...