Details

Time bar (total: 1.8s)

analyze4.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)

sample858.0ms (48.1%)

Results
773.0ms8256×body128valid
0.0msbody128invalid
Compiler

Compiled 44 to 35 computations (20.5% saved)

simplify60.0ms (3.4%)

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
(*.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 9 -12)
0.0ms
(fma.f64 x (fma.f64 x 9 -12) 3)

simplify67.0ms (3.7%)

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

prune31.0ms (1.7%)

Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New34337
Fresh011
Picked101
Done000
Total35439
Error
0.0b
Counts
39 → 4
Alt Table
StatusErrorProgram
0.1b
(*.f64 3 (+.f64 (-.f64 (*.f64 (*.f64 x 3) x) (*.f64 x 4)) 1))
0.1b
(fma.f64 x (-.f64 (*.f64 9 x) 12) 3)
0.4b
(fma.f64 x (*.f64 (*.f64 (cbrt.f64 (fma.f64 x 9 -12)) (cbrt.f64 (fma.f64 x 9 -12))) (cbrt.f64 (fma.f64 x 9 -12))) 3)
0.1b
(-.f64 (+.f64 3 (*.f64 9 (pow.f64 x 2))) (*.f64 12 x))
Compiler

Compiled 471 to 364 computations (22.7% saved)

localize8.0ms (0.5%)

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

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

simplify94.0ms (5.3%)

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

prune127.0ms (7.1%)

Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New1121113
Fresh123
Picked011
Done000
Total1134117
Error
0b
Counts
117 → 4
Alt Table
StatusErrorProgram
0.1b
(*.f64 3 (+.f64 (-.f64 (*.f64 (*.f64 x 3) x) (*.f64 x 4)) 1))
0.1b
(fma.f64 x (-.f64 (*.f64 9 x) 12) 3)
0.5b
(-.f64 (+.f64 3 (*.f64 (*.f64 9 (*.f64 (cbrt.f64 (pow.f64 x 2)) (cbrt.f64 (pow.f64 x 2)))) (cbrt.f64 (pow.f64 x 2)))) (*.f64 12 x))
0.1b
(-.f64 (+.f64 3 (*.f64 9 (pow.f64 x 2))) (*.f64 12 x))
Compiler

Compiled 2021 to 1624 computations (19.6% saved)

localize4.0ms (0.2%)

Local error

Found 1 expressions with local error:

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

series2.0ms (0.1%)

Counts
1 → 12
Calls

1 calls:

2.0ms
(fma.f64 x (-.f64 (*.f64 9 x) 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 9 x) 12) 3)

simplify36.0ms (2%)

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

Useful iterations: 2 (0.0ms)

IterNodesCost
026289
152213
292211
3298211
41477211
55477211

prune26.0ms (1.5%)

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

Compiled 390 to 307 computations (21.3% saved)

localize8.0ms (0.4%)

Local error

Found 3 expressions with local error:

NewErrorProgram
0.0b
(-.f64 (*.f64 (*.f64 x 3) x) (*.f64 x 4))
0.1b
(*.f64 3 (+.f64 (-.f64 (*.f64 (*.f64 x 3) x) (*.f64 x 4)) 1))
0.2b
(*.f64 (*.f64 x 3) x)

series8.0ms (0.4%)

Counts
3 → 36
Calls

3 calls:

3.0ms
(-.f64 (*.f64 (*.f64 x 3) x) (*.f64 x 4))
2.0ms
(*.f64 (*.f64 x 3) x)
2.0ms
(*.f64 3 (+.f64 (-.f64 (*.f64 (*.f64 x 3) x) (*.f64 x 4)) 1))

rewrite18.0ms (1%)

Algorithm
rewrite-expression-head
Rules
10×add-cbrt-cube_binary64
10×add-exp-log_binary64
10×pow1_binary64
*-un-lft-identity_binary64
add-sqr-sqrt_binary64
Counts
3 → 61
Calls

3 calls:

7.0ms
(*.f64 3 (+.f64 (-.f64 (*.f64 (*.f64 x 3) x) (*.f64 x 4)) 1))
5.0ms
(*.f64 (*.f64 x 3) x)
4.0ms
(-.f64 (*.f64 (*.f64 x 3) x) (*.f64 x 4))

simplify72.0ms (4%)

Algorithm
egg-herbie
Rules
636×fma-neg_binary64
363×fma-def_binary64
281×+-commutative_binary64
278×distribute-rgt-in_binary64
273×distribute-lft-in_binary64
Counts
97 → 112
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
01201328
13021147
2889982
32422980
44233980
55064980

prune91.0ms (5.1%)

Pruning

4 alts after pruning (1 fresh and 3 done)

PrunedKeptTotal
New1111112
Fresh101
Picked011
Done022
Total1124116
Error
0b
Counts
116 → 4
Alt Table
StatusErrorProgram
0.1b
(*.f64 3 (+.f64 (-.f64 (*.f64 (*.f64 x 3) x) (*.f64 x 4)) 1))
0.1b
(fma.f64 x (-.f64 (*.f64 9 x) 12) 3)
0.2b
(*.f64 (*.f64 (cbrt.f64 3) (cbrt.f64 3)) (*.f64 (cbrt.f64 3) (+.f64 (-.f64 (*.f64 (*.f64 x 3) x) (*.f64 x 4)) 1)))
0.1b
(-.f64 (+.f64 3 (*.f64 9 (pow.f64 x 2))) (*.f64 12 x))
Compiler

Compiled 2108 to 1631 computations (22.6% saved)

regimes162.0ms (9.1%)

Accuracy

Total 0.1b remaining (87.8%)

Threshold costs 0.1b (87.8%)

Counts
46 → 1
Compiler

Compiled 2498 to 1987 computations (20.5% saved)

simplify3.0ms (0.2%)

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
01116
12016
22816
33216
43516
53616
63516

end70.0ms (3.9%)

Compiler

Compiled 80 to 66 computations (17.5% saved)

Profiling

Loading profile data...